# iptables -t tproxy -n -L iptables v1.3.5: can't initialize iptables table `tproxy': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. Does exist a tproxy module for CentOS's kernel (2.6.18) ?
We purchased a virtual server from GoDaddy (1 month trial) to set up as a proxy for our networks (24 of them). I am having 2 separate issues. The first is I can't configure/install NAT and support is telling me the only way I can is to purchase a dedicated server. Here's the error:
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3128 iptables v1.3.5: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. Here's the fix: [URL] So, what I am hoping to do is configure this by just opening port 3128 directly, and only allowing access from our networks. As a test I did this and allowed only from our office and it did not work. However I can't connect, so I am wondering what I am doing wrong? Here's my squid configuration:
any one are implementing Transparent Cache in bridge mode. after googling i found article but its not working for me. any one have done this before ? [URL]
I need to set up an ip table and a transparent squid proxy as followed: I have 3 machine: Machine 1 works as a squid proxy. It has 2 interface eth1 and eth2.
eth1: 192.168.99.2 (Connect to eth1 of machine 2) eth2: 192.168.98.2 (Connect to eth1 of machine 3)
machine 2 works as a webserver eth1: 192.168.99.4 machine 3 works as a web client. eth1: 192.168.98.4
my responsibility is to send all tcp traffic from machine 3 at port 80 to my squid proxy. In order to fulfill the tasks, I have edited the squid.conf as followed: Code: http_access allow localnet http_access allow localhost and in machine 1, I tried 2 ip tables command: Code: iptables -t nat -A PREROUTING -i eth2 -p tcp --dport 80 -j DNAT --to 192.168.99.2:80 iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 80 I don't know if it is right or wrong.
To expand: I'm trying to set up a box with l7-filter, and I need to patch and compile iptables 1.4.1.1 as part of the process. I ./configured it with the prefix= argument so it would install into /sbin instead of /usr/sbin, and I did a yum remove iptables before installing it so as not to get in the way of the original iptables, but I'm wondering if this is really necessary - it's kind of annoying, because removing the original iptables removes the init.d script, deregisters the service, etc. If I don't, is it possible that iptables 1.4.1.1 might get overwritten in a system update or something, or will yum see that I've got a custom/newer version in there and leave it be?
I installed a second hard drive to my CentOS box. In the LVM GUI tool i see the hard drive but the "Initialize Entity" button is grayed out. I am not very familiar with using the LVM tool so i am not sure what to do from here.
Today, I use the vnc tool to connect the server , but it has the following message:
test@xxx: ~ vi ~/.vnc/xxx:1.log libhal.c 644 : Error connecting to system bus: Message did not receive a reply **(gnome-volume-manger:30626):WARING**: manager.c/912:failed to initialize HAL!
The server's os is CentOS 4.7 x86_64, I tried to google for the answer, but had no anything useful information.
I have been beating my head against a wall with this for more than an hour.... I purchased a new Ethernet Card to bump up the other side of my network from 10/100 to Gigabit. I previously had a 3c905c 3com card in there before. the chipset I purchased was a realtek 8169 Gigabit..... I removed the old card and put the new one in. Then I ran netconfig but realized that it was holding onto eth0 with 3com's MAC address, so I went and removed the /etc/sysconfig/network-scripts/ifcfg-eth0 file. did a service network restart no eth0 trying to start - perfect... I reran netconfig and configured eth0 with all it settings "Netconfig Did recognise the Realtek 8169"
I saw device not initalized when doing an ifup eth0 So I lsmod and saw the 3com module still running - removed the module rmmod 3com - and checked for 8169 - not running... modprobe 8169 and then checked.. bingo its running... service network restart - same error r8169 device eth0 does not seem to be present... delaying initialization. ok - eff it - ill reboot It came up same thing - did not expect it to change... checked /etc/modprobe.conf - i see its aliased... Verified all things are running... I really don't know where to turn... Im sure I could just call it eth2 but then im going to be rewriting all my iptables "firewall rules" and im trying to avoid that.... ** yes I know I could just use sed to replace all eth0 with eth2 ** but then im not learning why and what i am missing...
I recently installed CentOS on a really old computer and while most things are running well, I am unable to connect to the internet. Using a Damn Small Linux live CD I am able to connect just fine and was able to see that that 'hp100' was being used as the netcard driver. When I tried to set up the network card using that adapter (HP10/100VG ....) it gives me the following error code...
I have HP ML350 G6 Server with RAID10 enabled on bios While trying to install Centos 5.5 64 bit OS I am getting the error mentioned below. "An Error Occured trying to initialize swap on device cciss/codop3. This problem is serious and the install cannot continue."
I am recently getting a very weird error on my Webmin. The result of this problem I suspect is I am no longer able to log into my Maia Mailguard which is my Spam Viewer.
Quote:[BEGIN failed--compilation aborted at (eval 17) line 1. restarting miniserv [06/Apr/2011:23:34:09 -0400] Restarting [06/Apr/2011:23:34:10 -0400] miniserv.pl started [06/Apr/2011:23:34:10 -0400] Perl module Authen::PAM needed for PAM is not installed : Can't locate Authen/PAM.pm in @INC (@INC contains: /usr/libexec/webmin /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at (eval 17) line 1. BEGIN failed--compilation aborted at (eval 17) line 1. Failed to initialize SSL connection Failed to initialize SSL connection
When I upgraded to CentOS5.2 from 5.1, puplet quit working:
$ sudo /usr/bin/puplet libnotify-Message: Unable to get session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Error: unable to initialize pynotify
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]"
On my old centos 5.2 installation, yesterday my system stopped. The only daemon working was the ping. Every other were not working ( http, svnserver, vncserver, ssh ... ) but yesterday morning everything worked fine! Since the system is headless, I rebooted the computer this morning. Then it never came back. I placed a screen on the computer and when the computer boots, I can see : loading grub stage 2 then I have a black screen with grub>
There is something wrong ... I'm sad because I moved in my new house and did not took the time to restart my backups ( in fact, I did not found the AC adapter for the external drive ) ... I downloaded the brand new centos 5.5 installation DVD and when I try to upgrade my system the installer tells me that the partition on 1 hd is not readable. Then I ignore the message but before getting to the partition manager, it tells me that the partition table for the lvm 00 ( /home ) can not be found and I have to reboot. Since this hard disk is the biggest ( 1tb ) and all of my data is on this one, I'd like to know what I can do to recover this data ?
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
i did make a raid server out of some old hardware and 2 new sata disks.setup is: 15 Gb ide harddisk as hda,a pci serial ata controller, with two equal sata harddisk on it (320 Gb each)did a minimal install of centos 5.3 on this (with a yum update after install).i choose for a raid1 configuration of the serial disks.on the command line fdisk -l gives:hda1 hda2, hda3 (swap), hda4 (extended) and hda5 (logical, data partition).added to thatdev/sda1 linux raid autodetect (the first sata disk)dev/sdb1 linux raid autodetect (the second sata disk).both sata disks only have one folder /raiddiskthe last line of the fdisk -l output gives:/dev/md0the size is as each of the sata's is (320 Gb), the listed heads etc. are not equal to those of sda1 and sdb1 (which are fully equal to each other).
as the utmost 'last line' of the fdisk -l output there is a line stating:"disk /dev/md0 does not contain a valid partition table"when i output the fdisk -l command to a text file (fdisk -l > whattheheck.txt) that last line is not in the text file, so centos seems to print it additionally to what fdisk -l brings up.my concern: what does that last line about md0 mean, and how risky is it to ignore it?(writing to the sata disks seems to be okay, both seem to have the same data on them)
I have an external USB drive, with GPT partition label. The drive is cut up into two ~1.5TB partitions When I plug this into my CentOS 5.5 box, the drive is not detected. Instead, dmesg gives me this:
usb-storage: device found at 7 usb-storage: waiting for device to settle before scanning Vendor: Seagate Model: FA GoFlex Desk Rev: 0155 Type: Direct-Access ANSI SCSI revision: 04 SCSI device sdh: 732566645 4096-byte hdwr sectors (3000593 MB) sdh: Write Protect is off
i need to prepare a presentation for that i have to copy a table from [URL] to my power point slide. but when i am copying it i am just getting a table with single column. is there a method to import the contents from web page table to my presentation table?
New Centos 5.4 64bit install on vmware esx 4, NAT net setup. I can ping/trace other servers on IP, do nslookup's on name..Ping(traceroute on name gets me "distination unreachable", indicating an ICMP issue, so I checked the network setup, all looks like usual.Well, except that my routing table lacks the 127.0.0.0 and 0.0.0.0 def. gw entries, as in this working box example:
192.168.9.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.9.1 0.0.0.0 UG 0 0 0 eth0
FWIW, during install, I did the usual basic firewall steps,including SSH.Tried with/without iptables, no change; no wonder given the lacky routing table. Sure, I can add what's missing to the routing table, but I'd like to know why it's missing; i.e. what I missed on basic setup, as I'm going to repeat this with a nof new installations (replacing SLES).
I just installed a MySQL server but for unknown reason im not able to set a root password. CentOS 5.4 - 2.6.18-164.9.1.el5PAE MySQL Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (i686) using readline 5.1 # yum install -y mysql mysql-server php-mysql # service mysqld start # mysql -u root ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
when I try to send emails to new created emails account, I get this error:
<teste@topdapop.com>: Recipient address rejected: User unknown in virtual mailbox table� And if I try to send a e-mail, the authentication fails if I setup the account at the desktop email client to password requirement on.
But it works when I try it using a webmail client (Horde) and I receive the email.The old emails accounts work fine. The new accounts and old ones were created with Plesk.I find an entry with
Kmail 1.13.2 Problem on startup, error is from nepomuk, data storage. "cannot find Redland backend, nepomuk is disabled until fixed. Also see the following error from the akonadi console:
100503 10:00:15 [Note] Plugin 'ndbcluster' is disabled. 100503 10:00:15 InnoDB: Started; log sequence number 0 31413862 100503 10:00:15 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without
This is the error: Could not initialize the package information An unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the following error message:
'E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf), E:Error occurred while processing libwpeditor-dev (NewFileVer1), E: Problem with MergeList /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_karmic_universe _binary-amd64_Packages, E:The package lists or status file could not be parsed or opened.'
I seem to be having an issue with iptables, every so often the server starts loosing packets and then goes off completley, if I manage to login to ssh I can stop iptables and this resolves the problem, however it keeps doing this. Is it possible to stop anything being added to iptables?
I have just done the upgrade to CentOS 5.4, but it seems that the iptables library libipt_time.so is no longer provided in /lib/iptables in the distribution. The currently installed version is iptables-1.3.5-5.3
I am getting this error message: iptables v1.3.5: Couldn't load match `time':/lib/iptables/libipt_time.so: cannot open shared object file: No such file or directory
Have the -m time components been moved to another library or removed from iptables? How do I stop iptables from trying to load this non-existent library?