Slackware :: Deleted 'dmesg' By Mistake?

May 30, 2011

had upgraded from slackware 13 to 13.1 and finally 13.37.After this I noticed that 'dmesg' could only be executed as root. So inorder for a user to execute 'dmesg' I executed 'ln -s /bin/dmesg /usr/bin/dmesg'.What happened next is the symlink was created but the dmesg executable was deleted.I do not want to reinstall the OS (very time consuming on a P3 with 512MB RAM) so I want to know which package provides dmesg so that I can reinstall it.The dmesg man page indicated that klogd will provide the package but then when I reinstalled it it was a no go.

View 7 Replies


ADVERTISEMENT

Slackware :: Deleted Crontab By Mistake?

Oct 24, 2010

I was accessing my box externally (ssh) and accidentally deleted my crontab. I never used crontab before and issued the command "crontab -d" instead of "crontab -e" to edit and add my cronjobpretty useless because I had no back up of my crontab of course First question, is there going to be any direct issue on my box because of the crontab being erased ? (I am assuming so but do not know what type of problems..) Lastly, would I be lucky enough so that there is a way to recover my crontab ? (having gone through Google and whatnote, I doubt it)

View 10 Replies View Related

Ubuntu :: Knucklehead Deleted /var/lib By Mistake

Aug 25, 2010

Environment: Ubuntu 9.10 Karmic, 64 bit I was doing some maintenance on the machine and tried to delete everything under /var/lib/hudson. By mistake, I deleted everything under /var/lib. I know, I know, I must have taken an extra dose of stupid pills. Questions: Is there any way to recover without a full rebuild of the machine? Could I install Karmic to a VM, install all the same packages, and then copy over the /var/lib directory? Maybe a better question to start off is, which directories need attention (and what type) and which directories are not needed? Very soon before the delete, I did a directory listing in /var/lib. Here is what was in there:

[Code]....

View 5 Replies View Related

Software :: By Mistake It Deleted The /usr/bin/dpkg.exe?

Jan 15, 2011

By mistake i deleted the /usr/bin/dpkg.exe file.Now i am unable to install anything .when i tried to install ssh i got the following error message. Reading package lists.DoneBuilding dependency tree Reading state information... Doneopenssh-server is already the newest version.openssh-client is already the newest version.0 upgraded, 0 newly installed, 0 to remove and 386 not upgraded.2 not fully installed or removed.After this operation, 0B of additional disk space will be used.Could not exec dpkg!E: Sub-process /usr/bin/dpkg returned an error code (100)

View 14 Replies View Related

Ubuntu :: Deleted Libc.so.6 By Mistake And Now In A Soup?

Mar 29, 2010

I was trying to sort out some problems I was having with synaptic and in a <sarcasm>slash of brilliance</sarcasm> I renamed my libc.so.6 to something else. Since then any command I type throws up:Code:apt-get: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directoryI can't get anything done. Nautilus/package manager/nothing fires up.

View 1 Replies View Related

Ubuntu Installation :: Recover Deleted Bootloader Files By Mistake (not GRUB)?

Mar 26, 2010

I cannot boot into by Ubuntu 9.1 machine.... Trying either GUI or rescue mode gives me the following error messages (which i copied by hand since they were in cli)

Code: mount : mounting /dev/disk/by-uuid/64e5cb0d-058a-4a4c-af4b-7afb6427a72e3 on root failed : invalid argument

mount : mounting /sys on /root/sys failed : no such file or directory
mount : mounting /dev on /root/dev failed : no such file or directory
mount : mounting /proc on /root/proc failed : no such file or directory

Target doesnt have /sbin/init The only thing i remember doing before this is deleting some bootloader files... but they were on another disk so I didn't think that it would affect my ubuntu install. Guess I was wrong how I can recover my system?

View 2 Replies View Related

Ubuntu :: Default Panel, Deleted Some Items By Mistake, Can't Find Them To Put Back?

May 23, 2010

I was playing around with the default panel that has the power icon (wrong lingo maybe) and the network/sound icons, etc.I deleted some items including the power icon and now for the life of me can't find it in the panel applets list in lubuntu.Is there a way to restore the default panel with the settings as when I first installed lubuntu.I also played with some spacings and other settings so would rather just get it back to normal/restore it vs add all the items back on and then play with the spacings again.

View 9 Replies View Related

Ubuntu Networking :: Deleted Dhcp3-client By Mistake - No Internet Access And Cannot Use Synaptic

Aug 25, 2010

Had problems with internet and deleted this by mistake now how do I get it back? note that I have no internet access so I cannot use Synaptic.

View 1 Replies View Related

Slackware :: Classic Rookie Mistake (LILO)?

May 29, 2010

I made this same mistake installing 13.0 several months ago and fixed it back then by trying different things,but I still don't understand why.So here's what I did this time to screw up with 13.1:-Partitioned the hard drive to have /boot partition at sda1 of type ext2 (root partition is at sda3)-manually configured LILO and chose to install bootloader to the MBR-went into that 'add linux' option in the LILO menu and pointed it to sda1When I try to boot slackware 13.1 I get a kernel panic. I'm sure the answer must be obvious but I don't find LILO very easy to understand. What did I do wrong and what should I do to fix this?

View 6 Replies View Related

Slackware :: Insert Music CDs Floods Dmesg

Oct 11, 2010

I had a terminal open waiting to catch these messages that spam dmesg. Simply inserting a music CD into /dev/sr0 or /dev/sr1 gives me this:

[Code]...

View 7 Replies View Related

Slackware :: "Oops" Termcap Mistake?

Feb 24, 2011

I was adding rxvt-unicode to the termcap file and i kinda did:

Code:
infocmp -C rxvt-unicode > /etc/termcap
instead of:

[code]....

View 2 Replies View Related

Slackware :: Desktop Changed, Browsertabs Deleted?

Jul 24, 2011

I logged on this morning as usual just to find that my desktop wallpaper had been reverted to the one I used before. My browser tabs were all gone and the shortcuts I had placed on the desktop were also all gone.Im using slackware 13.37 with KDE

View 6 Replies View Related

Slackware :: Way To Restore Deleted LVM2 Volumes?

Jun 12, 2010

I was trying to remove a logical volume, but used the lvremove command incorrectly.

I did something like:

Code:

Thinking it would remove somelv from myvg

But instead it said "volume group somelv: not found" and then deleted all the logical volumes in myvg.

Is there any way to restore them or is it reinstall time?

I had some backups of my system, but unfortunately they were stored on a logical volume in the same volume group.

View 6 Replies View Related

Slackware :: Accidentally Deleted /usr/lib64/mozilla/plugins/libnpjp2 ?

May 4, 2010

Im using slackware64 13 and I accidentally rm one of the java plugins for mozilla when I was trying to just mv it.

/usr/lib64/mozilla/plugins/libnpjp2.so

View 3 Replies View Related

Slackware :: Deleted The Little Plasma Taskbar Widget That Shows The Multiple Desktop?

Dec 27, 2010

the little four squares in a grid beside the KDE launcher. Looked through all the Plasma widgets and didn't see this one. How do I get it back? Tried everything I could think of

View 3 Replies View Related

Ubuntu :: Deleted Files On USB Drive Not Actually Deleted?

Jun 7, 2010

I searched the forum with various terms and didn't find anything, so my apologies if this is a common and/or newbie problem.It seems that when I have a USB driveplugged in to switch the files around, those that I delete are still taking up space. I first noticed it with a Chinese MP3 player and thought it was the player being crappy. I could still play all the songs that were supposedly gone. Today, I noticed it with a little thumb drive that I've had for years. I plugged it into my husband's computer running winXP, and the files showed up in a weird, unusable form. I was able to delete them for real.

View 4 Replies View Related

Fedora :: Oops Newbie Mistake Using Yum?

Oct 26, 2009

So I installed FC11 and it seemed to be working ok I was having an issue configuring sendmail so I decided to use Yum to remove it and to re-install sendmail.I type yum remove sendmail and it asked me if I wanted to remove 39 dependancies. I said yes and it removed way more than just sendmailIt even removed Yum itself
HELP...I do not even have any way in the GUI for software installs, and YUM is no longer present.It even removed all but 7 items in my administration drop down. Can I fix this with the install CD of Fedora

View 1 Replies View Related

General :: Mistake During Type Mv Command?

Dec 21, 2010

I accidentally type mv command wrong.actually it supposed to be mv SNAP-20101215* dec10/week3_dec10/but i type the below insteadmv SNAP-20101215* dec10/week3_dec2010/Note: there is a folder name "dec10/week3_dec10/"but there is no folder name "dec10/week3_dec2010/"as a result of it, instead of having those files under dec10/week3_dec10 but it merge those files into one file name "week3_dec2010" , is there any way to change it back to orginal files?

View 6 Replies View Related

Fedora :: Exactly How Does Dmesg Work?

Jul 21, 2010

I am new here and have only been using Linux for about 3 months so please help by explaining things clearly and don't assume I should know. However, for reasons too detailed to mention here I want to know how dmesg works. What I understand is that it provides log details of the startup, hardware etc until logger takes over. What I want to know is this: Do you still get new log messages in dmesg after boot and after the logger has taken over or is it simply a snapshot of what happens at boot time If you shutdown you machine or more importantly something happens to cause it to crash, does it or is it possible to make it record dmesg logs or is it purly a function of boot up

View 6 Replies View Related

Fedora :: F15: /var/log/dmesg Not Being Updated?

Jun 13, 2011

I run F15 on my desktop PC and /var/log/dmesg is not being updated. I used preupgrade to upgrade from F14 to F15 on June 3. I boot F15 at least once per day. /var/log/dmesg has not been updated since June 3. /var/log/dmesg was being updated correctly when I ran F14. On f15, if I issue "dmesg" from the command line, I get the expected result. Is this a bug?

View 12 Replies View Related

Red Hat / Fedora :: Usb Error In Dmesg

Apr 20, 2011

When I connect to the internal usb port, i find the following error msg in dmesg :

usb 3-2: device descriptor read/all, error -71

Is this benign, can i ignore?

The message doesnot appear when I connect to the external ports.

googling pointed me to this [URL]

AT the moment the stick is being detected and all works. But still confused as to whether I have a serious problem that may lead to the usb stick going missing or hanging at some point or is this error msg just a spurious one that I can safely ignore?

View 1 Replies View Related

Red Hat :: Script To Send The O/p Of Dmesg And Df -h?

Mar 25, 2011

I need a script to run in linux..it should mail the o/p of df -h & tail -20 dmesg every hour.

View 3 Replies View Related

OpenSUSE Install :: How To Get A Desktop After A Mistake With ATI Drivers

Dec 2, 2009

I am not certain of the cause (it may have been after I updated my ATI video drivers, or instructed my system to use a dual-head configuration, which in hindsight was perfectly dumb) but regardless of the reason--now when I "startx" my monitor freezes with a few stray motionless pixels. Nothing I've done helps: tried "sax2 -r -m 0=fglrx"; tried "aticonfig --initial"; tried to revert to an earlier xorg.conf; but I don't really know what I'm doing, so I hope someone who far surpasses my knowledge of SuSE on the command line can help me out.

How do I get my desktop back?

View 9 Replies View Related

OpenSUSE Install :: Everything Erased Through The Shell By Mistake?

Feb 15, 2010

I typed

#!/bin/sh
cd /
xx xxx x

[code]....

View 9 Replies View Related

OpenSUSE Install :: Partition Mistake On Installation?

Apr 11, 2011

When installing, I used a hard drive that had a windows installation on it. In an attempt to have it format the whole drive and allow use of all the space on the hard drive, I may have made a mistake. In the end, there was only one partition which was "create volume for ..... /home with ext4." There was no partion for swap volume or root volume. It prompted me if I was sure I wanted to do that... it said I can do it that way but.... and then gave me some info which has since slipped my mind. What effect if any can I expect from having done that? The install went through perfectly and everything seems to be running ok

View 8 Replies View Related

Ubuntu Installation :: Ran MBRfix By Mistake And Cannot Login To?

May 23, 2010

I have a Ubuntu(Ubuntu 8.04 LTS)/Vista dual boot setup ( Single HDD machine) and Ubuntu was the default OS.While playing with an external HDD i accidentally ran MBRFIX on my desktop HDD and now it boots directly into windows not showing grub menu.Ran Ubuntu live CD and ran sudo fdisk -l and got the following result:

Code:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes

[code]....

View 8 Replies View Related

Ubuntu :: Upgraded To Natty Narwhal 11.04 By Mistake?

Dec 23, 2010

I've been running Ubuntu on my laptop for a while, and I recently upgraded from 10.04 in Ubuntu using System -> Admin -> Update manager. However, when I now run System -> About Ubuntu, I'm told I'm running Natty Narwhal 11.04, rather than Ubuntu 10.10 which I was aiming for. I never noticed this earlier, though... I guess it's a month or two since I upgraded.Did something go wrong in the update and cause this to happen by mistake?I there a way for me to downgrade to 10.10?

View 1 Replies View Related

Ubuntu :: Cannot Startx After Making Mistake With $PATH?

Jul 8, 2011

I recently made a mistake and made my PATH variable nothing. I didn't notice this problem until I rebooted my computer and it would not let me login (the normal graphical login). I went into the terminal and found that my PATH variable was wrong so I edited my .bashrc file, adding Code:export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/gamesthis seemed to fix the problem in the terminal now I can access all of the binaries normally, but I still can login with the graphical login and I still cant startx.

View 1 Replies View Related

Ubuntu Installation :: Dreadful Mistake While Partitioning?

Aug 15, 2011

I hope someone can help me here. I have a Win7 laptop 64bit OS & I'm trying to dual boot it with Ubuntu 10.04.3....I've done this many times without error on Vista machines, but with Win7, there must have been something I missed. In the process of dividing the HDD & setting up 100GB to use for Ubuntu, I believe that I deleted an important part of what Windows needs to run. (There was a small section there called "Vista loader" that is no longer there due to my error).. As it sits right now, the dual boot screen is fine, Ubuntu loads fine, but Windows will not load at all. I have tried all of the repair options including using a recovery disc and all "bootrec" commands that I would know to bring this back. All files on the Windows side seem intact & unharmed.

View 9 Replies View Related

General :: Programme With Grammar Mistake [ Can't Find Out

Apr 25, 2011

i just can't know how to get it work.

Code: #include<stdio.h>
main()
{
int _res;int i=3;int b=5;
asm_ ("add %1,%0"
:"=d"(_res):"a" (b),"0" (i));
printf("%d",_res);
}

View 4 Replies View Related







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