[Spacewalk-list] Error connecting to jabber

Robert Paschedag robert.paschedag at web.de
Tue May 23 14:42:53 UTC 2017


Am 22. Mai 2017 23:17:15 MESZ schrieb InvalidPath <invalid.path at gmail.com>:
>Hey everyone.  Another person here having the whole can't connect to
>jabber
>server issue.
>
>I've gone through the verifying of hostname, hosts, resolv, etc files.
>I've ran the spacewalk-hostname-rename binary.
>
>root at automation:/usr/bin$ /usr/sbin/spacewalk-service status
>
>Redirecting to /bin/systemctl status  postgresql.service
>
>● postgresql.service - PostgreSQL database server
>
>  Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled;
>vendor preset: disabled)
>  Active: active (running) since Mon 2017-05-22 14:52:07 MDT; 44s ago
> Process: 15302 ExecStop=/usr/bin/pg_ctl stop -D ${PGDATA} -s -m fast
>(code=exited, status=0/SUCCESS)
> Process: 15331 ExecStart=/usr/bin/pg_ctl start -D ${PGDATA} -s -o -p
>${PGPORT} -w -t 300 (code=exited, status
>=0/SUCCESS)
> Process: 15325 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGDATA}
>(code=exited, status=0/SUCCESS)
>Main PID: 15334 (postgres)
>  CGroup: /system.slice/postgresql.service
>          ├─15334 /usr/bin/postgres -D /var/lib/pgsql/data -p 5432
>          ├─15335 postgres: logger process
>          ├─15337 postgres: checkpointer process
>          ├─15338 postgres: writer process
>          ├─15339 postgres: wal writer process
>          ├─15340 postgres: autovacuum launcher process
>          ├─15341 postgres: stats collector process
>          ├─15449 postgres: rhnuser rhnschema 127.0.0.1(50548) idle
>          ├─15450 postgres: rhnuser rhnschema 127.0.0.1(50549) idle
>          ├─15451 postgres: rhnuser rhnschema 127.0.0.1(50552) idle
>          ├─15452 postgres: rhnuser rhnschema 127.0.0.1(50554) idle
>          ├─15453 postgres: rhnuser rhnschema 127.0.0.1(50556) idle
>          ├─15737 postgres: rhnuser rhnschema 127.0.0.1(50560) idle
>          ├─15738 postgres: rhnuser rhnschema 127.0.0.1(50563) idle
>          ├─15739 postgres: rhnuser rhnschema 127.0.0.1(50562) idle
>          ├─15740 postgres: rhnuser rhnschema 127.0.0.1(50566) idle
>          ├─15741 postgres: rhnuser rhnschema 127.0.0.1(50568) idle
>          ├─15742 postgres: rhnuser rhnschema 127.0.0.1(50570) idle
>          ├─15743 postgres: rhnuser rhnschema 127.0.0.1(50572) idle
>          ├─15744 postgres: rhnuser rhnschema 127.0.0.1(50574) idle
>          ├─15745 postgres: rhnuser rhnschema 127.0.0.1(50576) idle
>          ├─15781 postgres: rhnuser rhnschema 127.0.0.1(50580) idle
>          ├─15828 postgres: rhnuser rhnschema 127.0.0.1(50582) idle
>          ├─15829 postgres: rhnuser rhnschema 127.0.0.1(50584) idle
>          ├─15830 postgres: rhnuser rhnschema 127.0.0.1(50586) idle
>          ├─15831 postgres: rhnuser rhnschema 127.0.0.1(50588) idle
>          ├─15832 postgres: rhnuser rhnschema 127.0.0.1(50590) idle
>          ├─15835 postgres: rhnuser rhnschema 127.0.0.1(50592) idle
>          ├─15841 postgres: rhnuser rhnschema 127.0.0.1(50606) idle
>          ├─15842 postgres: rhnuser rhnschema 127.0.0.1(50608) idle
>          └─15844 postgres: rhnuser rhnschema 127.0.0.1(50612) idle
>
>May 22 14:52:06 automation.egovmt.com systemd[1]: Starting PostgreSQL
>database server...
>May 22 14:52:07 automation.egovmt.com systemd[1]: Started PostgreSQL
>database server.
>Redirecting to /bin/systemctl status  jabberd.service
>● jabberd.service - Jabber Server
>Loaded: loaded (/usr/lib/systemd/system/jabberd.service; enabled;
>vendor
>preset: disabled)
>  Active: inactive (dead) since Mon 2017-05-22 14:52:07 MDT; 44s ago
> Process: 15362 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
>Main PID: 15362 (code=exited, status=0/SUCCESS)
>
>May 22 14:52:07 automation.egovmt.com systemd[1]: Starting Jabber
>Server...
>May 22 14:52:07 automation.egovmt.com systemd[1]: Started Jabber
>Server.
>May 22 14:52:07 automation.egovmt.com systemd[1]: Stopped Jabber
>Server.
>May 22 14:52:07 automation.egovmt.com systemd[1]: Stopping Jabber
>Server...
>Redirecting to /bin/systemctl status  tomcat.service
>● tomcat.service - Apache Tomcat Web Application Container
>Loaded: loaded (/usr/lib/systemd/system/tomcat.service; enabled; vendor
>preset: disabled)
>  Active: active (running) since Mon 2017-05-22 14:52:07 MDT; 44s ago
>Main PID: 15381 (java)
>  CGroup: /system.slice/tomcat.service
>          └─15381 /usr/lib/jvm/jre/bin/java -ea -Xms256m -Xmx256m
>-Djava.awt.headless=true -Dorg.xml.sax.dr...
>
>May 22 14:52:34 automation.egovmt.com server[15381]: May 22, 2017
>2:52:34
>PM org.apache.catalina.startup....tor
>May 22 14:52:34 automation.egovmt.com server[15381]: INFO: Deployment
>of
>configuration descriptor /etc/to... ms
>May 22 14:52:34 automation.egovmt.com server[15381]: May 22, 2017
>2:52:34
>PM org.apache.coyote.AbstractPr...art
>May 22 14:52:34 automation.egovmt.com server[15381]: INFO: Starting
>ProtocolHandler ["http-bio-127.0.0.1-8080"]
>May 22 14:52:34 automation.egovmt.com server[15381]: May 22, 2017
>2:52:34
>PM org.apache.coyote.AbstractPr...art
>May 22 14:52:34 automation.egovmt.com server[15381]: INFO: Starting
>ProtocolHandler ["ajp-bio-127.0.0.1-8009"]
>May 22 14:52:34 automation.egovmt.com server[15381]: May 22, 2017
>2:52:34
>PM org.apache.coyote.AbstractPr...art
>May 22 14:52:34 automation.egovmt.com server[15381]: INFO: Starting
>ProtocolHandler ["ajp-bio-0:0:0:0:0:0...9"]
>May 22 14:52:34 automation.egovmt.com server[15381]: May 22, 2017
>2:52:34
>PM org.apache.catalina.startup....art
>May 22 14:52:34 automation.egovmt.com server[15381]: INFO: Server
>startup
>in 26364 ms
>Hint: Some lines were ellipsized, use -l to show in full.
>Redirecting to /bin/systemctl status  httpd.service
>● httpd.service - The Apache HTTP Server
> Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor
>preset: disabled)
>  Active: active (running) since Mon 2017-05-22 14:52:34 MDT; 16s ago
>    Docs: man:httpd(8)
>          man:apachectl(8)
> Process: 15127 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited,
>status=0/SUCCESS)
>Main PID: 15538 (httpd)
>Status: "Total requests: 7; Current requests/sec: 0.778; Current
>traffic:
>568 B/sec"
>  CGroup: /system.slice/httpd.service
>          ├─15538 /usr/sbin/httpd -DFOREGROUND
>          ├─15539 /usr/sbin/httpd -DFOREGROUND
>          ├─15540 /usr/sbin/httpd -DFOREGROUND
>          ├─15541 /usr/sbin/httpd -DFOREGROUND
>          ├─15542 /usr/sbin/httpd -DFOREGROUND
>          ├─15543 /usr/sbin/httpd -DFOREGROUND
>          ├─15544 /usr/sbin/httpd -DFOREGROUND
>          ├─15545 /usr/sbin/httpd -DFOREGROUND
>          └─15546 /usr/sbin/httpd -DFOREGROUND
>
>May 22 14:52:34 automation.egovmt.com systemd[1]: Starting The Apache
>HTTP
>Server...
>May 22 14:52:34 automation.egovmt.com systemd[1]: Started The Apache
>HTTP
>Server.
>Redirecting to /bin/systemctl status  osa-dispatcher.service
>● osa-dispatcher.service - OSA Dispatcher daemon
>Loaded: loaded (/usr/lib/systemd/system/osa-dispatcher.service;
>enabled;
>vendor preset: disabled)
>Active: failed (Result: exit-code) since Mon 2017-05-22 14:52:35 MDT;
>16s
>ago
> Process: 15564 ExecStart=/usr/sbin/osa-dispatcher --pid-file
>/var/run/osa-dispatcher.pid (code=exited, status
>=255)
>
>
> Process: 15562 ExecStartPre=/bin/rm -f /var/run/osa-dispatcher.pid
>(code=exited, status=0/SUCCESS)
>Main PID: 2051 (code=killed, signal=TERM)
>
>May 22 14:52:34 automation.egovmt.com systemd[1]: Starting OSA
>Dispatcher
>daemon...
>May 22 14:52:35 automation.egovmt.com osa-dispatcher[15564]: Spacewalk
>15564 2017/05/22 14:52:35 -06:00: (...,)
>May 22 14:52:35 automation.egovmt.com osa-dispatcher[15564]: Spacewalk
>15564 2017/05/22 14:52:35 -06:00: (...,)
>May 22 14:52:35 automation.egovmt.com osa-dispatcher[15564]: ERROR:
>unhandled exception occurred: (unicode...).
>May 22 14:52:35 automation.egovmt.com systemd[1]:
>osa-dispatcher.service:
>control process exited, code=e...=255
>May 22 14:52:35 automation.egovmt.com systemd[1]: Failed to start OSA
>Dispatcher daemon.
>May 22 14:52:35 automation.egovmt.com systemd[1]: Unit
>osa-dispatcher.service entered failed state.
>May 22 14:52:35 automation.egovmt.com systemd[1]:
>osa-dispatcher.service
>failed.
>Hint: Some lines were ellipsized, use -l to show in full.
>Redirecting to /bin/systemctl status  rhn-search.service
>● rhn-search.service - Spacewalk search engine
>  Loaded: loaded (/usr/lib/systemd/system/rhn-search.service; enabled;
>vendor preset: disabled)
>  Active: active (running) since Mon 2017-05-22 14:52:35 MDT; 16s ago
> Process: 15043 ExecStop=/usr/sbin/rhn-search stop (code=exited,
>status=0/SUCCESS)
> Process: 15583 ExecStart=/usr/sbin/rhn-search start (code=exited,
>status=0/SUCCESS)
>Main PID: 15596 (rhnsearchd)
>  CGroup: /system.slice/rhn-search.service
>          ├─15596 /usr/bin/rhnsearchd
>/usr/share/rhn/config-defaults/rhn_search_daemon.conf
>wrapper.pidfile...
>          └─15598 /usr/bin/java
>-Djava.library.path=/usr/lib:/usr/lib64:/usr/lib/oracle/11.2/client/lib:/us...
>
>
>May 22 14:52:35 automation.egovmt.com systemd[1]: Starting Spacewalk
>search
>engine...
>May 22 14:52:35 automation.egovmt.com rhn-search[15583]: Starting
>rhn-search...
>May 22 14:52:35 automation.egovmt.com systemd[1]: Started Spacewalk
>search
>engine.
>● cobblerd.service - LSB: daemon for libvirt virtualization API
>Loaded: loaded (/etc/rc.d/init.d/cobblerd; bad; vendor preset:
>disabled)
>  Active: active (running) since Mon 2017-05-22 14:52:36 MDT; 15s ago
>    Docs: man:systemd-sysv-generator(8)
> Process: 15017 ExecStop=/etc/rc.d/init.d/cobblerd stop (code=exited,
>status=0/SUCCESS)
> Process: 15639 ExecStart=/etc/rc.d/init.d/cobblerd start (code=exited,
>status=0/SUCCESS)
>  CGroup: /system.slice/cobblerd.service
>          └─15649 /usr/bin/python -s /bin/cobblerd --daemonize
>
>May 22 14:52:35 automation.egovmt.com systemd[1]: Starting LSB: daemon
>for
>libvirt virtualization API...
>May 22 14:52:36 automation.egovmt.com cobblerd[15639]: Starting cobbler
>daemon: [  OK  ]
>May 22 14:52:36 automation.egovmt.com systemd[1]: Started LSB: daemon
>for
>libvirt virtualization API.
>Redirecting to /bin/systemctl status  taskomatic.service
>● taskomatic.service - Taskomatic
>  Loaded: loaded (/usr/lib/systemd/system/taskomatic.service; enabled;
>vendor preset: disabled)
>  Active: active (running) since Mon 2017-05-22 14:52:36 MDT; 14s ago
> Process: 14942 ExecStop=/usr/sbin/taskomatic stop (code=exited,
>status=0/SUCCESS)
> Process: 15677 ExecStart=/usr/sbin/taskomatic start (code=exited,
>status=0/SUCCESS)
>Main PID: 15691 (taskomaticd)
>  CGroup: /system.slice/taskomatic.service
>          ├─15691 /usr/bin/taskomaticd
>/usr/share/rhn/config-defaults/rhn_taskomatic_daemon.conf wrapper.pi...
>          └─15746 /usr/bin/java -Dibm.dst.compatibility=true
>-Dfile.encoding=UTF-8 -Xms256m -Xmx1024m -Djav...
>
>May 22 14:52:36 automation.egovmt.com systemd[1]: Starting
>Taskomatic...
>May 22 14:52:36 automation.egovmt.com taskomatic[15677]: Starting RHN
>Taskomatic...
>May 22 14:52:36 automation.egovmt.com wrapper[15691]: --> Wrapper
>Started
>as Daemon
>May 22 14:52:36 automation.egovmt.com wrapper[15691]: Launching a
>JVM...
>May 22 14:52:36 automation.egovmt.com systemd[1]: Started Taskomatic.
>
>
>root at automation:/usr/sbin$ ./osa-dispatcher
>
>Spacewalk 15975 2017/05/22 14:53:07 -06:00: ('Error connecting to
>jabber
>server: Unable to connect to the host
>and port specified. See https://access.redhat.com/solutions/327903 for
>more
>information. ',)
>Spacewalk 15975 2017/05/22 14:53:07 -06:00: ('Error caught:',)
>
>
>
>ERROR: unhandled exception occurred: (unicode argument expected, got
>'str').
>root at automation:/usr/sbin$ root at automation:/usr/sbin$ ./osa-dispatcher
>
>Spacewalk 15975 2017/05/22 14:53:07 -06:00: ('Error connecting to
>jabber
>server: Unable to connect to the host
>and port specified. See https://access.redhat.com/solutions/327903 for
>more
>information. ',)
>Spacewalk 15975 2017/05/22 14:53:07 -06:00: ('Error caught:',)
>
>
>
>ERROR: unhandled exception occurred: (unicode argument expected, got
>'str').
>root at automation:/usr/sbin$ semanage permissive -a osad_t
>
>
>
>Hopefully someone here can point me in the right direction.
>
>Thanks!!

In the jabber service definition...

ExecStart=/bin/true ???

Does not look right to me

Regards
Robert




More information about the Spacewalk-list mailing list