Koozali.org: home of the SME Server

httpd.conf error after upgrade.

Offline HidYn

  • 1
  • +0/-0
httpd.conf error after upgrade.
« on: August 17, 2012, 07:22:26 PM »
Hi guys,

Our office was running 7.5.1 but had issues with USB drives on the server so I followed these instructions months ago: http://forums.contribs.org/index.php/topic,47277.msg237468.html#msg237468

I've just upgraded the system to 8.0 from CD and all went smooth but I get an error message when booting up that scrolls on the screen constantly after it tries to start the Hal Daemon

The internet works on client computers and I can access the server from putty and login as root no problem

The error stems from httpd.conf so I ran httpd -t and got

Code: [Select]
httpd: Syntax error on line 88 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_imap.so into server: /etc/httpd/modules/mod_imap.so: cannot open shared object file: No such file or directory
Any help on how to fix would be really appreciated because at the moment I can't access the server through http on a browser anymore.

Sorry is this post it not very clear I'm pretty new to SME and servers in general.

Thanks in advance

Chris

Offline nicolatiana

  • *
  • 724
  • +0/-0
Re: httpd.conf error after upgrade.
« Reply #1 on: August 17, 2012, 09:49:19 PM »
HidYn/Chris

1) Did you remove all contribs before upgrade (important) ?
2) If not,  anyway, which contrib were installed on the server ?

Examining three of my Sme  8 (all of them upgraded from 7.6) no trace of mod_imap.so so I can suspect it was added by a contrib in 7.xx installation.

Anyway, as first attempt, try to put a comment before the load command in line 88 and restart your server.

Further verification -> take a look at:
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
/etc/e-smith/templates/etc/httpd/conf/httpd.conf
this might help to find the template fragment containing the mod_imap.so load command and to identify the cause of the problem.

Somebody here http://forums.contribs.org/index.php/topic,48877.msg243443.html#msg243443 had the same problem but after a search in bugzilla I suppose he did not raise a bug.

Nicola
« Last Edit: August 17, 2012, 09:55:22 PM by nicolatiana »
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.