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?
OpenSUSE 11.1 service command issues
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- Forum Team
- Posts: 117
- Joined: Tue Jun 09, 2009 4:25 pm
- Location: St. Louis, MO USA
- 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
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
IRC: #openvpn, #openvpn-devel
Co-Author of Mastering OpenVPN
Author of Troubleshooting OpenVPN
-
- Forum Team
- Posts: 117
- Joined: Tue Jun 09, 2009 4:25 pm
- Location: St. Louis, MO USA
Re: OpenSUSE 11.1 service command issues
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.
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.
-
- Forum Team
- Posts: 117
- Joined: Tue Jun 09, 2009 4:25 pm
- Location: St. Louis, MO USA
Re: OpenSUSE 11.1 service command issues
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. 

-
- Forum Team
- Posts: 285
- Joined: Wed Aug 27, 2008 2:41 am
Re: OpenSUSE 11.1 service command issues
Thanks for the update!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.
