LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-28-2006, 06:57 PM   #1
dbc001
Member
 
Registered: Jan 2004
Distribution: Slackware, Ubuntu
Posts: 97

Rep: Reputation: 15
Can't login - seg fault


Hi everyone, I've got a bit of an emergency:
I'm running Slackware 10 and apache seems to have died. i'm not running x windows or any GUI stuff. when i ssh in i get this message:
Code:
Last login: Sun Feb 26 22:18:32 2006 from 192.168.0.2
Linux 2.4.31.
I was logged in as a regular user on the physical machine, so i tried to do "apachectl restart" and got a Segmentation Fault. then tried "su -" and got another segmentation fault. at some point i seem to have gotten logged off.

now if i try to login on the physical machine it gives a similar message, then says "You have new mail." and then i go right back to the login prompt.

I tried to use Left ALT + SysRq + R to get into raw mode but I'm not having any luck. Any help would be greatly appreciated!

thanks in advance!

dbc
 
Old 03-01-2006, 12:03 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Hm, the same thing happened to me, but I don't think it's the same problem you are having.

In my situation, I was upgrading my AMD K6 laptop, and foolishly installed a package for Bash from linuxpackages.net that was compiled for i686, something my K6 cannot handle.

So the system ran fine, but whenever I tried to login, bash would seg fault and I would go right back to agetty.
 
Old 03-01-2006, 02:55 AM   #3
kadhiravan.r
Member
 
Registered: Nov 2004
Location: india/tamil nadu/chennai
Distribution: Linux 8.0
Posts: 37

Rep: Reputation: 15
Check your .bash_profile and check the /inittab file to get the default runlevel.
If it is possible to login thriugh emegency mode , see log messages.




kadhir.R
 
Old 03-01-2006, 09:48 AM   #4
azi
LQ Newbie
 
Registered: Nov 2003
Posts: 17

Rep: Reputation: 0
HI, same thing happened here.. The fastes way to get things fixed is to reinstall the binary packages...
 
Old 03-01-2006, 10:34 PM   #5
kadhiravan.r
Member
 
Registered: Nov 2004
Location: india/tamil nadu/chennai
Distribution: Linux 8.0
Posts: 37

Rep: Reputation: 15
Thumbs up Yes u r right!!!!

When U get Seg fault while running some command it is bec'z of the binary is corrpted. U can conform by using the Command--

#type commandname


This will give u the path of the command from where it is excecuted.

Copy that command from sosme other Pc and put it in the same path in the local PC.


Thsi will solve the problem.





kadhir
 
Old 03-01-2006, 10:51 PM   #6
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
I've also seen this happen with a dying HDD. Not saying that *is* the cause but just a heads up.
 
Old 03-02-2006, 04:18 AM   #7
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
I also got segment faults with Mozilla recently after installing another distro to another partition. It seems strange that so many people are reporting this. I wonder if there is an issue with Reiserfs???

I couldn't get xfce to work at all and I had to reinstall all of X. Now everything is working, but for how long?

How many of you guys who had the segment fault are running Reiserfs?
 
Old 03-02-2006, 08:38 AM   #8
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
Well all I've used in the last like 3 years is reiserfs so yeah. But I don't really think that has anything to do with it. ReiserFS has been dead stable for a long time now.

Would continue but I'm off to vegas.
 
Old 05-17-2006, 02:42 PM   #9
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
If evverything on your slackware system starts to segfault, your best bet is that youve got thw wrong version of the package glibc. So, doing a reinstall of glibc from a slackpack should fix that.. If installpkg is segfaulting too, you'll have to use the install CD, or install the package manually. (just tar xzvf it in the root directory)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
seg fault on fedora only dh0104 Programming 3 03-26-2005 12:57 PM
C seg fault drigz Programming 5 10-01-2004 03:35 PM
xmms - seg fault :( :( xconspirisist Linux - Software 2 02-07-2004 05:38 PM
gnome_error_dialog seg fault?? Castro Programming 3 06-11-2003 01:28 PM
gnome_app_create_menus seg fault in RH 7.3 Castro Programming 0 05-30-2003 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration