Did update now have an error

youds

Verified User
Joined
Jul 11, 2008
Messages
476
Location
Lancashire, UK
[root@jupiter-ilo Capri]# service directadmin start
Starting DirectAdmin: /usr/local/directadmin/directadmin: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
[FAILED]

Went to do a DA update and it never came back online
I get the above when starting from command line
Also, accidentally ran custombuild and the /var/ww/html apachectl Web server has gone down and although it comes back up throws a "Connection Refused". Checked /var/log/httpd/access_log and error_log but there seems to be nothing there???? Has this happened to anyone else? It's a 500 Internal Server error, so expected to see something.
 
What operating system are you exactly running? To start DA you just need to install the correct MySQL client libraries.
About the Apache error, 500 errors always have an entry in one of the log files. Try with the suexec, suphp or domains errors log files instead of the server-wide one.
 
That is a problems similar to yours, but it won't help you solve yours.
Please just answer my question, or don't ask for free help and hire someone :)
 
What operating system are you exactly running? To start DA you just need to install the correct MySQL client libraries.
About the Apache error, 500 errors always have an entry in one of the log files. Try with the suexec, suphp or domains errors log files instead of the server-wide one.

It's Centos 5.0 64bit
I have just disabled suphp which may explain that, I'll look into it further.
Is there something yum should install maybe?
 
For the first issue run "yum whatprovides libmysqlclient.so.15" and install whatever package name and version it shows, then restart DirectAdmin.

