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

Forum Discussion

fondy's avatar
fondy
Tutor
Feb 12, 2021
Solved

Apache restart

Hello I am using OS6.10.4 on my Readynas Pro 2. I want using the NAS for Piwigo photo albums. When I install and work with the php files, I want to restart the apache2 service, SSH is avtivated and I use Putty til login. 'systemctl status -a apacher2' is ok, I can se the apache status 'systemctl restart apache2', 'systemctl stop apache2' and 'systemctl start apache2' did not work, I got error message Is there another cli commands I can use to restart the appache2 server? Regards Paal

  • fondy wrote:
    Hello I am using OS6.10.4 on my Readynas Pro 2. I want using the NAS for Piwigo photo albums. When I install and work with the php files, I want to restart the apache2 service, SSH is avtivated and I use Putty til login. 'systemctl status -a apacher2' is ok, I can se the apache status 'systemctl restart apache2', 'systemctl stop apache2' and 'systemctl start apache2' did not work, I got error message Is there another cli commands I can use to restart the appache2 server? Regards Paal

    Those commands work fine on my RN102 (also running 6.10.4)

     

    root@RN102:~# systemctl restart apache2
    root@RN102:~# systemctl stop apache2
    root@RN102:~# systemctl start apache2
    root@RN102:~#

    I suspect you logged into the NAS using the admin account, instead of using root. The commands will fail if you make that mistake.

3 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    fondy wrote:
    Hello I am using OS6.10.4 on my Readynas Pro 2. I want using the NAS for Piwigo photo albums. When I install and work with the php files, I want to restart the apache2 service, SSH is avtivated and I use Putty til login. 'systemctl status -a apacher2' is ok, I can se the apache status 'systemctl restart apache2', 'systemctl stop apache2' and 'systemctl start apache2' did not work, I got error message Is there another cli commands I can use to restart the appache2 server? Regards Paal

    Those commands work fine on my RN102 (also running 6.10.4)

     

    root@RN102:~# systemctl restart apache2
    root@RN102:~# systemctl stop apache2
    root@RN102:~# systemctl start apache2
    root@RN102:~#

    I suspect you logged into the NAS using the admin account, instead of using root. The commands will fail if you make that mistake.

    • fondy's avatar
      fondy
      Tutor
      thx a lot StephenB I will try that I am using the admin account :)

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