pam _start: system error

Alexander Leidinger Alexander at Leidinger.net
Mon Aug 27 03:55:14 PDT 2007


Quoting Kalnz <kalnz at 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?

Bye,
Alexander.

-- 
Old age is too high a price to pay for maturity.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-jail mailing list