NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Walti
Dec 20, 2010Follower
MlDonkey killed daily by /etc/cron.daily/logtruncate
Hi all, I deleted the bitorrent application and replaced it by MlDonkey. After a while working alright the application is always down and needs to be started manually with Frontview. I've found ...
jasperaukes
Jun 14, 2011Aspirant
The 'start-stop-daemon -K -n apache-ssl -R 5' also kills afpd.
I replaced the lines in /etc/cron.daily/logtruncate with these to restart apache:
if( $restart_apache ) {#
# start-stop-daemon kills afpd
#
# system("start-stop-daemon -K -n apache-ssl -R 5");
# system("/usr/sbin/apache-ssl -f /etc/frontview/apache/httpd.conf");
#
system("/usr/sbin/apache2ctl restart");
}
For this to work you'll have to create a symbolic link first:
(as root on your NAS)
cd /etc/apache2
ln -s ../frontview/apache/httpd.conf apache2.conf
Hope this helps. The start-stop-daemon command seems to be broken.
I replaced the lines in /etc/cron.daily/logtruncate with these to restart apache:
if( $restart_apache ) {#
# start-stop-daemon kills afpd
#
# system("start-stop-daemon -K -n apache-ssl -R 5");
# system("/usr/sbin/apache-ssl -f /etc/frontview/apache/httpd.conf");
#
system("/usr/sbin/apache2ctl restart");
}
For this to work you'll have to create a symbolic link first:
(as root on your NAS)
cd /etc/apache2
ln -s ../frontview/apache/httpd.conf apache2.conf
Hope this helps. The start-stop-daemon command seems to be broken.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!