Networking Forums

Networking Forums > Computer Networking > Linux Networking > portmapd and sshd won't run as daemons

Reply
Thread Tools Display Modes

portmapd and sshd won't run as daemons

 
 
Rob Mitchell
Guest
Posts: n/a

 
      10-11-2004, 08:52 PM
I have a confusing problem where neither portmapd, or sshd will run as
daemons (eg via /etc/rc.d/init.d/portmap or ssh) but will run fine if I
turn on debugging (eg. /sbin/portmap -d or /usr/sbin/sshd -d ) and run
them in a console (as root)

The message that I get when running redhat-config-services is
"xxx is dead, but subsys locked." (if I try to start portmap for
instance from the redhat ui). At boot time, if I enable portmap or sshd
to run, startup hangs and I have to use interactive mode to get the
system up. (I'm pretty certain that this all worked at one point)

I've removed lock files, even moved /var/lock/subsys and created a new
one. I've looked in /var/run for defunct processes.

When running with debug on, they work fine and processes that use them
(like NFS) work fine.

I've looked through /var/log/messages and boot.log but when portmap is
running as a daemon, it doesn't seem to output anything (and when I turn
on debug, it works!)

Questions:
Is there any way to get some more output from portmap when it is running
as a daemon? How can I turn on -v option?

What other processes does portmap depend on (eg. iptables?)

Thanks for your help!

kernel is vmlinux-2.4.22-1.2115.nptl, fedora core1

 
Reply With Quote
 
 
 
 
Bill Marcum
Guest
Posts: n/a

 
      10-12-2004, 03:13 AM
["Followup-To:" header set to comp.os.linux.questions.]
On Mon, 11 Oct 2004 16:52:01 -0400, Rob Mitchell
<(E-Mail Removed)> wrote:
>
> I've looked through /var/log/messages and boot.log but when portmap is
> running as a daemon, it doesn't seem to output anything (and when I turn
> on debug, it works!)
>

Are you sure that /var is not full?


--
System Events
=-=-=-=-=-=-=
Sep 16 03:31:11 don kernel: lp0 on fire

 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rcp daemons not running Jim Anderson Linux Networking 4 07-16-2008 12:58 PM
sshd consuming 100% of cpu Unruh Linux Networking 2 06-12-2008 01:55 PM
sshd ssh question CL (dnoyeB) Gilbert Linux Networking 6 08-05-2005 03:43 PM
sshd not working Bob Tennent Linux Networking 7 04-16-2005 10:42 AM
LD_PRELOAD for sshd ? Markus Fischer Linux Networking 0 09-01-2003 02:25 PM



1 2 3 4 5 6 7 8 9 10 11