View Single Post
  #1  
Old 02-18-2004, 01:25 PM
_harri_ _harri_ is offline
Member
 
Join Date: Feb 2004
Posts: 11
Default cannot execute helloworld CGI after installation

hi!

i´ve just finished the installation of litespeed and i have some problems:
when i want to start the helloworld script on the demopage, nothing happens. the same thing in the admin-space: when i click on a "edit"-link, a new window pops up, but there is no content.

these messages are from the server-log:
2004-02-18 21:56:29.376
INFO
Start FCGI [phpFcgi]: failed to bind to uds://tmp/lshttpd/php.sock, fast cgi might be running,
2004-02-18 22:03:06.384
INFO
Start FCGI [fcgiAdminPHP]: failed to bind to UDS://tmp/lshttpd/admin_php.sock, fast cgi might be running,

this is one of the many errors in /opt/lsws/logs/stderr.log after browsing the admin-space:

PHP Warning: Unknown(): open(/tmp/sess_a38ee2b0cfe006ff4d3da9ef2ad02ea3, O_RDWR) failed: Permission denied (13) in Unknown on line 0
PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
PHP Warning: session_start(): open(/tmp/sess_a38ee2b0cfe006ff4d3da9ef2ad02ea3, O_RDWR) failed: Permission denied (13) in /opt/lsws/admin/html/admin/authHeader.php on line 6

the tmp directory is mounted with the following parameters:
/dev/sda7 on /tmp type ext3 (rw,nodev,noatime)

it looks like a problem with the rights and i dont know anyway how to solve it...
can you tell me what lib´s and programs should be installed before using litespeed? i run lsws on a gentoo-linux machine and there is nothing preinstalled.


thx for helping!
_harri_
Reply With Quote