/var/log on nanobsd or diagnosing 503's
-
I'm running the nanobsd version of pfsense on a box with 256mb of memory.
/var is mounted as a 58mb in-memory device, but almost every log under /var/log is listed as 511488 bytes long and all zeros.
Any idea how I can see lighttpd logs in this situation?
Or why the logs contain 512kb of zeros?
(I'm getting some 503's from the webgui, and trying to diagnose why that is occurring. I know the general cause, but I'd like to find the specific error and fix it rather than removing the 'cause').
-
https://doc.pfsense.org/index.php/Why_can%27t_I_view_view_log_files_with_cat/grep/etc%3F_(clog)
-
Thanks! (and the hyperlink doesn't include the last paren, but copy/paste that url goes to the right place).
What's very odd is that lighttpd.log is completely empty (clog lighttpd.log returns immediately). Any idea why (or where I'd find php errors?)
-
/tmp/php_errors.txt
or maybe
/tmp/PHP_errors.txtIf there are any errors to report, it goes in that file as ordinary text - easy to view. And the dashboard should report it.