Stat failed for /tmp/lshttpd/.status (errno=13 - Permission denied)

Discussion in 'General' started by thelunny, Feb 16, 2012.

  1. thelunny

    thelunny New Member

    I was trying around with the directory permissions on my virtualhost's docroot when I hit this error after I restart. It doesn't goes off even when I changed my directory permission back to before.

    The Listener is in red with status ERROR. All my virtualhosts status says Restart Required. But restarting it multiple times are of no use. Still get the message.

    My virtualhost can still be accessed via browser. The only thing is that the error message persist on my admin panel.

    Please advise.

    ----

    2012-02-16 11:46:26.150 NOTICE [121.6.215.92:51048-0#_AdminVHost] [STDERR] PHP Warning: filemtime() [<a href='function.filemtime'>function.filemtime</a>]: Stat failed for /tmp/lshttpd/.status (errno=13 - Permission denied) in /usr/local/lsws/admin/html.4.1.10/classes/ws/Service.php on line 34


    2012-02-16 11:46:26.150 NOTICE [121.6.215.92:51048-0#_AdminVHost] [STDERR] PHP Warning: fopen(/tmp/lshttpd/.status) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /usr/local/lsws/admin/html.4.1.10/classes/ws/Service.php on line 131


    2012-02-16 11:46:26.150 NOTICE [121.6.215.92:51048-0#_AdminVHost] [STDERR] PHP Warning: fopen(/tmp/lshttpd/lshttpd.pid) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /usr/local/lsws/admin/html.4.1.10/classes/ws/Service.php on line 71

    ---

    My /tmp is not full and it's mounted as a separate partition with drwxrwxrwt permission. The following is a ls -la output on the /tmp/lshttpd directory.


    # ls -la /tmp/lshttpd/
    total 24
    drwxr-x--- 3 litespeed litespeed 4096 Feb 16 11:49 .
    drwxrwxrwx 8 root root 4096 Feb 16 11:49 ..
    srwxr-xr-x 1 litespeed litespeed 0 Feb 16 11:45 admin_php.sock
    srwxr-xr-x 1 litespeed litespeed 0 Feb 16 11:48 iedge-www_lsphp.sock
    -rw-r--r-- 1 root litespeed 5 Feb 16 11:45 lshttpd.pid
    -rw-r--r-- 1 litespeed litespeed 934 Feb 16 11:49 .rtreport
    -rw-r--r-- 1 root litespeed 392 Feb 16 11:49 .status
    drwxr-x--- 3 litespeed litespeed 4096 Feb 16 11:46 swap
  2. webizen

    webizen New Member

Share This Page