Page 1 of 1

Iptables command not successful

PostPosted: Wed Oct 09, 2013 8:28 pm
by jorgece
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

Re: Iptables command not successful

PostPosted: Fri Oct 11, 2013 3:05 am
by sella
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.

Re: Iptables command not successful

PostPosted: Sat Oct 12, 2013 7:12 am
by jorgece
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

Re: Iptables command not successful

PostPosted: Sat Oct 12, 2013 6:43 pm
by sella
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.

Re: Iptables command not successful

PostPosted: Thu Oct 17, 2013 4:06 pm
by jorgece
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,