Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2007 22:21:25 +0300
From:      Kalnz <kalnz@kalnz.id.lv>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        freebsd-jail@freebsd.org
Subject:   Re: pam _start: system error
Message-ID:  <46D32435.4030707@kalnz.id.lv>
In-Reply-To: <20070827125450.uqdbto3xiwwk80gg@webmail.leidinger.net>
References:  <46D29F4B.9070901@kalnz.id.lv> <20070827125450.uqdbto3xiwwk80gg@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote:
> Quoting Kalnz <kalnz@kalnz.id.lv> (from Mon, 27 Aug 2007 12:54:19 +0300):
>
>> Hi!
>>
>> After installing (in the jail) mysql-server-5.0.45 from ports,
>> I can`t get up and running my mysql server.
>> I have to point out that this problem is only inside the jail.
>> All I have is:
>> 1) clean mysql-server install
>> 2) default my.cnf (small systems)
>> 3) mysql_enable="YES"
>>
>> After this server should run, but it didn`t, so I get this:
>>
>> # /usr/local/etc/rc.d/mysql-server start
>> Starting mysql.
>> su: pam_start: system error
>> #
>>
>> In the logs there is:
>> su: in openpam_load_module(): no pam_unix.so found
>> su: pam_start: system error
>>
>> In fact pam_unix.so file is present in /usr/lib directory.
>> I`m sure this is because of jail, but I can`t figure out what could be
>> the problem.
>
> How do you startup the jail, how have you populated the basesystem in 
> the jail initially? What's the size of pam_unix.so, what does "file 
> /usr/lib/pam_unix.so" print?
I took some info from here when making my first  jail : 
http://www.section6.net/wiki/index.php/Creating_a_FreeBSD_Jail
Anyway I have 2 jails and everything was working fine until now when I 
installed mysql-server and can`t run it inside the jail.

# file /usr/lib/pam_unix.so output:
pam_unix.so: symbolic link to `pam_unix.so.3'
The same output from base system.
size = 10848 Bytes

Kalnz

>
> Bye,
> Alexander.
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46D32435.4030707>