Script that failed was: './A-Subcomponents

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
adamh
Posts: 22
Joined: Thu Jun 19, 2014 12:40 pm

Script that failed was: './A-Subcomponents

Post by adamh »

Hello I am getting a remote install issue with the following error. Script that failed was: './A-Subcomponents Install.log attached Thanks
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Script that failed was: './A-Subcomponents

Post by abrist »

You had some errors:

Code: Select all

/etc/services already updated - skipping.
The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.
Redirecting to /bin/systemctl restart  iptables.service
Failed to restart iptables.service: Unit iptables.service failed to load: No such file or directory.
And:

Code: Select all

Repos already configured - exiting.
Prereqs already installed - skipping...
Users/groups already configured - skipping.
/etc/services already updated - skipping.
Firewall was not configured - run previous script
Is iptables installed?

Code: Select all

iptables --version
Can you restart iptables with:

Code: Select all

/bin/systemctl restart iptables.service
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
adamh
Posts: 22
Joined: Thu Jun 19, 2014 12:40 pm

Re: Script that failed was: './A-Subcomponents

Post by adamh »

This is Fedora Core 22 and uses firewalld. But it does give an iptables version

iptables --version >> "iptables v1.4.21"

/bin/systemctl restart iptables.service >> Failed to restart iptables.service: Unit iptables.service failed to load: No such file or directory.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Script that failed was: './A-Subcomponents

Post by lmiltchev »

I don't believe you have the "iptables-services" package installed. Run the following command to install it:

Code: Select all

yum install iptables-services -y
Then, re-run the fullinstall script. Let me know if this fixed your issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
adamh
Posts: 22
Joined: Thu Jun 19, 2014 12:40 pm

Re: Script that failed was: './A-Subcomponents

Post by adamh »

It did, thanks.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Script that failed was: './A-Subcomponents

Post by abrist »

Can you restart iptables with:

Code: Select all

systemctl restart iptables
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked