Hafestos Posted May 2, 2007 Share Posted May 2, 2007 Worked fine then all of a sudden last night iget this error sudo: can't stat /private/etc/sudoers: No such file or directory dion-tudryns-computer:~ Dion$ postdrop: warning: unable to look up public/pickup: No such file or directory I have absolutely no idea what tha means, i tried creating a sudoer file, but without the sudo function u can guess how well that went... any help will be appreciated... Link to comment Share on other sites More sharing options...
Guest Ramm Posted May 2, 2007 Share Posted May 2, 2007 Have you tried to repair permissions? Link to comment Share on other sites More sharing options...
Hafestos Posted May 3, 2007 Author Share Posted May 3, 2007 Tryin it now... Just ran repair permissions and it didnt work... Link to comment Share on other sites More sharing options...
Guest Ramm Posted May 3, 2007 Share Posted May 3, 2007 Have you tried with sudo -s ? Link to comment Share on other sites More sharing options...
Hafestos Posted May 3, 2007 Author Share Posted May 3, 2007 Yup, get the same error... Link to comment Share on other sites More sharing options...
hecker Posted May 3, 2007 Share Posted May 3, 2007 You could try downloading and installing a great system app called Onyx. It includes several optimization/repair tools. Hope this helps you out, hecker Link to comment Share on other sites More sharing options...
Hafestos Posted May 3, 2007 Author Share Posted May 3, 2007 Ill give it a try, thx the apps still downloading, but i also get errors that programs cant save to settings, so everytime i open a program after a reboot its like the first time opening it, wondering if theyre related... Link to comment Share on other sites More sharing options...
hecker Posted May 3, 2007 Share Posted May 3, 2007 It sounds like your file permissions are screwed. Onyx should be able to take care of that. hecker Link to comment Share on other sites More sharing options...
Hafestos Posted May 3, 2007 Author Share Posted May 3, 2007 fan it and it didnt fix it, i also think its file permissions but nothign works... Link to comment Share on other sites More sharing options...
hecker Posted May 3, 2007 Share Posted May 3, 2007 Check this out: http://forums.macosxhints.com/archive/index.php/t-30693.html Extract: What's in your root directory? ls -l / (that's lowercase LS -L) Specifically, you should see one line that shows the symlink for /etc: lrwxr-xr-x 1 root admin 11 10 Sep 10:38 etc -> private/etc Since both errors are claiming that they can't find /etc (which doesn't really exist, as the symlink above shows -- it's really /private/etc) that's my first guess... Edit to add: I'd also see if the real etc directory is still intact: ls -ld /private/etc to see if it's just the link that disappeared, or the whole directory. It seems that a missing symlink (/etc) is the root of the evil here. hecker Link to comment Share on other sites More sharing options...
Hafestos Posted May 3, 2007 Author Share Posted May 3, 2007 How am supposed to link it without sudo tho? new to mac, only really know hwo to run basic unix commands.... Link to comment Share on other sites More sharing options...
hecker Posted May 3, 2007 Share Posted May 3, 2007 boot into single user mode. -s hecker Link to comment Share on other sites More sharing options...
Hafestos Posted May 3, 2007 Author Share Posted May 3, 2007 tried apple s during boot but no luck, isnt that how to get into single user mode? Link to comment Share on other sites More sharing options...
Guest Ramm Posted May 3, 2007 Share Posted May 3, 2007 You have to do -s (dash S). Link to comment Share on other sites More sharing options...
Hafestos Posted May 3, 2007 Author Share Posted May 3, 2007 how do i reenable the prompt then, cause i know i disabeled it somewhere, but i cant find it now... Link to comment Share on other sites More sharing options...
hecker Posted May 3, 2007 Share Posted May 3, 2007 Just press F8 several times in a row (or mash if you like) right before the system starts to boot to get into the darwin boot menu. hecker Link to comment Share on other sites More sharing options...
Guest Ramm Posted May 3, 2007 Share Posted May 3, 2007 And then type in -s. Link to comment Share on other sites More sharing options...
Hafestos Posted May 3, 2007 Author Share Posted May 3, 2007 thats not the problem, the soft link is there... also this started happening after i installed firefox too... Link to comment Share on other sites More sharing options...
Guest Ramm Posted May 3, 2007 Share Posted May 3, 2007 Is a fresh install an option? Link to comment Share on other sites More sharing options...
Hafestos Posted May 3, 2007 Author Share Posted May 3, 2007 yea, ill just reinstall... Link to comment Share on other sites More sharing options...
Shredplayer Posted May 4, 2007 Share Posted May 4, 2007 are you using 10.4.9? it happened to me when i deleted var/etc folder in the Root drive. Link to comment Share on other sites More sharing options...
Recommended Posts