SOLVED XIVO on RPi3 - Error on secure-iptables and add-fqdn commands

Joined
Jun 18, 2013
Messages
34
Reaction score
4
While trying to get Travelin' Man running for a remote extension, I ran the add-fqdn command on Incredible PBX XIVO for Raspberry PI. I get an error. Apparently, the script is looking for a directory called /etc/systconfig/iptables which does not exist. The IP tables are all in etc/iptables

sed: can't read /etc/sysconfig/iptables: No such file or directory
If there's an error in enabled services, run del-acct and try again.
sed: can't read /etc/sysconfig/iptables: No such file or directory
No IPtables problems found


I get a similar error when running secure-iptables:

To proceed at your own risk, press Enter. Otherwise, Ctrl-C to abort.
Saving base iptables setup as iptables.orig.
cp: cannot create regular file â/etc/sysconfig/iptables.origâ: No such file or directory
Backup up original iptables as iptables.b4travman.
cp: cannot stat â/etc/sysconfig/iptablesâ: No such file or directory
done.


Can anyone tell me how to work around this problem?
Thanks
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,134
Reaction score
2,628
Look through the add-fqdn file and change /etc/sysconfig/iptables to /etc/iptables/rules.v4.

There shouldn't have been a need to run secure-iptables. The correct version of TM3 was already in place.
 
Joined
Jun 18, 2013
Messages
34
Reaction score
4
Thank you Ward. I ended up doing a clean install and all is working fine. Apparently some scrips were overwritten due to my actions which really mess things up. Several of these contained references to /etc/sysconfig/iptables which does not exist in this version.
 
  • Like
Reactions: wardmundy

Members online

No members online now.

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,364
Messages
137,343
Members
14,574
Latest member
ipv6freely