General :: Can't Login After "accidentally Overzealous" Cleanup

Jun 9, 2011

I'm new here, hope to not be obnoxious... I've been using linux systems for a long time (work in science), but have only minimal experience as administrator. And today, following insomnia, I found myself typing (as root):

Code: yum remove `package-cleanup --leaves` I am not usually quite so stupid... (I had intended to upgrade from fedora 12 to 15) But now I can't login at all (either as the normal user or root), though the machine seems to boot properly. Currently I'm using a live distro on a usb key. Can this be undone?

View 1 Replies


ADVERTISEMENT

Software :: Gotten A Bit Overzealous And Now File System Is Getting A Bit Full?

Aug 5, 2011

okay, I've gotten a bit overzealous and now my file system is getting a bit full. I found some candidates that may need to move out, just, are they still needed elsewhere?I'd use Quote:pacman -Sr simgear...but what is that stuff is needed elsewhere?

View 2 Replies View Related

Ubuntu Security :: Desktop Is Just Blank After Accidentally Deleted Login.keyring

Jun 2, 2011

Following bad instructions too fast to reset the default keyring password I deleted the file .gnome2/login.keyring ! I can still login and get to a terminal and do instructions from there. I can also still login with root and a guest account. But my desktop is just blank and I can't, even as a root, access my files.

View 5 Replies View Related

General :: Syslog Format - Cleanup Code Starts

Oct 6, 2009

I am using vsyslog() function in my application to write logs to syslog. I could see the logs in /var/log/syslog as follows.

Oct 6 11:25:23 machine application [4544]: cleanup code starts

What is this number [4544] stands for?

View 2 Replies View Related

Ubuntu Installation :: App Cleanup And 10.04 Will Not Boot

Aug 26, 2011

I have installed Ubuntu 10.04 on a Dell Inspiron 1300 laptop. After installing many apps and finding I didn't need some, I did some cleanup. I must've cleaned too much because now Ubuntu won't boot. On boot, I see the Ubuntu logo with the five dots under it. The dots change color as if something is in progress, but it won''t get beyond that. I am relatively new to Ubuntu and I want to stay with it because it's an excellent system. I have worked extensively with Unix in the past but not with a GUI front-end.

View 1 Replies View Related

General :: Unmounted Filesystems Accidentally

Jul 5, 2011

I accidentally unmounted filesystems using umount -a command.How to recover from this.

View 4 Replies View Related

Red Hat :: LVM Cleanup Process - Two RAID Arrays On Storage

Jan 3, 2010

I am in a situation where I am stuck with a LVM cleanup process. Although I know a lot about AIX LVM , but this is first time I am working with Linux LVM2. Problem is that I created two RAID arrays on storage, which appeared as mpath0 & mpath1 devices (multipath) on RHEL. I created logical volumes and volume groups and every thing was fine till I decided to clean the storage arrays and ran following script:

#!/bin/sh
cat /scripts/numbers | while read numbers
do
lvremove -f /dev/vg$numbers/lv_vg$numbers
vgremove -f vg$numbers
pvremove -f /dev/mapper/mpath$numbersp1
done

