Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# ./startup
Waiting for cpaneld to shutdown......Done
Waiting for webmaild to shutdown......Done
Waiting for cppop to shutdown......Done
Waiting for cppop-ssl to shutdown......Done
Traceback (most recent call last):
File "/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 103, in ?
import socket
File "/usr/local/lib/python2.4/socket.py", line 45, in ?
import _socket
ImportError: /usr/local/lib/python2.4/lib-dynload/_socket.so: Undefined symbol "__h_errno"
No matching processes were found
Waiting for cpsrvd to shutdown......Done
Waiting for cpsrvd-ssl to shutdown......Done
Waiting for whostmgrd to shutdown......Done
==> cPanel Log Daemon version 22.2
==> Shared RRDTOOL support enabled
==> Starting cpbandwd (bandwidth monitoring for IMAP/POP)
cpbandwd is already running.
Waiting for cppop to shutdown......Done
Waiting for cppop-ssl to shutdown......Done
Died at /usr/local/cpanel/bin/eximstats line 35.
Traceback (most recent call last):
File "/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 103, in ?
import socket
File "/usr/local/lib/python2.4/socket.py", line 45, in ?
import _socket
ImportError: /usr/local/lib/python2.4/lib-dynload/_socket.so: Undefined symbol "__h_errno"
==> Starting SSL tunnel...
Using Native SSL support (stunnel not needed)
Listening on port 2084...
this appear with apachectl :
Quote:
# /usr/local/apache/bin/apachectl start
Syntax error on line 211 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/lib/mysql/libmysqlclient.so.15: Undefined symbol "gethostbyname_r"
/usr/local/apache/bin/apachectl start: httpd could not be started
I tried to recompile apache with select php 4.4.4 in easyapche:
configure: error: mysql configure failed. Please check config.log for more information.
this is config.log error messages:
Quote:
# more /usr/home/cpapachebuild/buildapache/php-4.4.4/config.log | grep error
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
configure:14804: error: `intmax_t' undeclared (first use in this function)
configure:14804: error: (Each undeclared identifier is reported only once
configure:14804: error: for each function it appears in.)
configure:14882: error: `ssize_t' undeclared (first use in this function)
configure:14882: error: (Each undeclared identifier is reported only once
configure:14882: error: for each function it appears in.)
configure:14921: error: `ptrdiff_t' undeclared (first use in this function)
configure:14921: error: (Each undeclared identifier is reported only once
configure:14921: error: for each function it appears in.)
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
configure:15543: checking for gai_strerror
/* Override any gcc2 internal prototype to avoid an error. */
configure:15543: checking for perror
/* Override any gcc2 internal prototype to avoid an error. */
configure:15543: checking for strerror
configure:16091: error: too many arguments to function `asctime_r'
configure:16121: error: too many arguments to function `asctime_r'
configure:61903: error: syntax error before "foo"
configure:61904: error: `foo' undeclared (first use in this function)
configure:61904: error: (Each undeclared identifier is reported only once
configure:61904: error: for each function it appears in.)
configure:61946: error: syntax error before "foo"
configure:61947: error: `foo' undeclared (first use in this function)
configure:61947: error: (Each undeclared identifier is reported only once
configure:61947: error: for each function it appears in.)
configure:62086: error: syntax error before "i"
/* Override any gcc2 internal prototype to avoid an error. */
configure:62849: checking for mysql_error in -lmysqlclient
/* Override any gcc2 internal prototype to avoid an error. */
char mysql_error();
mysql_error()
this when run mysql:
Quote:
/usr/local/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)' Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists! mysql has failed, please contact the sysadmin (result was "Warning, no valid mysql.sock file found.mysql has failed").
and this is /var/db/mysql/hostname.err :
Quote:
061031 12:08:18 mysqld started
061031 12:08:18 InnoDB: Started; log sequence number 0 65258
061031 12:08:18 [ERROR] Can't start server : Bind on unix socket: Permission den
ied
061031 12:08:18 [ERROR] Do you already have another mysqld server running on soc
ket: /tmp/mysql.sock ?
061031 12:08:18 [ERROR] Aborting
stell the same error with python socket appear with upcp --force
Quote:
Waiting for cppop-ssl to shutdown......Done
Traceback (most recent call last):
File "/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 103, in ?
import socket
File "/usr/local/lib/python2.4/socket.py", line 45, in ?
import _socket
ImportError: /usr/local/lib/python2.4/lib-dynload/_socket.so: Undefined symbol "__h_errno"
No matching processes were found
Waiting for cpsrvd to shutdown......Done
Waiting for cpsrvd-ssl to shutdown......Done
Waiting for whostmgrd to shutdown......Done
==> cPanel Log Daemon version 22.2
==> Shared RRDTOOL support enabled
==> Starting cpbandwd (bandwidth monitoring for IMAP/POP)
cpbandwd is already running.
Waiting for cppop to shutdown......Done
Waiting for cppop-ssl to shutdown......Done
Died at /usr/local/cpanel/bin/eximstats line 35.
Traceback (most recent call last):
File "/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 103, in ?
import socket
File "/usr/local/lib/python2.4/socket.py", line 45, in ?
import _socket
ImportError: /usr/local/lib/python2.4/lib-dynload/_socket.so: Undefined symbol "__h_errno"
==> Starting SSL tunnel...
Using Native SSL support (stunnel not needed)
Content-type: text/html
# /etc/init.d/httpd start
Syntax error on line 217 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/lib/mysql/libmysqlclient.so.15: Undefined symbol "gethostbyname_r"
/etc/init.d/httpd start: httpd could not be started
Quote:
Waiting for cppop-ssl to shutdown......Done
Died at /usr/local/cpanel/bin/eximstats line 35.
Traceback (most recent call last):
File "/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 103, in ?
import socket
File "/usr/local/lib/python2.4/socket.py", line 45, in ?
import _socket
ImportError: /usr/local/lib/python2.4/lib-dynload/_socket.so: Undefined symbol "__h_errno"
==> Starting SSL tunnel...
Did you try to recompile apache from SSH ?
/scripts/easyapache and use the defaults. I also recall that python apache module can cause problems. Try to compile apache with the defaults. And then get back at me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.