HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- apache not starting ##Urgent
Operating System - Linux
1827259
Members
2264
Online
109716
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2011 09:05 AM
03-01-2011 09:05 AM
apache not starting ##Urgent
Dear All,
My apache not starting and I get the following error while doing that I get the below error.
/etc/apache2 # uname -r
2.4.21-138-smp
srv1:/etc/init.d # ./apache2 start
Starting httpd2 (prefork) Syntax error on line 232 of /etc/apache2/httpd.conf:
Cannot load /usr/lib/apache2/libphp5.so into server: libmysqlclient.so.14: cannot open shared object file: No such file or directory
The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
failed
srv1:/etc/init.d # ./apache2 start
Starting httpd2 (prefork) Syntax error on line 232 of /etc/apache2/httpd.conf:
Cannot load /usr/lib/apache2/libphp5.so into server: libmysqlclient.so.14: cannot open shared object file: No such file or directory
The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
failed
srv1:/etc/init.d # ./apache start
Starting httpd [ Mailman PERL PHP4 Python ]
Syntax error on line 9 of /etc/httpd/suse_loadmodule.conf:
Cannot load /usr/lib/apache/libphp4.so into server: libmysqlclient.so.10: cannot open shared object file: No such file or directory failed
srv1:/etc/init.d #
Pls help on this
My apache not starting and I get the following error while doing that I get the below error.
/etc/apache2 # uname -r
2.4.21-138-smp
srv1:/etc/init.d # ./apache2 start
Starting httpd2 (prefork) Syntax error on line 232 of /etc/apache2/httpd.conf:
Cannot load /usr/lib/apache2/libphp5.so into server: libmysqlclient.so.14: cannot open shared object file: No such file or directory
The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
failed
srv1:/etc/init.d # ./apache2 start
Starting httpd2 (prefork) Syntax error on line 232 of /etc/apache2/httpd.conf:
Cannot load /usr/lib/apache2/libphp5.so into server: libmysqlclient.so.14: cannot open shared object file: No such file or directory
The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
failed
srv1:/etc/init.d # ./apache start
Starting httpd [ Mailman PERL PHP4 Python ]
Syntax error on line 9 of /etc/httpd/suse_loadmodule.conf:
Cannot load /usr/lib/apache/libphp4.so into server: libmysqlclient.so.10: cannot open shared object file: No such file or directory failed
srv1:/etc/init.d #
Pls help on this
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2011 01:35 PM
03-01-2011 01:35 PM
Re: apache not starting ##Urgent
Shalom,
Did you do a major version upgrade of apache from 1.3 to 2.x?
This requires major changes in httpd.conf file
httpd
This command will enable you to run syntax check and debug the httpd.conf file.
SEP
Did you do a major version upgrade of apache from 1.3 to 2.x?
This requires major changes in httpd.conf file
httpd
This command will enable you to run syntax check and debug the httpd.conf file.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2011 11:40 PM
03-01-2011 11:40 PM
Re: apache not starting ##Urgent
> Cannot load /usr/lib/apache2/libphp5.so into server: libmysqlclient.so.14: cannot open shared object file: No such file or directory
This might mean something like "Cannot load libphp5.so because it depends on libmysqlclient.so.14 which cannot be found."
So, do you have the proper version of MySQL client library installed?
If you do have the libmysqlclient.so.14, it might depend on something else the dynamic loader cannot find: run "ldd /wherever/it/is/libmysqlclient.so.14" to see all the library dependencies.
MK
This might mean something like "Cannot load libphp5.so because it depends on libmysqlclient.so.14 which cannot be found."
So, do you have the proper version of MySQL client library installed?
If you do have the libmysqlclient.so.14, it might depend on something else the dynamic loader cannot find: run "ldd /wherever/it/is/libmysqlclient.so.14" to see all the library dependencies.
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP