[NCLUG] ProFTPd service
Joseph McDonald
joem at uu.net
Tue Feb 25 16:07:30 MST 2003
On Tue, Feb 25, 2003 at 03:56:15PM -0700, BJ Tiemessen wrote:
> After removing the lock file and pid then trying to restart the service
> /var/log/messages reads:
> proftpd shutdown failed
> proftpd startup succeeded
> Failed binding to 0.0.0.0, port 21: Adress already in use
> Check the ServerType directive to ensure you are configured correctly.
>
> So what does this mean?
Ok, here's what I would do..
service proftpd shutdown
rm /var/run/proftpd.pid (or whatever the pidfile is)
rm /var/lock/proftpd (or whatever the lockfile is)
killall -9 proftpd
ps -ef | grep ftpd
if there is still something running, kill it. Then:
grep -i ftp /etc/inetd.conf (or where ever that file is on your
system (find /etc/ | grep inetd))
make sure that line is commented out. It's possible that wuftpd or something
similar is getting started from inetd. If it's not commented out, comment it
out. and:
killall -HUP inetd
Then,
service proftpd start
if you really get stuck
'lsof | grep -i ftp'
and dig through that.
--joey
> Joseph McDonald wrote:
>
> >On Tue, Feb 25, 2003 at 04:40:23PM -0500, Joseph McDonald wrote:
> >
> >
> >>On Tue, Feb 25, 2003 at 02:34:49PM -0700, BJ Tiemessen wrote:
> >>
> >>
> >>>I tried removing the lock file, but I get the same results when trying
> >>>to restart, the service.
> >>>
> >>>
> >>What's /var/log/messages say?
> >>
> >>
> >
> >Oh also, remove the pid file in /var/run/. :)
> >
> >
> >
> >>>Joseph McDonald wrote:
> >>>
> >>>
> >>>
> >>>>On Tue, Feb 25, 2003 at 01:29:22PM -0700, BJ Tiemessen wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>I am trying to run proftpd with the command 'service proftpd start'
> >>>>>which returns "OK" but when I look at processes it does not show up.
> >>>>>When I try to stop it or restart the service I get shutdown fail, start
> >>>>>ok. When I look at the status of services I get a message like proftpd
> >>>>>is stopped but subsys is locked. How can I figure out why the program
> >>>>>will not run? Thanks.
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>Look in /var/lock for a lock file, 'find /var/lock/ | grep ftpd' remove it,
> >>>>then restart the service with the command you've listed.
> >>>>
> >>>> --joey
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>--
> >>>>>****************************************
> >>>>>BJ Tiemessen
> >>>>>Computer Science
> >>>>>Colorado State University
> >>>>>Benjamin.Tiemessen at ColoState.edu
> >>>>>Tiemesse at cs.ColoState.edu
> >>>>>****************************************
> >>>>>
> >>>>>
> >>>>>_______________________________________________
> >>>>>NCLUG mailing list NCLUG at nclug.org
> >>>>>
> >>>>>To unsubscribe, subscribe, or modify your settings, go to:
> >>>>>http://www.nclug.org/mailman/listinfo/nclug
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>_______________________________________________
> >>>>NCLUG mailing list NCLUG at nclug.org
> >>>>
> >>>>To unsubscribe, subscribe, or modify your settings, go to:
> >>>>http://www.nclug.org/mailman/listinfo/nclug
> >>>>
> >>>>
> >>>>
> >>>>
> >>>--
> >>>****************************************
> >>>BJ Tiemessen
> >>>Computer Science
> >>>Colorado State University
> >>>Benjamin.Tiemessen at ColoState.edu
> >>>Tiemesse at cs.ColoState.edu
> >>>****************************************
> >>>
> >>>
> >>>
> >>>_______________________________________________
> >>>NCLUG mailing list NCLUG at nclug.org
> >>>
> >>>To unsubscribe, subscribe, or modify your settings, go to:
> >>>http://www.nclug.org/mailman/listinfo/nclug
> >>>
> >>>
> >>_______________________________________________
> >>NCLUG mailing list NCLUG at nclug.org
> >>
> >>To unsubscribe, subscribe, or modify your settings, go to:
> >>http://www.nclug.org/mailman/listinfo/nclug
> >>
> >>
> >_______________________________________________
> >NCLUG mailing list NCLUG at nclug.org
> >
> >To unsubscribe, subscribe, or modify your settings, go to:
> >http://www.nclug.org/mailman/listinfo/nclug
> >
> >
>
> --
> ****************************************
> BJ Tiemessen
> Computer Science
> Colorado State University
> Benjamin.Tiemessen at ColoState.edu
> Tiemesse at cs.ColoState.edu
> ****************************************
>
>
>
> _______________________________________________
> NCLUG mailing list NCLUG at nclug.org
>
> To unsubscribe, subscribe, or modify your settings, go to:
> http://www.nclug.org/mailman/listinfo/nclug
More information about the NCLUG
mailing list