I have a brand new install on F14 x86_64 of
spacewalk-admin-1.3.9-1.fc14.

If I run /usr/sbin/spacewalk-service start it hangs at "Waiting for
tomcat to be ready ..." until I telnet localhost 8009. Changing the lsof
command to below seems to fix that.

--- spacewalk-service.dist      2011-01-20 09:56:49.000000000 -0800
+++ spacewalk-service   2011-03-25 09:33:59.017356000 -0700
@@ -52,7 +52,7 @@
                 if lsof /proc > /dev/null ; then
                     echo "Waiting for tomcat to be ready ..."
                     while [ -f "/var/run/$TOMCAT.pid" ] ; do
-                        lsof -t -i @localhost:8009 -p $(cat 
/var/run/$TOMCAT.pid) > /dev/null && break
+                        lsof -t -i TCP:8009 -p $(cat /var/run/$TOMCAT.pid) > 
/dev/null && break
                         sleep 1
                     done
                 else


_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to