Apache wont start after custom build update - symbol lookup error

jts_01

Verified User
Joined
Apr 26, 2010
Messages
7
Just did a full custombuild 2 update on the system and httpd and received the following error:

/usr/sbin/httpd: symbol lookup error: /usr/sbin/httpd: undefined symbol: apr_file_pipe_create_ex


Any help is greatly appreciated.



CentOs: 5.11
Installed version of Apache: 2.4.12
Installed version of Pure-FTPd: 1.0.36
Installed version of libpng: 1.6.16
Installed version of mod_ruid2: 0.9.8
Installed version of ICU4C: 4.8.1.1
Installed version of libxslt: 1.1.28
Installed version of libxml2: 2.9.2
Installed version of iconv: 1.14
Installed version of PCRE: 8.20
Installed version of curl: 7.40.0
Installed version of FreeType: 2.5.5
Installed version of dovecot: 2.2.15
Installed version of dovecot.conf: 0.1
Installed version of PHP (mod_php): 5.5.21
 
Server loaded: APR 1.2.7, APR-UTIL 1.2.7
Compiled using: APR 1.5.1, APR-UTIL 1.5.4

Architecture: 32-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="/var/logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
 
Do you have any files in /usr/local/directadmin/custombuild/custom directory?
 
I had same problem on latest apache update, ive re-updated custombuild and re-compiled apache and it fixed.

Regards

I'm not fortunate enough to be so lucky... still have the same problem after updating and recompiling
 
The below resolved it for any one who runs in to a similar problem.

cp /etc/httpd.ORGINAL/lib/libapr-1.so.0.5.0 .
cp /etc/httpd.ORGINAL/lib/libaprutil-1.so.0.5.3 .
ldd /usr/sbin/httpd | grep apr
unlink libapr-1.so.0
ln -s libapr-1.so.0.5.0 libapr-1.so.0
unlink libaprutil-1.so.0
ln -s libaprutil-1.so.0.5.3 libaprutil-1.so.0
/etc/init.d/httpd restart
 
Just updated via Yum and got the "/usr/sbin/httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory" error.

Loaded DA admin and went into CustomBuild2 and there was an Apache 2.4.12 update ready, I launched the update and after the compile all was fine.

Edit: Thx DirectAdmin and CustomBuild2, it's just a pleasure to work with you two delightful instances.
 
Back
Top