Easyapache httpd_ls_bak no such file.

#1
mkdir /usr/local/apache/htdocs
[PRESERVING EXISTING ERROR SUBDIR: /usr/local/apache/error]
[PRESERVING EXISTING ICONS SUBDIR: /usr/local/apache/icons]
[PRESERVING EXISTING CGI SUBDIR: /usr/local/apache/cgi-bin]
Installing header files
Installing build system files
Installing man pages and online manual
make[1]: Leaving directory `/home/cpeasyapache/src/httpd-2.2.17'
/usr/local/apache/bin/httpd: line 77: /usr/local/apache/bin/httpd_ls_bak: No such file or directory
/usr/local/apache/bin/httpd: line 77: /usr/local/apache/bin/httpd_ls_bak: No such file or directory
-- End step 'Installing Apache 2.2' --
-- Begin step 'OS kernel checks' --
-- End step 'OS kernel checks' --
-- Begin step 'APXSing required mods' --
-- End step 'APXSing required mods' --
-- Begin step 'APXSing required mods' --
/usr/local/apache/bin/httpd: line 77: /usr/local/apache/bin/httpd_ls_bak: No such file or directory
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/local/apache/bin/httpd'..
!! '/usr/local/apache/bin/apxs -i -a -c ../mod_bwlimited.c' failed with exit code '256' !!
!! Restoring original working apache !!

# ls -lh
total 316K
drwxr-xr-x 2 root root 4.0K Mar 31 23:58 ./
drwxr-xr-x 17 root root 4.0K Mar 31 23:58 ../
-rwxr-xr-x 1 root root 68K Mar 31 23:58 ab*
-rwxr-xr-x 1 root root 3.1K Mar 31 23:58 apachectl*
-rwxr-xr-x 1 root root 6.9K Mar 31 23:58 apr-1-config*
-rwxr-xr-x 1 root root 6.4K Mar 31 23:58 apu-1-config*
-rwxr-xr-x 1 root root 23K Mar 31 23:58 apxs*
-rwxr-xr-x 1 root root 8.0K Mar 31 23:58 checkgid*
-rwxr-xr-x 1 root root 8.8K Mar 31 23:58 dbmmanage*
-rw-r--r-- 1 root root 977 Mar 31 23:58 envvars
-rw-r--r-- 1 root root 977 Mar 31 23:58 envvars-std
-rwxr-xr-x 1 root root 26K Mar 31 23:58 htcacheclean*
-rwxr-xr-x 1 root root 21K Mar 31 23:58 htdbm*
-rwxr-xr-x 1 root root 15K Mar 31 23:58 htdigest*
-rwxr-xr-x 1 root root 20K Mar 31 23:58 htpasswd*
-rwxr-xr-x 1 root root 1.7K Apr 1 08:09 httpd*
-rwxr-xr-x 1 root root 1.7K Mar 31 23:58 httpd.lsconf*
-rwxr-xr-x 1 root root 14K Mar 31 23:58 httxt2dbm*
-rwxr-xr-x 1 root root 15K Mar 31 23:58 logresolve*
-rwxr-xr-x 1 root root 15K Mar 31 23:58 rotatelogs*
-rwsr-xr-x 1 root root 19K Mar 31 23:58 suexec*



I copied the httpd_ls_bak off another server, tried copying that to httpd.. still nothing, just deletes all the files upon easyapache and then dies when it can't find them.

Any help is much appreciated.
 

webizen

Well-Known Member
#2
You can try:
1. force reinstall 4.0.20 from LSWS (admin console -> actions -> version manager).
and
2. run 'cp /home/cpeasyapache/src/httpd-2.2.17/.libs/httpd /usr/local/apache/bin/httpd' from command line.
 
#3
Okay that solved that stage but now:

-- End opt 'IonCube Loader for PHP' --
Building global cache for cpanel...Done
Updating Apache configuration
Updating Apache configuration
Updating Apache configuration
Distilled successfully
!! Executing '/scripts/initsslhttpd' !!
!! Executing '/scripts/update_apachectl' !!
!! Restarting 'httpd' ... !!
!! 'httpd' restart complete. !!
-- Begin post apache restart tests --
-- Begin test 'Basic HTTPD Process Check' --
!! No 'httpd' process found. Waiting '10' seconds to try again. !!
!! No 'httpd' process found. Please check that 'Apache' is running. !!
!!
Ouput from 'ps uxawwww | grep http':
root 6971 1.5 0.1 30628 14528 ? S< 14:34 0:00 litespeed (lshttpd)
root 6972 0.0 0.0 5876 436 ? S< 14:34 0:00 httpd (lscgid)
nobody 6973 0.8 0.1 31328 14864 ? S< 14:34 0:00 litespeed (lshttpd)
uxawwww | grep http
root 7050 0.0 0.0 61168 744 ? S 14:35 0:00 grep http
root 18579 0.0 0.1 29960 13980 ? S< 14:23 0:00 litespeed (lshttpd)
nobody 18581 0.3 0.1 31680 15536 ? S< 14:23 0:02 litespeed (lshttpd)
!!
!! Skipping rest of tests: httpd not running !!
-- End post apache restart tests --
!! Restoring original working apache !!
!! Executing '/scripts/initsslhttpd' !!
!! Restarting 'httpd' ... !!
!! 'httpd' restart complete. !!
Building global cache for cpanel...Done
!! Executing '/scripts/initfpsuexec' !!
!! Executing '/scripts/initsslhttpd' !!
!! Executing '/scripts/update_apachectl' !!
!! Feel free to submit a support ticket at https://tickets.cpanel.net/submit/index.cgi?reqtype=tickets !!
!! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1301685837' !!
root@web01 [/usr/local/apache/bin]# htop
 

webizen

Well-Known Member
#4
it is likely there is an error in apache configuration file and causes apache failed to start. maybe you manually modified the conf file before.

try
cd /home/cpeasyapache/src/httpd-2.2.17/; make install
/usr/local/apache/bin/httpd -t
this is to test the configuration and see where the error is.
 

webizen

Well-Known Member
#5
Also make sure you have EasyApache Integration enabled in LSWS cPanel plugin. Without it, you need to switch to Apache before run EasyApache. The problem you experienced seems caused by run EA while LSWS is running with EasyApache Integration disabled.
 
Last edited:
Top