Last week, I remove 1.5 and Oracle completely and re-installed as 1.4

Everything looked great at first, services started, I configured some channels 
and registered some clients.

 

But, I needed to restart the machine and the Tomcat issue reared its ugly head 
again.

Here are the results of an strace.

 

I am really confused as to what is causing this. I had similar results in 1.5 
until a reboot and it also stopped working.

I see a lot of errors in the strace but am  not sure what needs to be 
corrected. Is this a symptom or the actual problem?

 

strace -fe trace=network osa-dispatcher -N

socket(PF_FILE, SOCK_STREAM, 0)         = 6

connect(6, {sa_family=AF_FILE, path="/var/run/setrans/.setrans-unix"...}, 110) 
= 0

sendmsg(6, {msg_name(0)=NULL, msg_iov(5)=[{"\1\0\0\0", 4}, {"\1\0\0\0", 4}, 
{"\1\0\0\0", 4}, {"\0", 1}, {"\0", 1}], msg_controllen=0, msg_flags=0}, 
MSG_NOSIGNAL) = 14

socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 4

bind(4, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, "::1", 
&sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0

socket(PF_FILE, SOCK_STREAM, 0)         = 4

connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 
ENOENT (No such file or directory)

socket(PF_FILE, SOCK_STREAM, 0)         = 4

connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 
ENOENT (No such file or directory)

socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4

connect(4, {sa_family=AF_INET, sin_port=htons(1521), 
sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in 
progress)

getsockopt(4, SOL_SOCKET, SO_ERROR, [0], [4]) = 0

getsockname(4, {sa_family=AF_INET, sin_port=htons(40229), 
sin_addr=inet_addr("127.0.0.1")}, [16]) = 0

getsockopt(4, SOL_SOCKET, SO_SNDBUF, [50436], [4]) = 0

getsockopt(4, SOL_SOCKET, SO_RCVBUF, [87680], [4]) = 0

setsockopt(4, SOL_TCP, TCP_NODELAY, [1], 4) = 0

socket(PF_FILE, SOCK_STREAM, 0)         = 5

connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 
ENOENT (No such file or directory)

socket(PF_FILE, SOCK_STREAM, 0)         = 5

connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 
ENOENT (No such file or directory)

socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 5

connect(5, {sa_family=AF_INET, sin_port=htons(5222), 
sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ECONNREFUSED (Connection refused)

RHN 20303 2011/09/20 11:56:35 -04:00: ('Traceback (most recent call last):\n  
File "/usr/share/rhn/osad/jabber_lib.py", line 253, in setup_connection\n    c 
= self._get_jabber_client(js)\n  File "/usr/share/rhn/osad/jabber_lib.py", line 
310, in _get_jabber_client\n    c.connect()\n  File 
"/usr/share/rhn/osad/jabber_lib.py", line 567, in connect\n    
jabber.Client.connect(self)\n  File 
"/usr/lib/python2.4/site-packages/jabber/xmlstream.py", line 464, in connect\n  
  else: self._sock.connect((self._hostIP, self._port))\n  File "<string>", line 
1, in connect\nerror: (111, \'Connection refused\')\n',)

socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6

connect(6, {sa_family=AF_INET, sin_port=htons(5222), 
sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ECONNREFUSED (Connection refused)

RHN 20303 2011/09/20 11:56:45 -04:00: ('Traceback (most recent call last):\n  
File "/usr/share/rhn/osad/jabber_lib.py", line 253, in setup_connection\n    c 
= self._get_jabber_client(js)\n  File "/usr/share/rhn/osad/jabber_lib.py", line 
310, in _get_jabber_client\n    c.connect()\n  File 
"/usr/share/rhn/osad/jabber_lib.py", line 567, in connect\n    
jabber.Client.connect(self)\n  File 
"/usr/lib/python2.4/site-packages/jabber/xmlstream.py", line 464, in connect\n  
  else: self._sock.connect((self._hostIP, self._port))\n  File "<string>", line 
1, in connect\nerror: (111, \'Connection refused\')\n',)

 

From: Gomes, Rich 
Sent: Tuesday, September 06, 2011 3:31 PM
To: 'spacewalk-list@redhat.com'
Subject: RE: Waiting for Tomcat to be ready...

 

So last week I decided to remove Spacewalk and install again, including Oracle.

Spacewalk came up after the install, no issues.

But now it is back to "Waiting for Tomcat to be ready..."

 

Looks like it's an issue with the osa-dispatcher starting?

 

Starting osa-dispatcher: RHN 15121 2011/09/06 14:08:32 -04:00: ('Traceback 
(most recent call last):\n  File "/usr/share/rhn/osad/jabber_lib.py", line 250, 
in setup_connection\n    c = self._get_jabber_client(js)\n  File 
"/usr/share/rhn/osad/jabber_lib.py", line 307, in _get_jabber_client\n    
c.connect()\n  File "/usr/share/rhn/osad/jabber_lib.py", line 564, in connect\n 
   jabber.Client.connect(self)\n  File 
"/usr/lib/python2.4/site-packages/jabber/xmlstream.py", line 464, in connect\n  
  else: self._sock.connect((self._hostIP, self._port))\n  File "<string>", line 
1, in connect\nerror: (111, \'Connection refused\')\n',)

                                                           [  OK  ]

Starting tomcat5:                                          [  OK  ]

Waiting for tomcat to be ready ...

 

 

Here's what a 'strace -fe trace=network osa-dispatcher -N' reveals:

 

 

RHN 20145 2011/09/06 15:29:29 -04:00: ('Traceback (most recent call last):\n  
File "/usr/share/rhn/osad/jabber_lib.py", line 250, in setup_connection\n    c 
= self._get_jabber_client(js)\n  File "/usr/share/rhn/osad/jabber_lib.py", line 
307, in _get_jabber_client\n    c.connect()\n  File 
"/usr/share/rhn/osad/jabber_lib.py", line 564, in connect\n    
jabber.Client.connect(self)\n  File 
"/usr/lib/python2.4/site-packages/jabber/xmlstream.py", line 464, in connect\n  
  else: self._sock.connect((self._hostIP, self._port))\n  File "<string>", line 
1, in connect\nerror: (111, \'Connection refused\')\n',)

 

 

Thoughts?

 

 

From: Gomes, Rich 
Sent: Monday, August 29, 2011 4:13 PM
To: spacewalk-list@redhat.com
Subject: Waiting for Tomcat to be ready...

 

Running SW 1.5 and cannot start the service, hangs at starting Tomcat services.

Tried the fix in the thread below, but still having the issue.

 

Anyone have a tried and true fix for this?

 

http://osdir.com/ml/spacewalk-devel/2011-03/msg00096.html

 

Thanks in advance,

Rich

 

 

 

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

Reply via email to