yast/suseconfig problem
I was just a bit quick with the fingers. I used yast1 in 7.0 and edited nameserver configuration. as it started to run the usual scripts after commiting to the change I noticed I had made a mistake and I killed yast. I thought I killed it before any scripts ran. I restarted yast and went back into nameserver configuration. I then commited again and it said "another suse config is running. waiting for it to finish......." I checked 'ps ax' and it was true. the thing was still running. I killed it and then closed my other yast session. I opened it again. I had no resolv.conf anymore. I edited nameservers again and tried to commit but it won't start suseconfig in yast anymore. I tried to hand start suseconfig but it won't start anymore saying it detected a running copy even though there is none. I know this is all my fault just saying what happened and there should be some recourse of action. mk _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
Hey MK: I never did have an /etc/resolv.conf! I don't think it was installed? On Tuesday 20 March 2001 18:40, you wrote:
I was just a bit quick with the fingers. I opened it again. I had no resolv.conf anymore. I edited nameservers again and tried to commit but it won't start suseconfig in yast anymore.
mk
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
-- Cheers, Jonathan
On Wednesday 21 March 2001 01:40, you wrote:
I was just a bit quick with the fingers.
Sometimes you gotta watch those fingers... ;-)
I noticed I had made a mistake and I killed yast. I thought I killed it before any scripts ran.
Better to let it finish, then restart it and *then* make changes... (Easy enough for me to say... Not putting you down ,though - been there, done that ;-) It's just not always possible to know how far YaST has gotten in it's course of actions...
"another suse config is running. waiting for it to finish......."
Which probably prevents some fatal shit from happening...
I checked 'ps ax' and it was true. the thing was still running. I killed it and then closed my other yast session.
Maybe this is where things got bad? e.g. if SuSEconfig was in the process of writing resolv.conf, and didn't get to finish?
...and tried to commit but it won't start suseconfig in yast anymore.
I tried to hand start suseconfig but it won't start anymore saying it detected a running copy even though there is none.
Starting by hand/from YaST doesn't make much difference in this case (I think), but IIRC a lock-file is made whenever SuSEconfig and/or similar stuff runs. This is to make sure only ONE instance runs at a time. Which basically makes a lot of sense... (Imagine the inconsistencies that could arise if two SuSEconfigs were changing the system simultaneously, one changing the settings that the other one's using as a basis for something else...) So what you might try is: (with no *new* instances of yast and suseconfig running) look for a file called 'lock' in /var/some/directory or perhaps /proc/some/other/directory most likely the path involves yast or suseconfig or similar. Once (if) you find it, and you have made _sure_ ps ax doesn't show suseconfig (or yast) - delete it (the lock-file that is) then try running SuSEconfig and see what happens... I'm not at all certain of what I'm saying here, though. But I do seem to remember this scenario from somewhere, and this course of action... Maybe something I read on SDB? This was back when I was using 6.4 though, and since I've just recently shifted to 7.1 (skipping 7.0) I'm not entirely sure how things look for you, or if this has changed since 6.4... Anyone? In any case: BE CAREFUL
I know this is all my fault...
Yeah well - since I abandoned Wintendo, at least I know that it's MY FAULT, and not some 'feature'... Hope I helped, and cheer up :-) Jon
_________________________________________________________________ WHY Get your FREE download of MSN Explorer at http://explorer.msn.com when you got Konqueror?
participants (3)
-
Jon Clausen
-
Jonathan Drews
-
Purple Shirt