IPCop: SARG, Network Graphs and iNode issues resolved

ipcop
After many a moon I noticed that IPCop wasn’t behaving like it should, so a quick glance at the System Status Graphs showed that the inodes usage was 100%.

After laboriously troubleshooting the various possibilities I found that the SARG for IPCop I installed and then “hacked”, to work with the latest version, was the culprit. This caused the inodes not to be cleaned up correctly, which in turn slowly but surely filled the partition.

After removing SARG for IPCop everything returned to normal with 1% inodes usage.

Remove SARG from your IPCop installation:

However, it doesn’t stop there.

After removing SARG from the IPCop box the network traffic graphs stopped working. I ran a couple of commands from the makegraphs script which turned up this error:

So removing SARG removed the following files that are required for network traffic graphs to function:

usr/lib/libgd.so.2
usr/lib/libgd.so.2.0.0
usr/lib/libgd.so
usr/local/lib/libfreetype.so
usr/local/lib/libfreetype.so.6.3.7
usr/local/lib/libfreetype.so.6

To recover these files download the SARG package, extract the archives and copy the relevant files back to their correct directories.

After 10 minutes your should see the network traffic graphs come to life.

Moral of the story “Don’t install a plugin that is not compatible with your version of IPCop”