NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

pkas's avatar
pkas
Tutor
Feb 18, 2013

How to restart apache2?

I want to be able to restart apache2 without having to reboot the ReadyNAS. However, when I try, this is what I see:

nas-netgear1:~# /etc/init.d/apache2 restart
Restarting web server: apache2apache2: Could not open configuration file /etc/apache2/apache2.conf: No such file or directory
failed!
nas-netgear1:~#


What's the right way to restart apache2 on the ReadyNAS?

Thanks,
pkas

2 Replies

  • mdgm-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired

    # apache-ssl -f /etc/frontview/apache/httpd.conf -t && apache-ssl -f /etc/frontview/apache/httpd.conf -k restart

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More