Blog of Things

Page 2 of 2

Check the inode, it’s not always disk

A while ago I was assisting someone to troubleshoot login failures for a CGI application. I noticed that the CGI session information was not being written to the /tmp directory on the Linux server.

First suspect: Disk space.

df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/cciss/c0d0p2      32G   26G  4.1G  87% /
/dev/cciss/c0d0p1      97M   26M   67M  28% /boot
none                 1003M  8.0K 1003M   1% /dev/shm

View Full Post

FortiOS debug execute command

In order to debug whether the FortiOS has received the command executed on the shell, one can use the following process. This example below shows the reboot command being sent and how it’s received by FortiOS system init process.

Configure Logging

We want the logs to be stored in memory so that they can be reviewed. Use the following commands to log debug messages to memory.

Note: Disable this after troubleshooting has been completed.

View Full Post

Page 2 of 2