Just wondering if someone could point me in the right direction, I’m using webmin to run multiple non-profit websites for various charities in the toronto region for free and have run into some difficulties.
I had been trying to add a user to ftp and something has gone absolutely wrong.
My DNS server and Mysql server instances do not want to start nor run
From the DNS I get the following error code:
“Failed to start service : Failed to start BIND : Starting named: [FAILED]”
And from the Mysql Server I get the following error code:
“Failed to start service :
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]”
Also all the websites except the webmin modules now display a 403 error page. I’m guessing webmin isn’t affected as it runs on a different webserver.
First thing you might wanna do is check the logfiles, usually in /var/log, for problem messages. Especially BIND and MySQL should put a little more detail about what went wrong than just “Failed to start BIND”.
This is what I have got from the mysql log file.
"
121022 17:11:37 [ERROR] bdb: fatal region error detected; run recovery
121022 17:11:37 [ERROR] bdb: /var/lib/mysql: Permission denied
121022 17:11:37 [ERROR] Can’t start server : Bind on unix socket: Permission denied
121022 17:11:37 [ERROR] Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock ?
121022 17:11:37 [ERROR] Aborting
It sounds like you’re seeing some unusual errors, and the issues point to something in /var/lib/mysql… what output do you receive if you run this command:
[root@server /]# ls -la /var/lib/mysql
total 36984
drwxr-xr-x 14 mysql mysql 4096 Oct 22 17:11 .
drwxr-xr-x 25 root root 4096 Nov 24 2011 ..
drws--S--- 2 mysql natasha 4096 Mar 13 2012 369ir
drws--S--- 2 mysql chapel 4096 Dec 15 2011 chapel
drws--S--- 2 mysql gallery 4096 Jan 26 2012 gallery
-rw-rw---- 1 mysql mysql 5242880 Oct 20 22:43 ib_logfile0
-rw-rw---- 1 mysql mysql 5242880 Sep 5 10:58 ib_logfile1
-rw-rw---- 1 mysql mysql 27262976 Oct 20 22:43 ibdata1
drws--S--- 2 mysql gallery 4096 Jan 27 2012 ir369
drwx------ 2 mysql mysql 4096 Nov 10 2010 mysql
drws--S--- 2 mysql natasha 4096 Nov 2 2011 natasha
drws--S--- 2 mysql oles 4096 Mar 19 2012 oles
drws--S--- 2 mysql skoko 12288 Oct 16 13:14 ops9524oles
drws--S--- 2 mysql registration 4096 Mar 3 2012 registration
drws--S--- 2 mysql test 4096 Sep 5 10:11 ruskoka
drws--S--- 2 mysql skoko 4096 Mar 13 2012 skoko
drwx------ 2 mysql mysql 4096 Nov 10 2010 test
I’d have tried, but since he “required references” (which I don’t have - aside from two years hosting experience under Linux) I didn’t bother offering.