Page 1 of 1
Webmail/webservice cant be started
Posted: Fri Oct 02, 2009 3:19 pm
by mveerdon
Hello,
I would like to restart my webservices. I get the following error;
# /sbin/service httpd restart
Stopping httpd: [FAILED]
Starting httpd: [Fri Oct 02 21:10:45 2009] [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
Pre-configuration failed
[FAILED]
Can somebody help?
Re: Webmail/webservice cant be started
Posted: Sat Oct 03, 2009 5:49 am
by ls-al
As Scalix doesnt have any PHP based webapp you will have to check the rest of your Apache config.
Re: Webmail/webservice cant be started
Posted: Sun Oct 04, 2009 12:50 pm
by Valerion
To restart the web services, you will normally need to stop and start scalix-tomcat. Apache mostly just acts as a front-end to this.
Re: Webmail/webservice cant be started
Posted: Mon Oct 05, 2009 5:54 am
by mveerdon
How can I restart the scalix tomcat services?
Re: Webmail/webservice cant be started
Posted: Mon Oct 05, 2009 4:31 pm
by les
mveerdon wrote:How can I restart the scalix tomcat services?
service scalix-tomcat restart
Re: Webmail/webservice cant be started
Posted: Tue Oct 06, 2009 2:51 am
by mveerdon
Thanks,
after restarting the tomcat service I still can't access my WebAccess.
What can be the problem?
regards, Marty
#################################
service scalix-tomcat restart
Instance (creatable) is running
Stopping Tomcat service (creatable): Using CATALINA_BASE: /var/opt/scalix/ce/tomcat
Using CATALINA_HOME: /opt/scalix-tomcat
Using CATALINA_TMPDIR: /var/opt/scalix/ce/tomcat/temp
Using JRE_HOME:
[ OK ]
Starting Tomcat service (creatable): Using CATALINA_BASE: /var/opt/scalix/ce/tomcat
Using CATALINA_HOME: /opt/scalix-tomcat
Using CATALINA_TMPDIR: /var/opt/scalix/ce/tomcat/temp
Using JRE_HOME:
[ OK ]
[root@creatable ~]#
Re: Webmail/webservice cant be started
Posted: Tue Oct 06, 2009 3:27 am
by les
mveerdon wrote:Thanks,
after restarting the tomcat service I still can't access my WebAccess.
What can be the problem?
scalix-tomcat is a sort of "helper" to httpd. You need both running to access webmail. Have you got httpd running yet?
What error are you getting when you try to browse to webmail?
Re: Webmail/webservice cant be started
Posted: Tue Oct 06, 2009 3:48 am
by mveerdon
The error I get is that the url can't be found.
# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: [Tue Oct 06 09:42:10 2009] [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
Pre-configuration failed
[FAILED]
Re: Webmail/webservice cant be started
Posted: Tue Oct 06, 2009 4:03 am
by les
mveerdon wrote:The error I get is that the url can't be found.
# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: [Tue Oct 06 09:42:10 2009] [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
Pre-configuration failed
[FAILED]
So httpd is not running because of the above error?
Scalix webmail or admin console will not run without httpd running.
As ls-al posted earlier, scalix has no php based webapp, so you have a non scalix issue with your apache setup. You need to fix that first before scalix will work.
Googling for "Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP" would be a good start.
Re: Webmail/webservice cant be started
Posted: Tue Oct 06, 2009 9:03 am
by mveerdon
searching with Google doesnt give much result.
Can anybody help?
Do I need to post some log files?
Re: Webmail/webservice cant be started
Posted: Tue Oct 06, 2009 9:17 am
by les
mveerdon wrote:searching with Google doesnt give much result.
Can anybody help?
Do I need to post some log files?
This is a scalix forum, not an apache/php one. You'd be better off posting to the apache or php forums for your specific problem, which doesn't have anything to do with scalix.
I'm no expert with php, but googling the error and looking at a few posts tends me to think that you're running a bleeding edge php version, which may not be wise on a production mail server. But you haven't given too much detail to go on.
Again though, this is not a scalix problem, you probably won't find an answer in this forum.