Iptables command not successful

Support issues for PHREL, the Per Host RatE Limiter.

Iptables command not successful

Postby jorgece » Wed Oct 09, 2013 8:28 pm

Hi,

I installed PHREL successfully but cann't make it work the way it should.

Error messages like this one keep showing in messages log:

phreld[615]: command not successful: /sbin/iptables -L phreld-sync-check-0267 > /dev/null 2>&1

Iptables are installed and working:
# which iptables
/sbin/iptables

#which ip6tables
/sbin/ip6tables

No missing libraries during install either.

Any idea where look at?

I'm running Centos 5, kernel 2.6.18-274.7.1.el5

TIA
jorgece
 
Posts: 3
Joined: Wed Oct 09, 2013 8:19 pm

Re: Iptables command not successful

Postby sella » Fri Oct 11, 2013 3:05 am

Are you running phrel as root? If not, do that. :)

Otherwise, when phrel is running, try running '/sbin/iptables -L' and see if you see any phrel related chains. The output of that command may give an indication of what's wrong.
User avatar
sella
Site Admin
 
Posts: 81
Joined: Sat Jan 17, 2004 6:53 pm
Location: Denver, CO

Re: Iptables command not successful

Postby jorgece » Sat Oct 12, 2013 7:12 am

Thanks for your input.

For some reason, phrel unsuccessful message stopped showing in my message log almost 20 hours ago.
Realized that iptables path was wrong in the config file, so proceed to correct that and fired a couple of phrel commands again.

Now what happens is that ONLY ip6tables errors appear, eventhough deactivated IPV6 in the conf file:
command not successful: /sbin/ip6tables -L phreld-sync-check-5ce2 > /dev/null 2>&1

Yes, I'm running as root too.
BTW, /sbin/iptabless -L does not show any reference to phrel.

Any other idea?

TIA
jorgece
 
Posts: 3
Joined: Wed Oct 09, 2013 8:19 pm

Re: Iptables command not successful

Postby sella » Sat Oct 12, 2013 6:43 pm

I'll check out why it's not fully disabling IPv6. I'd suggest fixing the path to that as well to see if it takes care of the problem.

What distribution are you running? I'd like to try it out there to see if I can recreate the issue.
User avatar
sella
Site Admin
 
Posts: 81
Joined: Sat Jan 17, 2004 6:53 pm
Location: Denver, CO

Re: Iptables command not successful

Postby jorgece » Thu Oct 17, 2013 4:06 pm

Thanks for your help.

I´m running phrel-1.0.2 on Centos 5, 64bit, kernel 2.6.18-274.7.1.el5 and plesk cp 10.4.4.

iptables.x86_64 1.4.7-2.el5.art.art , iptables-ipv6.x86_64 1.4.7-2.el5.art.art .(As you can see, these are from atomic's repo as their ASL package is installed too).

Regards,
jorgece
 
Posts: 3
Joined: Wed Oct 09, 2013 8:19 pm


Return to PHREL

Who is online

Users browsing this forum: No registered users and 11 guests