Page 1 of 1

OpenSUSE 11.1 service command issues

Posted: Wed Jul 01, 2009 2:05 pm
by george
Hi all.

We are running OpenVPN on OpenSUSE 11.1 which uses the service command for process control. The syntax is as follows:

service service name start|stop|restart|reload|status

All of these work with the exception of reload. When running service openvpn reload , (when openvpn is already running), it returns done, but running service openvpn status after it returns dead.

We would like to be able to reload the service, (for config changes), on the fly with out having user sessions dropped. Is this possible?

Re: OpenSUSE 11.1 service command issues

Posted: Wed Jul 01, 2009 11:00 pm
by ecrist
Reload usually sends a SIGHUP to the daemon. OpenVPN does not gracefully handle this. In order to do this, you need to log in to the management interface and tell OpenVPN to reload the configuration.

Re: OpenSUSE 11.1 service command issues

Posted: Thu Jul 02, 2009 12:42 pm
by george
This is done with the signal command from the management interface, correct?

Like this:

signal SIGHUP

This produces exactly the same results. service openvpn status = dead It must be restarted.

Am I overlooking something?

Please advise.

Thanks in advance.

Re: OpenSUSE 11.1 service command issues

Posted: Mon Jan 11, 2010 3:49 pm
by george
Just wanted to update this thread, we moved OpenVPN to SLES 10SP2, (management's decision), and I have made on-the-fly config changes, and used service openvpn restart, since the service downtime is so short our windows clients using openvpn-gui don't notice that the connection died for a second. so problem un-noticed. :mrgreen:

Re: OpenSUSE 11.1 service command issues

Posted: Tue Jan 12, 2010 2:44 am
by Douglas
george wrote:Just wanted to update this thread, we moved OpenVPN to SLES 10SP2, (management's decision), and I have made on-the-fly config changes, and used service openvpn restart, since the service downtime is so short our windows clients using openvpn-gui don't notice that the connection died for a second. so problem un-noticed. :mrgreen:
Thanks for the update! :)