Apache Tomcat Native library not found, port 8009-8019 busy

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

AthLux
Posts: 18
Joined: Sun Jul 06, 2008 3:14 am

Apache Tomcat Native library not found, port 8009-8019 busy

Postby AthLux » Sun Aug 24, 2008 4:05 pm

Hi,

My scalix server (11.3.0.77-1 on CentOS5) seems not be working :cry:
I can access apache (http://localhost/) but not the scalix web interfaces http://localhost/webmail or http://localhost/sac. 404 page not found is the result.

Maybe I found a hint in /var/opt/scalix/ml/tomcat/logs/catalina.2008-08-24.log:

Code: Select all

Aug 24, 2008 9:42:46 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jre1.5.0_13/lib/i386/server:/usr/java/jre1.5.0_13/lib/i386:/usr/java/jre1.5.0_13/../lib/i386
Aug 24, 2008 9:42:46 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 7524 ms
Aug 24, 2008 9:42:47 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 24, 2008 9:42:47 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.25
Aug 24, 2008 9:42:47 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Aug 24, 2008 9:42:57 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/var/opt/scalix/ml/tomcat/webapps/caa/WEB-INF/lib/j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8010 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8011 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8012 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8013 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8014 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8015 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8016 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8017 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8018 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8019 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
SEVERE: Can't find free port 8009 80ug 24, 2008 9:42:46 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jre1.5.0_13/lib/i386/server:/usr/java/jre1.5.0_13/lib/i386:/usr/java/jre1.5.0_13/../lib/i386
Aug 24, 2008 9:42:46 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 7524 ms
Aug 24, 2008 9:42:47 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 24, 2008 9:42:47 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.25
Aug 24, 2008 9:42:47 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Aug 24, 2008 9:42:57 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/var/opt/scalix/ml/tomcat/webapps/caa/WEB-INF/lib/j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8010 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8011 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8012 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8013 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8014 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8015 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8016 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8017 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8018 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8019 java.net.BindException: Cannot assign requested address
Aug 24, 2008 9:44:29 PM org.apache.jk.common.ChannelSocket init
SEVERE: Can't find free port 8009 8019
Aug 24, 2008 9:44:29 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/1202  config=null
Aug 24, 2008 9:44:31 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Aug 24, 2008 9:44:31 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 104768 ms
Aug 24, 2008 9:51:42 PM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed


What can the reason be for:
- Apache Tomcat Native library not found
- port busy

Thanks in advance
AthLux

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Mon Aug 25, 2008 5:11 pm

What does lsof show you is on that port?

AthLux
Posts: 18
Joined: Sun Jul 06, 2008 3:14 am

Postby AthLux » Mon Aug 25, 2008 6:00 pm

Code: Select all

[root@mail ~]# lsof | grep 8009; lsof | grep 801
sendmail   2056     root  mem       REG      253,0    47204     298018 /usr/lib/sasl2/libdigestmd5.so.2.0.22
sendmail   2056     root  mem       REG      253,0    16832     298014 /usr/lib/sasl2/libcrammd5.so.2.0.22
omsmtpd    2221     root  mem       REG      253,0    16832     298014 /usr/lib/sasl2/libcrammd5.so.2.0.22
omsmtpd    2221     root  mem       REG      253,0    47204     298018 /usr/lib/sasl2/libdigestmd5.so.2.0.22
omsmtpd    2223     root  mem       REG      253,0    16832     298014 /usr/lib/sasl2/libcrammd5.so.2.0.22
omsmtpd    2223     root  mem       REG      253,0    47204     298018 /usr/lib/sasl2/libdigestmd5.so.2.0.22
omsmtpd    2230     root  mem       REG      253,0    16832     298014 /usr/lib/sasl2/libcrammd5.so.2.0.22
omsmtpd    2230     root  mem       REG      253,0    47204     298018 /usr/lib/sasl2/libdigestmd5.so.2.0.22
omsmtpd    2234     root  mem       REG      253,0    16832     298014 /usr/lib/sasl2/libcrammd5.so.2.0.22
omsmtpd    2234     root  mem       REG      253,0    47204     298018 /usr/lib/sasl2/libdigestmd5.so.2.0.22

The ports 8009..8019 are not used.
Maybe the reason can be:

Code: Select all

INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jre1.5.0_13/lib/i386/server:/usr/java/jre1.5.0_13/lib/i386:/usr/java/jre1.5.0_13/../lib/i386


If I restart tomcat I get no output about the JRE_HOME. Maybe this can be a reason?

Code: Select all

[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:
                                                           [  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:
                                                           [  OK  ]

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Tue Aug 26, 2008 1:51 pm

Maybe the reason can be:
Code:
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jre1.5.0_13/lib/i386/server:/usr/java/jre1.5.0_13/lib/i386:/usr/java/jre1.5.0_13/../lib/i386


Nope, my working server says the same thing - I ignore it, as it's INFO.

Code: Select all

# lsof -i:8009

AthLux
Posts: 18
Joined: Sun Jul 06, 2008 3:14 am

Postby AthLux » Tue Aug 26, 2008 3:16 pm

Unfortunately lsof -i:8009 do not show any open files too.

And the

Code: Select all

Using CATALINA_HOME:   /opt/scalix-tomcat
Using CATALINA_TMPDIR: /var/opt/scalix/ml/tomcat/temp
Using JRE_HOME:

The missing specification for JRE_HOME can be the reason?
Thx
Athlux

AthLux
Posts: 18
Joined: Sun Jul 06, 2008 3:14 am

Postby AthLux » Thu Sep 04, 2008 3:33 pm

:?
After some days and severe reboots now all working fine again.
I swor: I didn't change anything.

As mentioned above - wether Tomcat native library nor the empty JRE_HOME: are the reasons.

Only the bussy ports are the reason.

Thanks for your hints!
Athlux


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 10 guests