Can't Initialize Iptables Table
On my new unmanaged VPS i keep getting mass emails sent to me saying -
iptables v1.2.11: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Im a bit of a n00b when it comes to unmanaged servers, just wondering if anyone knows whats wrong and how to fix.
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Iptables Don't Start
root@xxxx[~]# service iptables status Firewall is stopped. root@xxxx[~]# service iptables start Flushing firewall rules: [ OK ] Setting chains to policy ACCEPT: filter [ OK ] Unloading iptables modules: [ OK ] root@xxxx[~]# service iptables status Firewall is stopped. why not iptables don't start ?
View Replies!
View Related
Iptables Firewall On: Can't Receive Emails
after turning on the iptables firewall i can't receive emails anymore on a dedicated centos 5.3 server with postfix and dovecot. with iptables firewall turned off everythin works fine. following is the /etc/sysconfig/iptables # Firewall configuration written by system-config-securitylevel # Manual customization of this file is not recommended. *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :RH-Firewall-1-INPUT - [0:0] -A INPUT -j RH-Firewall-1-INPUT -A FORWARD -j RH-Firewall-1-INPUT -A RH-Firewall-1-INPUT -i lo -j ACCEPT -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT -A RH-Firewall-1-INPUT -p 50 -j ACCEPT -A RH-Firewall-1-INPUT -p 51 -j ACCEPT # -A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT -A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 53 -j ACCEPT # ************ tried doing this first ************ #-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 110 -j ACCEPT --syn #-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 25 -j ACCEPT --syn #-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 143 -j ACCEPT --syn # ************ tried doing this too ************ -A INPUT -p tcp -s 0/0 --sport 1024:65535 -d 72.233.54.234 --dport 25 -m state --state NEW,ESTABLISHED -j ACCEPT -A OUTPUT -p tcp -s 72.233.54.234 --sport 25 -d 0/0 --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT -A OUTPUT -p tcp -s 72.233.54.234 --sport 1024:65535 -d 0/0 --dport 25 -m state --state NEW,ESTABLISHED -j ACCEPT -A INPUT -p tcp -s 0/0 --sport 25 -d 72.233.54.234 --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited COMMIT as you can see here i have tried opening ports 110, 25, 143 earlier. still did not work.
View Replies!
View Related
What's The Maximum Number Of Rules For Iptables?
I use APF and APF is working with iptables , when I define a large number of IPs in deny_hosts.rules or allow_hosts.rules and restart the APF , iptables begins to display errors after applying some number of rules , I have set SET_TRIM="0" in APF , so the number of APF rules is unlimited and the error is from iptables. Is there any setting in iptables config files for maximum number of rules? Is it unlimited and depends only on system available memory? O/S , ...?
View Replies!
View Related
Failcnt Error #422: Cannot Initialize Connection To Remote Host
my site is working fine for somedays and suddenly its stoped and hanged and also my PPP is not working , and file manager in PPP its give me this error VZAgent returns error #422: "Cannot initialize connection to remote host" and the suppord admin said I have problem in failcnt [root@server ~]# cat /proc/user_beancounters Version: 2.5 uid resource held maxheld barrier limit failcnt 1592: kmemsize 18353610 18355203 65536000 65536000 0 lockedpages 0 0 256 256 0 privvmpages 166455 171964 262144 262144 119810 shmpages 4885 4885 131072 131072 0 dummy 0 0 2147483647 2147483647 0 numproc 150 150 600 600 0 physpages 101554 108439 0 2147483647 0 vmguarpages 0 0 196608 196608 0 oomguarpages 101554 108439 196608 196608 0 numtcpsock 141 141 600 600 0 numflock 7 8 300 330 0 numpty 1 1 16 16 0 numsiginfo 0 1 384 384 0 tcpsndbuf 2350036 2625064 32768000 36864000 0 tcprcvbuf 2310144 2129920 32768000 36864000 0 othersockbuf 32976 573000 32768000 36864000 0 dgramrcvbuf 0 4284 1024000 1024000 0 numothersock 32 32 600 600 0 dcachesize 642510 653661 8192000 8192000 0 numfile 2636 2663 20000 20000 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 numiptent 228 228 700 700 0 I want to know what is my ram site and why that all errors?
View Replies!
View Related
Invalid Command 'php_flag' - After Recompiling PHP & Apache?
After I recompiled Apache and PHP using easyapache from cPanel, we started getting all these weird errors. I'm getting a few people now complaining about not being able to enable register_globals. I believe (after searching) that having this enabled is a big security risk and shouldn't need to be used. However, some people apparently where using .haccess and php_flag to enable this. I did find on a few places that people can create their own php.ini file to emulate what was previously done with .htaccess? After searching around.. I found out that Register Globals can become a security risk based on the scripts configuration that uses it. This feature normally can be enabled via .htaccess using the glad "php_flag register_globals On". Creating a file called php.ini inside the directory of the site with the flag "register_globals=on" I believe will also enable this option. To enable this option on a global scale, you can edit '/usr/local/cpanel/3rdparty/etc/php.ini', but its not recommended. However.. We are unable to get the php.ini concept to work. Is there something I need to do to enable/allow users to do this for their account?
View Replies!
View Related
Any 'easy' Smtp / Pop / Imap Package Or Installer W/o Having To Read Up On Exim Etc.?
any 'easy' smtp / pop / imap package or installer w/o having to read up on exim etc.? I want an email server quickly, w/o having to become an expert... I'd go w/ a hosted service, but I open allot of pop3 connections... (program I use downloads one email, closes connection, reopens... repeat)... There's lots of cookbooks out there, but they require quite a bit more time commitment (and configurability) than I want / need. Is there any dumbified installs available? I tried with webmin, but even that wants me to manually configure a postfix / imap server bridge.=
View Replies!
View Related
Qmail - I'm Afraid I Wasn't Able To Deliver Your Message
Basically a client has been getting really bad email problems with their email. They keep getting the standard qmail msg back from several emails. I originally thought this msg was being returned as it was an invalid receipients address, but they are assuring me that this is not the case? Anyway the basic msg they are getting is: Hi. This is the qmail-send program at p16489287.pureserver.info. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out ....
View Replies!
View Related
BoxVPS = Useless | STAY AWAY From This 'company'
URL: http://www.boxvps.com Their recent promotion thread: http://www.webhostingtalk.com/showthread.php?t=889733 Extremely non-professional service. Took them 48 hours to setup my VPS. Also had to create a support ticket. And when it was finally delivered, there was no DirectAdmin on it. Specially disturbing, since I actually paid for a monthly license. Not to mention that their responses are very vague. They claim to apply the promotions (triple disk space, double bandwidth) 24 hours after they setup the VPS. I have no idea why they do that. Moreover, they have false advertising on their VPS page (Instant Activation..where it should read 'We don't activate your VPS unless you create a support ticket). A speedtest from the VPS showed that the VPS is capable of bursting to a maximum of 10mbps, while average speed is barely 2mbps. Stay away from these guys. They're potential scammers. They WILL scam.. sooner or later.
View Replies!
View Related
Looking For Host That Supports $_SERVER['PATH_INFO']
I am finishing up on my clients site and the ecommerce software we use has an option for search engine friendly URL's but your server must support $_SERVER['PATH_INFO'] . My client is hosted by GoDaddy and my host (HostGator) does not support it unless you go dedicated. I need $_SERVER['PATH_INFO'] Dedicated IP, PHP, MySQL, .htaccess support preferably CPanel - not Plesk Less than $120 / year I am looking for a well established company like the ones I previously mentioned because my client wants peace of mind and I don't want to screw him over.
View Replies!
View Related
What Is The Reverse Command For 'mount --bind'
A few days ago, when installing TUX, I have mounted the virtual hosting directory to var/www/html/mywebsite.com (that's an empty directory I created in order for TUX to work) via: mount --bind /home/virtual/site1/fst/var/www/html/ /var/www/html/mywebsite.com/ command..... After figuring out that TUX has some problems I reverted everything but not this mount --bind command.. What is the reverse command for this, so everything will come back to the point which they were before?
View Replies!
View Related
Cloud Hosting - To Me A 'Blackbox'
Cloud hosting is still a 'blackbox' to me ... hope anyone can answer me. I have 5 questions to start the discussion with. What is cloud hosting? Is it cheaper than (shared/dedicated/semi-dedicated) server hosting? Is it secure? How many SSL license I need to purchase if I host my website (one website) in cloud? Which cloud hosting you recommend and why?
View Replies!
View Related
After Flush+zero Iptables, Will A New Iptables Ban Work
I execute the following commands, in the following order: iptables --flush iptables --zero iptables -A INPUT -s 218.65.12.161 -j DROP will that last command successfully ban that IP until reboot? If not, what needs to be done? I can't access my site if I don't flush + zero iptables first but I need to be able to ban with iptables.
View Replies!
View Related
Attachment Table
I have a site running on vps and the attachment table got crashed , I am unable to repair it : thesymbi_vb.attachment error : Not enough memory for blob at 605100 (need 6315809) warning : Number of rows changed from 4 to 3081 status : OK This is result of repairing from WHM, how to repair it?
View Replies!
View Related
Table Marked As Crashed.
I have a table that is showing MySQL Error: 145 (Table './dollarpt_ptc/flinks' is marked as crashed and should be repaired) I've repaired it via mysqlcheck --repair --all-databases that didn't work. I've tried find /var/lib/mysql/* -name *MYI |xargs myisamchk -o -r as well with no luck. I then dropped the table and I still get the message. I know it's using the correct database, so any help would be appreciated. It's like there is a table where this data is kept, but I've looked and can't find anything.
View Replies!
View Related
How To Run OPTIMIZE TABLE
Today i need to run "OPTIMIZE TABLE" from MySQLTuner recommendation. Now i don't know how to run it ? I try to put in SQL Query via phpmyadmin and: SQL query: OPTIMIZE TABLE MySQL said: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
View Replies!
View Related
MySQL Table Crashed
Table '231_message' is marked as crashed and should be repaired I haven't ever had this happen, is all my data truely lost or can i 'repair' it i was moving sites to a different server (VPS -> dedicated) and on the vps i have a max of 20gb storage, well as i was using the cpanel transfer it filled this up because it didnt have a warning about this (i dont accept blame ) either way it seemed at this time someone on my site tried to make an adjustment to the table and it crashed it since there wasnt room? i really need to get this fixed asap so I can properly move this site with a working database
View Replies!
View Related
Full BGP Table
Can i expect a 7204VXR NPE-300 router with 256Meg to hold a full BGP table? Would it be possible to hold to full BGP tables (multihoming) with a NPE-400 with 512Meg?
View Replies!
View Related
My.cnf Have Delete The Table
i have update my.cnf with the following configuration and now i have a lor of customer that have lost him table, seem that this configuration have delete in random .Myi files, i would put this my.cnf also on others server but i would undestand which setting in this .cnf make problem for the table. [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock skip-locking skip-innodb #skip-networking safe-show-database query_cache_limit=1M query_cache_size=96M ## 32MB for every 1GB of RAM query_cache_type=1 max_user_connections=200 max_connections=500 interactive_timeout=10 wait_timeout=20 connect_timeout=20 thread_cache_size=128 key_buffer=384M ## 128MB for every 1GB of RAM join_buffer=1M max_connect_errors=20 max_allowed_packet=16M table_cache=1024 record_buffer=1M sort_buffer_size=3M ## 1MB for every 1GB of RAM read_buffer_size=3M ## 1MB for every 1GB of RAM read_rnd_buffer_size=3M ## 1MB for every 1GB of RAM thread_concurrency=2 ## Number of CPUs x 2 myisam_sort_buffer_size=64M server-id=1 log_slow_queries=/var/log/mysql-slow-queries.log long_query_time=2 collation-server=latin1_general_ci [mysql.server] user=mysql #basedir=/var/lib [safe_mysqld] err-log=/var/log/mysqld.log pid-file=/var/lib/mysql/mysql.pid open_files_limit=8192 [mysqldump] quick max_allowed_packet=16M [mysql] no-auto-rehash #safe-updates [isamchk] key_buffer=64M sort_buffer=64M read_buffer=16M write_buffer=16M [myisamchk] key_buffer=64M sort_buffer=64M read_buffer=16M write_buffer=16M [mysqlhotcopy] interactive-timeout
View Replies!
View Related
Optimizing Large MySQL Table
I optimized a mysql table of 2 million records and about 500MB.. it took about 15 minutes.. However, on the same DB now i have another huge table of 88 million records, it size is 2.2 GB and it has about 30 MB to optimize... my questions.. 1.- How can I speed up the optimization process so it can take the less possible time? any tweaks to my.cnf? 2.- Should I repair it using phpmyadmin or just from the shell? 3.- Should I stop http traffic during this optimization? This is a dedicated db mysql server that handles a large VB forum with 5-8 users online average: Code: Intel Xeon 3.2 x4 procs, 32 bits, 4 GB ram /etc/my.cnf Code: [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock skip-locking skip-innodb skip-bdb query_cache_limit=1M query_cache_size=48M query_cache_type=1 max_connections=1200 interactive_timeout=100 wait_timeout=300 connect_timeout=10 thread_cache_size=128 key_buffer=48M join_buffer=8M max_allowed_packet=16M table_cache=2036 sort_buffer_size=1M read_buffer_size=1M read_rnd_buffer_size=2M max_connect_errors=10 # Try number of CPU's*2 for thread_concurrency thread_concurrency=4 myisam_sort_buffer_size=64M # Add max_heap_table_size = 48M tmp_table_size = 48M low_priority_updates=1 concurrent_insert=2 [mysqldump] quick max_allowed_packet=16M [mysql.server] user=mysql #basedir=/var/lib [mysqld_safe] err-log=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid log-slow-queries=/var/log/slow-queries.log On the other side, i have the same hardware for the webserver..
View Replies!
View Related
Disk Doesn't Contain A Valid Partition Table
I am unable to mount the 2nd disk's extended partition. Please help. Commands I tried and returns.... Quote: mount -t ext2 /dev/hdd2 /second mount: wrong fs type, bad option, bad superblock on /dev/hdd2, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so Quote: mount -t ext3 /dev/hdd2 /second mount: wrong fs type, bad option, bad superblock on /dev/hdd2, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so Also I tried to add it to /etc/fstab but it says the same error, Disk /dev/hdd2 doesn't contain a valid partition table... I am able to mount /dev/hdd1 successfully.
View Replies!
View Related
How To Alter Tabel And Create Table In Mysql
I have a script and there are some modifications that I want to make In the instructions it says ALTER TABLE and CREATE TABLE in myqsl but I dont know exactly how to do this. I have tried to google but everything i find is very technical and doesnt explain the easiest way to do it. Should I use phpmyadmin or whats the correct way?
View Replies!
View Related
Mysql: Incorrect Key File For Table
I have a server with many db on mysql 5 Any db contains 5 table with data This data is processed by routine Many time routine die with the error: "Incorrect key file for table '/var/tmp/#sql_3018_0.MYI'; try to repair it" The table sql_3018_0.MYI not exist, think that this is refered to a temporary table but is deleted by process..
View Replies!
View Related
Internal Server Error - When Reading Table
In the forum [url]suddenly we got Internal Server Error. Our host claims it is because of corrupted database accorind the logs: 081128 11:44:38 [ERROR] Got error 126 when reading table './lykman_clubcento/lykman11_members' Repairing the database from cpanel didnt work. Old available backups are not available.
View Replies!
View Related
MYSQL Incorrect Key File For Table
what I can do about the following database error in mysql? Incorrect key file for table '/tmp/#sql_(number of table.MYI); try to repair it I've repaired, optimized and checked the database in phpmyadmin. Initially 2 tables were showing overhead, but the error message is for a temp table and I'm not sure how to try to repair a temp table.
View Replies!
View Related
Ip_conntrack: Table Full, Dropping Packet
ip_conntrack: table full, dropping packet What does that error mean? It's related to iptables right? When I do this cat /proc/sys/net/ipv4/ip_conntrack_max, I get 65536 I increased it 131072 Because someone recommended me this number because I have 4gb of RAM. But I still get the table full errors or host kernel: printk: 500 messages suppressed What should I do? Should I keep increasing the number? How do I know how much I can increase it by?
View Replies!
View Related
Nf_conntrack: Table Full, Dropping Packet
I have 2 identical boxes with FC6 and the same settings and almost the same amount of traffic. Kernel is 2.6.20-1.2925.fc6 SMP One is running without problem. The other become slow after few days and from errors I get this message: nf_conntrack: table full, dropping packet The table do not clean up automatically as reboot solve the problem. How to flush nt_conntrack table without reboot? The limit is 65536, setting it double seems to solve the problem but I'm not sure it is the way to go.
View Replies!
View Related
Raid Disk Partition Errorc :: Warning: Invalid Flag 0x0000 Of Partition Table
I have a disk in raid, but it seems raid is not working correctly. I took it out, and plug into another server without raid. However, fdisk shows error Quote: #fdisk /dev/sdb device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. The number of cylinders for this disk is set to 20023. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): Should I correct the partition table now, or should I put it in another raid for checking?
View Replies!
View Related
What If You Can't FTP Into A Site?
i've got a client who gave me their PW and ID to log into their servers. But for whatever reason, i can't seem to login despite them giving me the right PW and ID. I want to know if there are other possible reasons for not being able to login via my FTP client [which is filezilla]?
View Replies!
View Related
Can't Post With @ Symbol
I am running on a VPS system, and I have some auction software and I run Vbulletin as well.. When someone trys to do a Private MEssage via Vbulletin using anything with the @ in it.. Like an e-mail address. And hit submit, it says " /private.php access is denied. But it also does it when I post news in the auction site. Which leads me to believe their is something screwed up with one of the server settings.. But I dont know what?
View Replies!
View Related
Don't Use Bluehost
So when you got a website for a service and it says "$6 per month for 3 years" would you take that as they charge you monthly, $6? Well Bluehost doesn't. They charged me $250 and I didn't realize what they were doing until the charge went through. I called within 24 hours and spoke to billing. I cancelled the entire service. She said it was only a "hold" on my account and she would make the hold credit me back and it would be done within a few hours and that I would receive an email from her confirming. Well, I got another confirmation email NOT a we are cancelling the service email. Then, one $250 charge dropped off... AND TWO MORE APPEARED. In one of the confirmation emails they sent there was an email address for the help desk. So I emailed this to them. I am not speaking to them on the phone. I want it in writing this time. Two seconds after I sent the email I got an auto response telling me they don't read the email and I must formally put in a ticket. I didn't think I would be able to since my account was supposed to be cancelled. Well, it did let me log in. She didn't cancel it and if she did she went and put it back in again twice. DON'T BUY ANYTHING FROM THESE PEOPLE.
View Replies!
View Related
Diss'd By Ipowerweb
After 3 and 1/2 years of using an ipowerweb shared server for my site, they have decided to no longer provide the needed PHP extensions. They no longer have these extensions enabled. dom dom-xslt dom-exslt xslt xslt-sablot swf gd jpeg png xpm ming imap kerberos mbstring mbstr-enc-trans mbregex mcrypt safe-mode I don't need the language extensions, but without the encryption and image extensions my site is "broken" and I was hoping to use more XML this winter. I am looking for another LAMP host with these extensions enabled.
View Replies!
View Related
What's Bandwidth Worth?
So I run a small music forum site. We used to have the ability for our users to download music track sets. We had over 100 files that are generally around 80MB and the users could add more so our space requirements would increase over time. We initially set this up with dreamhost.com (unlimited bandwidth/space) but they eventually asked us to stop using the space as a data repository and wanted to charge $1 per GB transferred (which at that time was about $100-120/month). The Problem: This is something our users want and would probably pay for. I'm sort of asking for advice on how to approach this problem. Need to figure out how we could set this up and what to charge the users for downloading the music files (price per file, monthly plans, etc). Considering we want to keep it cheap enough that users will pay and the hosting costs would probably rise with the demand and exposure of the program. What sort of hosts should I be looking for?
View Replies!
View Related
Downloading And Streaming.... Use's Up The Same Mb?
I have a friend who we were debating about this. He says he called up the internet company and upgraded his monthly plan to 60 gig or downloading a month, because he loves watching steaming videos(not youtube) im talking about actual movies. They told him if he downloaded a 700mb movie or if he watched the exact same movie it would use up 700mb So according to them downloading or streaming uses the same mb. I found this hard to believe. But i have no wa of proving it. What is the answer?
View Replies!
View Related
VLAN Routed IP's
So I have a bunch of IP's that are routed a VLAN a bunch of machines are on which is great. They can be put on any machine, but the problem right now is it is taking up to 4 hours for them to route from one machine to another (I am doing it one IP at a time not by blocks) The process of adding and removing ip's is being done through cPanel's WHM. The reasoning for this is due to ARP on the router for the specific IP. This is a big issue if you're looking to migrate IP's from one machine to another that contain customers this is a long wait. Now from the datacenter I was told you're going to need to wait the 4 hours for the refresh. Now what's strange is I was also told virtuozo apparently can swap ip's to other boxes without issues because it apparently it has a mechanism in place to release the ip's from the router/switch by communicating to it so the old arp is gone. I also asked someone using OpenVZ and they said theirs was instant as well to swap between boxes. So is there a special command I should be issueing to get the router/switch to drop the IP instantly? Or any suggestions on how to get this to be more instant than ~4 hours for an IP to route to the correct machine.
View Replies!
View Related
OpenVZ - HN Can't Ping VE
I'm running my own OpenVZ server with a few VPS's running on it and have a small network issue. I can't ping any VE from the HN. All the other networking is working ok (strangely I can ping the HN from the VE) apart from this. It's a simple setup with one network card connected to the internet. OpenVZ the latest stable version running on CentOS 5.2 I'm pretty sure it's not a firewall problem but is something to do with arp or routing and one of the settings in sysctl.conf Has anyone else seen this?
View Replies!
View Related
|