OpenVZ Forum


Home » General » Support » (SOLVED) unable to start mysql in Centos 4.3 vps
(SOLVED) unable to start mysql in Centos 4.3 vps [message #2398] Mon, 03 April 2006 11:57 Go to previous message
wnpaul is currently offline  wnpaul
Messages: 15
Registered: March 2006
Location: Vienna, Austria
Junior Member
I initially set up five Centos 4.3 vps, by setting up one and then copying both the directory in /vz/private and the config file in /etc/sysconfig/vz-scripts four times, then changing ip addresses and hostnames.

These five vps work just fine.

Last week I got another 16-node subnet, giving me another 13 addresses for vps, so I repeated the process, copying both the file tree for one of the working servers and a config file 13 times.

All of these aditional vps start just fine, but they will not run mysqld -- rather, they produce these messages in /var/log/mysqld.log:

060403 13:21:51 mysqld started
060403 13:21:51 [ERROR] Can't start server : Bind on unix socket: Permission denied
060403 13:21:51 [ERROR] Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock ?
060403 13:21:51 [ERROR] Aborting

Here is the output of ps -ax:

PID TTY STAT TIME COMMAND
1 ? Ss 0:00 init
27951 ? Ss 0:00 syslogd -m 0
27985 ? Ss 0:00 /usr/sbin/sshd
28011 ? Ss 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
28064 ? Ss 0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
32033 ? Ss 0:00 /usr/sbin/httpd
32068 ? Ss 0:00 crond
32111 ? S 0:00 /usr/sbin/httpd
32112 ? S 0:00 /usr/sbin/httpd
32113 ? S 0:00 /usr/sbin/httpd
32114 ? S 0:00 /usr/sbin/httpd
32115 ? S 0:00 /usr/sbin/httpd
32116 ? S 0:00 /usr/sbin/httpd
32117 ? S 0:00 /usr/sbin/httpd
32118 ? S 0:00 /usr/sbin/httpd
32397 ? Ss 0:00 /usr/bin/perl /usr/libexec/webmin/miniserv.pl /etc/webmin/miniserv.conf
9914 ? Ss 0:00 sshd: root@pts/0
9916 pts/0 Ss 0:00 -bash
18420 pts/0 R+ 0:00 ps ax


Any ideas?

Thanks,

Wolf


Wolf N. Paul - Doulos Communications
Vienna, Austria

[Updated on: Mon, 03 April 2006 16:55]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Logging for several VMs
Next Topic: allocate more ptys to ve
Goto Forum:
  


Current Time: Sat Oct 05 21:41:11 GMT 2024

Total time taken to generate the page: 0.03721 seconds