Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-28-2006, 06:57 PM
|
#1
|
Member
Registered: Jan 2004
Distribution: Slackware, Ubuntu
Posts: 97
Rep:
|
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
|
|
|
03-01-2006, 12:03 AM
|
#2
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
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.
|
|
|
03-01-2006, 02:55 AM
|
#3
|
Member
Registered: Nov 2004
Location: india/tamil nadu/chennai
Distribution: Linux 8.0
Posts: 37
Rep:
|
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
|
|
|
03-01-2006, 09:48 AM
|
#4
|
LQ Newbie
Registered: Nov 2003
Posts: 17
Rep:
|
HI, same thing happened here.. The fastes way to get things fixed is to reinstall the binary packages...
|
|
|
03-01-2006, 10:34 PM
|
#5
|
Member
Registered: Nov 2004
Location: india/tamil nadu/chennai
Distribution: Linux 8.0
Posts: 37
Rep:
|
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
|
|
|
03-01-2006, 10:51 PM
|
#6
|
Member
Registered: Dec 2003
Distribution: Slackware
Posts: 325
Rep:
|
I've also seen this happen with a dying HDD. Not saying that *is* the cause but just a heads up.
|
|
|
03-02-2006, 04:18 AM
|
#7
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
|
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?
|
|
|
03-02-2006, 08:38 AM
|
#8
|
Member
Registered: Dec 2003
Distribution: Slackware
Posts: 325
Rep:
|
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.
|
|
|
05-17-2006, 02:42 PM
|
#9
|
Member
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827
Rep:
|
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)
|
|
|
All times are GMT -5. The time now is 09:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|