Page 1 of 1

Blank configuration - all IP's shunned

Posted: Fri Jul 24, 2015 3:24 am
by imadsani
One of my servers stopped responding out of the blue, after a little troubleshooting it turned out that the server was blocking all IP's, couldnt even ping google from the server. When i tried to open ASL's panel it showed the following errors:

Code: Select all

Notice: Use of undefined constant EXIT_FATAL - assumed 'EXIT_FATAL' in /var/asl/www/lib/php/ASLW.php on line 272

Notice: Use of undefined constant EXIT_FATAL - assumed 'EXIT_FATAL' in /var/asl/www/lib/php/ASLW.php on line 206

Warning: Invalid argument supplied for foreach() in /var/asl/www/lib/php/ASLW.php on line 208

Notice: Trying to get property of non-object in /var/asl/www/lib/php/ASLW.php on line 221

Fatal error: Call to a member function kill() on a non-object in /var/asl/www/lib/php/ASLW.php on line 222
I tried running aum -u which complained that no config was present, it told me to run a command ending with a -c. Which still did not solve the issue, I had to replace the config from another server after which that command ending in a -c started working but the server was still blocking all outside IP's apart from those manually white listed.

For now I've uninstalled ASL from the server to get things working again, any idea why this happened.


Note: The config file was completely empty when I started troubleshooting the server

Re: Blank configuration - all IP's shunned

Posted: Fri Jul 24, 2015 9:41 am
by scott
Ive seen that happen when the filesystem runs out of space

Re: Blank configuration - all IP's shunned

Posted: Mon Jul 27, 2015 3:29 am
by imadsani
scott wrote:Ive seen that happen when the filesystem runs out of space
unless the server ran out of inodes, space can't be an issue

Code: Select all

[root@server1 ~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/md1        1.8T  310G  1.4T  18% /
tmpfs            16G   12K   16G   1% /dev/shm
/dev/md0        496M  107M  364M  23% /boot