CentOS 5 Networking :: IPTables Service Failed To Start
May 9, 2009
I have CentOS 5.2 just installed and massively updated with yum -update command. Than I tried to configure firewall. After changes via system_config_securitylevel_tui (open ssh, http, ftp, and 3306:TCP ports) iptables service can't start with message
> /sbin/service iptables start
Flushing firewall rules: [OK]
Setting chains to policy ACCEPT: mangle filter nat [OK]
Unloading iptables modules: [OK]
Applying iptables firewall rules: iptables-restore v1.3.5: Couldn't load match `TCP':/lib64/iptables/libipt_TCP.so: cannot open shared object file: No such file or directory
Error occurred at line: 18
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
[FAILED]
I erased the iptables service and installed it again with yum. How can I make this service work?
Just completed the upgrade to 10.04 from 8.04, and ironing out the wrinkles. Since the upgrade, I'm not able to establish a VPN connection to my institute (a problem since outgoing mail REQUIRES a VPN connection) The pull down menu shows the connection as an option, but clicking on it brings up a separate window that simply says "The VPN connection CfA failed because the VPN Service failed to start." Never had this issue under Hardy, so not sure what's going on. Under "Configure VPN" the settings look the same as they always did.
I got this error for two days.back then I googled this error and i got some information about log file in /var/log/syslog but i couldn't find it in google at all. this is all i got from syslog . look at the red paragraph
i am using RHEL5 at VirtualBox,at the time of installation i did create two partition one for / and another for swap.Now my /var directory is taking too much space and i decided to create a new partition with required size and mount that partition to /var.Now http service wont start and i did not reboot yet.
I have installed CentOS 5.5 final on VM ware 7.0 workstation.... and I was trying to install and configure bind9.. it installed alright but it refused to start because named.conf is not in the /etc/ directory. I have copied the template for /usr/share/doc/named/* to (/etc/ and /var/named/) the appropriate directory but it still fails but on it does not gives me any error message. Oh... least I forgot I was trying to configure it as a cache only server for now.
system: centos 5.5 Kernel 2.6.18-194.el5 freshly installed. bind is configured in chroot environment out of the box. placed named.conf in /var/named/chroot/etc and my zone files in /var/named/chroot/var/named.
i am currently trying to install vsFTP onto my new linux server and btw i just started using linux today this is my first time using linux so i got the ftp installed good it got downloaded and everything then i went to open a port for my server for vsFTP i used this comand to open it "-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT" then i closed it by pressing ESC then :wq! and it brought me back to my comand line again so now when i try to start the ip table thing with the comand "service iptables start" then when i execute that comand putty respondes with this "Applying iptables firewall rules: iptables-restore: line 1 failed [FAILED]"
I am facing a strange problem witht my iptables as there are some firewall entries stored somewhere which is displaying the below firewall entries even after flushing the iptables & when I restart the iptables service then the firewall entries are again shown in my iptables as shown below,
I am in the task of migrating old linux to new linux which centos 5.5. while moving out all apps ,data etc.I need to configure SSL in apache.I have installed mod_ssl with apache 2.2. i went though some docs to configure with certificate that I have . Not sure how to start the service in 2.2. The apache/SSL was configured in my old server which apachectl. SO after importing certificatr , I do ./apachectl startssl to take in effect. In my new server , the http service is /etc/init.d/httpd, not sure how to start SSL service in centos 5.5.
I've just compiled and installed some software (coova-chilli). I usually control this as a service so immediately after install I tried service chilli start I got the following error:
Starting chilli: which: no start-stop-daemon in (/sbin:/usr/sbin:/bin:/usr/bin)
If i run which chilli I get: /sbin/chilli I've tried 'updatedb' and a reboot but no luck. I remember a few months ago I was playing with chilli before and I this was happening. I had to run a simple command to update something or other and it fixed the issue. Of course, I can't remember what that command was.
Ok, so I have installed apache 22, mysql5.0 and proftpd1.3. When I reboot my server, the above applications do not start up automatically, and I have been trying to figure out how with out much success. know that I need to make some changes inside the init.d directory on my CentOS Server.I am running CentOS 5.4 x86_64 build.I really am not sure how to accomplish the task or where to start.
i meet problem on named service, i want to configure my DNS with bind...after i /etc/init.d/named statusThis shows :"rndc: connect failed: 127.0.0.1#953: connection refusednamed is stopped"
This is my first use of Ubuntu, but I have previous decent experience on Centos & Mandriva. I've just installed Natty 11.04 on a box that was running a mandriva 2010 - and the network is acting quite strange. When I define a static IP for eth0 through the gui, along with route & dns, it sort of works: ssh is fine, vnc too. However, I have an asterisk running on the box, and it is wild: some packets get lost in the box.
An ngrep shows the packets reaching the interface, but they dont show in asterisk !!! I've done a ufw disable, iptables is empty (why cant I service iptable restart btw ?). ip route list show decent routes (eth0 default); When I switch to DHCP, it is better, but unstable... If i plug a wifi usb stick, it seems to be better... Is there some known issues that could explain this behaviour ? The nic is a: Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller
I am unable start network service on my centos box. /etc/init.d/network start device eth0 does not seem to be present, delaying initialization lspci | grep Ethernet
Doesn't show any results. It seems os doesn't identify my NIC. I am using compaq presario model pc
I install openswan on rhel6 and when i execute the command "service ipsec start "
it say: /usr/libexec/ipsec/addconn Non-fips mode set in /proc/sys/crypto/fips_enabled /usr/libexec/ipsec/addconn Non-fips mode set in /proc/sys/crypto/fips_enabled ipsec_setup: Openswan IPsec apparently already active, start aborted
I used samba on FedoraCore2 before...and now i cannot config the same on FC10. I cannot start the service smb ( /etc/init.d/smb restart or service smb restart ) those commands dont work. How can i do to config samba service.
I have installed squid 2.7 in my red hat Linux box.I need some guidance regarding to start and stop squid service. Normally when squid configuration file is n /etc/squid/squid.conf and we want to start the service we use # service squid startand to stop the service we use# service squid stopNow squid is inCode:# /usr/local/squid/etc/squid.confhere the default # service squid start and # service squid stop does not work.
I have recently installed CentOS onto an old machine to get it up and running as a basic web/mail server. Originally the Network Interface worked ok, however I have been editing /etc/sysconfig/network-scripts/ifcfg-eth0 to try and set the IP address to be static.Now when I run the 'service network restart' command it won't bring the eth0 interface up and comes up with the following errors;
ifcfg-eth0 Line 3 DEVICE: command not found missing config file ifcfg-ifcfg-eth0
It doesn't seem to like any of the command words, even though most of these were in the original file that worked and the ones I added to do static I have commented out.
I've been using Kubuntu Lucid on a Compaq tc4200 for nearly a month now. Suddenly today I logged into my machine and found that I couldn't connect to anything, Internet, LAN, router, nothing!Upon further investigation, I found that networking services weren't turned on at all!I tried manually starting the network service using
Code: sudo service networking start sudo /etc/init.d/networking start
I got CentOS 5.4 with LAMP. Installed Plesk, tried to configure it, and then error - Quote:Unable to restart Named: dnsmng failed: dnsmng failed: dnsmng: Service /etc/init.d/named failed to restart
i installed freeradius 2.1.3 on fedora 10 and want to use it with ieee802.1x using peap. when i run command to start radius service in debug mode the following output come
Im having an issue after I install likewise-open it works fine until i restart the machine the lsassd service won't start for any reason and it's status is dead. Any one run into this issue before?
Before to describe my problem I want to say that I searched a lot on the internet and I think I tried all the solutions provided by other users to similar problems.
I've got an IBM xSeries 346 server running CentOS 5.5 with all updates applied with yum.
The video card is an ATI Radeon (lspci says: 01:06.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]).
Everything worked fine until a bad day where there was an environmental power failure and the server crashed.
I turned it on, I manually check the file system, some files went lost and after the reboot the X server didn't start.
After the first boot I had problem with /etc/rc.d/rc.sysinit, sbin/multipath.static and /dev/cpu/microcode, I solved them and now the message it shows is:
"Failed to start the X server (your graphical interface) It is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem?"
I choose OK and it appears an empty log, if I go in /var/log/gdm and I do an ls -al:
total 0 -rw-r--r-- 1 root root 0 Oct 28 04:44 :0.log.4 -rw-r--r-- 1 root root 0 Oct 28 04:44 :0.log.3 -rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log.2 -rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log.1 -rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log
So a lot of empty log files.
I press enter on the OK that appears at the bottom of the screen and it says: Would you like to try to configure the X server?
I choose Yes, I enter the root password and appears the following messages:
Couldn't start X server on card 0 Couldn't start X server with old config, trying with a fresh configuration
Then another messages:
Trying to restart the X server, I press enter on OK and it loops the initial message ("Failed to start the X server...)