CentOS 5 Networking :: IP Tables Comment Module Causes COMMIT Fail?
Feb 12, 2011IP Tables Comment Module Causes COMMIT Fail
/etc/sysconfig/iptables:
*filter
:CHAIN_X - [0:0]
[code]....
IP Tables Comment Module Causes COMMIT Fail
/etc/sysconfig/iptables:
*filter
:CHAIN_X - [0:0]
[code]....
I'm encountering a known problem with IPtables. I set up rules and apply them, restarting firewall, then I get this message:
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: raw nat mangle filter [ OK ]
Applying iptables firewall rules: [ OK ]
Loading iptables additional modules: ip_conntrack_ftp ip_conntrack_netbios_ns [FAILED]
I m new to setup the CVS in linux , i have tried lots but every time whenever i try to commit the change in module or file this error has been generated : cvs [commit aborted]: 'root' is not allowed to commit files.
View 1 Replies View RelatedI am using apache2 with subversion and trying to get post commit script to run an svn update command. All svn commands seem to work fine manually
Everything used to work fine but then the server ip changed and I can no longer access it with the web name and have to use the ip directly
I am using tortoise svn with vista on my work machine
Here is the script
#!/bin/sh
export LC_CTYPE=en_US.UTF-8
/usr/bin/svn update /home/common/webroot/bob
Here is the result.
Command: Commit
Modified: C:UsersMattDesktopcheckout - bobindex.php
Sending content: C:UsersMattDesktopcheckout - bobindex.php
Completed: At revision: 63
Error: post-commit hook failed (exit code 1) with output:
code....
I think what i need to do is update the certifcate for the apache2, but I'm not sure how to do this, where to put it, and then which of the thousand apache config lines needs to be changed
I have installed the astercc box it is running by centos 5.2 and i want to add some text to the " login page " i dont know how its called but when i start the pc when everything is been loaded it ask for the user and password And in top of it i want add tekst there,
View 5 Replies View Relatedexplain about Apache fail over by using Heartbeat on CentOS 5. i tried it but it is not working.
View 3 Replies View RelatedProblem: computer and graphics card had been running for months without problem. For some reason, last night, things locked up...wouldn't think it's related, but happened when I noticed I was locked out of creating new folders on my usb attached My Book storage drive. So, from terminal I tried to sudo change permissions to read/write. Everything locked up. Now, every time I reboot it states needing to use low graphics mode "Screen, graphics card, and input device settings could not be detected correctly."
When I check the error log I see: "(EE) Failed to initialize the NVIDIA kernel module.."(EE) NVIDIA(0): ***Aborting* Screens found but none have a usable configuration. Fatal Server Error - no screens found"
If I try to then start in safe low graphics mode or restart X, I get the Ubuntu splash screen with the 5 dots that turn red to show progress...but nothing ever happens. I can switch to VT 1, login at command line, and type "startx" and then the graphical desktop loads just fine. Video playback, etc. is perfect and fine - not in low graphics mode at all. System seems totally normal.
However, I have to go through these steps each time I reboot. Also, I noticed that when I try to boot from Ubuntu Live CD I can't. I get as far as picking English as a language, then screen goes blank and goes to power saving mode (no signal being sent). This greatly concerns me as even though I have a work around for now - getting to command line then startx'ing - if I ever needed to reinstall from the CD, it seems I can't.
Some info on my pc:Running 10.04 on Compaq Presario SR1950NX AMD 64 GeForce 6150 LE/PCI/SSE2/3DNow! <- believe built onto motherboard on what I can do to fix? Is this a sign that something is wrong with my video card?
You piece of advice will be very useful for me! How to execute "ALTER TABLE" for a lot of tables in database? I'm going to change engine from MyISAM to NDBCLUSTER. There are several hundreds of tables in database.Command like ALTER TABLE * ENGINE=NDBCLUSTER
View 1 Replies View RelatedI'm using virtual network (NAT network) for my domU.When I change dom0's firewall setup, the domU will fail to connect to Internet anymore.So far, the only way to bring the network back is reboot dom0 !I try to restart service network and libvirtd on dom0 ... it doesn't work.How can I bring the domU network back without reboot dom0 ?
View 1 Replies View RelatedSince my Asus WL-3300 seems to be having trouble, I bought a USB adapter -- a Linksys WUSB54G ver 4. Version 4 was apparently important because it came with a Ralink 2570 chip -- and that's supposed to work with Linux (which is why I chose it).I think it will work because, without loading any drivers, Net Manager can see the local routers (about seven of them). But when I choose mine, though it asks for a WEP key, it never connects. I'm not sure now what driver is loading that *almost* works with it. But I think I may still need to load the driver from: URl...But when you read the page it says that the driver has entered the "Mainline Kernel" -- and I'm wondering if that is why the adaptor almost works.So the questions:
1) Without a driver, should this Ralink 2570 be working at all?
2) How do I find what driver *is* loading?
3) Modprobe doesn't seem to be able to find any rt25x00 module, is this right -- or is there some other name I should be looking for?
iwlink scan, ifconfig, etc., all see the adapter as wlan0.lsusb shows the adapter.I'm going to keep searching, but wrote this in case there is something really simple that I'm overlooking.
How do I find out which package (rpm) contains the ipg (network driver) module?
View 1 Replies View RelatedWhen trying to commit or get status from a mercurial repository on a mounted NTFS filesystem i get the following error:
Code:
/usr/lib/pymodules/python2.6/mercurial/lock.py:71: DeprecationWarning: use lock.release instead of del locklocker = self.testlock()
I found a couple of person who had the same problem but i can't find a solution.
When I try to load the Realtek 8187 modules to kernel using the ./wlan1up command, I get the following error:
[root@localhost rtl8187_linux_26.1025.0328.2007]# ./wlan1up
insmod: error inserting 'ieee80211_crypt-rtl.ko': -1 File exists
[code]...
Can someone tell me how to correct the "Invalid module format"? I hope that correcting the "Invalid module format" error, I will not have the "Unknown symbol in module" error.
Note: I am using wlan1 for this module as I previously am online with the wlan0 network.The same error occurs if I use ./wlan0up.
I have 2 routers both with 5 network cards (both different subnets). On both machines I have the following configuration: Eth0 is the internet conection, Eth1 is the conection to the other router and the other network cards are for the subnets.My current Ip tables script allows all the subnets of one router to see each other but not the subnets of the other router.
In the new situation I want not all but specific subnets to see each other (no problem here)The issue is that some of theese subnets are subnets of the other router. For example the subnet of eth2 router1 should be able to connect to eth 3 on router2. This is were eth1 comes in play. My plan was to configure iptables so that in above example eht2 would be forwarded to eth1, which will forward to eth1 on router2.Then the iptables configuration on router2 will forward it to the network card of the correct subnet.
eth2 (router1) -> eth1 (router1)
eth1 (router1) -> eth1 (router2)
eth1 (router2 -> eth3 (router2)
[code]....
We have one linux machine in the office which happens to be an important firewall. I just know the basics and need to make one changeEssentially it is forward mysql traffic to another internal machine.This is the original rule (forward to 192.20.0.17) which is working
Code:
$IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 3306 -j allowed
$IPTABLES -t nat -A PREROUTING -p TCP -i $INET_IFACE -d $STATIC_IP --dport 3306 -j DNAT -
[code]....
I would like to open some port from IN to OUT pop3,smtp.whenever i tried to add some rules to existing iptables it gives me an error.Applying iptables firewall rules: iptables-restore: line 21 failed
View 7 Replies View Relatedi have an AP set up and would like to have all requests for a website sent to a specific ip address.. and am trying to get this to work in IP tables
user-->AP-->google.com
no matter what site they try to goto it takes them to [URL] i want to use this to require people to login to my server when they connect to my AP before they can go any further.
Where and how can edit Linux routing table?
View 4 Replies View RelatedI have a machine with 3 internet facing nics, all of which have static IP's. The IP's are all in the same subnet, and use the same default gateway.Using ip tables and rules, will I be able to make all three of these able to handle traffic?I have the following configured, but it doesn't appear to work:
# ip rule
0:from all lookup local
500:from 72.43.220.146/29 lookup 1
[code].....
Could someone please explain what does "BGP default / metro / full tables" means?I have to sign a contract with my ISP for BGP peering, and I have to choose between those three BGP tables... What does that mean? If I choose only metro, will my IP class (the one I'm gonna route through my ISP) have access to the whole internet or will I be stuck in the ISPs metropolitan network?
View 7 Replies View RelatedI have Centos5.4 loaded on a late 2008 MACBOOK Pro and would like to get wireless working. I've attempted to download the broadcom driver and create a driver module with no luck.
Using these instructions....
[url]
When I make the WLAN driver, I get this:
I have some problem installing ASM Software (LANDesk) a BMC module on server ACER ALTOS G330MK2 with centos 5.3 totally updated. Could someone help me to understand wich is the problem ?
INFO:Installation is being performed on the RedHat Linux distribution.
DEBUG:distro:RedHat
DEBUG:Import of rpm-python code successful
INFO:bash is installed with version 3.2
[Code]...
I would like to enable XML-RPC module on my dedicated server with CentOs 2.2-3.2.el5 hosted on 1and1 server. How do I enable this module? What are the procedures?
View 1 Replies View RelatedI'm running some tests with RPM's.
In what case an RPM upgrade will fail (failed dependencies error message)?
For example, I have mysql 5.1.33 installed.
If I run code...
I've been trying to find an answer to the following problem : whenever my PC is put in Suspend/Hibernate mode, it fails to recover when pushing the power button. This happens both with automatic suspend or manual suspend. I've been reading this problem, and mine is quite similar, but no solution is given.
uname -rmi
2.6.18-194.11.4.el5 x86_64 x86_64
PS: this computer is not connected to Internet, no update possible.
I am using CentOS 5 Both a production server and VM CentOS get this problem.When issue:
# /etc/rc.d/init.d/haldaemon start
Starting HAL daemon: [FAILED]
I had been testing the this link Raid Setup
I can do this in the installation phase, no issue, but I have to know how to make it in a production server.
I follow, read and test the article 3 times without any success, went I try to boot my machine with the raid disk it show error about that cannot find my root "/dev/root"
mount: could not find filesystem '/dev/root'
...
setuproot : moving /dev failed: no such fie or directory
no fstab.sys
[Code]....
But I still don't know what I have done wrong, this is my 3rd time that I try this without any luck, I'm running Centos 5.3 updated. Both disk are the same size.
I have just downloaded and installed the latest version that I know of, Centos 5.4. I initially selected all of the packages and the installations crashed. Since I am installing it on a private network I couldn't save the info. I tried deselecting the packages until finially figuring out the 'extras' was the problem. I deselected that and the installation went fine. What's on the extra's? Part of the error message was something to do with a Python. I have been trying to use Cobbler, is that part of the 'Extras'.
View 1 Replies View RelatedI see that mod_proxy_html is not part of the standard repo - what's the best of installing/getting that module on CentOS?
View 5 Replies View RelatedI have tried building the minimal & desktop Centos 5 live CDs to no avail.Depending on the build environment, they either do not build at all (Centos 5, i386) or they build but kernel panic when I boot them (Fedora 12).I've tried various tweaks to the provided kickstart files but I have not had any success.It is important to note that I have written some very impressive (according to others) Fedora kickstart builds so I am at a loss why the stock Centos files fail.
Can anyone point me in the right direction?I suspect it has something to do with the livecd-tools or syslinux versions but all of the versions I have tried it with make no difference.