httpd Process is stopped after update

dds31:/usr/local/directadmin/customapache# httpd -k start
Syntax error on line 66 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/apache/libphp4.so: cannot open shared object file: No such file or directory
 
Last edited:
Code:
cd /usr/local/directadmin/customapache
./build php n
service httpd restart
 
dds31:/usr/local/directadmin/customapache# ./build php n
cat: /etc/redhat-release: No such file or directory
cat: /etc/redhat-release: No such file or directory
Found /usr/local/directadmin/customapache/php-4.4.7.tar.gz
Extracting ...
Done.
patching file php-4.4.7/ext/standard/mail.c
ln: creating symbolic link `/usr/lib/libltdl.so' to `libltdl.so.3': File exists
Configuring php-4.4.7...
creating cache ./config.cache
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking whether ln -s works... yes
checking for gawk... no
checking for mawk... mawk
checking for bison... bison -y
checking bison version... configure: warning: You will need bison 1.28
2.3 (ok)
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for working const... yes
checking flex version... 2.5.33 (ok)
checking whether byte ordering is bigendian... no
checking whether to force non-PIC code in shared modules... no
checking for pthreads_cflags... -pthread
checking for pthreads_lib...

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... configure: error: You have enabled Apache 1.3 s upport while your server is Apache 2. Please use the appropiate switch --with-apxs2

*** There was an error while trying to configure php. Check the configure.php file
 
Code:
[FONT=monospace]
[/FONT]cd /usr/local/directadmin/customapache[FONT=monospace]
[/FONT]./build php_ap2 n[FONT=monospace]
[/FONT]service httpd restart
 
dds31:/usr/local/directadmin/customapache# ./build php_ap2 n
cat: /etc/redhat-release: No such file or directory
cat: /etc/redhat-release: No such file or directory
Found /usr/local/directadmin/customapache/php-4.4.7.tar.gz
Extracting ...
Done.
patching file php-4.4.7/ext/standard/mail.c
ln: creating symbolic link `/usr/lib/libltdl.so' to `libltdl.so.3': File exists
Configuring php-4.4.7...
Done Configuration.
Can't open Makefile: No such file or directory.
Trying to make php...
make: *** No targets specified and no makefile found. Stop.
 
Try to do:
Code:
./build update
./build clean

Before these commands.
 
But I have tried this several times!!!

dds31:/usr/local/directadmin/customapache# ./build update
cat: /etc/redhat-release: No such file or directory
cat: /etc/redhat-release: No such file or directory
--20:21:29-- http://files.directadmin.com/services/customapache/build
=> `/usr/local/directadmin/customapache/build.new'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com[72.35.85.222]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 59,762 [text/plain]

100%[===================================================================>] 59,762 127.49K/s

20:21:30 (127.11 KB/s) - `/usr/local/directadmin/customapache/build.new' saved [59762/59762]

--20:21:30-- http://files.directadmin.com/services/customapache/README
=> `/usr/local/directadmin/customapache/README'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com[72.35.85.222]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
20:21:30 ERROR 404: Not Found.

cat: /etc/redhat-release: No such file or directory
cat: /etc/redhat-release: No such file or directory
File already exists: apache_1.3.37.tar.gz
File already exists: configure.apache_ssl
File already exists: configure.php
File already exists: mod_frontpage.c
File already exists: Makefile.tmpl.patch
File already exists: frontpage.patch
File already exists: fp-patch-apache_1.3.22
File already exists: fp-patch-suexec
File already exists: httpd
File already exists: httpd_freebsd
File already exists: httpd_debian
File already exists: mime.types
Downloading mod_perl-1.0-current.tar.gz...
--20:21:31-- http://files.directadmin.com/services/customapache/mod_perl-1.0-current.tar.gz
=> `/usr/local/directadmin/customapache/mod_perl-1.0-current.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com[72.35.85.222]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 378,877 [application/x-gzip]

100%[===================================================================>] 378,877 399.20K/s

20:21:32 (398.26 KB/s) - `/usr/local/directadmin/customapache/mod_perl-1.0-current.tar.gz' saved [378877/378877]

File already exists: mod_ssl-2.8.28-1.3.37.tar.gz
File already exists: curl-7.16.2.tar.gz
File already exists: gd-2.0.34.tar.gz
File already exists: libmcrypt-2.5.8.tar.gz
File already exists: mhash-0.9.1.tar.gz
File already exists: zziplib-0.10.82.tar.gz
File already exists: php-4.4.7.tar.gz
File already exists: php-4.4.7-mail-header.patch
File already exists: mod_frontpage-1.6.1.tar.gz
File already exists: fp50.linux.tar.gz
File already exists: webalizer-2.01-10-src.tgz


dds31:/usr/local/directadmin/customapache# ./build clean
cat: /etc/redhat-release: No such file or directory
cat: /etc/redhat-release: No such file or directory
All clean!
 
May I take a look at your server? If yes - please send me your server details.
 
The problem has been solved. OS was Debian 4.0 (Etch), which is not officially supported by DirectAdmin and customapache.
 
Back
Top