LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-23-2008, 01:34 PM   #1
joker20
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware/Ubuntu/CentOS
Posts: 286

Rep: Reputation: 31
can not execute /sbin/agetty


yea, prompted with this lovely message this morning
the only info i can give is that ive recently updated/installed gtk+2, JRE 1.6, JDK and possibly glibc
i have slack 12 dvd/knoppix next to me ready to...googleing lead me to replacing the /sbin directory but i dont have another install handy to do that
i dont think java had anything to do with this and im thinking its the glibc but how can i go about a speedy fix?
im not near my machine at the moment so i can post more info asap
 
Old 04-23-2008, 03:57 PM   #2
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by joker20 View Post
yea, prompted with this lovely message this morning
the only info i can give is that ive recently updated/installed gtk+2, JRE 1.6, JDK and possibly glibc
i have slack 12 dvd/knoppix next to me ready to...googleing lead me to replacing the /sbin directory but i dont have another install handy to do that
i dont think java had anything to do with this and im thinking its the glibc but how can i go about a speedy fix?
im not near my machine at the moment so i can post more info asap

Slackware 12.0 doesn't have an updated gtk+2, jre, jdk, or glibc, so where did you get these "updates" ?

If you installed packages from the -current (development towards 12.1) branch, that was a bad idea.
 
Old 04-23-2008, 04:28 PM   #3
joker20
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware/Ubuntu/CentOS
Posts: 286

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by rworkman View Post
Slackware 12.0 doesn't have an updated gtk+2, jre, jdk, or glibc, so where did you get these "updates" ?

If you installed packages from the -current (development towards 12.1) branch, that was a bad idea.
i know i went after gtk+2 to get something working
then i installed JDK/JRE to get limewire working
and glibc for some reason...maybe to get some missing libraries
 
Old 04-23-2008, 05:17 PM   #4
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by joker20 View Post
i know i went after gtk+2 to get something working
then i installed JDK/JRE to get limewire working
and glibc for some reason...maybe to get some missing libraries
I think you missed the point.

Did you install them from the 12.0 or -current package sets?
 
Old 04-23-2008, 06:34 PM   #5
joker20
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware/Ubuntu/CentOS
Posts: 286

Original Poster
Rep: Reputation: 31
it was individual tarballs over a course of 3 days or so
 
Old 04-23-2008, 07:49 PM   #6
joker20
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware/Ubuntu/CentOS
Posts: 286

Original Poster
Rep: Reputation: 31
Mutagenix is doing the same thing, it fails to load X and then INIT disables itself for respawning to fast
...ill try knoppix
 
Old 04-23-2008, 08:17 PM   #7
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Upgrading glibc is a BAD idea without upgrading the rest of the system. A really bad idea. How did you upgrade glibc? (This is important in attempting to fix the problem.) Did you download an existing .tgz package that you installed with `installpkg glibc...` or `upgradepkg glibc...`, or did you compile it yourself (and if you DID compile it yourself, did you create a package or just let it install without thinking about uninstallation)?

The easy way would be to download the glibc package from your favourite mirror (the version in slackware-12.0, not slackware-current) and `upgradepkg glibc...` IF you created/downloaded a package for the updated glibc version you installed. If not, maybe `installpkg glibc...`, but that's pretty iffy and many residual files will probably remain.
 
Old 04-23-2008, 09:56 PM   #8
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by joker20 View Post
it was individual tarballs over a course of 3 days or so
If you just "blind compiled" glibc on your own, go ahead and reinstall. It's the easiest way out of that mess.
 
Old 04-23-2008, 10:16 PM   #9
joker20
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware/Ubuntu/CentOS
Posts: 286

Original Poster
Rep: Reputation: 31
see this is what sucks cause im not even sure if it was glibc
bah, i might just give up and reinstall
 
Old 04-24-2008, 01:41 AM   #10
joker20
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware/Ubuntu/CentOS
Posts: 286

Original Poster
Rep: Reputation: 31
ok so i just did a fresh install and yet the problem has presented itself again
once i got back into my box i reinstalled apps that i have been using and some new apps that shouldnt cause any problems, once i restarted i got the same issue
madwifi driver - have use with no problems
nvidia driver and beryl - have used with no problems
fuse and ntfs-3g - installed and remounted drives, could read and write w/ no problems...not sure if a restart was involved
openoffice and limewire - recently added but should cause any issues
libdvdcss - have used with no problems

