Web Hosting Talk







View Full Version : Apache Failed and 7942 Bus error


IrdHost
10-28-2003, 03:33 PM
My apache failed and i receve this meesage when i run

root@usa [~]# /usr/sbin/httpd configtest
/usr/sbin/httpd: line 192: 7942 Bus error (core dumped) $HTTPD -t

How to fix that?

stephenM
10-28-2003, 03:48 PM
Check line 192. Paste it to us :)

IrdHost
10-28-2003, 03:53 PM
Line 192 from ? /usr/sbin/httpd
I use pico, do you know a quick way to find line 192?

I don't want to count.

stephenM
10-28-2003, 03:57 PM
Open httpd.conf and use "Page down" until you think you're in the right area. Then press ctrl + c to see the line number you're currently on, and from there navigate to line 192.

IrdHost
10-28-2003, 04:12 PM
Line 192 of http.conf is:
#

and line 192 of is /etc/init.d/httpd
done

IrdHost
10-28-2003, 04:20 PM
what is the apache file for error?
that show why apache don't restart (i forget the filename)

IrdHost
10-28-2003, 04:28 PM
My provider suggest me to reinstall apache.
Do you can give me step?

VH-Robert
10-28-2003, 05:08 PM
do u have cpanel? rebuild your http.conf

IrdHost
10-28-2003, 05:12 PM
Yes, I have Cpanel and i try to rebuld cpanel with /scripts/easyapache with option 6
but that don't work...

i need help

VH-Robert
10-28-2003, 05:21 PM
/scripts/rebuildhttpdconf

IrdHost
10-28-2003, 05:29 PM
Ok i receve this:

[~]# /scripts/rebuildhttpdconf
Make sure to run the following scripts after the rebuild:

If you have suexec enabled:
/scripts/initsuexec

If you have phpopenbase security
/scripts/phpbaseopenctl on

If you have mod_userdir security
/scripts/userdirctl on

It's all?

VH-Robert
10-28-2003, 05:31 PM
well do you hav any of those enabled? If not, restart apache and see..

IrdHost
10-28-2003, 05:33 PM
yes i have If you have mod_userdir security and suexec enable i will disable it and try again

IrdHost
10-28-2003, 05:36 PM
i restart apache and i receve that:
/etc/rc.d/init.d/httpd start
Warning: User directive in <VirtualHost> requires SUEXEC wrapper.
Warning: Group directive in <VirtualHost> requires SUEXEC wrapper.
/etc/rc.d/init.d/httpd: line 192: 23822 Bus error (core dumped) $HTTPD -DSSL
/etc/rc.d/init.d/httpd start: httpd could not be started

VH-Robert
10-28-2003, 05:52 PM
enable suexec and run

/scripts/initsuexec

IrdHost
10-28-2003, 06:00 PM
Edited:

WE fixed the problem