SoftEther VPN Server Engineの再起動タイミングを制御する方法

SoftEther VPN に関するご質問はこのフォーラムにお気軽にご投稿ください。
Post Reply
Field
Posts: 25
Joined: Thu May 21, 2020 1:39 pm

SoftEther VPN Server Engineの再起動タイミングを制御する方法

Post by Field » Thu Jul 08, 2021 10:24 pm

お世話になっております。
SoftEther VPN Server Engineの再起動が定期的(日次)で実行されていることに気付きました。
再起動タイミングを制御する方法についてご教示いただけないでしょうか。
また、日次での定期再起動はデフォルトの仕様である認識ですが、背景についてご教示いただけないでしょうか。(ソフトウェアの安定稼働のためでしょうか)

※再起動が実行されていると判断したサーバログの記載抜粋
2021-07-09 06:45:31.086 The Server Engine shutdown processing has started.
2021-07-09 06:45:31.086 All TCP listeners will be stopped.
2021-07-09 06:45:31.883 All TCP listeners have been stopped.
2021-07-09 06:45:31.883 Stopping all Virtual Hubs.
2021-07-09 06:45:31.883 [HUB "abeam.com"] The Virtual Hub is now offline.
2021-07-09 06:45:31.883 [HUB "abeam.com"] SecureNAT stopped.
2021-07-09 06:45:33.141 Virtual Hub "abeam.com" has been stopped.
2021-07-09 06:45:33.141 All Virtual Hubs have been stopped.
2021-07-09 06:45:33.303 IPsec Module: The IPsec ver 2.0 (ISAKMP/IKEv1) processing module is now terminating...
2021-07-09 06:45:33.303 IPsec Module: The number of still-alive IPsec SAs was 0.
2021-07-09 06:45:33.303 IPsec Module: The number of still-alive IKE SAs was 0.
2021-07-09 06:45:33.303 IPsec Module: The number of still-alive IPsec Clients was 0.
2021-07-09 06:45:33.303 IPsec Module: The IPsec ver 2.0 (ISAKMP/IKEv1) processing module is terminated.
2021-07-09 06:45:33.303 OpenVPN Module: The OpenVPN Server Module is stopped.
2021-07-09 06:45:33.303 Shutting down the Cedar communication module.
2021-07-09 06:45:33.313 The Cedar communication module has been shut down.
2021-07-09 06:45:33.313 The SoftEther VPN Server Engine has been successfully shutdown.
2021-07-09 06:45:33.313 ------------------------------------------------------
2021-07-09 06:46:15.356 ------------------------------------------------------
2021-07-09 06:46:15.356 SoftEther VPN Server Version 4.28 Build 9669 (English)
2021-07-09 06:46:15.356 Compiled 2018/09/11 12:23:27 by yagi at pc33
2021-07-09 06:46:15.356 Log Messages are written with UTF-8 Encoding Format.
2021-07-09 06:46:15.356 The SoftEther VPN Server has been started.
2021-07-09 06:46:15.366 IPsec Module: The IPsec ver 2.0 (ISAKMP/IKEv1) processing module is started.
2021-07-09 06:46:15.366 OpenVPN Module: The OpenVPN Server Module is starting.
2021-07-09 06:46:15.366 Loading the configuration file.
2021-07-09 06:46:15.584 Monitoring the directory "/opt/vpnserver". If the amount of available free disk space becomes less than 100.00 MBytes, the backup files for log files and configurations that are saved on the sub-directories of this directory will be automatically deleted in the order of oldest first. The amount of free disk space that determines when to start deletion can be modified by changing the "AutoDeleteCheckDiskFreeSpaceMin" item in the configuration file.
2021-07-09 06:46:15.584 Virtual Hub "abeam.com" has been started.

cedar
Site Admin
Posts: 2066
Joined: Sat Mar 09, 2013 5:37 am

Re: SoftEther VPN Server Engineの再起動タイミングを制御する方法

Post by cedar » Fri Jul 09, 2021 9:24 am

SoftEther VPN Server 自体は自発的に再起動することはありません。
スクリプトなどで再起動されているのではないかと思います。

Field
Posts: 25
Joined: Thu May 21, 2020 1:39 pm

Re: SoftEther VPN Server Engineの再起動タイミングを制御する方法

Post by Field » Fri Jul 16, 2021 4:53 am

cedarさん ご回答ありがとうございます!
SoftEther VPN Server 自体は自発的に再起動することはない旨承知致しました。
SoftEther VPN Serverを定期的に再起動させるスクリプトを確認できなかったため、他のサービスなどにより再起動がされていないか確認してみます!

cedar
Site Admin
Posts: 2066
Joined: Sat Mar 09, 2013 5:37 am

Re: SoftEther VPN Server Engineの再起動タイミングを制御する方法

Post by cedar » Fri Jul 16, 2021 5:32 am

自発的に再起動することはないと書きましたが、例外を思い出したので書いておきます。
設定のインポートを行うと、設定ファイル書き込み後に自発的に再起動します。
設定ファイルを定期的に書き込むようなスクリプトがないか、という点にもご注意ください。

Field
Posts: 25
Joined: Thu May 21, 2020 1:39 pm

Re: SoftEther VPN Server Engineの再起動タイミングを制御する方法

Post by Field » Fri Jul 16, 2021 8:04 am

cedarさん
追加でのご回答ありがとうございます!
設定ファイルを定期的に書き込むようなスクリプトがないかの確認を実施するように致します。

Post Reply