Sponsored Content
Operating Systems Linux Slackware Sbin/agetty loop Prevents Boot of Slackware 12.1 Fileserver Post 303012198 by 5pac3m0nk3y on Wednesday 31st of January 2018 01:26:34 PM
Old 01-31-2018
Sbin/agetty loop Prevents Boot of Slackware 12.1 Fileserver

HI everyone,
Nice to meet you all.
I recently rebooted Slackware 12.1 running on a Dell PowerEdge 2400. after 240 days of continuous run-time, and discovered it gets stuck in a sbin/agetty loop. We were rebooting because trying to mount root in webmin broke a bunch of things. Couldn't even get in as root through putty anymore.

I've found three options for dealing with this:

1) boot from a Slackware live CD (do these exist?), mount the hard drive
root partition, copy the libc.so from the cd /lib (the libc.so file, not the symlink) in the
/lib of the mounted root partition (maybe make a backup of the libc.so before) and
redo a symlink if necessary.

2.) Glibc Recovery as mentioned at a link I can't post here.

3.) manually copied over the /sbin/agetty executable (making sure that the kernel was the same version and that the kernel targeted a compatible processor) and that showed me yet _another_ executable was missing. So then I just kept manually copying until it worked. Not sure how to ensure the kernels are the same at this point. I got the 12.1 disc though. No other Slackware 12.1 machines running here unfortunately. I could install a virtual one maybe in virtual box and copy the files that way?

Fortunately I already got most all of the samba shares, the windows mounts onto an external drive using Ubuntu live CD. I also attempted to create an image of the primary partition over to external drive. But I did it while it was mounted and now worry it may be corrupted. I''m wondering the best way to back up the whole system before trying some of the approached mentioned.
Clonezilla? Ease US TO DO? Partition Magic?

Wouldn't creating an image of the partition to an external drive fails if the fact it was mounted was an issue? I'm hoping I don't have to do it again since it takes hours with that 2.0 USB port.

Thanks for your advice,
Al
5pac3m0nk3y
 

8 More Discussions You Might Find Interesting

1. IP Networking

Fileserver?????????? with windows XP and unix

I'm new to this. My question is I have freebsd installed on one computer. I want to make it a file server. My main computer is windows XP. How do I make the freebsd machine in a fileserver. and so that windows xp can see it and access it (2 Replies)
Discussion started by: akari
2 Replies

2. UNIX for Dummies Questions & Answers

Unix as fileserver

Dear all, I am a windows user, am not into unix/linux at all. however, I have a new client who is asking me if unix can act as file server. i.e. my application imports files from several locations and put them in one location (on a shared folder on the server), so my application will be... (7 Replies)
Discussion started by: KBalquis
7 Replies

3. Solaris

different between /sbin/init and /usr/sbin/init

root@test09 # ls -al /sbin/init -r-xr-xr-x 1 root sys 550000 Jun 29 2002 /sbin/init root@test09 # ls -al /usr/sbin/init -r-xr-xr-x 1 root sys 37100 Jun 29 2002 /usr/sbin/init (2 Replies)
Discussion started by: userking
2 Replies

4. Shell Programming and Scripting

Fileserver in Perl via xinetd - bad XML output

