NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
fondy
Feb 12, 2021Tutor
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 ...
- Feb 12, 2021
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 PaalThose 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.
StephenB
Feb 12, 2021Guru - 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.
Related Content
NETGEAR Academy

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