service restart

Restart a service on the SafeNet appliance. Services require restarting if their configurations have changed. For example, after changing any network settings using the network commands, you should restart the network service to ensure the new settings take affect. Also, after regenerating the server certificate with the sysconf regencert command, you must restart the NTLS service so that the new certificate is used for the NTLA. For a list of services that can be restarted, use the service list command.

Restarting a service isn't always the same as doing a service stop followed by a service start. If you restart the network service while connected to the SafeNet appliance via the network (SSH), you will not lose your connection (assuming no changes were made that would cause a connection loss). However, if you were to stop the network service, you would immediately lose your connection, and you would need to log in via the local console to start the service again. The same applies for the sshd service.

NOTE   It can sometimes take slightly more than a minute for NTLS to fully restart, depending on where the system was in its normal cycle of operation when you initiated the restart. This is relatively rare, with the usual NTLS restart time being on the order of ten seconds. We mention it here in case you notice an entry like vtsd: Error: Server Listening Port could not Bind in the logs. One or more occurrences can be normal behavior unless there is no recovery and no successful restart.

NOTE   service restart sysstat also restarts the Front-panel LCD Display.

User Privileges

Users with the following privileges can perform this command:

>Admin

>Operator

Syntax

service restart <service_name> [-force]

Argument(s) Shortcut Description
<service_name>  

Specifies the service to restart.

Valid values: cbs, lsta, network, ntls, ntp, snmp, ssh, stc, syslog, sysstat, webserver

-force -f Force the action without prompting.

Example

lunash:>service restart syslog
 
Stopping syslog:                                           [  OK  ]
 
Starting syslog:                                           [  OK  ]
 
Command Result : 0 (Success)
 
 
 
lunash:>service restart ntls
 
Checking for connected clients before stopping NTLS service:
 
WARNING !! There are 1 client(s) connected to this Luna SA
appliance.  It is recommended that you disconnect all clients
before stopping or restarting the NTLS service.
 
If you are sure that you wish to proceed, then type 'proceed', otherwise type 'quit'
> proceed
Proceeding...
Stopping ntls:                                             [  OK  ]
 
Starting ntls:                                             [  OK  ]
 
Command Result : 0 (Success)