Hi again,
I am running OLS as user www and group www and I am getting this error/notice:
2017-04-04 08:35:26.346 [NOTICE] [XX.XX.XX.XX:55474:HTTP2-53] [STDERR] PHP Warning: file_get_contents(/tmp/lshttpd/.status): failed to open stream: Permission denied in /usr/local/lsws/admin/html.open/lib/SInfo.php on line 180
Permissions under /tmp/lshttpd:
Does .status require other permissions than I currently have?
The second error I'm getting after restarting lsws is this:
Not sure why I'm getting this. PHP is working well.
Also, in the dashboard both listeners (443 and 80) show up as "Not running" although my site is working. Is this because lsws is unable to read the /tmp/lshttpd/.status file?
Any help is appreciated!
I am running OLS as user www and group www and I am getting this error/notice:
2017-04-04 08:35:26.346 [NOTICE] [XX.XX.XX.XX:55474:HTTP2-53] [STDERR] PHP Warning: file_get_contents(/tmp/lshttpd/.status): failed to open stream: Permission denied in /usr/local/lsws/admin/html.open/lib/SInfo.php on line 180
Permissions under /tmp/lshttpd:
Code:
# ls -al /tmp/lshttpd/
total 44
drwxrwxrwx 3 www www 4096 Apr 3 20:13 .
drwxrwxrwt 10 root root 4096 Apr 4 08:41 ..
lrwxrwxrwx 1 www www 33 Mar 25 01:05 .rtreport -> /dev/shm/lshttpd/status/.rtreport
lrwxrwxrwx 1 www www 35 Mar 25 01:05 .rtreport.2 -> /dev/shm/lshttpd/status/.rtreport.2
-rw-r--r-- 1 www www 444 Apr 4 08:41 .rtreport.3
-rw-r--r-- 1 www www 444 Apr 4 08:41 .rtreport.4
-rw-r--r-- 1 www www 444 Apr 4 08:41 .rtreport.5
-rw-r--r-- 1 www www 444 Apr 4 08:41 .rtreport.6
-rw-r--r-- 1 www www 444 Apr 4 08:41 .rtreport.7
-rw-r--r-- 1 www www 444 Apr 4 08:41 .rtreport.8
-rw------- 1 www www 240 Apr 4 08:35 .status
-rw-r--r-- 1 www www 6 Apr 3 20:20 lshttpd.pid
drwx------ 24 www www 4096 Apr 3 13:52 swap
The second error I'm getting after restarting lsws is this:
Code:
2017-04-04 08:43:35.855 ERROR [config:server:vhosts:vhost:mydomain.com:epsr:lsphp7] missing <path>
Also, in the dashboard both listeners (443 and 80) show up as "Not running" although my site is working. Is this because lsws is unable to read the /tmp/lshttpd/.status file?
Any help is appreciated!