Hi Tim,

I use "# netstat -tulpn | grep 80" to get all applications who use ports 
beginning from 80.
8081 port does be used by java.

[root@library Desktop]# netstat -tulpn | grep 80
tcp        0      0 :::80                       :::*                       
 LISTEN      20141/httpd         
tcp        0      0 :::8080                     :::*                       
 LISTEN      2810/java           
tcp        0      0 :::8081                     :::*                       
 LISTEN      2287/java           
tcp        0      0 ::ffff:127.0.0.1:8005       :::*                       
 LISTEN      20104/java          
tcp        0      0 :::8009                     :::*                       
 LISTEN      2287/java           
udp        0      0 fe80::f21f:afff:fed0:dcb:123 :::*                       
             2857/ntpd  

Then, I use " ls -l /proc/2287/exe" find it is used by java. 

 #[root@library Desktop]# ls -l /proc/2287/exe
lrwxrwxrwx. 1 dspace dspace 0 Oct  6 16:53 /proc/2287/exe -> 
/usr/lib/jvm/java-1.6.0-sun-1.6.0.45.x86_64/jre/bin/java


Can I shut down the java on 2287 port? Or is this java which is responsible 
to startup dspace?

Any help is appreciated!

Andy
11/02/2015


On Monday, November 2, 2015 at 2:52:35 PM UTC-6, Tim Donohue wrote:
>
> Hi Andy,
>
> The error is saying that port 8081 is already being used by another 
> application/service and Tomcat is unable to use it:
>
> "java.net.BindException: Address already in use <null>:8081"
>
> Likely something else is using port 8081, or your Tomcat has refused to 
> shutdown and is "hanging" on port 8081.
>
> You'll need to figure out what else is running on that port, and either 
> decide to use a different port, or kill/stop whatever application is using 
> 8081.
>
> Good luck,
>
> Tim
>
> On 11/2/2015 1:42 PM, Andy Tang wrote:
>
> I also check the log today in tomcat/catalina log. On 10:25 am today, 
> there are many severe error happened.
> On 10:25:47 am, it said "Nov 2, 2015 10:25:47 AM 
> org.apache.catalina.core.StandardService start 
> SEVERE: Failed to start connector [Connector[HTTP/1.1-8081]]
> LifecycleException:  service.getName(): "Catalina";  Protocol handler 
> start failed: java.net.BindException: Address already in use <null>:8081"
>
> What is that meaning?
>
> I put the Catalina error log happened on Nov 2, 2015 10:25:38 to Nov 2, 
> 2015 10:25:47 in a text file and attached. Hope some guy gave some guidance 
> to me.
>
> Thanks a lot!
>
> Andy Tang
> 11/02/2015
>
> On Monday, November 2, 2015 at 11:48:42 AM UTC-6, helix84 wrote: 
>>
>> You'll need to find more information about what went wrong, like 
>> particular error messages or stack traces. This page describes where 
>> to find logs: 
>>
>> https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error 
>>
>>
>> Regards, 
>> ~~helix84 
>>
>> Compulsory reading: DSpace Mailing List Etiquette 
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette 
>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> Visit this group at http://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpace.org | DSpaceDirect.org
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to