Ubuntu :: Iptables-restore Server Does Not Restore At Boot?

Jan 27, 2010

what could this bei saved my correct iptables file @ Code: /etc/iptables.up.ruleswhere webmin is looking for it.webmin config is to automaticly boot this file and addes a line at.

Code:
/etc/network/interfaces
file

[code]...

View 4 Replies


ADVERTISEMENT

Fedora Servers :: Unable To Restore My Iptables From Iptables-save After Upgrading

Nov 26, 2010

I am unable to restore my iptables from iptables-save after upgrading Fedora. I cannot get iptables-restore to work, and I have resorted to entering rules manually using the GUI.

View 2 Replies View Related

Fedora :: IPtables Creates An Error During Startup - Applying Firewall Rules: Iptables-restore: Line 21 Failed

Jul 17, 2010

IPtables creates an error during startup as well as when I try to restart it: Here's the output of:

[Code]....

View 11 Replies View Related

Ubuntu :: Restore Point System Restore To As It Was Newly Installed?

May 7, 2011

are there any sweeper / cleaner apps which can take back my installation as to when it was new. I know home directory could have config files etc..but that doesnt matter, i want all packages and applications reset to how it was when i had a clean install. I am using Natty

View 2 Replies View Related

Networking :: Iptables-restore Command Operates Atomically?

Oct 19, 2010

Anyone know if the iptables-restore command operates atomically? I want to make sure that the entirety of in-kernel iptables are switched over to those specified in the input to iptables-restore, all at once, with no intervening emptiness, incompleteness, or mixing with prior table. The man page doesn't say about this.

View 3 Replies View Related

Ubuntu Security :: Failing On The First Command When Run Iptables-restore < File Location

May 4, 2010

I'm setting up a server with Jaunty Jackalope version. I'm trying to test setting up a basic iptables rules... No matter which command I put in, it is failing on the first command when I run iptables-restore < file location (the first rule always fails). I'm doing this on the root user and first typing in the iptables rules in a test file. I've tried the first command starting with % sudo, iptables and -A. All have the same result. I've also tried letting the HTTP rule be first with the same result.

[Code]...

View 2 Replies View Related

Debian Configuration :: How To Restore Iptables To Default Installation Values

May 9, 2010

After resetting a pc running lenny I get iptables errors at boot ("resource temporarily unavailable", "bad rule" etc). "setting up firewall" (Guarddog) is not followed by any errors and the firewall apparently operates ok.How can I restore my iptables to the default installation values?

View 2 Replies View Related

Fedora Networking :: IPTables Restore Script - Output Hangs

Jun 21, 2011

I have a config script for a particular software package that does...
iptables-restore < /etc/sysconfig/iptables > /tmp/firewall.log 2>&1
The problem is, the output hangs after this. If the user hits a return, the rest of the output comes to the screen and the script finishes normally. But the script looks like its hung because of this odd iptables-restore behavior.

View 1 Replies View Related

Ubuntu :: Restore "Show Desktop" Button / Restore It To Default?

Jan 5, 2011

i was follow a tutorial how to change show desktop to minimize all windows

can any body help me how to restore it to default ?

View 3 Replies View Related

Ubuntu :: How To Restore Boot Images

Mar 31, 2011

I am a fairly experienced ubuntu/linux user. But i can't seem to fix my current system, and i really dont want to reinstall as of all custom software i use.My main goal was resizing my / paritition with gparted. THe tutorial said to remove the boot partition (200 MB EXT4) and remove the SWAP, and then resize the partition. THis all worked out well. After booting a live CD i reinstalled grub. Try to boot and it drops me to the grub shell.I tried several things, like reinstalling grub. But this is not the problem. The problem is my /boot only contains a grub directory. No bootimages or configfiles whatsover.Is there a way to restore these like redownloading an image or putting in a apt-get command to download a new config?

View 7 Replies View Related

Ubuntu :: How To Restore Grub Boot Loader

Jun 29, 2010

I installed Mandriva today, but it got rid of my GRUB boot loader. So I need to know how to fix this, I have Ubuntu 10.04 installed, but am currently running the Live CD from 9.10 to get me online.

View 5 Replies View Related

Ubuntu :: Dual Boot - How To Restore Rehash?

Jul 24, 2010

There are way too many answers from archives on this so I decided to ask it again to maybe remove the confusion, for me and others. I had Vista and Ubuntu as dual boot, something ate my Vista doc settings folder (probably me). I want to reinstall it. It won't because of the set up in the grub I guess. I am not a serious Linux command line person but do follow directions well. Is there some somewhat easy way for me to restore my Vista?

I am aware of Win 7 etc. I have a Dell laptop so want to use the Dell restore CD. I am not alone in this. I run into people all over with a similar problem.

