tygersclaw
Verified User
- Joined
- Nov 6, 2006
- Messages
- 23
I attempted to do a install of CustomBuild to my CentOS 5.0 Pentium server this evening, and I ended up with a brick unfortunately.
MySQL is not working, and cannot find sockets.
I have the following error after trying to redo the install, specifically attempting to address httpd which is also down, using the ./build Apache then ./build php and attempt to restart httpd....
As well it seems that the server cannot find the MySQL socket for the upgrade from 4.1.xx I had on there to MySQL 5.0 or 5.1.
I have been all over the forums this evening trying to find a solution. Note that I do not use the server commercially, although I have 2 friends who have sites on it, but all of my own business sites are on the server so this is a downer for my potential business clients who are wanting to contact me. So therefore I am not as proficient at trouble shooting linux based systems as most of you are...so I am kinda perplexed.
I have also run ./build rewrite_confs in an attempt to possibly retrieve a working httpd conf. file.
Other errors I have encountered of note...
And that is just the tip of the iceberg unfortunately. I actually had httpd come up for about 15 minutes, then, in closing out the update session, I somehow undid it, and cannot get it back.
Can anyone help me out of this as I have a server basically doing nothing now, whereas before this, it was working just fine, and I am not even sure that email is working now either
MySQL is not working, and cannot find sockets.
I have the following error after trying to redo the install, specifically attempting to address httpd which is also down, using the ./build Apache then ./build php and attempt to restart httpd....
Starting httpd: httpd: Syntax error on line 17 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot
load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: cannot open shared object file: No such file or directory
As well it seems that the server cannot find the MySQL socket for the upgrade from 4.1.xx I had on there to MySQL 5.0 or 5.1.
Error connecting to MySQL: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
I have been all over the forums this evening trying to find a solution. Note that I do not use the server commercially, although I have 2 friends who have sites on it, but all of my own business sites are on the server so this is a downer for my potential business clients who are wanting to contact me. So therefore I am not as proficient at trouble shooting linux based systems as most of you are...so I am kinda perplexed.
I have also run ./build rewrite_confs in an attempt to possibly retrieve a working httpd conf. file.
Other errors I have encountered of note...
*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore!
And that is just the tip of the iceberg unfortunately. I actually had httpd come up for about 15 minutes, then, in closing out the update session, I somehow undid it, and cannot get it back.
Can anyone help me out of this as I have a server basically doing nothing now, whereas before this, it was working just fine, and I am not even sure that email is working now either

Last edited: