General :: /bin Directory Is Deleted After Killed Yum Update Command

Jan 7, 2010

I have a serious problem on my VPS. I ran "yum update" and then hit the Ctrl+C to cancel when I realized that I need to specify a package to update, not all of them, but when the console returned suddenly I lost the connection, when I try to reconnect to the machine, it says /bin/bash not found !! even when I try to issue commands from the VPS control panel, it reports that the commands are not there

I can issue a ticket for the ISP to resolve this, but I need to know the risks before I do this, I have no backup on MySQL and 2 live web applications, although they are still running, I am afraid if I restarted the VPS everything will be gone.

View 7 Replies


ADVERTISEMENT

General :: Deleted /opt Directory From Machine ?

Jun 8, 2010

I deleted /opt directory from my Linux machine , will there be any reboot problem for machine?

View 2 Replies View Related

General :: Recover Deleted Directory In EXT3?

Jul 19, 2011

recover deleted files using "debugfs" & "extundelete" by running:Code:sudo debugfs /dev/sda3
and find inode number of deleted file using "ls -d" command and then running:Code:sudo extundelete /dev/sda3 --restore-file <inode#>but when my desired file was in a deleted folder I can't find my desired file inode number using debugfs

View 1 Replies View Related

General :: Deleted Root Directory - How To Recover System Data

Feb 27, 2010

I have accidentally ended up in deleting my root directory while I blindly fired command while watching movie.

I fired following command
#rm -rf ~/<SPACE>*.out
instead of this command
#rm -rf ~/*.out

Things already done:
1) Created /root directory relogged to get some of basic settings of gnome and Desktop.
2) Things went well now when I login my desktop ,gnome environment and other things looks to be working well only prompt on my terminal has changed. I can fix it any ways.

Things I want to ask:
1) I haven't studied much about contents of /root directory to best of my knowledge is it like other user's home directory with some basic configuration files for mostly required applications. SO my question is have I lost any thing important system file or something?
2) If I have lost any important configuration or system data how can I recover it without reinstalling whole system? (My opinion about this is, It is quite possible but to do so, as far as I know capabilities of linux. But I still want comments from experts before I try any things on it because I don't want to backup my whole HDD and reinstall the whole stuff again for me and also my sister's stuff in MS.)

View 4 Replies View Related

General :: How To Retrieve File Deleted Using RM Command

Dec 2, 2009

How can I retrieve the file in LINUX which I have deleted using 'rm' command .???

View 1 Replies View Related

General :: Use Mkdir Command To Create 'local' Directory In /usr - There Are Error - Cannot Make Directory

Jun 16, 2010

I am a student studying computer science course.

Well, I am facing problem when doing lab questions.

I must use DLXLinux bundled in Bochs (bochs.sourceforge.net).

I am required to use the /usr/local directory.

In /usr directory, there is no directory named 'local' but there is one thing called 'local@'. So, when I try to use mkdir command to create 'local' directory in /usr , there are error "cannot make directory.....".

Look at my screenshot at [url].

View 9 Replies View Related

General :: Ubuntu - Recover A File Deleted Using Rm Command

Jul 9, 2010

How to recover a removed file under linux

Is there any free undelete software for the Mac?

I have accidentally deleted a very-very important file in my Linux (Ubuntu) machine using the command rm.

Is there any way to recover it?

View 6 Replies View Related

General :: Recovery Deleted Folders And Files When Using Rm -rf Command?

Apr 2, 2010

I need to recover some folders and some files from my CentOS 5.3 X86_64 linux machine ext3 partition after I have deteled them with rm -rf command. After I have deleted the files (*.exp extension) and folders with rm -rf command, I have written a big archive 70GB on the same partitions but in a different path. I know that in windows if I do that, there's no way I can bring back the deleted files, 'cause the OS writes the information in the same cluster and therefor I can't bring back the files. I hope you guys understand what am I saying.

what program (that knows all extensions, or dosen't read a specific extension/extensions) can I use in order to get the date back ? I have used foremost and it worked, but this programs knows only specific extensions, like exe, jpg, avi, mpeg, etc and not my *.exp extension. The foremost program worked perfectly, but it dosen't know the *.exp extension that I need, in order to get the data back that has that extension.

View 6 Replies View Related

General :: Find Directory Older Than X And Mv Directory With Sub Files Command?

Jul 13, 2011

I'm quite new to linux but I have configured a simple ftp server and it's working great. I have a FTP-Shared folder with upload and download subfolders. Under upload's and download's I have identical category subfolders like mp3's, movies, software etc. in both. As the guy's upload, I would like to create a line crontab where I can move all the content under /FTP-Shared/upload/mp3/* older than 14 day's to FTP-Shared/downloads/mp3/ recursively (Like in cp command), but the timestamp must be searched on the first directory and not sub files example: /mp3/Club Dance/CD1/Hallo world.mp3This is how far I got:[root@clients ~]# /usr/bin/find /FTP_Shared/upload/Mp3s/ -depth -mindepth 1 -mtime +14 -type d -exec mv -f {} /FTP_Shared/download/Mp3s/ ;This command moves the directory and files, but it is not recursively

View 4 Replies View Related

Fedora :: Yum Update Killed Computer / What To Do?

Jun 10, 2011

I have F15 64 on my laptop, it's been running relatively well, today I decided to do a yum update. There were about 20 updates, nothing major from what I saw, NetworkManger stuff etc. Everything goes well, until the end when I get some error (no I don't recall what it was, yes I should've written it down, and no I don't need a lecture about this) so I manually reboot the computer. And I boot to a black screen, Oh what joy of using Fedora. I edit grub to try and get in with runlevel 3, but encounter an error "Kernel Panic - not syncing: Attempted to kill init" then a few lines down it's "panic occured, switching back to text console /sbin/init:error while loading shared libraries /lib64.libgcc_s.so.1: invalid ELF header"

I'm very frustrated, this comes right on the heels of pre upgrade forcing me to do a complete fresh install of F15. I'm honestly one error away from moving to another distro (Fedora is my first)

View 14 Replies View Related

Ubuntu :: Nvidia Update Killed Gdm?

Jul 19, 2011

I recently updated my Nvidia driver and since don't have a gui. When my pc loads it just gives me a list of the start up commands.

View 3 Replies View Related

OpenSUSE Network :: Kernel Update Killed Net?

Mar 24, 2010

I am experiencing the "slow internet" problem (mentioned multiple times in these forums) but it started exactly when I ran an online update, which switched my boot image from vmlinuz-2.6.31.12-0.1 to vmlinuz-2.6.31.12-0.2. Perhaps a setting somewhere got overridden? When the update occurred, grub couldn't find the OS because it had the wrong version #, and I manually edited it (via a livedisk) and that fixed it; it also switched my vga resolution in the grub conf. OpenSUSE is *acting* like ipv6 is enabled again, but ifconfig doesn't report that, and my MTU is close to 1500.

View 6 Replies View Related

Ubuntu :: Kernel Update Just Killed Fglrx

Jul 24, 2010

A kernel update just killed my ATI graphics driver.

Trying to install proprietary graphics driver fails and points at /var/log/jockey.log

This ends with

Code:

If I can't sort this out I'll have to try rebooting into the old kernel to get the graphics driver back. The dreadfully slow scrolling in the browser is starting.

View 5 Replies View Related

Debian Installation :: LUKS On Root Killed By Apt-get Update

Sep 24, 2015

Root LUKS to be broken by apt-get update? This did happen to me on 3 different laptops, both on previous install (from Debian 8.0), and also on clean installs (Debian 8.1), repeatedly.

When I reboot, grub starts, but then it cannot find the root file system (I end up with the emergency console).

Code: Select allLoading Linux 3.16.0-4-amd64 ...
Loading initial ramdisk ...
Loading, please wait...
[many seconds waiting]
ALERT! /dev/mapper/sda2_crypt does not exists.
modprobe: modprobe ehci-orion not found in modules.dep

This is the most simple, clean, conservative install ever, no closed driver.

But LUKS on the root file system:

Code: Select allone ext4 partition on /boot
one ext4 partition on / (trough LUKS, all defaults)

There is no LVM.

All the 3 laptops killed at different time, when updating. Clean install is fine until the first update.

Booting on the rescue system allows me to see everything.

Code: Select all$ update-grub
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.16.0-4-amd64
Found initrd image: /boot/initrd.img-3.16.0-4-amd64
No volume groups found

How can I recover from this?

View 5 Replies View Related

Debian Configuration :: Squeeze Update Killed KDE4?

May 17, 2010

I updated today and naturally removed the old nVidia driver, compiled it again after a reboot, and then rebooted again for good measure. I can log into KDE4, but all I get is a cursor and a solid black background. I deleted the ~/.kde, ~/.local, and quite a few other directories from my normal user account using the shell so KDE would reconfigure my settings when I logged in again, but it's the same problem. I went into ~/.kde/share/config/kwinrc and added the "Compositing" section with "Enabled=false" to rule out compositing. Now when I log into the system I get the default KDE4 wallpaper and a mouse cursor, but nothing else. I believe the latest update broke KDE4, or am I missing something? I have recreated my xorg.conf as well, and only set it to use the nVidia driver. So what can I do now?

View 3 Replies View Related

Debian Multimedia :: Squeeze Update Killed Cairo

Jun 1, 2010

I have been having problems with Squeeze last day or so, but thought would do all system updates available in hope this would stop the system crashes only to find that upon reboot my dock of choice, Cairo-Dock, which is set to auto start puts a message on screen saying it has no plugins available and that it will not run as a result. And it just won`t run. The update included updates for Cairo Dock and it`s plugins, which it seems have all updated correctly and package manager says every available plugin IS installed as it was before, what I can do to correct this annoying issue?

[Code]....

View 4 Replies View Related

Fedora :: Latest Udev Update Killed System?

Mar 24, 2010

I ran update on my ASUS N51Vf laptop yesterday and among the updates there was one for udev. After installing it udev refuses to start at all saying: "iTCO_wdt: unexpected close, not stopping watchdog". Then I get to login but not for long: after several seconds either system reboots instantly or it hangs shutting down display. Is there any way to rollback udev update somehow considering I can't even login into system?

View 5 Replies View Related

Debian Configuration :: Update Testing Killed Internet Connection?

Jul 5, 2011

AMD 64 Upgrade to testing last night killed my internet connection. The lan works, I can ping the dns server from my IP, however no mail, browser possible. Is something in testing broken again?

View 5 Replies View Related

Ubuntu Networking :: DHCP Update Killed Internet Connection?

Jan 30, 2010

I've been connecting to the Internet via Ubuntu 8.10 on my Toshiba laptop fine for ages now, but today it has stopped working. Yesterday an update came through relating to DHCP and, like all other updates, I installed it. And now my laptop can see the wireless router but it cannot connect to the Internet. (As I always install the recommended Ubuntu updates I didn't look closely at exactly what the update said, but I did see DHCP in the title, so this is why I suspect my connection is now broken.) Or can anyone tell me how to undo yesterday's update? I really wish now that Ubuntu had a utility similar to Windows System Restore.

View 2 Replies View Related

Ubuntu Networking :: Update Killed All Network Con. On Asus 1000h?

Feb 25, 2010

Some data:Attached because on posting I get an error even though there is not a singel image or smiley:You have included 11 images in your message. You are limited to using 8 images so please go back and correct the problem and then continue again. Images include use of smilies, the BB code [img] tag and HTML <img> tags. The use of these is all subject to them being enabled by the administrator.Couldn't upload either it gives invalid file so I resort to Google docs now [URL]

View 9 Replies View Related

Ubuntu :: Latest Kernel Update Killed Toshiba Sound

Jan 27, 2011

The latest Kernel update (2.6.35-25-generic) killed all my sound output on my Toshiba Satellite M115.

I tried reinstalling all ALSA components and plugins. No luck there.

Rebooting into 2.6.35-24-generic fixes the problem, in that my sound works again.

View 9 Replies View Related

OpenSUSE Network :: Latest Kernel Update Killed IPhone Tether?

Nov 23, 2010

I recently updated my kernel and now can no longer tether my iphone to my openSUSE11.3(x64) laptop. Before the update I could tether.Same machine dual boots to Win7-64bit and can tether just fine.I re-installed the libimobile packages, but my linux no longer recognizes the iphone as a network device.t DOES pop-up some boxes asking if I want to play the media, or view the photos on the iPhone - so that part is working

View 1 Replies View Related

General :: Bash Command History Update Before Execution Of Command

Jun 7, 2010

Bash's command history is great, especially it is useful when adding the history -a command to the COMMAND_PROMPT.However, I'm wondering if there is a way to log the commands to a file as soon as the Return key is pressed, e.g. before starting the command and not on completion of the command (using the COMMAND_PROMPT option would save the command once the prompt is there again).

I read about auditing programs like snoopy and session recorder like script but I thought they're already too complex for the simple question I have. I guess that deactivating that script logs all the output of the command would lead already in the right direction but isn't there a quicker way to solve that probelm?

View 1 Replies View Related

Red Hat / Fedora :: Deleted /usr/lib/nvidia Directory?

Feb 24, 2010

I deleted the usr/lib/nvidia directory by accident.Is there a way to get it back?The nvidia driver version I have is 190.53.

View 5 Replies View Related

Programming :: Deleted Files In Directory With So Many Files Without Deleting Directory Itself

Nov 14, 2010

There are millions of files in many directories. Wherenver i try rm * or find or use xargs, they say 'argument list too long' and exit. How can i deleted files in a directory with so many files without deleting the directory itself.

View 3 Replies View Related

Debian :: Recovering Deleted Directory In Terminal

Feb 21, 2015

I deleted by mistake my /www/ directory in terminal with rm -rf command. Is there a chance to get it back? I tried with TestDisk but I can't find it.

View 7 Replies View Related

Fedora :: Deleted Downloads Directory Or Moved It

Nov 12, 2009

I was trying to install a program and then I tried to mv comman (which I probably did wrong) but to make it short I am pretty sure I deleted the directory. I made another Downloads directory using mkdir but whenever I download anything now I have no idea where it goes.

View 4 Replies View Related

Ubuntu :: Deleted All The Files In /boot Directory

Dec 13, 2010

I have accidentally deleted all the files in my /boot directory of my Lynx 10.04 64bits installation.

Is there any way I can manually reinstall them ? I need just to reinstall a kernel so I can reboot

Can I manually copy them from somewhere (CD, etc.)

View 4 Replies View Related

General :: Using A Tar Archive To Update Directory?

Feb 6, 2009

I have a directory that contains some files. Let's call it ./ActiveContent.

I have a tar ball that contains some updated files, let's call it updates.tar.gz.

How do I unpack updates.tar.gz in the directory ./ActiveContent so that files in updates.tar.gz overwrite the identical named files in the directory?

That is to say, an option that directs the utility to over write existing files wile expanding a tar archive into a directory?

View 3 Replies View Related

Ubuntu Security :: Cannot Restore Deleted Directory Using Rdiff-backup

May 17, 2011

I have carefully made daily backups using rdiff-backup, so in the case of needing to restore I can do so.

But I deleted a directory yesterday, and made a backup in the evening. Therefore, the directory is not in the latest mirror, but in the incremental backup from yesterday.

Now I need to restore the directory. But I cannot figure out how to!

I can see the directory in yesterday's incremental backup; i.e., the following works:

Code:

Where [backupdir] is the backup (mirror) directory, and [nameofdir] is the name of the directory I'm trying to restore.

So, I have tried to restore. This is the type of thing I have tried:

Code:

Where to-restore.lst holds the name of the directory to restore (in rdiff-backup's format) and [restoredir]is where I want the restored directory to go to.

But, I get errors like:

Code:

Useful file specifications begin with the base directory or some pattern (such as '**') which matches the base directory. Well, obviously the file specification doesn't exist in the [restoredir]. That's because I'm trying to restore it! If I try to create an empty directory first, it complains:

Code:

How do I restore a deleted directory from a previous day's backup to a designated destination?

View 2 Replies View Related







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