Hello,
Here is my problem:
I have a server with FC9 distribution a mysql database and tomcat for liferay.
I've just installed vsftpd and modified some acces rights to /opt/liferay/tomcat to be accesed in read-only through ftp connection.
After these modifications I was unable to connect via SSH with any user besides root, same on FTP, MYSQL cannot start because is unable to create temp file (this issue I solved after i change the user mysql with root), FTP cannot retrive directory..and so on.
Here some logs:
SSH
sshd[2446]: pam_unisshd:session): session opened for user test by (uid=0)
sshd[2446]: pam_unisshd:session): session closed for user test
FTP
500 OOPS: cannot change directory:/home/test
NAGIOS
warning: cannot open /etc/hosts.allow: Permission denied
xinetd[4071]: warning: cannot open /etc/hosts.deny: Permission denied
inetd[4071]: libwrap refused connection to nrpe (libwrap=nrpe) from ::ffff:127.0.0.1
CHECK_NRPE: Error - Could not complete SSL handshake.
MYSQL
Can't create/write to file '/tmp/ibdPEQgW' (Errcode: 13)
InnoDB: Error: unable to create temporary file; errno: 13
[ERROR] bdb: /var/lib/mysql: Permission denied
[ERROR] bdb: /var/lib/mysql/log.0000000001: Permission denied
[ERROR] bdb: PANIC: Permission denied
[ERROR] bdb: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
[ERROR] bdb: fatal region error detected; run recovery
[ERROR] bdb: /var/lib/mysql: Permission denied
[ERROR] Can't start server : Bind on unix socket: Permission denied
[ERROR] Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock ?
[ERROR] Aborting
Some help please??
Thank you.