Koozali.org: home of the SME Server

modules crashing httpd-e-smith

Offline dws4wdr

  • **
  • 25
  • +0/-0
    • Web Design and Graphics
modules crashing httpd-e-smith
« on: April 13, 2007, 01:36:13 PM »
I just moved my sme 7.1.3 to a new server using dar2 and usb disks(Thanks Darrel!). The problem is my httpd.conf file is causing httpd to crash.  at the console i see an error filing the screen constantly about error on line 112 of my httpd.conf flie. It doesn't stop until I rem out the blue line below. Tomcat? I'm not using any apps the use tomcat. Can I remove it?

# Extra Modules
#LoadModule php_module         modules/mod_php.so
#LoadModule php3_module        modules/libphp3.so
LoadModule external_auth_module modules/mod_auth_external.so

LoadModule php4_module modules/libphp4.so
#module jakarta tomcat
#LoadModule jk_module modules/mod_jk.so

Evidently the file was needed for a application on my old server at one time. Though all seems to be working without it.

My stupidity, I know the template needs updated . How do I remove the line from the template perm?
David

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: modules crashing httpd-e-smith
« Reply #1 on: April 13, 2007, 01:59:36 PM »
Quote from: "dws4wdr"
I just moved my sme 7.1.3 to a new server using dar2 and usb disks(Thanks Darrel!). The problem is my httpd.conf file is causing httpd to crash.  at the console i see an error filing the screen constantly about error on line 112 of my httpd.conf flie. It doesn't stop until I rem out the blue line below. Tomcat? I'm not using any apps the use tomcat. Can I remove it?

# Extra Modules
#LoadModule php_module         modules/mod_php.so
#LoadModule php3_module        modules/libphp3.so
LoadModule external_auth_module modules/mod_auth_external.so

LoadModule php4_module modules/libphp4.so
#module jakarta tomcat
#LoadModule jk_module modules/mod_jk.so

Evidently the file was needed for a application on my old server at one time. Though all seems to be working without it.

My stupidity, I know the template needs updated . How do I remove the line from the template perm?
Edit the template fragment, probably somewhere in /etc/e-smith/templates-custom/etc/httpf/conf/httpd.conf folder. Remove the line that is causing you problems and after that regenerate your configuration file
Code: [Select]
expand-template /etc/httpd/conf/httpd.confand restart your webserver:
Code: [Select]
/etc/rc.d/httpd-e-smith restart
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline dws4wdr

  • **
  • 25
  • +0/-0
    • Web Design and Graphics
modules crashing httpd-e-smith
« Reply #2 on: April 13, 2007, 02:10:40 PM »
cactus,
Thanks.
David