Tuesday, July 19, 2011

telnet localhost sw_gui not working on suse

gallinar@liasse> telnet localhost sw_gui
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying ::1...
telnet: connect to address ::1: Connection refused
root@liasse> chkconfig --list

should show

xinetd based services:
...
        sw_gui:             on

If not, then /etc/xinet.d/sw_gui is missing.

root@liasse> cat /etc/xinetd.d/sw_gui
### Signalware Java GUI Server.
service sw_gui
{
   disable = no
   flags           = REUSE
   socket_type     = stream
   wait            = no
   user            = root
   groups  = yes
   server          = /export/home/omni_9S6/bin/start_jguiserver
   server_args     = start_jguiserver
   log_on_failure  += USERID
}

Once created, re-start xinetd:

root@liasse> /etc/init.d/xinetd restart