For the second one, just open a page that throws the error then search at the end of each file in /var/log/suphp.log, /var/log/httpd/suexec_log, /var/log/httpd/error_log and /var/log/httpd/domains/*.error.log for clues.
 
For the first issue run "yum whatprovides libmysqlclient.so.15" and install whatever package name and version it shows, then restart DirectAdmin.

For the second one, just open a page that throws the error then search at the end of each file in /var/log/suphp.log, /var/log/httpd/suexec_log, /var/log/httpd/error_log and /var/log/httpd/domains/*.error.log for clues.

Code:
[root@jupiter-ilo ~]# yum whatprovides libmysqlclient.so.15
Excluding Packages in global exclude list
Finished
No Matches found
[root@jupiter-ilo ~]# tail -10

[root@jupiter-ilo ~]# tail -10 /var/log/suphp.log
[root@jupiter-ilo ~]# tail -10 /var/log/httpd/suexec_log
tail: cannot open `/var/log/httpd/suexec_log' for reading: No such file or directory
[root@jupiter-ilo ~]# tail -10 /var/log/httpd/error_log
[Thu Jun 25 09:41:49 2009] [error] [client 222.66.23.83] File does not exist: /home/admin/domains/sharedip/cube
[Thu Jun 25 09:41:49 2009] [error] [client 222.66.23.83] File does not exist: /home/admin/domains/sharedip/404.shtml
[Thu Jun 25 09:41:49 2009] [error] [client 222.66.23.83] Invalid URI in request GET  HTTP/1.1
[Thu Jun 25 09:41:49 2009] [error] [client 222.66.23.83] File does not exist: /home/admin/domains/sharedip/400.shtml
[Thu Jun 25 09:41:49 2009] [error] [client 222.66.23.83] Invalid URI in request GET  HTTP/1.1
[Thu Jun 25 09:41:49 2009] [error] [client 222.66.23.83] File does not exist: /home/admin/domains/sharedip/400.shtml
[Thu Jun 25 09:41:50 2009] [error] [client 222.66.23.83] Invalid URI in request GET  HTTP/1.1
[Thu Jun 25 09:41:50 2009] [error] [client 222.66.23.83] File does not exist: /home/admin/domains/sharedip/400.shtml
[Thu Jun 25 09:41:50 2009] [error] [client 222.66.23.83] Invalid URI in request GET  HTTP/1.1
[Thu Jun 25 09:41:50 2009] [error] [client 222.66.23.83] File does not exist: /home/admin/domains/sharedip/400.shtml
[root@jupiter-ilo ~]# tail -10 /var/log/httpd/error_log
[Thu Jun 25 09:41:49 2009] [error] [client 222.66.23.83] File does not exist: /home/admin/domains/sharedip/cube
[Thu Jun 25 09:41:49 2009] [error] [client 222.66.23.83] File does not exist: /home/admin/domains/sharedip/404.shtml
[Thu Jun 25 09:41:49 2009] [error] [client 222.66.23.83] Invalid URI in request GET  HTTP/1.1
[Thu Jun 25 09:41:49 2009] [error] [client 222.66.23.83] File does not exist: /home/admin/domains/sharedip/400.shtml
[Thu Jun 25 09:41:49 2009] [error] [client 222.66.23.83] Invalid URI in request GET  HTTP/1.1
[Thu Jun 25 09:41:49 2009] [error] [client 222.66.23.83] File does not exist: /home/admin/domains/sharedip/400.shtml
[Thu Jun 25 09:41:50 2009] [error] [client 222.66.23.83] Invalid URI in request GET  HTTP/1.1
[Thu Jun 25 09:41:50 2009] [error] [client 222.66.23.83] File does not exist: /home/admin/domains/sharedip/400.shtml
[Thu Jun 25 09:41:50 2009] [error] [client 222.66.23.83] Invalid URI in request GET  HTTP/1.1
[Thu Jun 25 09:41:50 2009] [error] [client 222.66.23.83] File does not exist: /home/admin/domains/sharedip/400.shtml
[root@jupiter-ilo ~]# tail -10 /var/log/httpd/access_log
222.66.23.83 - - [25/Jun/2009:09:41:43 -0400] "GET /webmail//bin/msgimport HTTP/1.1" 404 580
222.66.23.83 - - [25/Jun/2009:09:41:44 -0400] "GET /wm//bin/msgimport HTTP/1.1" 404 575
222.66.23.83 - - [25/Jun/2009:09:41:44 -0400] "GET /bin/msgimport HTTP/1.1" 404 571
222.66.23.83 - - [25/Jun/2009:09:41:45 -0400] "GET /roundcubemail-0.1//bin/msgimport HTTP/1.1" 404 590
222.66.23.83 - - [25/Jun/2009:09:41:46 -0400] "GET /roundcubemail-0.2//bin/msgimport HTTP/1.1" 404 590
222.66.23.83 - - [25/Jun/2009:09:41:46 -0400] "GET /roundcube-0.1//bin/msgimport HTTP/1.1" 404 586
222.66.23.83 - - [25/Jun/2009:09:41:47 -0400] "GET /roundcube-0.2//bin/msgimport HTTP/1.1" 404 586
222.66.23.83 - - [25/Jun/2009:09:41:48 -0400] "GET /round//bin/msgimport HTTP/1.1" 404 578
222.66.23.83 - - [25/Jun/2009:09:41:48 -0400] "GET /cube//bin/msgimport HTTP/1.1" 404 577
222.66.23.83 - - [25/Jun/2009:09:41:49 -0400] "GET  HTTP/1.1" 404 423
[root@jupiter-ilo ~]# tail -10 /var/log/httpd/access_log
222.66.23.83 - - [25/Jun/2009:09:41:43 -0400] "GET /webmail//bin/msgimport HTTP/1.1" 404 580
222.66.23.83 - - [25/Jun/2009:09:41:44 -0400] "GET /wm//bin/msgimport HTTP/1.1" 404 575
222.66.23.83 - - [25/Jun/2009:09:41:44 -0400] "GET /bin/msgimport HTTP/1.1" 404 571
222.66.23.83 - - [25/Jun/2009:09:41:45 -0400] "GET /roundcubemail-0.1//bin/msgimport HTTP/1.1" 404 590
222.66.23.83 - - [25/Jun/2009:09:41:46 -0400] "GET /roundcubemail-0.2//bin/msgimport HTTP/1.1" 404 590
222.66.23.83 - - [25/Jun/2009:09:41:46 -0400] "GET /roundcube-0.1//bin/msgimport HTTP/1.1" 404 586
222.66.23.83 - - [25/Jun/2009:09:41:47 -0400] "GET /roundcube-0.2//bin/msgimport HTTP/1.1" 404 586
222.66.23.83 - - [25/Jun/2009:09:41:48 -0400] "GET /round//bin/msgimport HTTP/1.1" 404 578
222.66.23.83 - - [25/Jun/2009:09:41:48 -0400] "GET /cube//bin/msgimport HTTP/1.1" 404 577
222.66.23.83 - - [25/Jun/2009:09:41:49 -0400] "GET  HTTP/1.1" 404 423

It simply isn't seeing me, I don't appear in access or error logs?
*confused*
 
Code:
[root@jupiter-ilo ~]# apachectl status

                                   Forbidden

   You don't have permission to access /server-status on this server.

   Additionally, a 404 Not Found error was encountered while trying to use an
   ErrorDocument to handle the request.
     _________________________________________________________________


    Apache/2.2.11 Server at localhost Port 80
[root@jupiter-ilo ~]#
Whats that all about??
 
Seemed it was because I'd wrongly followed advice on another thread to cancel all suPHP directives. I enabled suPHP for /var/ww/html and chown'ed the folder and filers back to webapps:webapps and was fine.

Still the problem with DA though,

Code:
[root@jupiter-ilo ~]# service directadmin
Usage:  {start|stop|status|reload|restart}
[root@jupiter-ilo ~]# service directadmin status
directadmin dead but subsys locked
[root@jupiter-ilo ~]# service directadmin start
Starting DirectAdmin: /usr/local/directadmin/directadmin: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
                                                           [FAILED]
[root@jupiter-ilo ~]#

Any ideas???
 
Back
Top