Need some help with apache

sassysue

Verified User
Joined
Apr 2, 2008
Messages
19
[root@web2 httpd-2.2.8]# /sbin/service httpd start
Starting httpd: /usr/bin/find: /usr/lib/apache: No such file or directory
Syntax error on line 24 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/mod_vhost_alias.so into server: /etc/httpd/modules/mod_vhost_alias.so: cannot open shared object file: No such file or directory
[FAILED]


I tried reinstalling it sinse apache was broken and i reinstalled it again! but get all of these errors!
does apache have to be under apache2? because when i do whereis
whereis apache2
apache2: /usr/local/apache2


so i really do not no is there a how to guide on how to install this? i tried with this page..

http://www.alessiopaolucci.com/en/page/tutorials/howto_install_apache_2_2_on_centos_4/index

Any help would be really appreciated

Thanks
Richard!
 
[root@web2 httpd-2.2.8]# /sbin/service httpd start
Starting httpd: /usr/bin/find: /usr/lib/apache: No such file or directory
Syntax error on line 24 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/mod_vhost_alias.so into server: /etc/httpd/modules/mod_vhost_alias.so: cannot open shared object file: No such file or directory
[FAILED]


I tried reinstalling it sinse apache was broken and i reinstalled it again! but get all of these errors!
does apache have to be under apache2? because when i do whereis
whereis apache2
apache2: /usr/local/apache2


so i really do not no is there a how to guide on how to install this? i tried with this page..

http://www.alessiopaolucci.com/en/page/tutorials/howto_install_apache_2_2_on_centos_4/index

Any help would be really appreciated

Thanks
Richard!
Use custombuild to install apache and everything else:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build apache
 
Use custombuild to install apache and everything else:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build apache


cd /usr/local/directadmin/custombuild
-bash: cd: /usr/local/directadmin/custombuild: No such file or directory


This is what it says
 
hey

so this has gone from bad to worst

i reinstalled following these steps!
http://www.directadmin.com/forum/showthread.php?t=104

after like 10 minutes it stopped working again i emailed directadmin support to inquire more about this sinse i belive there is something really wrong on my server or either a glitch in the software my apache httpd has been working fine and i haven;t changed nothing on the server at all accept adding new users packages ect

Thanks
Richard!
 
so this has gone from bad to worst

i reinstalled following these steps!
http://www.directadmin.com/forum/showthread.php?t=104

after like 10 minutes it stopped working again i emailed directadmin support to inquire more about this sinse i belive there is something really wrong on my server or either a glitch in the software my apache httpd has been working fine and i haven;t changed nothing on the server at all accept adding new users packages ect

Thanks
Richard!
What do these two logs say:
/var/log/messages
/var/log/httpd/error_log

(If you can still access DA, it might be easier for you to just use the Log Viewer instead of using the shell)
 
What do these two logs say:
/var/log/messages
/var/log/httpd/error_log

(If you can still access DA, it might be easier for you to just use the Log Viewer instead of using the shell)


hey blank files i did nano /var/log/httpd/error_log
 
Custombuild should build these files in the right place.

If those files are blank, then considering the problems you're having, then there probably is something really wrong with your server. Install and run both chkrootkit and rootkit hunter; they may find evidence of hacking or installed rootkits. Even if they don't the problem may be a hacker or rootkit, or else bad hardware or memory.

Jeff
 
Back
Top