this is literally all that was reinstalled after a fresh install...could one of those apps really lock me out of my system?
the only one i could see causing file access issues is ntfs-3g but that doesnt make a whole lot of sense
 
Old 04-24-2008, 07:51 AM   #11
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201

Rep: Reputation: 30
After the fresh install, and before you installed the other apps, did agetty work for you?
have you check if /sbin/agetty has mode 755? is /sbin/agetty even present?
Are you installing those apps from source, using a slackbuild from somewhere, using a binary package? Does it come from a trusted site?
Might be paranoia, but your system could have been compromised.
 
Old 04-24-2008, 10:49 AM   #12
joker20
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware/Ubuntu/CentOS
Posts: 286

Original Poster
Rep: Reputation: 31
/sbin/agetty is present - the mode is not known right now, ill check on that
its one of these apps thats causing it...it has to be - the trick is just narrowing it down

edit: it does have RWX

Last edited by joker20; 04-24-2008 at 11:21 AM.
 
Old 04-24-2008, 11:21 AM   #13
Bourdieu
Member
 
Registered: Jan 2006
Location: Paris
Distribution: Slackware current
Posts: 38

Rep: Reputation: 11
Can you execute agetty in a console ?

What does your /etc/inittab look like ?
 
Old 04-24-2008, 11:25 AM   #14
joker20
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware/Ubuntu/CentOS
Posts: 286

Original Poster
Rep: Reputation: 31
i just edited it to see what would happen...nothing obviously - and no i havent tried to execute it in a console...the only way i can use it is through knoppix or my slack12 dvd
Quote:
#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Version: @(#)inittab 2.04 17/05/93 MvS
# 2.10 02/10/95 PV
# 3.00 02/06/1999 PV
# 4.00 04/10/2002 PV
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified by: Patrick J. Volkerding, <volkerdi@slackware.com>
#

# These are the default runlevels in Slackware:
# 0 = halt
# 1 = single user mode
# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (default Slackware runlevel)
# 4 = X11 with KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)
# 6 = reboot

# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:

# System initialization (runs when system boots).
si:S:sysinit:/etc/rc.d/rc.S

# Script to run when going single user (runlevel 1).
su:1S:wait:/etc/rc.d/rc.K

# Script to run when going multi user.
rc:2345:wait:/etc/rc.d/rc.M

# What to do at the "Three Finger Salute".
ca::ctrlaltdel:/sbin/shutdown -t5 -r now

# Runlevel 0 halts the system.
l0:0:wait:/etc/rc.d/rc.0

# Runlevel 6 reboots the system.
l6:6:wait:/etc/rc.d/rc.6

# What to do when power fails.
pf:owerfail:/sbin/genpowerfail start

# If power is back, cancel the running shutdown.
pg:owerokwait:/sbin/genpowerfail stop

# These are the standard console login getties in multiuser mode:
c1:1235:respawn:/sbin/agetty 38400 tty1 linux
c2:1235:respawn:/sbin/agetty 38400 tty2 linux
c3:1235:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
#c5:1235:respawn:/sbin/agetty 38400 tty5 linux
#c6:12345:respawn:/sbin/agetty 38400 tty6 linux

# Local serial lines:
#s1:12345:respawn:/sbin/agetty -L ttyS0 9600 vt100
#s2:12345:respawn:/sbin/agetty -L ttyS1 9600 vt100

# Dialup lines:
#d1:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS0 vt100
#d2:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS1 vt100

# Runlevel 4 used to be for an X window only system, until we discovered
# that it throws init into a loop that keeps your load avg at least 1 all
# the time. Thus, there is now one getty opened on tty6. Hopefully no one
# will notice. ;^)
# It might not be bad to have one text console anyway, in case something
# happens to X.
x1:4:respawn:/etc/rc.d/rc.4

# End of /etc/inittab
 
  


Reply



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
swaret a little gnome!!!! cannot exec... /sbin/agetty.... mio_carpe Slackware 6 04-23-2008 06:45 PM
ZipSlack 10 + LOADLIN give error message(s) --INIT: Cannot execute "/sbin/agetty"-- dhv Slackware 9 07-24-2006 10:02 PM
INIT: cannot execute /sbin/agetty xrado Slackware 5 08-06-2005 04:44 AM
/sbin/agetty missing?! flamesrock Linux - Software 1 12-03-2004 12:00 AM
cannot execute "/sbin/agetty" <-- appears during kernel boot process CestusGW Linux - General 2 01-10-2004 05:16 PM

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

All times are GMT -5. The time now is 12:34 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