Difference between revisions of "QM-API Server"
Jump to navigation
Jump to search
(New page: ===Server Setup Howto=== First we need to register port 4243 in /etc/services to let the system recognize it. Personally I just manually edited /etc/services, found the apropriate place ...) |
m |
||
Line 1: | Line 1: | ||
− | + | ==Server Setup Howto== | |
First we need to register port 4243 in /etc/services to let the system recognize it. | First we need to register port 4243 in /etc/services to let the system recognize it. | ||
Revision as of 17:17, 3 March 2009
Server Setup Howto
First we need to register port 4243 in /etc/services to let the system recognize it.
Personally I just manually edited /etc/services, found the apropriate place (ie entry's in port order) to put it in and popped in the following:
qmclient 4243/tcp # Open QM API
Save and exit.
Xinitd
Firstly you will need xinetd installed, if you are running on telnet it's already there.
Second you will need an entry in xinit for qmclient. So put the following in /etc/xinit.d/qmclient
# default: on # description: OpenqQMs API port, unencrypted binary protocol. service qmclient { flags = REUSE socket_type = stream wait = no user = root server = /usr/qmsys/bin/qm server_args = -n -q log_on_failure += USERID disable = no port = 4243 }
Now restart xinetd (/etc/init.d/xinetd restart)
Testing
If you need to. Telnet localhost 4243 can check if your changes have worked. Telnet will connect but leave you clung on, but it will not refuse your connection. Ctr-] will allow you to quit. You can test WAN port availability, firewalls, etc, using this test.