I'm working on my development server right now. I have it setup to back up to a tape every night, and for the past couple months, it's worked great. This morning I saw various errors about bad mediums at st0... So I'm guessing it's a bad tape. I dunno if that has anything to with the following, but here goes.
Today, I was working on a bunch of files for phpBB. I used a little shell script I wrote theother day for replacing text in many files. I've used the script before, and never had any problems. It calls sed to change text. there are also some file renames, then file deletions, so that I can replace the text nicely. Anyway, I ran it with incorrect parameters, and My dumbass didn't put in any error catching... Eitherway, sed threw a bunch of errors. But then, next thing I know, I'm denied permission to the 'ls' command, and 'cd' command. I reboot the server, get to the login screen.
Instead of seeing: "dev login: " I see "(none) login: " (The server's name is dev).
Anybody have any clue what the hell I could have done? I'd show you my shell script, but unfortunately, I cannot get to it.
Any help you could give me would be appreciated. Thanks.
Today, I was working on a bunch of files for phpBB. I used a little shell script I wrote theother day for replacing text in many files. I've used the script before, and never had any problems. It calls sed to change text. there are also some file renames, then file deletions, so that I can replace the text nicely. Anyway, I ran it with incorrect parameters, and My dumbass didn't put in any error catching... Eitherway, sed threw a bunch of errors. But then, next thing I know, I'm denied permission to the 'ls' command, and 'cd' command. I reboot the server, get to the login screen.
Instead of seeing: "dev login: " I see "(none) login: " (The server's name is dev).
Anybody have any clue what the hell I could have done? I'd show you my shell script, but unfortunately, I cannot get to it.
Any help you could give me would be appreciated. Thanks.