Copying over a copy from the install disc seems like a good idea, but I've never been through this so. If you get nothing, or something else, then the tcsh you installed isn't valid. Try running "file /bin/tcsh", which should tell you "/bin/tcsh: Mach-O executable ppc". If you can get to a prompt somehow, and you have some kind of /bin/tcsh file present, you need to analyze it a bit. Similarly, you might be able to get in via "single user mode" - boot while holding down shift-S (I think, haven't had a reason to use it yet but I think that's right), and this should dump you in as root & hopefully running under /bin/sh. If you're lucky this will try to log you in with whatever shell is available, if you can't set your preferred shell to one of whichever ones remain for you. One method of low level desperation would be to login as ">console" at the login screen. Are you seeing the same timestamp for each file (assuming you can get that far), or if not is tcsh newer perchance? If so, that might point to the date where things went wrong, and that in turn might help you piece together how the shell got hosed. All of them have the same time stamp, corresponding to the day I installed the OS. You're definitely getting the same error that people were talking about a year ago? The file /bin/tcsh has a zero file length? On my system, the /bin directory has four *sh files: csh, sh, tcsh, zsh. Darn it, I just got Fink and Gnome 1.4, PhP/MySql/Apache, and VPC all working optimally, and now I've got to erase the system do it all over again! I've started manually backing up everything and it looks like I'm going to have to reformat and reinstall, but if there's a way to repair this without major disruption, I'd sure like to hear it. So if any of these symptoms sound familiar, let me know. So I logged out, relogged in and then it started giving the Process Completed message. I noted that when this bug appeared, at first when I launched Terminal, I got the welcome message, then I never got a prompt, it just hung while the CPU monitor went up to 100%. Could just be a permission problems, now I've got to find a way to do chmod and chown from a GUI app. I tried copying another copy of /bin/tcsh from a working system on another machine (as root of course) and now I don't get the "Process Completed" message, I get "" so it appears something is deeply hosed. I tried the trick of running a command from the menu in Terminal.app, but that doesn't work for me, it did nothing, didn't run the command, just echoed it. And the darn thing is, I've seen this bug before, and somehow I fixed it, but I can't remember how. I've just encountered this bug again, on my Powerbook G3/500 running 10.1.1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |