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
19,168
Reaction score
5,199
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.
 

Members online

No members online now.

Forum statistics

Threads
25,782
Messages
167,509
Members
19,202
Latest member
pbxnewguy
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top