View 2 Replies View Related

Ubuntu :: Restore The Windows Boot Menu?

Apr 6, 2011

So I have been trying for the past 24 hours to get Ubuntu installed on my primarily Windows 7 PC, along with the BackTrack Linux OS, so I can explore things dealing with security a bit more, I decided to Dual Boot into Ubuntu and VMware BackTrack for the obvious reason of I am dealing with Viruses/Hacking and such and would rather do that in a safe environment. So after getting Ubuntu installed and working I now have the Grub boot menu along with 5 options 2 for Ubuntu, 2 that slipped my mind, & 1 for Windows (Loader).

My question is, is there any simple way to get the boot menu for Windows back with it just listing "Ubuntu & Windows 7" as two separate options. Sorry for the small level of incompetence its been about 3 years since I was in school getting constantly refreshed with all the info. EDIT: I should probably mention that if I had just done the install on a new HDD instead of an partitioned external I wouldn't of had a problem.

View 5 Replies View Related

General :: Restore System To Boot With KDE?

Jun 12, 2010

I have had Kubuntu installed for quite some time, I very rarely use it because of my dependanacy on windows but frequently boot up Kubuntu to do updates.A few days ago, I tried to boot Kubuntu and it comes up in command line only, I login but it stays at the command line, no KDE.On the boot list I have Ubuntu 2.6.32-21-generic.I have gotten used to using KDE and now I need to use Linux but am not command line fluent.

View 10 Replies View Related

Ubuntu :: Backup And Restore A Triple-boot System?

Jun 14, 2010

best/simplest way to back up my triple-boot machine, which has Karmic 32-bit, Karmic 64-bit and Windows 7 (64-bit) installed on 3 equal slices of the internal 1TB disk. There are a total of 6 partitions (1 primary+1 logical partition each for the two Karmic, and 2 primary partitions for Win7), and I would like to back it up on an external disk such that the whole system can be restored as-is by writing over the disk. I guess this means correctly backing up data+partition table+MBR, and I would also prefer backing up only the used portion of the disk (rather than creating a 1TB mostly empty image file).

To my knowledge the only way to reliably do this is with "dd" command, but I have never used it ("fsarchiver" seems to be the next best option, but it cannot back up MBR yet; and "partimage" does not have ext4 support). As described here and here, I should run the following commands from a live boot:

1) To back up entire data in compressed format (using 1MB read block to speed up the process):

dd if=/dev/sda bs=1MB | gzip > /backup/image.gz

2) To back up MBR+partition table (stored within the first 512 bytes of the disk):
dd if=/dev/sda bs=512 count=1 of=/backup/image.mbr

3) To restore data:

gzip -dc /backup/image.gz | dd of=/dev/sda

4) To restore MBR+partition table:

dd if=/backup/image.mbr of=/dev/sda

View 8 Replies View Related

Ubuntu :: No Option For Dual Boot After Windows MBR Restore

Feb 28, 2011

Here's the short version of what happened

--Had windows 7 and installed Ubuntu dual boot

--all was well but after some messing around with a failed Backtrack install I had to repartition some things to clean it up

--The partition where Backtrack was installed was corrupt so I deleted it and extended my Ubuntu partition.

--reload got the no such partition rescue grub

--read threw a bunch of forums and could only seem to find mostly threads on only being able to load Ubuntu and not Windows. Most having to do with post OS install problems and not re partitioning.

--I decided the best thread to follow was [url]

--after that my memory of events is a bit fuzzy, a lot was going on. In short I got a message in the terminal saying "this is a BAD idea" and something about another MBR. (sorry I cant be more specific)

--reading on I decided I would try my windows bootloader restore

--now windows loads up fine but it doesn't even give me an option to boot Ubuntu. I launched a live CD and checked GParted. The partition is still there.

Sorry if this is threaded somewhere already, I know that annoying. I'm just burnt out on combing forums and broke down and decided to ask directly

View 5 Replies View Related

OpenSUSE Install :: Can't Boot After System Restore?

Apr 28, 2011

I had a triple OS xp 7 and Linux Open SUSE 11.4 the last one was the active partition.the grup boot loader used to provide a OS selection screen .any way , I cant boot my system after restoring a full disk image created by "Acronis TrueImage program" , what happens is that i get a BIOS message "there is no operating system insert disk and try again"however when i set winxp partation as active i can boot winxp againThere is some thing I'd like to ask for please ,when i install Linux : did it install grup boot loader on the master boot record or on the boot sector of the / partition ?

View 4 Replies View Related

General :: Restore RHEL 5 At Boot Time?

Aug 12, 2010

