System got messed up... somehow

Hello everyone,
So this isn't really how I had imagined my first post would turn out, but here we go.
Little background
I am new to Arch, and to Linux in general. For a while now I've wondered and thought about switching, but never did. Then about a couple of months ago now, I decided I should, and have been working on it since then. Meaning that for a few weeks now, I am using Arch, inside a VM (Win7 host).
Things were going fine, I've been learning & loving it so far, but then!
Don't die on me
Yesterday, at one point I opened a terminal (urxvt) and wanted to do a simple thing:
$ sudo tail /var/log/nginx/foo.errors.log
but instead of being prompted for my password, I got a few error messages, alongside a bunch of wrong characters that were apparantly meant to be a filename or something, then sudo complained about not being able to stat something... unfortunately I didn't kept those error messages; my bad.
Anyways, then I noticed something happening - something that had actually happened before. That is, a few days back, I noticed that when moving a terminal window on my screen, there were some drawing issues. Moving the window from top-left to bottom-right, there were "parts" of it still left on at the top-left, the window wasn't fully/properly drawn on the bottom-right, and there were some bits in between. (It has happpened a couple of times actually.)
Very odd (also, I thought that was the kind of things that didn't happen with a compositing WM, and I'm runinng XFWM4 (XFCE) with compositor enabled... but I might be wrong? I don't really know about this...) and it eventually led to VirtualBox crashing. I'll admit I didn't really investigate it much, not sure why. I guess I thought/hoped it might just be an issue with the VM and, maybe, the fact that I run it with two screens (I have 2 monitors) both in fullscreen mode, and some video driver issue might have caused this. Not that it would be okay, but...
To the point
Back to yesterday, where the same display issues were happening again. Except now, in (unrelated?) news I couldn't sudo either. Then I eventually tried to reboot, but when clicking "Log out" in XFCE nothing would happen. I could have "sudo reboot" only sudo didn't work. For the sake of it I tried "reboot" knowing it wouldn't work, except it failed for a different reason than I expected: command not found.
So, cold reboot.
But I could not (re-)boot, because a lot more was missing, things like hostname or runlevel and more! This was getting freaky, so I quickly got salt and drew a circle around me, just in case.
Anyways, because I happen to have a little script running every night using rsync to backup pretty much the whole system, I figured it was time for a restore. And because it's a VM, it's quite easy to create a brand new disk, remove the old one, replace it with the new one, and go: I booted from the ISO and used rsync again to restore everything as it was in the morning.
I am here, so this (seems to) have worked.
History repeats itself
So thankfully I had a backup (always backup, people!) and I have a running system again, with only little data loss (a few hours of work). That's good. But I have no idea what happened (or why), so I'm thinking it might/will happen again. Which is no good. Surely I'll still be doing backups, but that's far from an answer.
Now, I still have the old disk (i.e. the old .vdi file) so I did mount it (ro), to see. And this is what I get (upon mounting):
[ 571.990980] EXT4-fs (dm-3): mounted filesystem with ordered data mode. Opts: (null)
[ 872.586681] EXT4-fs (dm-3): error count: 35
[ 872.586702] EXT4-fs (dm-3): initial error at 1320758976: htree_dirblock_to_tree:587: inode 819: block 8970
[ 872.586724] EXT4-fs (dm-3): last error at 1320760632: ext4_iget:5019: inode 15105
Also, if I now do a "ls /mnt/old/sbin" I find this in the log:
[ 5449.028115] EXT4-fs error (device dm-3): ext4_iget:5019: inode #15105: comm ls: bad extended attribute block 3021702897
and the actual result/listing is prefixed with this:
ls: cannot access /mnt/old/sbin/sulogin: Input/output error
ls: cannot access /mnt/old/sbin/bootlogd: Input/output error
ls: cannot access /mnt/old/sbin/runlevel: Input/output error
ls: cannot access /mnt/old/sbin/killall5: Input/output error
ls: cannot access /mnt/old/sbin/fstab-decode: Input/output error
ls: cannot access /mnt/old/sbin/shutdown: Input/output error
ls: cannot access /mnt/old/sbin/halt: Input/output error
which leads me to think the disk is screwed up. Only, this isn't a real disk, but a virtual one. So, I'm thinking that hardware failure is then unlikely(*), meaning that it's probably something else, something still running/going on in my system, something that will screw things up again.
(*) Besides, I haven't had any problems with the physical disk where the .vdi is stored (which is also where Windows is installed), the SMART info say it's fine (and I even did copy that VDI file to another disk without problems).
So, is there anything I said that seems/is (completely) wrong? Does anyone have any idea as to what could be the cause? Or what I can do to try and find out?
Bonus
Completely offtopic, but looking at /var/log/boot I see it ends like so:
Tue Nov 8 16:12:18 2011: :: Starting vbox-service [BKGD] :: Starting network [B
Tue Nov 8 16:12:19 2011: :: Starting D-BUS system messagebus [BUSY] [DONE]
Tue Nov 8 16:12:20 2011:
..is this normal?
To be clear: When I said I have a backup, I got one from this morning, but also one from earlier this month, and it already ended that way then. So this has nothing to do with the problems I described here. Still, it looks odd, plus there are a few more things (daemons) that are started (BKGD) after that... so I just wonder if this is normal or not.
Alright, that's it. Any help is appreciated.
Thanks,
-jacky

I think your post is too long . Try to stick to the point and people will be more inclined to help you because it requires less work on their part. Also use a title less vague!
You say sudo doesn't work but you don't post the error messages. They would be helpful.
The drawing problems are most probably unrelated and are probably caused by the VMWare driver; I'd try disabling compositing.
"Log out" not working in Xfce: search the forum. Several people have had this problem very recently.

Similar Messages

  • Ever since i plugged my iphone into the computer, all of my music has been messed up. The songs don't have the right album cover i guess they all just got mixed up somehow. i dont know but its annoying and im not sure how to fix it.

    Ever since i plugged my iphone into the computer, all of my music has been messed up. The songs don't have the right album cover i guess they all just got mixed up somehow. i dont know but its annoying and im not sure how to fix it.

    If not this:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar
    Then
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          

  • My keyboard settings got messed up. I hit something, then heard a loud ding.

    My keyboard settings got messed up. I hit something, heard a loud ding; after restarting I can't log in because the enter key appears to add a character instead of a Return. How can I fix the keyboard if I can't log in to get to my settings??

    Is there a way I can enter system preferences from the start up screen or in safe mode?

  • HT1386 My system got crashed and I dont have backup fo my iphone.... now how do i synch my iphone with new itunes without loosing my data ?

    My system got crashed and I dont have backup fo my iphone.... now how do i synch my iphone with new itunes without loosing my data ?

    See if this user-tip for syncing to a new computer helps : https://discussions.apple.com/docs/DOC-3141
    If you have music from other sources on your phone (e.g. copied from CDs) and you don't have them on a backup, then there are some program listed half-way down this page which might be able to copy them back : https://discussions.apple.com/docs/DOC-3991

  • I was using same id on 2 iphones with no problems suddenly everything got mess, how can i set a new id w.out losing my contacts?

    i was using same id on 2 iphones with no problems suddenly everything got mess, how can i set a new id w.out losing my contacts?

    I believe because you migrated from a Nokia to an iPhone you need to register the Bn phone number with your Apple ID so it can be used for iMessage. The Pn number seems to be the only one registered
    Go here > https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
    Manage your Apple ID and see if that does the trick
    Hope that helps

  • When i updated OS X update to 10. 10.2 and iTunes to 12.1 and restarted my mac, safari got messed up

    I updated my OS X and iTunes today and when I restarted my mac, safari got messed up. No matter how many times I change the preference of the new windows and tabs to favorites and remove the homepage site, it always get back to what it was-- homepage for both and search-quick.com for the homepage site. I can't open a new tab/window with the favorite--and it's very annoying since it opens with the search-quick.com. I've never installed search quick program, and I can't get rid of it. On the preference, the google is set to my search engine but whenever I search something it uses that search quick site. I don't know how to get rid of it and I want to remove it so bad. The biggest issue is whatever I click, the useless ads (mackeeper, justcloud, seniorsoulmates, McAfee, etc) keeps popping up on the new tabs. Literally, it pops up whenever I click something. It's driving me crazy- what should I do?

    Reinstalling OS X Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Also see:
    Reinstall OS X Without Erasing the Drive
    Choose the version you have installed now:
    OS X Yosemite- Reinstall OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.

  • After update to Snow Leopard 10.6.8 the system got slower

    Dear apple engineers,
    yesterday after updating my os to Snow Leopard 10.6.8 the system got slower shutting down.
    Before it used to take like two seconds, now it shows a blue screen and an activity indicator and it takes more than 10 seconds.
    My question is why did you tried to fix what was not broken?!
    No, actually my question is how do I revert this undesirable effect?
    PS: As for people who did not update yet, don't do it!

    Repair 10.6.8 script worked on my iMac and MacBook. I was only having an issue with my printer. I was getting a message in the print dialog saying I was out of toner and the drum was at the end of it's life. The script fixed that issue.
    I have no issues with performance before, or after.
    Perhaps you should repair permissions and restart.
    Reset PRAM
    http://support.apple.com/kb/ht1379
    Or reset the SMC.
    http://support.apple.com/kb/ht3964
    Good Luck

  • I had earlier installed adobe dreamweaver cs3 on windows 7 my system got crashed, we have changed the hardware installed win 8.1 now dreamweaver is giving activation error exceeded activation limit please help

    i had earlier installed adobe dreamweaver cs3 on windows 7 my system got crashed, we have changed the hardware installed win 8.1 now dreamweaver is giving activation error exceeded activation limit please help

    Hello,
    what concerns your wish about an uinstaller, so you should use
    https://helpx.adobe.com/creative-suite/kb/cs3-product-downloads.html >>> AND note this "Read before you download a CS3 product". And esp, "You need your CS3 serial number to complete the installation" but this shouldn't be a problem for you, because you had an official version and so you can use all these informations like https://helpx.adobe.com/x-productkb/global/find-serial-number.html
    Hans-Günter

  • My 325J's screen got mess, what's wrong with it , I got picture for you

    hey, I am new to here.
    my iMac screen got mess .
    I have plugged my hard disk out , but , I don't think this is the right display.
    does anyone can help to tell me which part does it most likely be wrong .
    detail

    Resetting PRAM may help.
    Reset PRAM.  http://support.apple.com/kb/PH4405

  • Table or report to know when system got offline

    Hi,
    Is there any report or table available, where I can check when system was offline?
    Thanks in Advance.
    Regards,
    Trine

    Hi,
    I want know if there is any update/information when system got offline.
    When user take system offline, it must updated some where in BPC.
    Our Auditor need a report or information on when and who change the system status to offline  during a particular period?
    Is it possible to get this information in any way for QA and Production system?
    Regards,
    Trine

  • I tried to sync my iphone 4, all my contact list got messed up, all of them got douplicated. And plus I got some of my old deleted contact lists back to my iphone!!what should I do?

    I tried to sync my iphone 4, all my contact list got messed up, all of them got douplicated. And plus I got some of my old deleted contact lists back to my iphone!!what should I do?

    iTunes only keeps one backup, every new backup replaces the old one, only backups used to restore from are not overwritten and marked with a time stamp.
    If you can't find any other backup in iTunes/Edit/Preferences/Devices, your contact info's are gone. Only if you included the backup folder in your computer backup routine, you would be able to restore the old backup folder containing the latest backup at that time.
    The location of the backup folder is described in this article: iPhone and iPod touch: About backups

  • HT3275 Verbatim drive I use for Time Machine backups got messed-up. I erased it.  It does now perform its regular back-ups.  HOWEVER, I can't "Enter TM."

    I am running OS 10.6.8.  The external Verbatim drive I use for Time Machine backups got messed-up, so I erased it & chose it as my back-up disc for TM.  It does perform its regular back-ups.  HOWEVER, when I try to "Enter TM" nothing happens?

    I read some hints about this issue from similar queries, including "Restart your computer".  That did the trick!

  • How to set it right again, somehow got messed up

    Hello there,
    I have just read William Kucharski's post http://discussions.apple.com/thread.jspa?threadID=2227197
    and have issue with no 2) airport shows self assigned IP address
    and with no 3) under router it is blank
    I have an iMac that is connected via ethernet to a DSL router. I have had airport on. Couple of days ago I got an iPhone and it picked up the WiFi without any hassle. As of this morning it doesn't anymore.
    Now I have no clue about network settings etc, and also nothing was changed by me. I didn't go into the settings to change them. Anyhow, they are obviously different now and my iPhone won't pick the existing connection up anymore.
    If someone could please point me to threads that explain solutions to step 1 and 3 as above because while I now know what's wrong I don't know how to change it.
    Thanks in advance.
    Bettina

    BettinaH wrote:
    greetings
    (how does quoting work here?)
    click here for instructions
    First, thanks for your reply!
    +BettinaH wrote:+
    +I have just read William Kucharski's post http://discussions.apple.com/thread.jspa?threadID=2227197+
    +and have issue with no 2) airport shows self assigned IP address+
    +and with no 3) under router it is blank+
    +Your description leaves out a lot of details that people will need to give you good advice.+
    I don't know what I don't know. I am no specialist in these things. All I know is that it worked for a couple of days without me doing anything. After reading that thread I quoted that I need help with step1 and 3 as the original writer requested to ease answering up. I have described exactly what it says according to his post. I am not sure what more I can say about it.
    +I have an iMac that is connected via ethernet to a DSL router.+
    +Does that router have Wi-Fi capability? If not, do you have a Wi-Fi base station?+
    No. It is a DSL router, not a WiFi router or base station.
    would you consider forking out some $$$ to get an Apple wireless router such as this ? you might even get a refurbished unit from your local Apple online store.
    +I have had airport on.+
    +Does that mean (1) the AirPort circuitry of your iMac is on, (2) the Wi-Fi capability of your DSL router is on, or (3) you have an Apple AirPort base station? A side note: The term "AirPort" is Apple's term for Wi-Fi. As supplied by another vendor, it's not "AirPort", just "Wi-Fi".+
    Yes so I know it's Apples term for it and it is on. It says "Airport is on" .. ?? And as I said, I don't have a base station, just a normal DSL router. So I guess that would mean answer 1) (I don't know anything about this things)
    +Couple of days ago I got an iPhone and it picked up the WiFi without any hassle. As of this morning it doesn't anymore.+
    +Now I have no clue about network settings etc, and also nothing was changed by me. I didn't go into the settings to change them. Anyhow, they are obviously different now and my iPhone won't pick the existing connection up anymore.+
    +Could you confirm that your iMac still has connectivity through your router? Have you tried cycling power on whatever provides your Wi-Fi signal?+
    What connectivity do you mean? It's all working fine, connecting to net etc.
    Cycling power - whatever that is? So no, I haven't tried that.
    a +power cycle+ means basically that you shut down modem, router (which you don't have yet), and your Mac for, say, 15 minutes. you would turn them back on one after another in, say, 5 minute intervals. modem first, router next, and last your Mac.
    What provides my WiFi signal is the iMac
    The other day I was able to set up a network that worked, I chose another channel and that password option with 13 characters and it worked. Just now after coming back from a trip I tried it again and it jumps back to own IP address and won't work no matter what I try.
    Makes me feel very frustrated .. Many of the apps on the iPhone rely on being able to connect via WiFi to the iMac only and now won't sync.
    i think your best bet will be to get that airport express station (AX). connect your modem to the AX via ethernet cable and set it up as your wireless router. this way both your Mac and iPhone will connect to your AX wirelessly.
    post back if you do decide to get that AX and we'll help you to set it up.

  • Somehow my iTunes library or libraries got messed up - songs missing, can't be located, don't exist in locations Spotlight says they do, conflict between finder and spotlight, what a nightmare!

    I think it be due to choosing "Reset" in Preferences/Advanced/iTunes Media Location" some time ago. Do I need to rebuild the whole finder/spotlight thing and if so, how?

    Thanks a lot for no response  I discovered Disk Utility.

  • Contacts got messed up

    I just got an iPhone 5s on Friday (3-7-14)..  This may be unrelated, but suddenly, the contacts in my Hotmail/Outlook list have become messed up.  People who have the same first name but different last names got merged somehow.  Is there a way to undo this?

    Good luck then

Maybe you are looking for

  • Crystal reports 2008 training

    Hi Friends, Apologies in advance if my question belongs to other forum or group. Did SAP gives training on Crystal repors with some fee? I searched SAP and found NIIT is one of the partners, but when I enquired they said they won't give training. I w

  • How do i get rid of all the duplicates in my library

    i need help. somehow my library started making dupilactes. now i need to rid it of all duplicates and orginize it into one simple library. i have two external three terrabyte seagate drives- thuderbolted together daisy chained- jacked into my IMAC. T

  • SCORM Content metadata can be imported but content files cannot be uploaded

    Hi all, When I try to import SCORM content via a zip file, the metadata is loaded but not the files. We are running 12.1.3 of the OEBS and this is occurring with Oracle Learning Management. The my oracle support article, Installing SCORM Compliant Co

  • Adobe After Effects CC won't launch with Mavericks upgrade

    Since I've upgraded to Mavericks I can't Adobe After Effects CC 12.0 to launch.  I have to use After Effects 6.0.  Has anyone else had this problem?

  • CS3 Download?

    I have CS3 on my desktop and never put the second copy on my laptop. I now want to do that but do not have a hard copy of it since it was a download upgrade from CS2. How do I download CS3 to my laptop? I have the serial # and tried going to the down