Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Apache restart
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-02-12
08:40 AM
2021-02-12
08:40 AM
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
Solved! Go to Solution.
Model: RNDP2220|ReadyNAS Pro 2 4TB (2 x 2TB Enterprise)
Message 1 of 4
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-02-12
12:25 PM
2021-02-12
12:25 PM
@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.
Message 2 of 4
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-02-12
12:25 PM
2021-02-12
12:25 PM
@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.
Message 2 of 4
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-02-12
02:05 PM
2021-02-12
02:05 PM
Re: Apache restart
thx a lot StephenB I will try that I am using the admin account 🙂
Message 3 of 4
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-02-12
03:10 PM