Accidentally deleted /var/tmp directory and I'm now stuck in an infinite restart loop
So guys, I was poking around and I accidentally deleted that file. I am now stuck in a restart loop that sometimes ends with a white kernel stop sign in front of a black screen. When that happens, I am forced to restart my computer again.
Every time I restart, the loading bar is about 1/5 of the way there when a series of messages show up on the top left of the screen. I took some pictures of the message, and I have inserted it below.
Again, the directory is /var/tmp, and I am not sure if it was /private or not. I'm sorry.
The kind person who fixes this issue will get my undying respect.
Again, thank you guys very much.
I own a 2012 15 inch MBP, if that helps.
In addition to what greg sahli suggests, also issue the commands:
chmod 1777 /var/tmp
chown root:wheel /var/tmp
My commands and greg sahli's suggestions ASSUME that you did not delete other things essential for the normal operation of Mac OS X.
Otherwise you will have to follow mende1's advice and reinstall Mac OS X.
Similar Messages
-
So I did something completed stupid, and now have a big problem.
I accidentally deleted /var folder and emptied the trash!!
Now my MBP is stuck at the grey start up screen with the apple & spinng wheel and won't start up..
The weird thing is, now when I enter recovery utilities, everything displays fine except I cannot click anything! The mouse pointer moves but won't respond to clicks! Same with the return on keyboard. Arrow keys work to move among 4 options on os x utilities (time machine/ reinstall/ online help/ disk utility) but when I hit enter, no response! The trackpad & return key works fine up until the point where the mbp asks which language to run the recovery utilities.
All my data is backed up online, and now I just want to reinstall os x and start using my mbp again!
I tried reinstall with an installation disc by holding down 'c' on start, then I hear the installation dvd spinning for 3 seconds, then it would start ticking and won't do anything else for a few minutes until I force shutdown.
Please!!! Can anyone help me?? How can I reinstall os x?? I would really appreciate!!
Thank you Thank you Thank you in advance.
-MichelleI know it's late but maybe it will help other people.
I ran into the same issue and none of the solutions listed by apple helped.
I booted into single-user mode and I read the log in /Volumes/Macintosh\ HD/private/var/log/system.log, it was full of errors like theses
Dec 30 18:03:28 MacBook-Air locationd[352]: libcoreservices: _dirhelper: 454: mkdir: path=/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/C/ modes[2]=0700: No such file or directory
Dec 30 18:03:28 MacBook-Air.local locationd[352]: could not create persistent store directory (Input/output error)
Dec 30 18:03:28 MacBook-Air locationd[352]: libcoreservices: _dirhelper: 454: mkdir: path=/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/C/ modes[2]=0700: No such file or directory
The system actually tried to create directories in /var/folders but the directory /var/folders did not exists, so I created it:
Under single-user mode:
mount -o update /
cd /Volumes/Macintosh\ HD/
mkdir var/folders
mkdir var/folders/zz
reboot
And it booted just fine ! -
I've been using numbers for iPad and I accidentally deleted a column. And the auto-save feature saved that and now I can't undo it. Does iCloud storage have backups of saved files from like 10 minutes ago? I have numbers synced to iCloud.
I tried to undo it but the app crashed.
I am hoping there's like a previously saved version of my file in iCloud somewhere.No, iOS does not do short term incremental back ups to iCloud such as you get with Time Capsule.It backs up when you do soo manually, or if set properly, when the device is plugged in and connected to WiFi. It will not have saved your changes as of 10 minutes prior.
-
Accidentally deleted firefox "profiles.ini" and now says firefox is already running when I try to open it. "a copy of firefox is already open. only one copy of firefox can be open at one time. Now I'm aware this happens often and people have posted solutions to this, but this situation is slightly different. The "profiles" that possibly had parental lock on it were deleted and I don't know how to get it back. Re-downloading firefox obviously does nothing. Opening the task manager and to try and close all mozilla/firefox files and apps doesn't work either. Tried using Onyx to turn invisible files visible but that didn't work either. I think it's cause I deleted the profiles. Suggestions?
Any chance of restoring that profiles.ini file via the Time Machine?
*http://kb.mozillazine.org/profiles.ini_file
If not then you need to use the Profile Manager to re-register that no longer recognized profile.<br />
You do that by creating a new profile and use Choose Location to point the your lost profile.
*http://kb.mozillazine.org/Profile_in_use
*http://kb.mozillazine.org/Recovering_a_missing_profile -
An hour ago, I accidentally deleted a Bookmarks folder, and all of subfolders and hyperlinks. The lost items are not in "Trash." Are they still retrievable? JAW
They don't go into the Trash. Unless you have a backup prior to the deletion time it's gone.
-
I accidentally deleted a few apps and not remember their name. Pls let me
know how to re-install it that data is not lost.Hello DucPV,
You can view your purchase history, track down the Apps (by recognizing the icons), and reinstall. The following article outlines how to do so:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
http://support.apple.com/kb/HT2519
Thanks,
Matt M. -
I accidentally deleted the program pages and Keynote how can I recover them? in the Apple store they paid steel ...
Any apps you've had installed on your iPad can be downloaded again.
Go to App Store on your iPad and select 'Updates' and then tap on Purchased. You can then view all purchases made on the iPad or purchases made on other devices by selecting the 'Not on this iPad' tab.
Regards,
Steve -
I accidentally delete my old itunes and I can not install new itunes
I accidentally delete my old itunes and i can not insttall new Itunes
I browsed around here and I found that if I hold shift while opening iTunes and it asks what library to load so my real question then is where is my "old" library that I want to load? The only library I can find is my current one.
-
Help! I have an iPhone 4s, I accidentally deleted a text message and my phone is not synced. How do I retrieve it?
You can not retrieve a deleted message that was not synced.
There are data recovery services that "may" be able to retrieve the message.
These recovery services can cost $1000 or more though. -
i accidentally deleted the admin user and it wiped out everything, luckily it wasn't much, but is my computer going to be completely overloaded with data from the last user? for example, i had to redownload microsoft 2011 do i have little space now?
i accidentally deleted the admin user and it wiped out everything, luckily it wasn't much, but is my computer going to be completely overloaded with data from the last user? for example, i had to redownload microsoft 2011 do i have little space now?
-
I accidentally deleted all my apps and music. I can re-download the music but don't know how to get the apps back without buying them again. Any thoughts?
Just follow this:
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
I accidentally deleted all my pictures and music from my ipod how could i recover it ?
accidentally deleted all my pictures and music from my ipod. how could i restore it ?
Connect to iTunes on the computer you usually Sync with and “ Re-Sync“...
-
hi, please help.
Accidentally deleted startupitems from library/startupitems on macbook now the computer wont startup and i get the grey startup loading screen with the apple symbol and a loading bar but wont load then turns off.
i saved these files to a folder on the destop and then turned the computer off. oops!!! now computer wont start up
How do i put the startupitems back to this folder or beter yet get into the computer to fix this.
Please please help!!!Reinstall OS X, either from disc or a recovery partition. You don't mention which version of OS X you're running so I don't know which it will be.
-
I downloaded my sons iCloud to my phone I deleted his when back and added mine now I'm stuck with his songs how do I get my iTunes back
Sync your iphone with itunes.
http://support.apple.com/kb/HT1386
Good luck -
I was trying to sync my iPhone 3GS and it is now stuck, saying I'm in recovery mode. I am thoroughly confused now after researching online. I'm scared to restore to original settings as I don't want to lose everything, apps, contacts, etc. Help! Is there a way to get it all back if I do restore?? Can I my stuff back through iCloud??
Bad news first and we hope for good news as well
The device is in Recovery Mode and the data has already been deleted, you need to restore the device with iTunes in order to get the iPhone back into a working state
When the iPhone is restored you can then restore it from your latest backup using iTunes or iCloud and regain some, if not all, of your data.
The good news part only happens if you had a backup.
Maybe you are looking for
-
Why is my iPod touch skipping music?
I just downloaded the iOS 5 on my iPod touch and it starting to skip some of my songs. And it also mixed up my album covers, like the album, Recovery, by Eminem will have the album cover, A Thousand Suns, by Linkin Park.
-
Hard drive is missing. I can boot from the cd but when running the disk utility, no hard drive shows up. This is a problem that suddenly appeared.
-
My cd/dvd drive quit working and is not found in device manager so I purchased an external cd/dvd rw. Now I am having other issues with installing software and windows updates so I would like to format hard drive. Can this be done with external cd
-
SELECT table_name FROM all_tab_columns Where column_name NOT LIKE 'tmp%' AND column_name NOT LIKE '%old%' AND column_name NOT LIKE 'sys%' AND column_name NOT LIKE 'test%' And wish to consolidate the NOT LIKE statements into something like: column_nam
-
Multiple columns in migrating MS Access
Migration workbench Access 97 -> Oracle 8.1.6 During capture of source data, multiple columns are generated for each table. In fact, columns of one table are duplicated on all others tables ==> building of Oracle model hangs for violation of unique c