You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Robert Gurule <rg...@lanl.gov> on 2010/07/06 21:26:27 UTC

Error on Red Hat

 Hi Norman,
   I did a reboot and got the same problem... here is output from 
netstat -tulpen and the console window. 

Thanks for your help.

Robert

[root@monty esn_user]# sudo netstat -tulpen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign 
Address             Sta
tcp        0      0 127.0.0.1:25                
0.0.0.0:*                   LIS
tcp        0      0 0.0.0.0:56805               
0.0.0.0:*                   LIS
tcp        0      0 0.0.0.0:111                 
0.0.0.0:*                   LIS
tcp        0      0 192.168.122.1:53            
0.0.0.0:*                   LIS
tcp        0      0 0.0.0.0:22                  
0.0.0.0:*                   LIS
tcp        0      0 127.0.0.1:631               
0.0.0.0:*                   LIS
tcp        0      0 ::1:25                      
:::*                        LIS
tcp        0      0 :::43687                    
:::*                        LIS
tcp        0      0 :::4555                     
:::*                        LIS
tcp        0      0 :::143                      
:::*                        LIS
tcp        0      0 :::111                      
:::*                        LIS
tcp        0      0 :::22                       
:::*                        LIS
tcp        0      0 ::1:631                     
:::*                        LIS
udp        0      0 0.0.0.0:67                  0.0.0.0:*
udp        0      0 0.0.0.0:35791               0.0.0.0:*
udp        0      0 0.0.0.0:5353                0.0.0.0:*
udp        0      0 0.0.0.0:1007                0.0.0.0:*
udp        0      0 0.0.0.0:111                 0.0.0.0:*
udp        0      0 0.0.0.0:631                 0.0.0.0:*
udp        0      0 0.0.0.0:1021                0.0.0.0:*
udp        0      0 0.0.0.0:56995               0.0.0.0:*
udp        0      0 192.168.122.1:53            0.0.0.0:*
udp        0      0 :::39875                    :::*
udp        0      0 :::1007                     :::*
udp        0      0 :::111                      :::*
[root@monty esn_user]#

******************************************************************************Console 
window output
 
INFO  13:12:04,285 | james.smtpserver | SMTP Service connection backlog 
is: 5
INFO  13:12:04,285 | james.smtpserver | This SMTP server does not 
require aut.
INFO  13:12:04,286 | james.smtpserver | Authorized addresses: 
[128.0.0.0/255.]
INFO  13:12:04,286 | james.smtpserver | No maximum message size is 
enforced f.
INFO  13:12:04,286 | james.smtpserver | The idle timeout will be reset 
every .
INFO  13:12:04,292 | 
org.apache.xbean.spring.context.ResourceXmlApplicationCo1
INFO  13:12:04,293 | org.apache.activemq.broker.BrokerService | ActiveMQ 
Messn
INFO  13:12:04,688 | org.apache.activemq.broker.TransportConnector | 
Connectod
INFO  13:12:04,714 | org.apache.activemq.broker.TransportConnector | 
Connectod
INFO  13:12:04,951 | org.apache.activemq.broker.BrokerService | ActiveMQ 
JMS d
WARN  13:12:04,968 | 
org.springframework.jms.listener.DefaultMessageListenerCd
WARN  13:12:04,968 | 
org.springframework.jms.listener.DefaultMessageListenerCd
WARN  13:12:04,968 | 
org.springframework.jms.listener.DefaultMessageListenerCd
WARN  13:12:04,971 | 
org.springframework.jms.listener.DefaultMessageListenerCl
WARN  13:12:04,971 | 
org.springframework.jms.listener.DefaultMessageListenerCl
WARN  13:12:04,968 | 
org.springframework.jms.listener.DefaultMessageListenerCd
WARN  13:12:04,968 | 
org.springframework.jms.listener.DefaultMessageListenerCd
WARN  13:12:04,968 | 
org.springframework.jms.listener.DefaultMessageListenerCd
WARN  13:12:04,971 | 
org.springframework.jms.listener.DefaultMessageListenerCl
WARN  13:12:04,971 | 
org.springframework.jms.listener.DefaultMessageListenerCl
WARN  13:12:04,971 | 
org.springframework.jms.listener.DefaultMessageListenerCd
WARN  13:12:04,971 | 
org.springframework.jms.listener.DefaultMessageListenerCd
WARN  13:12:04,971 | 
org.springframework.jms.listener.DefaultMessageListenerCl
WARN  13:12:04,971 | 
org.springframework.jms.listener.DefaultMessageListenerCd
WARN  13:12:04,972 | 
org.springframework.jms.listener.DefaultMessageListenerCl
Exception in thread "main" 
org.springframework.beans.factory.BeanCreationExcee
        at 
