Starting and Stopping DspExport and AntExport
If DspExport or AntExport are used on a platform, then they should be configured to start automatically when the computer boots.
Vaisala software runs as services in the Linux operating system in order to take advantage of built-in management tools for starting and stopping services. This includes a graphical user interface for controlling services and built in support for controlling services at different run levels of the operating system.
Enable the software for the following levels (indicated by an *).
- 0 Halt
- 1 Single–user mode
- 2 Not used (user–definable)
- 3* Full multi-user mode
- 4* Not used (user–definable)
- 5* Full multi–user mode (with an X–based login screen)
- 6 Reboot
When configuring how services are started,
Vaisala recommends using a command-line utility such as systemctl .
DspExport Automatic Start and Test
As root type:
# cp /etc/vaisala/irisrda/templates/init/dspexport /etc/init.d/
# cd /etc/init.d
# chmod +x dspexport
# chkconfig --add dspexport
Systems delivered from
the factory or installed using sigconfig on the IRIS/RDA release
software DVD automatically make sure that all of the necessary files and permissions
have been set for items in /etc/init.d/. |
To verify that the DspExport service starts automatically, as root, type:
#chkconfig --list dspexport
antexport 0:off 1:off 2:off 3:on 4:on 5:on 6:off
At this point, DspExport has been configured to run the next time the computer is restarted. To start DspExport immediately, type the following command as root:
# service dspexport start
starting DspExport: PC Linux [OK]
#
The OK message is displayed if start-up occurs smoothly. If this message is not displayed, make sure the above steps have been taken and that the service is not already running.
To verify that DspExport is running type the following line and check that the response matches the one shown below.
$ ps -eaf | grep DspExport
UID PID PPID C STIME TTY TIME CMD
operator 4019 1 0 16:05 ? 00:00:08 /usr/sigmet/bin DspExport
-daemon
$
To stop DspExport, run the following command as root:
#service dspexport stop
Stopping DspExport: [OK]
#
The OK message is displayed if shutdown occurs smoothly.
AntExport Start-up and Test
For AntExport the configuration is similar to DspExport. As root type:
# cp /etc/vaisala/irisrda/templates/init/antexport /etc/init.d/
# cd /etc/init.d
# chmod +x antexport
# chkconfig --add antexport
To verify that the AntExport service will start automatically, as root, type:
#chkconfig --list antexport
antexport 0:off 1:off 2:off 3:on 4:on 5:on 6:off
At this point, AntExport has been configured to run the next time the computer is restarted. To start AntExport immediately, type the following command as root:
#service antexport start
Starting AntExport: [OK]
#
The OK message is displayed if start-up occurs smoothly. If this message is not displayed, make sure the steps above have been taken and that the service is not already running.
To verify that DspExport is running type the following line and check that the response matches the one shown below.
$ ps -eaf | grep AntExport
operator 4019 1 0 16:05 ? 00:00:08 /usr/bin/AntExport -daemon
#
To stop AntExport, run the following command as root:
# service antexport stop
Stopping AntExport: [OK]
The above message is displayed if shutdown occurs smoothly.
