Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: Ice-9 on 29 January 2003, 05:27

Title: various problems with RH!
Post by: Ice-9 on 29 January 2003, 05:27
I don't know what happened.
When I want to go to System Tools and run Hardware Browser, Network Device Control or red Hat Network I get "Unknown Error".

the RHN applet crashes on me all the time so I don't  bother reactivating it all the time and I lanch it from time to time to see whether there are any updates or not.
I just tried to launch it and it returns "Segmentation fault"????

Something has to be corrupted somewhere, but what?

Edit : Server Settings/Services doesn't work either.
Seems like I continue to find things that don't work anymore   :confused:

[ January 28, 2003: Message edited by: Ice9 ]

Title: various problems with RH!
Post by: voidmain on 29 January 2003, 06:08
Maybe a drive starting to go bad? Have you run a fsck on your hard drive?
Title: various problems with RH!
Post by: Ice-9 on 29 January 2003, 06:20
Yes I did, 3.8% not contingent is the only output message I got.
Title: various problems with RH!
Post by: pkd_lives on 29 January 2003, 06:25
First I would suggest you think back to any software you have added, or changes you have made, no matter how seemingly innocent. Maybe you changed a setting and it is having knock on effects.

Secondly have you tried creating a new user? I had a segmentation fault that seemes to have had something to do with the gnome GUI. When I deleted and recreated the user the fault vanished (if you try this backup is recommended  (http://smile.gif)  ). It has never returned, of course that does not rule out the possibility of drive problems.

Do other users experience this problem?
Title: various problems with RH!
Post by: raptor on 29 January 2003, 07:59
quote:
Have you run a fsck on your hard drive?


my first course of action.


  (http://smile.gif)

[ January 28, 2003: Message edited by: raptor ]

Title: various problems with RH!
Post by: slave on 29 January 2003, 08:41
Weird.  I've never had any of those utilities crash on me.  Have you been messing with your system as root or something?  When did this start?
Title: various problems with RH!
Post by: Ice-9 on 29 January 2003, 11:55
quote:
Originally posted by Linux Frank

First I would suggest you think back to any software you have added, or changes you have made, no matter how seemingly innocent. Maybe you changed a setting and it is having knock on effects.

Secondly have you tried creating a new user? I had a segmentation fault that seemes to have had something to do with the gnome GUI. When I deleted and recreated the user the fault vanished (if you try this backup is recommended  ). It has never returned, of course that does not rule out the possibility of drive problems.

Do other users experience this problem?




I can't think of anything I've installed in the past couple of days.
The only thing I can think of is when I added the repositories void main suggested in his RH tip, I ran an upgrade all and then synaptic hung.
When I tried to start it up again I was told that 2 versions of gettext were present on my system and synaptic wasn't able to handle that.
I removed gettext and everything was back to normal (I think).

I tried to log out and log back in as root and the problem persists, so creating a new user would not solve the problem I think.
Title: various problems with RH!
Post by: voidmain on 29 January 2003, 12:06
Weird, I run an upgrade almost every day on all my machines and haven't run into a problem yet (other than with the mplayer-skins package a while back seemed to have a problem but not any more).

[edit]
That is until right now.  (http://smile.gif)  There appears to be a problem with the codefactory repository right now. I am going to comment it out of my apt instructions page and check on it later. I got a corrupt package list from it and Synaptic wouldn't run until I commented it out in my sources.list file.
[/edit]

[ January 29, 2003: Message edited by: void main ]

Title: various problems with RH!
Post by: Ice-9 on 29 January 2003, 12:33
The problem seems to be far more serious than I first thought; liker Linux Frank I thought of a program I had installed that messed things up but I ran rpm -VA and a BUNCH of files are missing, another bunch have changed permissions and others have the checksum changed ....????

Yesterday while I was on irc suddenly my pc froze completely, I could only sporadically move my mouse and had to do a hard reboot.
Could it be that a malicious sob hacked my box?
Title: various problems with RH!
Post by: voidmain on 29 January 2003, 12:36
Is your machine connected directly to the net or are you behind a firewall? It is not uncommon for some files to be different (configuration files). Otherwise that tells me that it's either a corrupt file system or you've been 0wn3d.
Title: various problems with RH!
Post by: Ice-9 on 29 January 2003, 12:45
My machine is connected to the Net but I've got the Red Hat Firewall settings on "High", no exception rules.

Here's a snippet of the output I get :

Code: [Select]

Also all the network config stuff appear to have a Size, permissions and MD5 change

Code: [Select]

[ January 29, 2003: Message edited by: Ice9 ]

[ January 29, 2003: Message edited by: Ice9 ]

Title: various problems with RH!
Post by: voidmain on 30 January 2003, 01:14
First of all, let me say I am having similar problems so it appears not to be a hack. I suspect some packages on an upgrade must have been screwed up. I will try and track it down and let you know how to fix it. I don't have all of the problems you are having (my "rootfiles" package appears to be OK where yours appears to be missing some files). Must have been that new repository I added. What does your "sources.list" look like?
Title: various problems with RH!
Post by: Ice-9 on 30 January 2003, 01:24
Code: [Select]

But I already removed the last two sources since they were taking forever to update and it was not like there was THAT much in there that I would ever need.

Anyway, glad to hear that I may not have been rooted (I have been with my Win2K install in the past and it was not a pleasant experience!).
I hope you can find some sort of solution, I've been searching all day long in various mailing lists on  the different errors I had, mising packages, etc ... and I found nothing   :(  
But if I manage to find something I'll post it here too.
Title: various problems with RH!
Post by: voidmain on 30 January 2003, 01:41
I think I might have found the problem. I believe it is related to pygtk2 which is what all of those other programs depend on. I'm in the process of sorting it out and will let you know of the fix. Hopefully shortly... If that is the problem then I'll need to figure out which repository the package came from and nuke it.
Title: various problems with RH!
Post by: voidmain on 30 January 2003, 01:58
Ok, I think I have mine fixed. Here's what I did:

# apt-get remove pygtk2

which on my system selected around 25 total packages for removal (most of them being "redhat-config-*" packages). You'll want to open an editor and copy/paste the list of packages into a file so you can reinstall them later. Then I modified my sources.list file and commented out all the repositories except for the "freshrpms" one. Then run "# apt-get update" and then synaptic (or apt-get) and install all of the packages that were removed. All fixed.

I have to assume it had to come from tuxfamily or codefactory repositories as I believe they were common to both of our configurations. I'll try and narrow it down to the exact one and get it out of my apt tip on my site.

That would not explain why your "rootfiles" package is screwed up. You might need to reinstall that one as well (/root/.cshrc etc). Do an "rpm -qil rootfiles" to see the list of files included in that package.

[ January 29, 2003: Message edited by: void main ]

Title: various problems with RH!
Post by: voidmain on 30 January 2003, 02:08
I seemed to have nailed the problem repository. It's that new one I just added "planetccrm" yesterday and that's where it came from. Problem is, I don't see it listed on your sources.list file. The way you can figure it out is:

1) comment out all repositories except for freshrpm in /etc/apt/source.list
2) # apt-get update
3) # synaptic
  3a. check version of pygtk2 that is "available"
4) uncomment one of the repositories that you commented out in step 1
5) repeat steps 2-4

When you find the repository where there is a new "pygnome" available, that one is the one causing problems.
Title: various problems with RH!
Post by: Ice-9 on 30 January 2003, 02:49
void main, my hero!!!!!!  :D  
everything's back to normal, thank you, thank you, thank you!!!!!!!!

 
quote:
Originally posted by void main

I seemed to have nailed the problem repository. It's that new one I just added "planetccrm" yesterday and that's where it came from. Problem is, I don't see it listed on your sources.list file.


Now, that would be because I deleted this source from within Synaptic yesterday, it was too slow for my connection and it took ages to download/update.

Are you sure your second name is not Linus?
  ;)
Title: various problems with RH!
Post by: voidmain on 30 January 2003, 02:54
quote:
Originally posted by Ice9:
Are you sure your second name is not Linus?
   ;)  



I'm sure. Linus would not use apt-get or RPM. He would write the code himself.
Title: various problems with RH!
Post by: Ice-9 on 30 January 2003, 03:03
quote:
I'm sure. Linus would not use apt-get or RPM. He would write the code himself.


LOL, probably true!!!
It's only that you seem to have an answer to every problem that might pop up, even when X11 asks about converting ASCII graphics to .gif (or something similar)   :D