web analytics

Blog

lxadmin aka Kloxo not listening in a centos after a default installation. Please help!

Tags: firewalliptableskloxolighttpdlxadmin

Published on: May 18, 2009 by George K.

lxadmin aka Kloxo not listening in a centos after a default installation. Please help!

Scenario:

The scenario was, Kloxo installation was completed without any errors. But still inside the server Kloxo and the stuff were working, but from a browser in the WWW, it isn’t working and how is cannot be found or page cannot be displayed errors

On further analyses we found that telnet ip.ip.ip.ip 7777 was working from inside the server, but not from outside network. It was showing,

telnet ip.ip.ip.ip 7777
Trying ip.ip.ip.ip...
telnet: Unable to connect to remote host: No route to host

It was returning the same for every port, except 22. In a normal situation, if the port 22 also was not working, the issue could have been network related, but in this case port 22 was working fine. So the issue was not related to networking, but …… ? Guess what ?

Yes. Any seasoned Linux administrator should have guessed the answer to be the firewall and yes that was right. The iptables ruleset had a line which says,

REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited

Deleted that lines and things went smooth after that.

Don’t forget to run save the iptables rules, by executing the commands below,

[root@server ~]# iptables -D RH-Firewall-1-INPUT 10
[root@server ~]# /etc/init.d/iptables save
Saving firewall rules to /etc/sysconfig/iptables: [ OK ]
[root@server ~]# iptables-save

Category : Howtos, Linux, Snippets, Troubleshooting

George K.

George K.

George started his career in web hosting and Linux technical support in the year 2004 and is with SupportSages since 2009. He has keen interest in server optimizations, custom security solutions, hacked server recovery, cyber forensic and high availability fail over system design and implementation. George loves long drives and is passionate about art and literature.

You may also read:

Comments

Add new commentSIGN IN

Let's Connect

Get new updates

Categories

$0.000 items