Hello there, I hope I took the right forum... I never worked with Perl, but now I have to get a simple fileserver running. The goal is to deliver an XML file (it's part of a new security model in the Flashplayer, see Adobe - Developer Center : Setting up a socket policy file server for more... (9 Replies)
Discussion started by: blemmo
9 Replies

5. UNIX for Dummies Questions & Answers

What type of Disk I/O takes place on a FileServer?

When you open a file on a fileserver from your client, what type of operation takes place on the server? I imagine the server's hard drive reads the file that the client has requested, and then makes it available somehow through the network share, is that accurate? Also what service on Unix/Linux... (0 Replies)
Discussion started by: glev2005
0 Replies

6. Solaris

Ultra 45 Boot Loop

I am trying to get an old Ultra 45 to boot and it is stuck in a loop. I cannot get anything to come up on a monitor, so when I hook up a serial connection to the TTYa interface I see the following output: @(#)OBP 4.21.2 2005/12/22 17:17 Sun Ultra 45 Workstation Clearing TLBs Loading... (0 Replies)
Discussion started by: Madrox72
0 Replies

7. Shell Programming and Scripting

Piping through grep/awk prevents file write

So, this is weird... I'm running this command: iotop -o -P -k -bt -d 5 I'd like to save the output relelvant to rsyslogd to a file, so I do this: iotop -o -P -k -bt -d 5 | grep rsyslogd >> /var/log/rsyslogd Nothing is written to the file! I can write the full output to the file: ... (2 Replies)
Discussion started by: treesloth
2 Replies

8. Shell Programming and Scripting

Inotifywait restart script prevents reboot when started

Hi, maybe someone could help me optimizing this little script. It works so far, but when running, reboot does not work. If kill inotifywait reboot from shell works. I think some optimization is required here. This script starts at the end of the boot process, from an external device and... (3 Replies)
Discussion started by: lowmaster
3 Replies
rmmount(1M)						  System Administration Commands					       rmmount(1M)

NAME
rmmount - removable media mounter for CD-ROM, floppy, Jaz drive, and others SYNOPSIS
/usr/sbin/rmmount [-D] DESCRIPTION
The rmmount utility is a removable media mounter that is executed by Volume Management whenever a removable medium, such as a CD-ROM or a floppy, is inserted. The Volume Management daemon, vold(1M), manages removable media. rmmount can also be called by using volrmmount(1). Upon insertion of a medium and following invocation of the volcheck(1) command, rmmount determines what type of file system (if any) is on that medium. If a file system is present, rmmount mounts the file system in one of the locations listed below. For a diskette (floppy): /floppy/floppy0 symbolic link to mounted floppy in local floppy drive /floppy/floppy_name mounted named floppy /floppy/unnamed_floppy mounted unnamed floppy For a CD-ROM or a DVD-ROM: /cdrom/cdrom0 symbolic link to mounted CD-ROM in local CD-ROM drive /cdrom/CD-ROM_name mounted named CD-ROM /cdrom/CD-ROM_name/partition mounted named CD-ROM with partitioned file system /cdrom/unnamed_cdrom mounted unnamed CD-ROM For a Zip drive: /rmdisk/zip0 symbolic link to mounted Zip medium in local Zip drive /rmdisk/Zip_name mounted named Zip medium /rmdisk/Zip_name/partition mounted named Zip medium with partitioned file system /rmdisk/unnamed_zip mounted unnamed Zip medium For a Jaz drive: /rmdisk/jaz0 symbolic link to mounted Jaz medium in local Jaz drive /rmdisk/Jaz_name mounted named Jaz medium /rmdisk/Jaz_name/partition mounted named Jaz medium with partitioned file system /rmdisk/unnamed_Jaz mounted unnamed Jaz medium For a generic "rmdisk" drive: /rmdisk/rmdisk0 symbolic link to mounted removable medium in local removable medium drive /rmdisk/rmdisk_name mounted named removable medium /rmdisk/rmdisk_name/partition mounted named removable medium with partitioned file system /rmdisk/unnamed_rmdisk mounted unnamed removable medium If the media is read-only (for example, a CD-ROM or a floppy with write-protect tab set), the file system is mounted read-only. If a file system is not identified, rmmount does not mount a file system. See the System Administration Guide: Basic Administration for more information on the location of CD-ROM, floppy, and other media without file systems. Also see volfs(7FS). If a file system type has been determined, it is then checked to see that it is "clean." If the file system is "dirty," fsck -p (see fsck(1M)) is run in an attempt to clean it. If fsck fails, the file system is mounted read-only. After the mount is complete, "actions" associated with the media type are executed. These actions allow for the notification to other pro- grams that new media are available. These actions are shared objects and are described in the configuration file, /etc/rmmount.conf. See rmmount.conf(4). Actions are executed in the order in which they appear in the configuration file. The action function can return either 1 or 0. If it returns 0, no further actions will be executed. This allows the function to control which applications are executed. In order to execute an action, rmmount performs a dlopen(3C) on the shared object and calls the action function defined within it. The def- inition of the interface to actions can be found in /usr/include/rmmount.h. File systems mounted by rmmount are always mounted with the nosuid flag set, thereby disabling setuid programs and access to block or char- acter devices in that file system. Upon ejection, rmmount unmounts mounted file systems and executes actions associated with the media type. If a file system is "busy" (that is, it contains the current working directory of a live process), the ejection will fail. OPTIONS
-D Turn on the debugging output from the rmmount dprintf calls. FILES
/etc/rmmount.conf removable media mounter configuration file /usr/lib/rmmount/*.so.1 shared objects used by rmmount. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWvolu | +-----------------------------+-----------------------------+ SEE ALSO
volcancel(1), volcheck(1), volmissing(1), volrmmount(1), fsck(1M), vold(1M), dlopen(3C), rmmount.conf(4), vold.conf(4), attributes(5), volfs(7FS) System Administration Guide: Basic Administration SunOS 5.10 1 Mar 2004 rmmount(1M)
All times are GMT -4. The time now is 03:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy