OpenSUSE 11.1 service command issues

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
george
Forum Team
Posts: 117
Joined: Tue Jun 09, 2009 4:25 pm
Location: St. Louis, MO USA

OpenSUSE 11.1 service command issues

Post by george » Wed Jul 01, 2009 2:05 pm

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?

User avatar
ecrist
Forum Team
Posts: 237
Joined: Wed Nov 26, 2008 10:33 pm
Location: Northern Minnesota, USA
Contact:

Re: OpenSUSE 11.1 service command issues

Post by ecrist » Wed Jul 01, 2009 11:00 pm

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.
OpenVPN Community Administrator
IRC: #openvpn, #openvpn-devel
Co-Author of Mastering OpenVPN
Author of Troubleshooting OpenVPN

george
Forum Team
Posts: 117
Joined: Tue Jun 09, 2009 4:25 pm
Location: St. Louis, MO USA

Re: OpenSUSE 11.1 service command issues

Post by george » Thu Jul 02, 2009 12:42 pm

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.

george
Forum Team
Posts: 117
Joined: Tue Jun 09, 2009 4:25 pm
Location: St. Louis, MO USA

Re: OpenSUSE 11.1 service command issues

Post by george » Mon Jan 11, 2010 3:49 pm

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:

Douglas
Forum Team
Posts: 285
Joined: Wed Aug 27, 2008 2:41 am

Re: OpenSUSE 11.1 service command issues

Post by Douglas » Tue Jan 12, 2010 2:44 am

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! :)

Post Reply