xmllint gave no output

netstat -ptnl returns NO open port 5222. Telnetting to it also refuses a connection

These are the open ports/apps

PID/Program name
14607/python:25151
14565/java
14690/java
14107/router:5347
14176/s2s:5347
888/sshd
740/cupsd
911/sendmail: accep
14258/java
14258/java
14565/java
14258/java
14281/httpd
888/sshd
740/cupsd
14281/httpd

db_verify authreg.db sm.db ; echo $?
this seems to hang and not do anything. I cannot even ctrl+c it.



On 08.02.2010 16:05, not applicable wrote:
On 02/08/2010 09:47 AM, Stefan Bluhm wrote:
This is what the logs state after a /usr/sbin/rhn-satellite stop (this
is when I got the error "Stopping s2s: [FAILED]"):

Feb 8 14:35:23 spacewalk jabberd/router[12237]: [127.0.0.1, port=58524]
connect
Feb 8 14:35:25 spacewalk jabberd/router[12237]: [127.0.0.1, port=58524]
error: XML parse error (not well-formed (invalid token))
Feb 8 14:35:25 spacewalk jabberd/router[12237]: [127.0.0.1, port=58524]
disconnect

Hmm, that XML error is strange. I wonder if that's from the config files? Can you check the following:
# xmllint --noout /etc/jabberd/*.xml


Now heading straight for a /usr/sbin/rhn-satellite start:

...

So I can't really see any indications of an error in the logs. Note that
I can now do a "telnet 127.0.0.1 5347" and connect successfully. So i am
not sure why the connection is refused on shut down. Do I need a FQDN or
should it all work on the 127.0.0.1 IP?

Now same thing for the log at /var/log/rhn/osa-dispatcher

Whilst stopping:
2010/02/08 14:35:25 +02:00 12317 0.0.0.0: osad/jabber_lib.main('Unable
to connect to jabber servers, sleeping 10 seconds',)


The port osa-dispatcher will try to connect to is 5222, which is run by c2s. See what programs are listening:
# netstat -ptnl

Let's check for a common problem:
# cd /var/lib/jabberd/db/
(you may need to install db4-utils for the next step)
# db_verify authreg.db sm.db ; echo $?
0

--
Josh

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

Reply via email to