07-29-2009
linux system recovery after overriding connect() by "ld.so.preload"
dear fellows;
i have used ld.so.preload file to override connect() function, dynamic library overriding, it did worked really fine ......
but i went on to struck in a situation ... within the overrided connect() i have used printf once to see IP and Port to whom the connect request is being
sent and some how when i rebooted my system to see what happens at the reboot with the overrided connect() ..... i was unable to load linux and the following
problem/error show repeatedly ....
ERROR:
---------------------------------------------------------------
init: tty1 main process (1169) terminated with status 1
init: tty1 main process ended, respawning
---------------------------------------------------------------
and the tty1 keeps changing to tty1/2/3/4/5/6.
while process no is incremented every next itteration.
can some body help me rovcover my system....
i have tried updating linux with and without bootloader updation.
Regards,
-zeeshan
3 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a CentOS release 5.2 (Final)host running kernel 2.6.18-92.el5 with at raid 10 that had two mirrored drives fail. The drives were re-inserted and now the raid shows healthy (for now). I tried to mount but got an Input/output error. I then attempted a fsck:
fsck.gfs2 -y /dev/vg_01/uss_vol... (0 Replies)
Discussion started by: king_hippo
0 Replies
2. Red Hat
Hi Friends,
Can someone help me with below issue , thanks.
Subject : Unable to configure "Reliance NetConnect" on RHEL 5
Here some helpful information :
# lsusb
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 002: ID 8087:0020
Bus 001 Device 003: ID 192f:0416
Bus 002 Device... (0 Replies)
Discussion started by: arunraj192
0 Replies
3. UNIX for Beginners Questions & Answers
Cannot present unpresented disks back again. On a test server tried this as a solution "multipath -r" and it worked. Too worried to try it in production before I know all the information.
Any info would be appreciated!
Also some links to the documentation on this specific issue could help a... (1 Reply)
Discussion started by: jsteppe
1 Replies
LEARN ABOUT DEBIAN
preload
PRELOAD(8) System Administration Utilities PRELOAD(8)
NAME
preload - Adaptive readahead daemon
SYNOPSIS
preload [OPTION]...
DESCRIPTION
preload is an adaptive readahead daemon that prefetches files mapped by applications from the disk to reduce application startup time.
-h, --help
Display command line parameters and their default values, and exit.
-v, --version
Display version information and exit.
-c, --conffile
Set configuration file. Empty string means no conf file. (default is /etc/preload.conf)
-s, --statefile
Set state file to load/save. Empty string means no state. (default is /var/lib/preload/preload.state)
-l, --logfile
Set log file. Empty string means to log to stderr. (default is /var/log/preload.log)
-f, --foreground
Run in foreground, do not daemonize.
-n, --nice
Nice level. (default is 15)
-V, --verbose
Set the verbosity level. Levels 0 to 10 are recognized. (default is 4)
-d, --debug
Debug mode: --logfile '' --foreground --verbose 9
SIGNALS
On receipt of a SIGHUP, the daemon will close and reopen its log file, and reread the configuratoin file.
On receipt of a SIGUSR1, the daemon dumps the currently loaded configuration into the log file.
On receipt of a SIGUSR2, the daemon saves its state into the state file.
AUTHOR
Written by Behdad Esfahbod <behdad@gnu.org>
REPORTING BUGS
Report bugs to <http://preload.sf.net/bug>
COPYRIGHT
Copyright (C) 2005,2006,2007,2008 Behdad Esfahbod.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
preload 0.6.4 May 2012 PRELOAD(8)