[Building Sakai] Sakai 2.8 not working in Ubuntu
Jeremy O'Connor
joconnor at uwc.ac.za
Mon Dec 5 03:50:45 PST 2011
Hi Steve
That did it, thanks. Thanks also David H. and David W. for your input. I now have tomcat & Sakai up and running.
--Jeremy
>>> Steve Swinsburg 12/05/11 12:15 PM >>>
Hi Jeremy,
ps aux | grep java
Then kill the pid.
cheers,
Steve
On 05/12/2011, at 9:09 PM, Jeremy O'Connor wrote:
> OK, when starting up tomcat, I get:
>
> 2011-12-05 12:04:11,069 ERROR main org.apache.catalina.startup.Catalina - Catalina.start:
> LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use:8080
> at org.apache.catalina.connector.Connector.start(Connector.java:1082)
> at org.apache.catalina.core.StandardService.start(StandardService.java:457)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
> 2011-12-05 12:04:11,069 INFO main org.apache.catalina.startup.Catalina - Server startup in 134862 ms
>
> So I guess some other process is using port 8080. How would I find out which process that is and stop it, or is there something else I need to do?
>
> --Jeremy
>
>>>> "Jeremy O'Connor" 12/05/11 12:03 PM >>>
> Hi David
>
> I had a look at the tomcat/logs/catalina.out file and saw errors which led me to realise that I had not installed the JDBC connector. Once I had done that, tomcat seemed to start up tail'ing the log file, but still the browser wouldn't connect. I then shut down tomcat, and got the following two lines in the log file, which seemed to be the last two lines that got output while tail'ing it:
>
> 2011-12-05 11:43:13,042 INFO main org.apache.coyote.http11.Http11BaseProtocol - Stopping Coyote HTTP/1.1 on http-8080
> 2011-12-05 11:43:13,042 ERROR main org.apache.catalina.connector.Connector - Coyote connector has not been started
>
> --Jeremy
>
>>>> David Horwitz 12/05/11 10:51 AM >>>
> What does it say in your tomcat/logs/catalina.out?
>
> D
>
> On 12/05/2011 10:24 AM, Jeremy O'Connor wrote:
>> Hi
>>
>> I have installed Sakai 2.8 on Ubuntu 11.10 and have successfully built the master project and Sakai.
>>
>> However, when I run "sh startup.sh" in the /opt/tomcat/bin directory and browse to localhost:8080 in the browser the browser doesn't respond.
>>
>> When I do a netstat, followed by "sh startup.sh" followed by a netstat, I get:
>>
>> root at joconnor-ThinkCentre-M58p:/opt/tomcat/bin# netstat -an | grep :8080
>> root at joconnor-ThinkCentre-M58p:/opt/tomcat/bin# sh startup.sh
>> Using CATALINA_BASE: /opt/tomcat
>> Using CATALINA_HOME: /opt/tomcat
>> Using CATALINA_TMPDIR: /opt/tomcat/temp
>> Using JRE_HOME: /usr/lib/jvm/java-6-openjdk
>> Using CLASSPATH: /opt/tomcat/bin/bootstrap.jar
>> root at joconnor-ThinkCentre-M58p:/opt/tomcat/bin# netstat -an | grep :8080
>> tcp6 0 0 :::8080 :::* LISTEN
>> root at joconnor-ThinkCentre-M58p:/opt/tomcat/bin#
>>
>> It seems that tomcat is only listening on an IPv6 interface, not an IPv4 interface.
>>
>> --Jeremy
>>
>> p.s. All the messages that appeared when I ran startup.bat in Windows also didn't seem to appear in Ubuntu.
>>
>>
>>
>> All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/emaildisclaimer
>>
>>
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>
>
> All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/emaildisclaimer
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
-------------- next part --------------
All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/emaildisclaimer
More information about the sakai-dev
mailing list