I am running RHEL 5 on Vmware Workstation. That is i inslled Vmware Workstation on windows 7 and then in Vmware i installed RHEL 5 as a virtal machine. By mistake i made some wrong entry in my /etc/fstab file that is i was trying to automatically mount one folder under another folder. My syntax was wrong. So when i restart my RHEL 5 , at the boot time due to wrong entry in /etc/fstab system is giving file system error as follows:

Checking filesystems
fsck.ext3: Unable to resolve 'LABEL=/home/download'
fsck.ext3: Unable to resolve 'LABEL=/var/ftp/uploads'
[FAILED]
[code]....

View 1 Replies View Related

Ubuntu Networking :: Restore All Files To New Server?

Jun 29, 2010

I'm trying to restore all my files to my new ubuntu server (a netbook actually) and can't! after copying for a few moments the samba shares stop working. in synaptic it says samba 2:3.4.7 as im typing this i realized I was able to copy a few large files when i was starting out so there may be some software added since thats the issue. In my scenario i found that the server does recover after a minute or two. but when copying large files it causes ALL networking to stop. funny that if i go to the server screen it is fine. Ive experienced this connecting with a windows 7 pc and a mac. the server will start responding again in a couple of minutes. when it locks up it locks up ALL networking: cant connect to the webserver, or ssh either when this happens. Just starts working again after 2 minutes. I am unable to sync this with my backup drive unfortunately.

I did some experimenting today and found that I was able to stay connected via ssh for well over an hour with no problems. as soon as I start copying files is when it happens. I use this as a server in a home office so I need to resolve this. for now going to share a drive off my router i guess. have been poring through the logs and reading everything i can on this the last few days.. I switched from network manager to WICD after reading about it online somewhere. that actually did help to apparently reduce the frequency of the issue.

does anyone have any tips? this is a new machine/install of Ubuntu 10.4 LTS desktop version (its just easier than the server version for me even though using as a server). its a new MSI X Slim X320. I bought it as it has the X530 Atom processor which is super efficient and I run this as a solar powered web/file/torrent/app server. In that regard im very pleased with it.

View 5 Replies View Related

Debian Configuration :: Computer Won't Boot After Dd Image Restore

Mar 1, 2016

I have a Debian Jessie 32 bits machine with standard partitions : one EFI, one for the root system and a swap.

I did a dd image backup of it hard drive thinking i would be easy to restore it or clone to another device... but it seems it is not that simple ! My PC won't boot : no bootable drive found !

I did the same once with a 64 bit Debian Jessie which i fixed using an ubuntu live CD with boot-repair, but here with the 32 bits version it doesn't work : it keeps saying i have an EFI incompatible partition and i should use a 64 bits linux...

Note : i boot-repair from a 64 bits ubuntu live cd. Should i use a 32 bits version ? Because i can"t make a 32 bits Debian live CD to boot, usb key won't show up in boot options (32 bits install CD works fine)

I ha read some things and tried some others but nothing works

Grub and EFI are really obscure for me...

How could i fix my debian 32 boot ?

Or how can i properly clone my debian 32 on other PC ? am i missing something using dd ? should i use another tool ?

View 10 Replies View Related

Fedora :: Create Restore Image For Dual Boot?

Dec 28, 2009

I have recently setup a dual boot system that consist of Windows Vista and Fedora 12, I am looking for a solution that will allow me to create an entire restore image for both OS's on an external hard drive. I am looking for something that is easy to use, stable, and free. I have looked at clonezilla and have used Norton ghost 2003 in the past which is not supported with Windows Vista.

View 3 Replies View Related

Fedora :: Restore After Mistakenly Wiping The Boot Partition?

Jan 22, 2010

I did a fresh install of Ubuntu Karmic on a separate partition the other day, and mistakenly formatted the dedicated boot partition. This has left the boot entry in Fedora's fstab incorrect, and - obviously - removed the initrd and vmlinuz images for Fedora from the boot partition. Is there any way to reinstate these? Someone on the Ubuntu forums recommended chrooting into the Fedora partition, but I'm not sure I understand how that works. It's my own stupid fault for formatting the boot partition, but we live and learn!

View 5 Replies View Related

Fedora :: /Boot Folder Deleted - Any Way To Restore Without Reinstall

Dec 1, 2010

My /boot folder is deleted by an unwanted mistake. I'm using F14 x64. I have updated my OS and I also installed more than 2 GB packages and It is very difficult for me to re install Fedora. Is there any way to fix this problem with out re installing Fedora?

View 1 Replies View Related

OpenSUSE Install :: Remove 11.1 From Drive And Restore Boot?

Feb 23, 2010

