Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Then go through and remove duplicate entries at the top-level, e.g. you'll have "disable_echo 0" in there repeatedly. Note: this does not apply to anything inside an <endpoint> block. Also, remove the extraneous <port> entries so that all the endpoint elements are under a single port entry. Modify the <port> tag so that it now reads <port 8075> or whatever port number you may want to use. Since this can be confusing, I am attaching a working sample for combined.conf.

One more conf file defined in the ps-universal.sh was the logger configuration file (also attaching) combined_logger.conf.

Step 3. Test run the script

Make sure that the services aren't already started. If so then stop them using the following commands:

Code Block
title/etc/init.d
/etc/init.d/PingER.sh stop
/etc/init.d/snmpMA.sh stop
/etc/init.d/pSB.sh stop
/etc/init.d/hLS.sh stop

Once done see whether any services running on 8065, 8075, 8085 and 8095 (just to make sure) using netstat or telnet. Resume testing by executing the services using the following command:

Code Block
title/etc/init.d
/etc/init.d/ps-universal.sh start

Step 4. Make changes stick after reboot.