Stopping web server: Apache2.
www:/# /var/wkscript/tools/panel_manager start
LayeredPanel related software starting.Starting system log daemon: syslogd.
Starting periodic command scheduler: cron.
Starting mail transport agent: Postfix.
Starting MySQL database server: mysqld.
.
.
.
.
.
.
.
.
.
.
.
.
.
...failed or took more than 6s.
Please take a look at the syslog.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Starting domain name service: named.
Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -E -O clf:/var/log/pure-ftpd/transfer.log -S 75.126.177.244,21 -u 1000 -B
Starting web server: Apache2.
Starting web server: Apache2.
If you visit the site, the main page gives this error:
Fatal error: Failed to connect to the DB server in /var/wkscript/db.php on line 28
tdot:/# /etc/init.d/mysql start Starting MySQL database server: mysqld.
. . . . ...failed or took more than 6s. Please take a look at the syslog. /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! tdot:/#
/usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists! mysql has failed, please contact the sysadmin (result was "Warning, no valid mysql.sock file found.mysql has failed").
have googled this to death. solutions are not working.
so far have tried the whole linking mysql.sock to the file in /tmp, changing mysql root password, rebooting, adding socket parameters in my.cnf. nothing works!
What command could I use to see all the currently running services on my Windows (vista) computer?
I'm trying to start my MySQL server, but it won't start. I think I know what the problem is though I'm not sure. I think that the service name "MySQL" is already running...and I need to remove it or something.
Btw...my apache and php is fine. Though...I cannot use my MySQL from php obviously...since it's not running.
I have a cheap managed server and support is of little help BUT they will do what I tell them, where should I tell them to start to fix high mysql load?
The server currently has a large IPB forum, a large 4images gallery, and a couple popular Wordpress blogs, and this combo keeps taking mysql down.
What can I do server side to help this? And what shouldn't I do?
I just installed mySQL server on a brand new dedicated server and am getting Timeout error occurred trying to start MySQL Daemon. I have uninstalled and reinstalled it a few times and am still getting the same error.
Can anyone recommend a Apached and MYSQL optimization expert? I just some optimization done on mysql and apache upgraded... but pache wouldn't restart with the following entries:
if i remove above then it starts... but my CPU spikes and I am getting a ton of errors emailed to me:
Invalid SQL: SELECT COUNT(DISTINCT(userid)) AS count FROM vb_session WHERE vb_session.userid>0 AND vb_session.lastactivity>1245294346;
MySQL Error : Out of memory (Needed 8388580 bytes) Error Number : 5 Request Date : Wednesday, June 17th 2009 @ 09:39:06 PM Error Date : Wednesday, June 17th 2009 @ 09:39:06 PM
Its constantly complaining about this same query and i thought i removed all of the vbulletin options...
i am pulling my hair out... cuz my server isn't swapping, ther are 0ver 8GBs in cache.... but my CPU goes up
Here is original problem thread...
[url]
2nd post has recommended config... and my subsequent probs
I am getting the error (as listed in the title) on my server. This is a BRAND NEW FRESH install on a brand new server...
OS: Unix Fedora Kernel Version: Kernel 2.6.18-1/2798.fc6 on an i686 Hardware Information: Brand new Dell SC1435 Server Software Version: MySQl 5 Control Panel: Nothing yet
Apache starts ok but when I go to strart MySQL I get the following error...
[root@server112]# /etc/rc.d/init.d/mysqld start Timeout error occurred trying to start MySQL Daemon Starting MySQL: [FAILED]
Does anyone have any ideas? I did some pretty extensive searching... Web Hosting Talk article that basically describes the same error. I followed everything as listed in his suggestion and it didn't change anything.
I have one bare server and installed everything myself. however, I found apache, mysqld can not automatically start after reboot, may I know how to enable them to automatically start after reboot?
I installed the MySQL binary packages in /usr/local/mysql/ after removing the MySQL RPM package. MySQL is functioning when I executed /usr/local/mysql/bin/safe_mysqld. I reinstalled MySQL before I installed PHP. When I used a PHP script to access a MySQL database, it outputs an error:
Code: Warning: mysqli::mysqli() [function.mysqli-mysqli]: (HY000/2002): can't connect to local mysql server through socket /var/lib/mysql/mysql.sock in index.php on line 2 However, I installed MySQL in /usr/local/mysql, not in /var/lib/mysql. How do I fix MySQL?
Recently left a big corporate job and started my own consulting firm in the area of human resources/employee benefits. Right now, my technology consists of a laptop with online backup through Carbonite. I am ILLITERATE when it comes to technology, so bear with me please....
BackgroundThe business plan calls for growth by adding a small number of employees, starting with an assistant, along with working with independent contractors. These will each need to have access to the files that now reside on my hard drive. I don't anticipate more than 6 people (employees and/or contractors, combined) in the first year.
In addition to the shared access described above, I would need to be sure that the environment where files are stored is highly secure, and that I can grant access to files to some people and not others.
In addition to the above, I need to ensure that all the data are backed up routinely.
Employees/contractors will likely not be in the same office location where I am located, and some (most) may work from a home office.
My assistant, when hired, may/may not be in my office. Regardless, (s)he will need to have access to (and make changes to) my contacts and calendar in outlook. In addition, (s)he will need to be able to read and send emails on my behalf.
AT&T, as part of my advertising with them in the Yellow Pages, is developing (and will host) my website. Included in their service will be email boxes (up to 20) with my domain name.
Business Need Based on these points, I figured I needed to buy a server, so I've been talking with Dell. Of course, they'll sell me a server and they have a relationship with All Covered who will install it and make sure its operational.
But after talking wtih Dell, I learned that there was something called managed hosting, colocated hosting, dedicated hosting, and shared hosting. I called Rackspace, they said they would be overkill for what I needed and referred me to Mosso. Mosso said the same thing, and sent me to this site.
i install APF and config conf file but i have a problem for start APF :
root@server [~]# /usr/local/sbin/apf -r eth0 : error fetching interface information Device not found eth0 : error fetching interface information Device not found eth0 : error fetching interface information Device not found eth0 : error fetching interface information Device not found eth0 : error fetching interface information Device not found Development mode enabled !; firewall will fluch every 5 minutes. Unable to load iptable module (ip_tables), abroting
While i have loads a experience running servers remotely, I know to start my own ISP is a bit more costly and involves things like rack servers, temperature controled rooms and BANDWIDTH.
I have handle on 1st two, ( and yes htings like insurance and a store are looked after )
What i need are a list of T3 providers that I can contact about purchasing a dedicated T3 line for our store. While the location isn't yet set in stone and i may in fact look at a existing computer store owner who may be open to the idea already.
The company will host local websites, and others websites.
AND allow for reselling on a lessor level and include at least 6 others who host game servers.
With these 6 the T3 line will probably be almost half used, so the ISP must be scalable for growth.
The thing i need in nut shell are pricing on a T3 line of my own in or close to downtown Oshawa Ontario, Canada
root@xxxx[~]# service iptables status Firewall is stopped. root@xxxx[~]# service iptables start Flushing firewall rules: [ OK ] Setting chains to policy ACCEPT: filter [ OK ] Unloading iptables modules: [ OK ] root@xxxx[~]# service iptables status Firewall is stopped.
i create a template for xen ( hypervm ) from jailtime site. now i install iptables , but iptables do not work and when i enter " service iptables restart" , iptables do not start. ( i check it from "service iptables status" )
So basicly I got a vps and am using lxadmin *renamed* and with ssh and lxadmin the lighthttpd wont start and it is installed under the centos hostinabox distro.
I spent all my afternoon on this but I couldn't managed to solve this problem out. Hope someone knows the solution for this one.
I've chrooted Apache and now it won't start. I try to run it with chroot /chroot/httpd httpd and it doesn't start but instead enters a single error in a error log. Something about permission being denied and apr_proc_detach constant. The best part is that I managed to run it flawlessly on an another server, but on this one it won't start. If I start it with -X parameter then it runs fine. Has anyone came across this error before? What libraries I should put in chroot environment to avoid the apr_proc_detach permission denied error?
On another computer it runs without problems, so I believe it's problem me not including all the necessary libraries in the environment (I included everything on the ldd /usr/sbin/httpd list).