You are not logged in.
Em.. I exidently moved some libs, somewhere. Don't know how exactly, I was playing with sasl in
/usr/lib/sasl2/
I backed up sql libs to sql folder
mkdir sql
cp mysql* sql/*
then I deleted sql libs for testing purposes, and after a while I came back to this directory, to restore libs.
inside /usr/lib/sasl2/ I executed
mv /sql/* ../*
I might have misstyped something, but I'm not sure because after that the system went down. nothing worked pacman said I missing some libs, wget said I'm missing some libs, ls command didint worked /bin/ls no such file or directory and so on. now the system won't even start, says grub error 15.
I could reinstall the system, but I'd learn the approach to fix something like this
Last edited by anarxi (2009-01-25 07:23:15)
there is now knowledge that is not power
Offline
First make sure that you still have the required files in the directory you made first by
ls /usr/lib/sasl2/sql
then
mv /sql/* ../*
Should read
mv sql/* ./
That's assuming that you are in /usr/lib/sasl2/
/sql = /sql
where in this case
sql = /usr/lib/sasl2/sql
Offline
I understand all that, and thats why its so interesting why everything stopped working if in worst case scenario I only messed sasl2 libs.
every command stoped working, I could not execute even "ls" which said /bin/ls no such file or directory.
I'll try to boot from usb, mount hard drive and check if files are there or something, I was running couple services like postfix and bind with public access without finishing confugring them. maybe it was just coincidence that I was playing with libs, and I was actually hacked
there is now knowledge that is not power
Offline
You have to be very careful using mv command [I prefer to cp! just in case]
Try chrooting in [see wiki!] to fix some of the problems to get booting system
Failing that backup important files configs etc and reinstall
my2c
Mr Green I like Landuke!
Offline
I booted from arch usb, mounted partition to check whats there, and it looks weird, I got only "dev lib proc sbin srv sys tmp usr var". can't figure out what happened which log should I check and what to look for?
there is now knowledge that is not power
Offline
hehe, I found all the directories I'm missing in var
there is now knowledge that is not power
Offline