Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Mar 2007 14:02:41 +0900
From:      Huynh Van Chung <chung@chunglien.org>
To:        Tom Evans <TEvans@mintel.com>, freebsd-stable@freebsd.org
Subject:   Re: Problem in tomcat 5.5 and 6.0
Message-ID:  <93efc63684dab768ef5f36f34660637d@www.chunglien.org>

next in thread | raw e-mail | index | archive | help
Hi Tom Evans

Below is my sockstat result. But I can't find the port which tomcat
use(8180,8009,8005)

chunglien:/usr/local/apache-tomcat6.0/conf% sockstat -l -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS  =
=20
 =20
dovecot  imap-login 40265 0  tcp4   *:143                 *:*
dovecot  imap-login 40262 0  tcp4   *:143                 *:*
dovecot  imap-login 40220 0  tcp4   *:143                 *:*
www      httpd      35317 3  tcp46  *:80                  *:*
www      httpd      35317 4  tcp4   *:*                   *:*
www      httpd      34448 3  tcp46  *:80                  *:*
www      httpd      34448 4  tcp4   *:*                   *:*
www      httpd      34441 3  tcp46  *:80                  *:*
www      httpd      34441 4  tcp4   *:*                   *:*
www      httpd      12458 3  tcp46  *:80                  *:*
www      httpd      12458 4  tcp4   *:*                   *:*
www      httpd      12457 3  tcp46  *:80                  *:*
www      httpd      12457 4  tcp4   *:*                   *:*
www      httpd      12456 3  tcp46  *:80                  *:*
www      httpd      12456 4  tcp4   *:*                   *:*
www      httpd      12455 3  tcp46  *:80                  *:*
www      httpd      12455 4  tcp4   *:*                   *:*
www      httpd      12454 3  tcp46  *:80                  *:*
www      httpd      12454 4  tcp4   *:*                   *:*
root     httpd      12453 3  tcp46  *:80                  *:*
root     httpd      12453 4  tcp4   *:*                   *:*
dovecot  pop3-login 62740 0  tcp4   *:110                 *:*
dovecot  pop3-login 62729 0  tcp4   *:110                 *:*
dovecot  pop3-login 62728 0  tcp4   *:110                 *:*
dovecot  pop3-login 62713 0  tcp4   *:110                 *:*
dovecot  pop3-login 62635 0  tcp4   *:110                 *:*
dovecot  pop3-login 62601 0  tcp4   *:110                 *:*
dovecot  pop3-login 62600 0  tcp4   *:110                 *:*
dovecot  pop3-login 62598 0  tcp4   *:110                 *:*
dovecot  pop3-login 62596 0  tcp4   *:110                 *:*
dovecot  pop3-login 62595 0  tcp4   *:110                 *:*
dovecot  pop3-login 62594 0  tcp4   *:110                 *:*
dovecot  pop3-login 62593 0  tcp4   *:110                 *:*
dovecot  pop3-login 62592 0  tcp4   *:110                 *:*
dovecot  pop3-login 62591 0  tcp4   *:110                 *:*
dovecot  pop3-login 62589 0  tcp4   *:110                 *:*
dovecot  pop3-login 62587 0  tcp4   *:110                 *:*
dovecot  pop3-login 62584 0  tcp4   *:110                 *:*
dovecot  pop3-login 62583 0  tcp4   *:110                 *:*
dovecot  pop3-login 62582 0  tcp4   *:110                 *:*
dovecot  pop3-login 62581 0  tcp4   *:110                 *:*
dovecot  pop3-login 62579 0  tcp4   *:110                 *:*
dovecot  pop3-login 62575 0  tcp4   *:110                 *:*
dovecot  pop3-login 62574 0  tcp4   *:110                 *:*
clamav   clamsmtpd  73766 3  tcp4   *:10025               *:*
root     dovecot    88248 5  tcp4   *:143                 *:*
root     dovecot    88248 6  tcp4   *:110                 *:*
root     wdm        80162 5  tcp4   *:65042               *:*
root     Xorg       80161 3  tcp4   *:6000                *:*
root     wdm        1075  4  udp4   *:177                 *:*
root     wdm        1075  5  tcp4   *:65042               *:*
root     inetd      1049  5  tcp4   *:5950                *:*
root     sshd       993   4  tcp4   *:22                  *:*
mysql    mysqld     935   3  tcp4   *:3306                *:*
root     master     890   11 tcp4   *:25                  *:*
root     master     890   98 tcp4   127.0.0.1:10026       *:*
nobody   proftpd    834   0  tcp46  *:21                  *:*
dhcpd    dhcpd      829   5  udp4   *:67                  *:*
root     gkrellmd   808   7  tcp4   *:19150               *:*
root     ntpd       779   4  udp4   *:123                 *:*
root     ntpd       779   7  udp4   219.12.102.40:123     *:*
root     ntpd       779   9  udp4   192.168.0.1:123       *:*
root     ntpd       779   12 udp4   127.0.0.1:123         *:*
root     smbd       755   18 tcp4   *:445                 *:*
root     smbd       755   19 tcp4   *:139                 *:*
root     nmbd       751   6  udp4   *:137                 *:*
root     nmbd       751   7  udp4   *:138                 *:*
root     nmbd       751   8  udp4   192.168.0.1:137       *:*
root     nmbd       751   9  udp4   192.168.0.1:138       *:*
root     nmbd       751   10 udp4   219.12.102.40:137     *:*
root     nmbd       751   11 udp4   219.12.102.40:138     *:*
root     syslogd    437   7  udp4   *:514                 *:*

Tom Evans <TEvans@mintel.com> wrote*:=20
>


>
>
>Something is already bound to the port tomcat is trying to bind to. Type
>``sockstat -l 4'' (sockstat-dash-ell-4) to see what ports are bound and
>what process has bound to them. It is probably apache httpd.
>|+-------------------------+------------------------------------------|
>||   Huynh Van Chung       |                                          |
>||   <chung@chunglien.org> |           To:                          =20
>|
>||   Sent by:              |   freebsd-stable@freebsd.org             |
>||   owner-freebsd-stable@f|           cc:                          =20
>|
>||   reebsd.org            |           Subject:        Problem in =20
>  |
>||                         |   tomcat 5.5 and 6.0                     |
>||   03/16/2007 03:56 PM   |                                          |
>||                         |                                          |
>|+-------------------------+------------------------------------------|
>
>
>
>
>
>
>Hi all.
>
>I have a server with FreeBSD 6.1 and i try to install tomcat. But the
>tomcat
>daemon can't run. And the error is
>
>2007/03/17 0:47:27 org.apache.catalina.core.StandardServer await
>
>

=E8=87=B4=E5=91=BD=E7=9A=84: StandardServer.await: create[8005]:
>java.net.BindException: Can't assign requested address
>
>


>       at java.net.PlainSocketImpl.socketBind(Native Method)
>       at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
>       at java.net.ServerSocket.bind(ServerSocket.java:319)
>       at java.net.ServerSocket.<init>(ServerSocket.java:185)
>       at
>org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
>       at
>org.apache.catalina.startup.Catalina.await(Catalina.java:616)
>       at
>org.apache.catalina.startup.Catalina.start(Catalina.java:576)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:39)
>       at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:585)
>       at
>org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>       at
>org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>
>Please help me. Thank a lot
>
>
>_______________________________________________
>freebsd-stable@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>To unsubscribe, send any mail to
>"freebsd-stable-unsubscribe@freebsd.org"
>
>
>
>





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?93efc63684dab768ef5f36f34660637d>