I have used Ubuntu 8.04 and uprgaded to the new 9.10 both using the gneom desktop. I wanted to work with KDE and SUSE so I bought the Linux Format magazine with the DVD 126 which had SUSE 11.1 with the KDE desk top. I have a Toshiba L455 laptop and had windows 7 on 110 gb and had ubuntu 8.04 on 50 gb and ubuntu 9.10 ob 48 gb. I had ran the installer and it identified both linux systems and I selected to install SUSE in the space allocated to 8.04. It only boots to suse with the option to select windows. It showes 9.10 mixed with suse. I have not used suse. Is there an uninstall that will allow me to start over with the installation after creating a partition first. How can I get 9.10 to boot or how can I recover data from it.

View 1 Replies View Related

OpenSUSE Install :: Unable To Boot / Restore Grub?

Nov 4, 2010

I was messing with some boot loaders which accidently disabled grub and I was remained with windows 7 boot loader only.How can I restore grub?I am using Opensuse 11.3

View 8 Replies View Related

Fedora :: Can't Launch Restore Partition On Dual Boot?

Mar 10, 2011

Problem concerns HP laptop running XP and Fedora 13 and using Grub2. When installed the grub became the primary bootloader. I have been unable to successfully use any of the common fixes to reload the windows bootloaderWindows install has been unable to reload the windows bootloader. With the grub being primary I cannot access the factory restore partition.Is there a way to disable the grub and force the machine to the restore partition or use a recovery distro to run it? I have tried Knoppix but was unable to access the partition. I am still a linux wbie and understand I may be missing something simple but have yet to resolve the issue and need help. I need to reformat the machine and will run linux from an external usb. At this point all data is backed up and I am open for any options.

I have tried to access the MBR directly but fixing it is beyond my current skill level.Additional details: Initial linux install along-side XP was Mint 9. It completely wiped out the bootloader and failed to install properly. Installed Fedora and it reloaded the grub and fixed the bootloader which allowed the machine to boot and function with both OS's.

View 2 Replies View Related

Software :: Clonezilla - Force Restore Of Boot Loader?

Sep 29, 2010

I'm having a problem figuring out how to clone and restore partitions from images on a test host, ie. I have different Linux and Windows images in sda2 that I need to restore on sda1 to run tests.

Here's a typical scenario:
1. On a brand new hard-disk, create two partitions, one to hold the OS to run tests, and a second to hold Clonezilla images
2. Install XP in sda1
3. Boot with Clonezilla Live, and save sda1 into an image in sda2
4. Install Linux: It installs GRUB as boot loader in the MBR
5. Save Linux into an image in sda2
6. Restore XP: By default, Clonezilla doesn't restore XP's boot loader, and leaves GRUB to boot XP :-/

How can I force Clonezilla to restore the boot loader in the MBR (while leaving the partition table as-is), so that Linux=GRUB and Windows=NTLDR always?

View 3 Replies View Related

Server :: Automating A Restore With Backuppc?

Jan 28, 2011

here is the thing. I've deployed BackupPC in a server at work, and everything is working fine. Now, what I need to do this thing. I have a remote server with a website and a postgres db running. I've been able to set up everything to be backed up using rsync. But I would like to make the same process to restore the backup immediately in a local server trough rsync, that has to be ready just in case of failure of the remote server. What I've tried to do is to run the DumpPostUserCmd, so whenever a dump is performed in the remote server, I can have my local server updated. What I've find out is that when you perform a restore through the web interface, the command that performs it is (using ps ax in the backuppc server):

/usr/bin/ssh -q -x -l root myserver.wheretodotherestore.mydomain /usr/bin/rsync --server --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --relative --ignore-times --recursive . /path/to/restore

So, what I could find out is: /usr/bin/rsync is the command that the process runs in the server where I want to put the restore. Then the options, and finally, source and destination of the restoration. But, as you can see, the source is '.' but I cannot guess where to point that!

View 2 Replies View Related

Server :: How To Restore Dump Command

Sep 7, 2010

I am still new in linux (Redhat) i used dump command to backup the root of the linux server: #dump -0u -f /dev/st0 / the command is achieved. how to restore this dump.

View 2 Replies View Related

Server :: How To Restore The /lib/libc.so.6 Link

Oct 27, 2010

I've been working with out servers for the past several years. We have a mix of OS. Fedora, Ubuntu, RHEL, etc. I've accidentally trashed the libc.so.6 link and now nothing but shell commands work.

I tried to echo "/lib/libc-2.10.2.so into the /etc/sestatus.conf file, but that didn't have any affect. Does anyone know where the search path is maintained besides PATH so I can try to point the apps to the /lib/libc-2.10.2.so file? I have a bunch of SVN repos on this server and right now, no one has access.

View 3 Replies View Related







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