Error when starting apache

Discuss the Scalix Server software
mrezzonico
Posts: 133
Joined: Thu Aug 16, 2007 8:20 am

Error when starting apache

Postby mrezzonico » Tue May 26, 2015 3:21 am

I all,

when I start apache I receive the following error:

# /etc/init.d/apache2 restart
[Tue May 26 09:06:32 2015] [warn] worker ajp://xxx.xxx.xx:8009/sac already used by another worker
[Tue May 26 09:06:32 2015] [warn] worker ajp://xxxx.xxx.xx:8009/sac already used by another worker
Syntax OK
Shutting down httpd2 (waiting for all children to terminate) done
Starting httpd2 (prefork) [Tue May 26 09:06:32 2015] [warn] worker ajp://xxxx.xxx.xx:8009/sac already used by another worker
[Tue May 26 09:06:32 2015] [warn] worker ajp://xxxx.xxx.xx:8009/sac already used by another worker


If in the file:
/etc/opt/scalix-tomcat/connector/ajp/app-xxxx.sacapi.conf

I comment the line:
# ProxyPass /sacapi ajp://xxxx.xxx.xx:8009/sacapi timeout=30 retry=1 ttl=5 ping=5

... the error disappears.

Any help to correctly solve the problem is appreciated.

Regards.
Miche

fkienker
Posts: 79
Joined: Sat Nov 18, 2006 1:08 pm
Location: Atlanta GA USA

Re: Error when starting apache

Postby fkienker » Mon Jul 06, 2015 12:49 am

Not sure what version of Scalix or what operating system you are using. This would certainly make it easer to assist you. I've seen similar issues with both Scalix 12.5.0 and 12.1.0 running on CentOS 6 64 bit. I tried in another thread to get some assistance but no one really was able to give many useful suggestions. Your post has give me an idea where to look.

The httpd error_log has lots of these messages, one after another:

[Sun Jul 05 21:49:36 2015] [error] ajp_read_header: ajp_ilink_receive failed
[Sun Jul 05 21:49:36 2015] [error] (70007)The timeout specified has expired: proxy: read response failed from (null) ((xxx)-mail.(xxx).net)
[Sun Jul 05 21:50:29 2015] [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header
[Sun Jul 05 21:50:29 2015] [error] ajp_read_header: ajp_ilink_receive failed
[Sun Jul 05 21:50:29 2015] [error] (70007)The timeout specified has expired: proxy: read response failed from 192.168.11.10:8009 ((xxx)-mail.(xxx).net)

I will try what you did and see if it makes a difference.
Fred Kienker
AT4B

kanderson
Posts: 8
Joined: Mon Feb 02, 2015 2:44 pm

Re: Error when starting apache

Postby kanderson » Tue Jul 07, 2015 12:55 am

What is the result if you restart scalix-tomcat?

/etc/init.d/scalix-tomcat restart

Also what is the result from

ps auwwx|grep java

Kev.

fkienker
Posts: 79
Joined: Sat Nov 18, 2006 1:08 pm
Location: Atlanta GA USA

Re: Error when starting apache

Postby fkienker » Thu Jul 09, 2015 1:23 pm

The restart appears clean:

[root@mail ~]# /etc/init.d/scalix-tomcat restart
Instance (mail) is running
Stopping Tomcat service (mail): Using CATALINA_BASE: /var/opt/scalix/ml/tomcat
Using CATALINA_HOME: /opt/scalix-tomcat
Using CATALINA_TMPDIR: /var/opt/scalix/ml/tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH: /var/opt/scalix/ml/tomcat/bin/tomcat-juli.jar:/opt/scalix-tomcat/bin/bootstrap.jar
Using CATALINA_PID: /var/opt/scalix/ml/tomcat/tomcat.pid
[ OK ]
Starting Tomcat service (mail): Using CATALINA_BASE: /var/opt/scalix/ml/tomcat
Using CATALINA_HOME: /opt/scalix-tomcat
Using CATALINA_TMPDIR: /var/opt/scalix/ml/tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH: /var/opt/scalix/ml/tomcat/bin/tomcat-juli.jar:/opt/scalix-tomcat/bin/bootstrap.jar
Using CATALINA_PID: /var/opt/scalix/ml/tomcat/tomcat.pid
[ OK ]
The "ps auwwx|grep java" gives:

root 18422 108 2.4 6890616 407360 pts/0 Sl 13:08 0:17 /usr/bin/java -Djava.util.logging.config.file=/var/opt/scalix/ml/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -server -Xms1024m -Xmx1024m -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Dscalix.instance=/var/opt/scalix/ml -Djava.endorsed.dirs=/opt/scalix-tomcat/endorsed -classpath /var/opt/scalix/ml/tomcat/bin/tomcat-juli.jar:/opt/scalix-tomcat/bin/bootstrap.jar -Dcatalina.base=/var/opt/scalix/ml/tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/var/opt/scalix/ml/tomcat/temp org.apache.catalina.startup.Bootstrap start
Fred Kienker
AT4B

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Re: Error when starting apache

Postby ScalixSupport » Sat Dec 26, 2015 10:41 am

Hello Mr. Miche,

Have your issue solved ? after instruction provided by the members if it is still pending could you please create support ticket ?

For this issue need apache tuning and tomcat tuning like timeout, connection limit, etc

Regards,
Scalix Support Team.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 6 guests

cron