Please note that numbers was a file in same directory, having numbers 1 and 2 in separate line. Scripts worked well and i was able to delete definitions properly (however I now think I missed one parted command to remove the partition definition from mpath device. When I created three new arrays, I got devices from mpath2 to mpath5 on linux and then I created vg0 to vg2. By mistake, I ran above script again for cleanup purpose and now I got following error message

Cant remove physical volume /dev/mapper/mpath2p1 of volume group vg0 without ff[/B]

Now after doing mind search, I now realize that I have messed up (particularly because mpath devices did not map in sequence to vg devices and mapping was like mpath2 --- to ---- vg0 and onwards). Now how I can cleanup the lvm definitions? should i go for pvremove -ff flag or investigate further? I am not concerned about data, I just want to cleanup these pv/vg/lv/mpath definations so that lvm can be cleaned up properly and I can start over with new raid arrays from storage?

View 1 Replies View Related

CentOS 5 :: How To Cleanup Root File System

Jan 31, 2010

I have a problem that is probably simple, but have not yet found the answer on any forums or by Googling. First my system specs:Tyan 2610 motherboard w/ 2 x PIII 9334 gig PC133 SDRAM
1 x 5 gig hd (system)4 x 500 gig hds w/ 3Ware 7500 controller set to RAID 5, (1.5 TB) mounted as /homeCentOS 5.3 running my smb and nfs mountsMy problem is that I have run out of space on my / (root) file system, (the 5 gig). Since I am planing to rebuild my file server with larger hard drives, (2 x's 60 gig SATA's set to RAID 1, 6 x's 1.5 TB at RAID 5), within the next 2 months, I would like to try to clean out any unneeded crap rather than adding a hard drive and expanding my root file system. I have done the following:

Removed old unused kernels
cleaned up /var/log/
cleaned up /tmp

[code]....

View 8 Replies View Related

General :: Accidentally Wrote Over The Wrong Partition?

Mar 17, 2011

When doing an install of Linux Mint, I accidentally installed on a partition that already had data on it, so now that partition has a clean install of Mint instead of the data that was there before.I was hoping that I could at least recover some of the data from this partition, so my questions would be what, if anything, could I recover, and how would I go about doing that?

View 2 Replies View Related

General :: Accidentally Deleted The Swap : Won't Start?

Nov 20, 2010

I have a dual boot system - vista & fedora.I was cleaning my hard disk drive, using a partition manager for windows.I moved the swap partition without much thinking about the consequences - and now I can't boot into fedora. It gives the following error mount: error mounting /dev/root on /sysroot as ext3 No such file or directory.

View 6 Replies View Related

Ubuntu :: Lost Boot Option After Windows Cleanup?

Jul 29, 2010

A Microsoft anti virus program (Security Essentials) cleaned out a bunch of problems in Windows XP and now I don't have the double boot option any more. What do I change to get Ubuntu option back? OH, I also had to do a checkpoint restore prior to that but it was after I had installed Ubunto (I think). Which leads me to ask....how do I identify the Ubuntu disk space I allocated at install time? I can't seem to find it.

View 9 Replies View Related

Ubuntu :: Sda1 Full, Cleanup Commands Not Working

Oct 25, 2010

I have had the same problem of /dev/sda1 becoming full and have been able to fix it with the commands:

sudo apt-get clean
sudo apt-get autoremove
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade

But this time I am still unable to free significant space. Here is the output of various commands.

df -h
/dev/sda1 5.6G 5.4G 0 100% /
varrun 498M 108K 498M 1% /var/run
varlock 498M 0 498M 0% /var/lock
udev 498M 76K 498M 1% /dev

[Code].....

View 1 Replies View Related

Ubuntu :: Cleanup Script Which Will Clean All Trash Folders

Dec 20, 2010

its basically a cleanup script which will clean all my trash folders..

n run
apt-get clean
apt-get autoclean
apt-get autoremove..

how can i do so?

View 9 Replies View Related

Ubuntu Networking :: No Internet Access After Security Cleanup?

May 17, 2011

i installed many security programs as a switching from windows guy and decided to get rid of them last night. I uninstalledgufw, clamav(and all based packages), firestarterusing synapticbefore i rebooted the system the internet was well and working. but after i rebooted i had no internet access;firefox couldn't retrieve, update manager and apt-get couldn't connect.the computer knows it's connected to the router i see the connection established sign but I can't even connect to the router by typing "192.168.2.1".the computer can ping itself(127.0.0.1) but can't ping itself in the network (the dhcp address is 192.168.2.3) and replies "operation denied" or something like that.I rebooted using live-cd and connected with no problems; the my internet connection is fineany thoughts will be appreciated P.S.: I did a fast check on the forums and couldn't find anything related; i didn't check thoroughly though.

View 4 Replies View Related

Software :: Test / Cleanup Program For Ubuntu System?

Apr 9, 2010

Have Ubuntu & it was working well, but has become slow, 'greys out' on me regularly - eg. pic loses colour & nothing will respond for a few or more seconds. Also 'Ubuntu Software Centre' & "Synaptic' thingy come up with errors, saying can't install or uninstall progs. Although it seems they may do it OK despite saying they can't. Have Computer Janitor installed, but this is no longer working at all. So... is there a program or such that I can use to test/clean out the system?? For that matter, is there a program for testing hardware, as I'm not sure if it's an indication of unhealthy hard drive or such?

View 1 Replies View Related

Ubuntu :: Tar: Var/spool/postfix/public/cleanup: Socket Ignored

Jan 21, 2010

Is there an alternate tar package for Ubuntu that supports sockets and such? I know there is in Slackware, which I use when I'm doing stuff on Slackware.

View 2 Replies View Related

General :: Recover /opt/local/bin Folder That Accidentally Deleted?

Apr 2, 2010

I'm running Mac OS X 10.5.8. I was recently uninstalling mysql5 from /opt/local/bin.I typed:rm -rf /opt/local/bin mysql*instead ofrm -rf /opt/local/bin/mysql*This deleted my entire /opt/local/bin directory which puts me in a bit of a bind.Is there any way to recover those files? If not, I have a friend that is using a similar set of programs, would it be possible to use the contents of his folderIf I end up needing to reinstall everything in this folder, what is the best way to go about doing this?

View 2 Replies View Related

General :: Apache - Recover File That Is Accidentally Removed?

Jul 2, 2010

I have accidentally removed my apache2 startup file /etc/init.d/apache2 using rm /etc/init.d/apache2 command.

How can I get that back?

View 5 Replies View Related

General :: Accidentally Upgrade To Ubuntu Development Branch

Aug 24, 2010

I inadvertently upgrade to Ubuntu 10.10 developmental while trying to upgrade to Ubuntu 10.04.1. Can anyone can in downgrading back to a stable release without having to reformat everything?

View 4 Replies View Related

General :: Inittab - Accidentally Changed Runlevel To 0 ( Halt )?

May 10, 2011

How do I recover from accidentally set the runlevel to 0?

View 5 Replies View Related

Fedora Servers :: Package-cleanup Showing 13 Orphans That Are Still In Repo?

Mar 24, 2009

I recently upgraded two servers to F10 from F9 and one of them is having an issue where package-cleanup is showing 13 packages which are incorrectly orphaned (no longer in the repo). Has anyone seen this before and know how to resolve this? Is it simply because the packages are listed in the repo as "fc10" vs "fc9"?

[root@athena ~]# package-cleanup --orphans
Setting up yum
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* updates: mirror.cogentco.com
* fedora: mirror.cogentco.com

[Code]...

View 7 Replies View Related

Fedora :: Cleanup Installed Packages - Running Of Disk Space?

Nov 25, 2010

Is there an easy way to see what packages use the most disk space? I am running of disk space and need to cleanup.

View 1 Replies View Related

Ubuntu :: Tool Similar To Windows Defrag - Disk Cleanup?

Jul 8, 2011

Does Ubuntu have any tool similar to Windows defrag or disk cleanup that cleans up your hard disk and clears up some space?

View 4 Replies View Related

General :: Accidentally Replaced The Partition Table Using GParted In UBUNTU

May 20, 2010

This machine has UBUNTU & wINDOWS XP. I'm currently logged into UBUNTU. I was just checking the features of GParted and accidentally clicked Device > Create Partition Table. A default MS-DOS partition table is created. Now if I re-start the Gparted there is nothing. Its showing entire disk as UNALLOCATED space.

Lucky thing is All the drives (C:, D:, E:) are currently mounted and I'm in UBUNTU. I guess its possible to re-create the partition table using current status. how to do this. This is a lab computer. If its not recoverable. I'm completely screwed!

View 3 Replies View Related

General :: Accidentally Moved Desktop Folder Ingo /usr/local/bin?

Jun 28, 2011

I ran mv -n /desktop /user/local/bin and as a result everything on my desktop is gone. I tried the opposite mv -n /user/local/bin /desktop in the hopes of undoing it but now only one of those directories will exist at one time. What should I do? How badly did I screw things up?

View 3 Replies View Related

General :: Install OpenBSD 4.6 On My PC And Accidentally Overwrote My Boot Partition ?

Jan 15, 2010

I was gonna install OpenBSD 4.6 on my PC and I accidentally overwrote my boot partition.

Initially my partition table looked something like this:

Quote:

This doesn't look like a partition table

Probably you selected the wrong device.

Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

That's what my partition table looks like according to fdisk. So I'm wondering how I'd go about recovering /dev/sda3 (what /dev/sda3 was before I blew it up).

View 4 Replies View Related

General :: Accidentally Type Concatenate Large File On Remote System

May 6, 2010

Every once in a while on a computer I'm ssh'd into, I will accidentally type "cat largefile.txt" and my screen will start rushing with text for the next 10 minutes. I'm always working in a screen session, so my current solution is to just log out and then log back in, and since it can go 100X faster when I'm logged out, it'll finish in the short time it takes me to type my password in again. Is there a better way? Either involving the fact I'm in a screen session? Or a way to do this within SSH? What doesn't work: detaching from the screen session (doesn't respond until file is done outputting) trying command to move to a different window in the screen session (also doesn't respond) typing ctrl+C to kill cat command (also doesn't respond, probably because the command is done and the buffers just have to catch up).

View 3 Replies View Related

Fedora Installation :: What To Do After "package-cleanup --orphans"

Jun 13, 2011

[root@clarice ~]# package-cleanup --orphans I got this: Loaded plugins: langpacks, presto, refresh-packagekit

[Code]....

then I tried: yum remove device-mapper-1.02.63-2.fc14.i686 and got 387 packages with many fc15 items I said "N" to yum...obviously

View 6 Replies View Related

OpenSUSE Install :: 11.4 Local Install Doesn't Cleanup?

May 21, 2011

Installed 11.4 on friend's Vista box in multiboot. Inserted the DVD while running Vista, got the option to install locally from w/in Windows, thought "I've never done it this way before, why not?"Part way thru the install setup, the system froze, power button time.On reboot, got a grub-like DOS looking screen with a title bar that says "Windows Boot Manager" -- the screen gives the choice ofWindows VistaopenSUSE 11.4 installer (local)I chose the 11.4 install, and everything worked ok, the system is now up and running.However, upon each boot, I first get the normal grub screen; if 11.4 is chosen, no probs, but when Windows is chosen, I get the same Windows Boot Manager dos screen as above, asking which OS you want, Windows or openSUSE 11.4 installer.

Would like to eliminate the Windows Boot Manager screen.Aside 1: I assume the openSUSE folder in Windows C is expendable?Aside 2: Both 11.4 installs I have done so far have resulted in the Iggy splash screen being vertically fragmented. No big problem with that, just wondering if it's a sign of other trouble?

View 6 Replies View Related

General :: Login - Doesn't Give Me Any Option To Enter My Login Name And Password

Jan 1, 2011

I have no idea what happened to my OS(ubuntu10.04).it doesn't give me any option to enter my login name & passwd.i just get a blank(default) login screen.last time when it worked,i was trying to install GTK+2.8,but due to my mistake i deleted glib using cmd (sudo apt-get purge glib)and after that i even tried to launch terminal but it failed to launch.also tried to play media files using vlc but it didn't work.so i tried to restart my os and finally got stuck in the problem.i have no idea what to do,please help.Is there any cmd to see what problem occurred or which package is missing.

View 14 Replies View Related







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