Keeping Iptables Data And Restore In The Event Of A Crash

May 24, 2007

way to monitor traffioc usage by IP address on WHT a while ago.

Well finally I have managed to do it!

Here is what is displays...

PHP Code:

1201K  962M            all  --  *      *       0.0.0.0/0            0.0.0.0/0
54545   41M fws-client1  all  --  *      *       0.0.0.0/0            192.168.2.6
 507K  295M fws-client2  all  --  *      *       0.0.0.0/0            192.168.2.10
 1015  824K fws-client3  all  --  *      *       0.0.0.0/0            192.168.2.14
    0     0 fws-client4  all  --  *      *       0.0.0.0/0            192.168.2.18
    0     0 fws-client5  all  --  *      *       0.0.0.0/0            192.168.2.22
66616   58M fws-client1  all  --  *      *       192.168.2.6          0.0.0.0/0
 571K  568M fws-client2  all  --  *      *       192.168.2.10         0.0.0.0/0
  905  126K fws-client3  all  --  *      *       192.168.2.14         0.0.0.0/0
    0     0 fws-client4  all  --  *      *       192.168.2.18         0.0.0.0/0
    0     0 fws-client5  all  --  *      *       192.168.2.22         0.0.0.0/0 

I have just one final question....

In the event of a crash, will all the data that has been accumulated using iptables, be lost?

If so is there a way to store the values in a file, say every 5 mins?

View 4 Replies


ADVERTISEMENT

Server Crash On Big Sql Restore

Aug 15, 2007

I just got a new server the other day, installed cpanel and all my usual stuff in it.

Then I started transferring some accounts off my other server on the same network. It would transfer small accounts ok but I have this one big account,. the sql is like 300 mb. It would get to the restore on it then the server would crash and be totally unresponsive.

It has to be manually rebooted at the datacenter. There is nothing in any logs. At first I thought it was the load getting hi and doing it but I ran the unix bench and got the load to 14 and it didnt hurt it.

It only does this on restoring big sql db. At the dc they say the screen on the console goes blank.

Ive done looked and cant find anything in the box. Its actually the same exact setup I use for my other servers.

So the dc is looking at it today. Has anyone ever ran into a problem like this and if so what was the cause?

View 2 Replies View Related

Plesk 8.1.1 - Restore Settings After Crash

May 16, 2007

I've a question, one of the dedicated servers with CentOS and Plesk 8.1.1 crashed. Critical system files were corrupted so it was impossible to start the server.

What we could do is backup;
/var/www/vhost/*.*
/var/lib/mysql/*.*

We installed a new server with same software (CentOS and Plesk 8.1.1), we placed the backupped directories back, restored the MySql database...

But how can we restore the settings? With putty / commandline we can open all restored databases. But we have a feeling that the PSA database is not connected with the Plesk admin (GUI)...

Our primary question, how do we get our settings back in Plesk (like accounts; clients, domains, dns-records and so on?)

View 1 Replies View Related

Plesk 11.x / Windows :: Event New Subscription Created / Delete On Event Manager

Apr 17, 2014

How can I create new action when new subscription was created/deleted?

View 1 Replies View Related

Iptables-restore: Unable To Initializetable Filter

Aug 13, 2008

I am having problem loading filter rules in my iptables.

I am following this tutorial but am getting this error.

Code:
'ptables-restore v1.3.5: iptables-restore: unable to initializetable 'filter

Error occurred at line: 6
Line#6 says *filter

I am on CentOS and am using iptables 1.3.5

View 13 Replies View Related

Restore Data From HDD Fail

Feb 23, 2008

I have OS fail , now im install new OS on new HDD, how can i mount and get data from fail hdd ?

Here is info:

[root@server-210-245-124-170 ~]# fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1971 15727635 83 Linux
/dev/sda3 1972 3929 15727635 83 Linux
/dev/sda4 3930 30401 212636340 5 Extended
/dev/sda5 3930 9151 41945683+ 83 Linux
/dev/sda6 9152 13067 31455238+ 83 Linux
/dev/sda7 13068 14111 8385898+ 82 Linux swap / Solaris
/dev/sda8 14112 14372 2096451 83 Linux
/dev/sda9 14373 30401 128752911 83 Linux

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 30401 244196001 8e Linux LVM

Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 13 104391 83 Linux
/dev/sdc2 14 30401 244091610 8e Linux LVM
[root@server-210-245-124-170 ~]#

/dev/sdc is old HDD with OS failed. I wanna mount is and all data to /oldroot folder for copy and restore data.

View 10 Replies View Related

Plesk 12.x / Linux :: Want To Restore All Data

Apr 3, 2015

I deleted my databases unconsciously in Parallels Plesk 12 for CentOS.I want to restore all data because it's more important for my activities.Is it possible to restore or others possibilities for my problem ?

View 8 Replies View Related

Server Abuse At Limestonenetwork And Data Restore

Apr 16, 2009

We have server in limestonenetwork for couple months, everything good until several abuse issues to our IP for several times recently. Based on instruction from Ryan A., Abuse Department Manager, I have suspend/terminate the suspected accounts in timely manner, each time there's abuse issue.

But today surprisingly, they terminate our server immediately without prior notification. I fully understand that this is my fault not to watch our hosting client for abuse issues.

I only need to get the data back for several hours so I can move the data to other server. Based on their tos limestonenetworks.com/service_info/tos.html I did not see any about temporary data restore so I think we still have right to get our data back.

question

is it true that I can not have my data back at all based on their tos ? since I can not find this matter mentioned on their tos.

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved