For some reason mysql wont start, i have tried restarting mysql but it wont, it says FAILED. The mysql.sock file seems to have disappeared and i cannot find it anywhere.
My vps is run well, then i reboot and i see mysql no longer working. I check in WHM mysql (5.0.67-community) failed
And when restart (by WHM )
Restarting MySQL Server
whmappname='Restarting Service'; if (self['update_ui_status']) { update_ui_status('MySQL Server'); } Waiting for mysql to restart..............finished.
mysqld_safe (/bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/server.xxxx.com.pid) running as root with PID 5275
mysql has failed, please contact the sysadmin (result was "mysql has failed").
I am not being able to restart the server, or MySQL or httpd via SSH.
PHP Code:
root@server [~]# /etc/init.d/httpd fullstatusLooking up localhostMaking HTTP connection to localhostAlert!: Unable to connect to remote host.lynx: Can't access startfile http://localhost/server-statusroot@server [~]#
PHP Code:
root@server [~]# /etc/init.d/mysql reload/etc/init.d/mysql: line 244: kill: (3375) - No such processtouch: cannot touch `/var/lib/mysql/server.lubnan.us.pid': Read-only file system
I have a lot of tables, being that I host multi forums. One thing I noticed when doing a mysql start up or restart is that it takes at least 15 minutes to do it. The server isn't bad, it's a Pentium D with 3GB of RAM and it runs perfectly fine. What I noticed is that after I do an SQL restart, I checked "top." The command that was running is "chown" and it sat at the top of the list, and kept going. Until finally mysql started and it stopped.
I imagine that all of the files in the data folder are being CHOWNed... and that's why it takes forever. If this is the case, how can I stop this, if at all? I don't see why they need to be CHOWNed?
My server has been running fine for months and then I got this message:
IMPORTANT: Do not ignore this email.
The hostname (server.dealsreferals.com) resolves to . It should resolve to 69.46.27.111. Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for the domain.
Some are all of these problems can be caused by /etc/resolv.conf being setup incorrectly. Please check this file if you believe everything else is correct.
You may be able to automaticly correct this problem by using the ' Add an A entry for your hostname ' under ' Dns Functions ' in your Web Host Manager
What is the problem? Maybe I should do what is suggested, however, why suddenly the problem?
My server is working fine. Should I just let this problem? What harm can happen?
I've only just finished setting up Apache, PHP and MySQL etc.
I went through the sitepoint pdf on how to set everything up - and i tested it by making a php page (showing the date) and saving it in the htdocs folder just like the instructions.
I go to view the page in firefox by going to [url] and i get this error message
Apache HTTP Server has encountered a problem and needs to close.
What can you do to stop so many users on your server that use mysql as apart of their website from getting this message: MySQL server has gone away
Like there has to be something installed or configured on the server that causes this as well, as I know people are taking too long to load something and it through that message, but it has to be something you can do server wide to get reed of it?
I woke up this morning and saw my site say "500 internal server error".
I restarted lighttpd and it works again. I check the logs and see:
2008-01-05 08:39:16: (mod_fastcgi.c.2885) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 2 load: 1 2008-01-05 08:39:21: (server.c.1470) server stopped by UID = 0 PID = 6391
Is there a way to get lighttpd to restart automatically when it has these errors?
Anyone know a good script that I can run with cron or something? Mysql seems to be the #1 problem with a lot of my web sites, a restart usually fixes it right away for me, but I can't keep restarting my servers everyday manually.
my vBulletin forum members start complaing about an intermittent forbidden error message:
Forbidden You don't have permission to access /vb/forumdisplay.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request
i did tail -f /usr/local/apache/logs/error_log and find lot of lines like this:
[Fri May 9 17:13:33 2008] [crit] [client 217.69.189.2] (24)Too many open files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
i also found the vb folder and all folders inside it have permession of 775 and all files have permession of 664
I kept getting the "friendly error" below even though i'd disabled it on the client browser (this prove that my client browser is not the problem). i purposely coded a simple script wrongly to get the detail error, but to no avail. I believe it has to do with the server setting.
Can you advise if there's any setting/configuration in the server that might cause this? Without the detail error, it will be impossible for me to debug what is wrong with my asp script.
Some of the stuffs that i'd checked on server. 1) The ISS has been set to send detail errors.
2) It is recognizing the .asp extension (approve) - else, the asp page wouldnt even work.
Been debugging this for few nights already, any help are very much appreciated.
The error example: ----------------------------------------------------- Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Code: 2007-08-24 16:52:18 1IOZa6-0007Ct-8y ** xserverx@hotmail.com R=lookuphost T=remote_smtp: SMTP error from remote mail server after MAIL FROM:<root@server.XXXX..info> SIZE=1419: host mx3.hotmail.com [65.54.244.200]: 501 Invalid Address 2007-08-24 16:52:18 1IOZaE-0007DC-Do Error while reading message with no usable sender address (R=1IOZa6-0007Ct-8y): at least one malformed recipient address: root@server.XXXX..info - domain missing or malformed 2007-08-24 16:52:18 1IOZa6-0007Ct-8y Process failed (1) when writing error message to root@server.XXXX..info (frozen)