org.springframework.beans.factory.annotation.InitDestroyAnnotation)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableB)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableB)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableB)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableB)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.ge)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegi)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGe)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getB)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFacto)
        at 
org.springframework.context.support.AbstractApplicationContext.fin)
        at 
org.springframework.context.support.AbstractApplicationContext.ref)
        at 
org.springframework.context.support.ClassPathXmlApplicationContext)
        at 
org.springframework.context.support.ClassPathXmlApplicationContext)
        at 
org.apache.james.container.spring.JamesServerApplicationContext.<i)
        at org.apache.james.container.spring.Main.main(Main.java:28)
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind(Native Method)
        at 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.ja)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77)
        at 
org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSoc)
        at 
org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSoc)
        at 
org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHan)
        at 
org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$200()
        at 
org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.ru)
        at 
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunn)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecut)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu)
        at java.lang.Thread.run(Thread.java:636)

-- 
Robert L. Gurule'
High Performance Computing
Scientific Software Engineering  (HPC-1)
Los Alamos National Laboratory, MS B295
Los Alamos, New Mexico 87545
505-665-3538 (office)
505-690-1011 (cell)


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Error on Red Hat

Posted by Robert Gurule <rg...@lanl.gov>.
Thanks,
  That fixed the problem.

Robert


