No hibernation with Webalizer running? Problem and solution.

All questions regarding system hibernation may be placed here. Thanks!
Forum rules
1) This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form: ... p?lang=enu

2) To avoid putting users' DiskStation at risk, please don't paste links to any patches provided by our Support team as we will systematically remove them. Our Support team will provide the correct patch for your DiskStation model.
Posts: 566
Joined: Sat Sep 25, 2010 8:16 am
Location: Netherlands

No hibernation with Webalizer running? Problem and solution.

Unread post by henkg » Fri Apr 06, 2012 10:34 am

No hibernation when Webalizer is running? Problem and solution.

Every now and then Webalizer needs to update its webfiles from a logfile. The default Webalizer setting is every hour, so the disks will wake up every hour.

However, this setting can be changed, but not with DSM. You need terminal access.
Two files should be edited.
- /usr/local/etc/rc.d/
- /var/packages/Webalizer/scripts/start-stop-status

Look for the line starting with echo "13 * * * * *
The first parameter is minutes, the second one is hours. To change updating every hour, replace the second parameter (the asterisk character) with the hour you want (an hour your DS is awake mostly). Parameters must be separated by only tab characters, don't use space characters.

After changing both files, stop and restart Webalizer. Stopping will remove the cronjob from crontab, Restarting will add the job, now with the correct parameters.

- Make a backup copy before modding a file.
- A new DSM firmware / Webalizer install will overwrite the two files, so document your changes and apply them again.
- Modifying only /etc/crontab will work also, but the cronjob in crontab will be overwritten after a Webalizer Stop/Start, or a DSM reboot.
DS412+. 4x WD40EFRX, RAID5. DSM 6.0-8451 u9
DS210j. 2x HD204UI, RAID1. DSM 5.2-5644 u2
Windows 10. Router EPC3940. Switch TP-Link TL-SG1008D. Mede8er MED600X3D. UPS APC BE700G-GR.

Post Reply

Return to “Hibernation Room”