Changeset 271 for trunk/TROUBLESHOOTING
- Timestamp:
- 11/06/03 17:05:46 (5 years ago)
- Files:
-
- 1 modified
-
trunk/TROUBLESHOOTING (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/TROUBLESHOOTING
r270 r271 23 23 ---------------------------------------------------------------------- 24 24 25 If you see the following message in your webserver error logs: 25 If you are able to run wiki.cgi from the command line but receive an 26 Error 500 when trying to view it in your browser, look for the following 27 message in your webserver error logs: 26 28 27 29 "Unable to tie -map_name [...] datafiles directory [...] does not exist … … 29 31 30 32 This means that the directory you specified in your configuration as 31 "indexing_directory" does not exist and cannot be created by the user32 that your CGI is runningas. This might mean one of two things:33 "indexing_directory" is inaccessible by the user that your CGI is running 34 as. This might mean one of two things: 33 35 34 - you've specified an indexing_directory within your own webspace but35 your CGIs are running not as you but as a dedicated webserver user36 such as 'nobody' or 'www-data'36 - you've specified an indexing_directory within your own webspace 37 and the user your CGIs are running as - typically 'nobody' or 38 'www-data' - doesn't have permission to write there 37 39 38 40 or … … 42 44 43 45 or a combination of both. Your ISP or sysadmin might be able to help you 44 further with this problem if you can't figure it out yourself. 46 further with this problem if you can't figure it out yourself; as a start, 47 try setting your indexes directory as world-writeable. 45 48 46 49 ---------------------------------------------------------------------- … … 50 53 The user your CGI is running as must have write access to not only the 51 54 database file itself, but the directory that the file is in, in order 52 that it can write a lockfile. 53 54 A symptom of having incorrect permissions set is being able to run 55 wiki.cgi from the command line but receiving an Error 500 when trying to 56 view it in your browser. 55 that it can write a lockfile. If it doesn't have write access to the 56 database file, you'll see errors like "Unhandled error: [DBD::SQLite::db 57 do failed...". 57 58 58 59 ----------------------------------------------------------------------