Norman Maurer wrote:
> Hi Robert,
>
> the pasted output of netstat is truncated.. Anyway just find out what
> process is running on port 25 and stop it. I guess it should be
> postfix or exim (not sure which one redhat use).
>
> Bye,
> Norman
>
>
> 2010/7/6 Robert Gurule <rg...@lanl.gov>:
>   
>> Hi Norman,
>>  I did a reboot and got the same problem... here is output from netstat
>> -tulpen and the console window.
>> Thanks for your help.
>>
>> Robert
>>
>> [root@monty esn_user]# sudo netstat -tulpen
>> Active Internet connections (only servers)
>> Proto Recv-Q Send-Q Local Address               Foreign Address
>> Sta
>> tcp        0      0 127.0.0.1:25                0.0.0.0:*
>> LIS
>> tcp        0      0 0.0.0.0:56805               0.0.0.0:*
>> LIS
>> tcp        0      0 0.0.0.0:111                 0.0.0.0:*
>> LIS
>> tcp        0      0 192.168.122.1:53            0.0.0.0:*
>> LIS
>> tcp        0      0 0.0.0.0:22                  0.0.0.0:*
>> LIS
>> tcp        0      0 127.0.0.1:631               0.0.0.0:*
>> LIS
>> tcp        0      0 ::1:25                      :::*
>>  LIS
>> tcp        0      0 :::43687                    :::*
>>  LIS
>> tcp        0      0 :::4555                     :::*
>>  LIS
>> tcp        0      0 :::143                      :::*
>>  LIS
>> tcp        0      0 :::111                      :::*
>>  LIS
>> tcp        0      0 :::22                       :::*
>>  LIS
>> tcp        0      0 ::1:631                     :::*
>>  LIS
>> udp        0      0 0.0.0.0:67                  0.0.0.0:*
>> udp        0      0 0.0.0.0:35791               0.0.0.0:*
>> udp        0      0 0.0.0.0:5353                0.0.0.0:*
>> udp        0      0 0.0.0.0:1007                0.0.0.0:*
>> udp        0      0 0.0.0.0:111                 0.0.0.0:*
>> udp        0      0 0.0.0.0:631                 0.0.0.0:*
>> udp        0      0 0.0.0.0:1021                0.0.0.0:*
>> udp        0      0 0.0.0.0:56995               0.0.0.0:*
>> udp        0      0 192.168.122.1:53            0.0.0.0:*
>> udp        0      0 :::39875                    :::*
>> udp        0      0 :::1007                     :::*
>> udp        0      0 :::111                      :::*
>> [root@monty esn_user]#
>>
>> ******************************************************************************Console
>> window output
>>
>> INFO  13:12:04,285 | james.smtpserver | SMTP Service connection backlog is:
>> 5
>> INFO  13:12:04,285 | james.smtpserver | This SMTP server does not require
>> aut.
>> INFO  13:12:04,286 | james.smtpserver | Authorized addresses:
>> [128.0.0.0/255.]
>> INFO  13:12:04,286 | james.smtpserver | No maximum message size is enforced
>> f.
>> INFO  13:12:04,286 | james.smtpserver | The idle timeout will be reset every
>> .
>> INFO  13:12:04,292 |
>> org.apache.xbean.spring.context.ResourceXmlApplicationCo1
>> INFO  13:12:04,293 | org.apache.activemq.broker.BrokerService | ActiveMQ
>> Messn
>> INFO  13:12:04,688 | org.apache.activemq.broker.TransportConnector |
>> Connectod
>> INFO  13:12:04,714 | org.apache.activemq.broker.TransportConnector |
>> Connectod
>> INFO  13:12:04,951 | org.apache.activemq.broker.BrokerService | ActiveMQ JMS
>> d
>> WARN  13:12:04,968 |
>> org.springframework.jms.listener.DefaultMessageListenerCd
>> WARN  13:12:04,968 |
>> org.springframework.jms.listener.DefaultMessageListenerCd
>> WARN  13:12:04,968 |
>> org.springframework.jms.listener.DefaultMessageListenerCd
>> WARN  13:12:04,971 |
>> org.springframework.jms.listener.DefaultMessageListenerCl
>> WARN  13:12:04,971 |
>> org.springframework.jms.listener.DefaultMessageListenerCl
>> WARN  13:12:04,968 |
>> org.springframework.jms.listener.DefaultMessageListenerCd
>> WARN  13:12:04,968 |
>> org.springframework.jms.listener.DefaultMessageListenerCd
>> WARN  13:12:04,968 |
>> org.springframework.jms.listener.DefaultMessageListenerCd
>> WARN  13:12:04,971 |
>> org.springframework.jms.listener.DefaultMessageListenerCl
>> WARN  13:12:04,971 |
>> org.springframework.jms.listener.DefaultMessageListenerCl
>> WARN  13:12:04,971 |
>> org.springframework.jms.listener.DefaultMessageListenerCd
>> WARN  13:12:04,971 |
>> org.springframework.jms.listener.DefaultMessageListenerCd
>> WARN  13:12:04,971 |
>> org.springframework.jms.listener.DefaultMessageListenerCl
>> WARN  13:12:04,971 |
>> org.springframework.jms.listener.DefaultMessageListenerCd
>> WARN  13:12:04,972 |
>> org.springframework.jms.listener.DefaultMessageListenerCl
>> Exception in thread "main"
>> org.springframework.beans.factory.BeanCreationExcee
>>       at org.springframework.beans.factory.annotation.InitDestroyAnnotation)
>>       at org.springframework.beans.factory.support.AbstractAutowireCapableB)
>>       at org.springframework.beans.factory.support.AbstractAutowireCapableB)
>>       at org.springframework.beans.factory.support.AbstractAutowireCapableB)
>>       at org.springframework.beans.factory.support.AbstractAutowireCapableB)
>>       at org.springframework.beans.factory.support.AbstractBeanFactory$1.ge)
>>       at org.springframework.beans.factory.support.DefaultSingletonBeanRegi)
>>       at org.springframework.beans.factory.support.AbstractBeanFactory.doGe)
>>       at org.springframework.beans.factory.support.AbstractBeanFactory.getB)
>>       at org.springframework.beans.factory.support.DefaultListableBeanFacto)
>>       at org.springframework.context.support.AbstractApplicationContext.fin)
>>       at org.springframework.context.support.AbstractApplicationContext.ref)
>>       at org.springframework.context.support.ClassPathXmlApplicationContext)
>>       at org.springframework.context.support.ClassPathXmlApplicationContext)
>>       at org.apache.james.container.spring.JamesServerApplicationContext.<i)
>>       at org.apache.james.container.spring.Main.main(Main.java:28)
>> Caused by: java.net.BindException: Address already in use
>>       at sun.nio.ch.Net.bind(Native Method)
>>       at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.ja)
>>       at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77)
>>       at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSoc)
>>       at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSoc)
>>       at org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHan)
>>       at org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$200()
>>       at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.ru)
>>       at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunn)
>>       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecut)
>>       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu)
>>       at java.lang.Thread.run(Thread.java:636)
>>
>> --
>> Robert L. Gurule'
>> High Performance Computing
>> Scientific Software Engineering  (HPC-1)
>> Los Alamos National Laboratory, MS B295
>> Los Alamos, New Mexico 87545
>> 505-665-3538 (office)
>> 505-690-1011 (cell)
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>   


