PDA

View Full Version : Need some help with apache



sassysue
05-31-2008, 09:37 AM
[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!

Dravu
05-31-2008, 12:45 PM
[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:

cd /usr/local/directadmin/custombuild
./build update
./build apache

sassysue
06-01-2008, 04:10 PM
Use custombuild to install apache and everything else:

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

sassysue
06-01-2008, 07:22 PM
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!

Dravu
06-01-2008, 08:01 PM
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)

sassysue
06-02-2008, 07:29 AM
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

nobaloney
06-02-2008, 10:46 AM
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 (http://chkrootkit.org/) and rootkit hunter (http://www.rootkit.nl/); 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