-- 
Robert L. Gurule'
High Performance Computing
Scientific Software Engineering  (HPC-1)
Los Alamos National Laboratory, MS B295
Los Alamos, New Mexico 87545
505-665-3538 (office)
505-690-1011 (cell)


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Error on Red Hat

Posted by Norman Maurer <no...@apache.org>.
Hi Robert,

the pasted output of netstat is truncated.. Anyway just find out what
process is running on port 25 and stop it. I guess it should be
postfix or exim (not sure which one redhat use).

Bye,
Norman


2010/7/6 Robert Gurule <rg...@lanl.gov>:
> Hi Norman,
>  I did a reboot and got the same problem... here is output from netstat
> -tulpen and the console window.
> Thanks for your help.
>
> Robert
>
> [root@monty esn_user]# sudo netstat -tulpen
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address               Foreign Address
> Sta
> tcp        0      0 127.0.0.1:25                0.0.0.0:*
> LIS
> tcp        0      0 0.0.0.0:56805               0.0.0.0:*
> LIS
> tcp        0      0 0.0.0.0:111                 0.0.0.0:*
> LIS
> tcp        0      0 192.168.122.1:53            0.0.0.0:*
> LIS
> tcp        0      0 0.0.0.0:22                  0.0.0.0:*
> LIS
> tcp        0      0 127.0.0.1:631               0.0.0.0:*
> LIS
> tcp        0      0 ::1:25                      :::*
>  LIS
> tcp        0      0 :::43687                    :::*
>  LIS
> tcp        0      0 :::4555                     :::*
>  LIS
> tcp        0      0 :::143                      :::*
>  LIS
> tcp        0      0 :::111                      :::*
>  LIS
> tcp        0      0 :::22                       :::*
>  LIS
> tcp        0      0 ::1:631                     :::*
>  LIS
> udp        0      0 0.0.0.0:67                  0.0.0.0:*
> udp        0      0 0.0.0.0:35791               0.0.0.0:*
> udp        0      0 0.0.0.0:5353                0.0.0.0:*
> udp        0      0 0.0.0.0:1007                0.0.0.0:*
> udp        0      0 0.0.0.0:111                 0.0.0.0:*
> udp        0      0 0.0.0.0:631                 0.0.0.0:*
> udp        0      0 0.0.0.0:1021                0.0.0.0:*
> udp        0      0 0.0.0.0:56995               0.0.0.0:*
> udp        0      0 192.168.122.1:53            0.0.0.0:*
> udp        0      0 :::39875                    :::*
> udp        0      0 :::1007                     :::*
> udp        0      0 :::111                      :::*
> [root@monty esn_user]#
>
> ******************************************************************************Console
> window output
>
> INFO  13:12:04,285 | james.smtpserver | SMTP Service connection backlog is:
> 5
> INFO  13:12:04,285 | james.smtpserver | This SMTP server does not require
> aut.
> INFO  13:12:04,286 | james.smtpserver | Authorized addresses:
> [128.0.0.0/255.]
> INFO  13:12:04,286 | james.smtpserver | No maximum message size is enforced
> f.
> INFO  13:12:04,286 | james.smtpserver | The idle timeout will be reset every
> .
> INFO  13:12:04,292 |
> org.apache.xbean.spring.context.ResourceXmlApplicationCo1
> INFO  13:12:04,293 | org.apache.activemq.broker.BrokerService | ActiveMQ
> Messn
> INFO  13:12:04,688 | org.apache.activemq.broker.TransportConnector |
> Connectod
> INFO  13:12:04,714 | org.apache.activemq.broker.TransportConnector |
> Connectod
> INFO  13:12:04,951 | org.apache.activemq.broker.BrokerService | ActiveMQ JMS
> d
> WARN  13:12:04,968 |
> org.springframework.jms.listener.DefaultMessageListenerCd
> WARN  13:12:04,968 |
> org.springframework.jms.listener.DefaultMessageListenerCd
> WARN  13:12:04,968 |
> org.springframework.jms.listener.DefaultMessageListenerCd
> WARN  13:12:04,971 |
> org.springframework.jms.listener.DefaultMessageListenerCl
> WARN  13:12:04,971 |
> org.springframework.jms.listener.DefaultMessageListenerCl
> WARN  13:12:04,968 |
> org.springframework.jms.listener.DefaultMessageListenerCd
> WARN  13:12:04,968 |
> org.springframework.jms.listener.DefaultMessageListenerCd
> WARN  13:12:04,968 |
> org.springframework.jms.listener.DefaultMessageListenerCd
> WARN  13:12:04,971 |
> org.springframework.jms.listener.DefaultMessageListenerCl
> WARN  13:12:04,971 |
> org.springframework.jms.listener.DefaultMessageListenerCl
> WARN  13:12:04,971 |
> org.springframework.jms.listener.DefaultMessageListenerCd
> WARN  13:12:04,971 |
> org.springframework.jms.listener.DefaultMessageListenerCd
> WARN  13:12:04,971 |
> org.springframework.jms.listener.DefaultMessageListenerCl
> WARN  13:12:04,971 |
> org.springframework.jms.listener.DefaultMessageListenerCd
> WARN  13:12:04,972 |
> org.springframework.jms.listener.DefaultMessageListenerCl
> Exception in thread "main"
> org.springframework.beans.factory.BeanCreationExcee
>       at org.springframework.beans.factory.annotation.InitDestroyAnnotation)
>       at org.springframework.beans.factory.support.AbstractAutowireCapableB)
>       at org.springframework.beans.factory.support.AbstractAutowireCapableB)
>       at org.springframework.beans.factory.support.AbstractAutowireCapableB)
>       at org.springframework.beans.factory.support.AbstractAutowireCapableB)
>       at org.springframework.beans.factory.support.AbstractBeanFactory$1.ge)
>       at org.springframework.beans.factory.support.DefaultSingletonBeanRegi)
>       at org.springframework.beans.factory.support.AbstractBeanFactory.doGe)
>       at org.springframework.beans.factory.support.AbstractBeanFactory.getB)
>       at org.springframework.beans.factory.support.DefaultListableBeanFacto)
>       at org.springframework.context.support.AbstractApplicationContext.fin)
>       at org.springframework.context.support.AbstractApplicationContext.ref)
>       at org.springframework.context.support.ClassPathXmlApplicationContext)
>       at org.springframework.context.support.ClassPathXmlApplicationContext)
>       at org.apache.james.container.spring.JamesServerApplicationContext.<i)
>       at org.apache.james.container.spring.Main.main(Main.java:28)
> Caused by: java.net.BindException: Address already in use
>       at sun.nio.ch.Net.bind(Native Method)
>       at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.ja)
>       at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77)
>       at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSoc)
>       at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSoc)
>       at org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHan)
>       at org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$200()
>       at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.ru)
>       at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunn)
>       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecut)
>       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu)
>       at java.lang.Thread.run(Thread.java:636)
>
> --
> Robert L. Gurule'
> High Performance Computing
> Scientific Software Engineering  (HPC-1)
> Los Alamos National Laboratory, MS B295
> Los Alamos, New Mexico 87545
> 505-665-3538 (office)
> 505-690-1011 (cell)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org