Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FTP stopped working

26 views
Skip to first unread message

Mike

unread,
Dec 18, 2007, 5:15:18 PM12/18/07
to
Hello all, my ftpd stopped working on my sunfire running Solaris 10.

I have displayed using svcs:

(root)# svcs -xv ftp
svc:/network/ftp:default (FTP server)
State: online since Tue Dec 18 15:40:48 2007
See: man -M /usr/share/man -s 1M in.ftpd
See: man -M /usr/share/man -s 1M ftpd

And also using netadm:

(root)# inetadm
ENABLED STATE FMRI
enabled online svc:/application/x11/xfs:default
-- snip --
enabled online svc:/network/ftp:default
-- snip --

But when I try to ftp to myself I get:

(root)# ftp 172.20.234.7
Connected to 172.20.234.7.
500 FTP server shut down -- please try again later.
ftp>


I don't know what else to check. I do a ps -ef | grep ftp, but in.ftpd does
not show up on the display.

Anyone have any idea's?

Thanks.


Surinder

unread,
Dec 19, 2007, 7:28:08 AM12/19/07
to

Hi,

try stopping the service explicitly for some time and start again as
follows

svcadm disable svc:/network/ftp:default
wait for a minute
svcadm enable svc:/network/ftp:default

By default, on Solaris 10, (though this option is available with any
Unix)
a common network listener starts the respective program on a client
request arrival.

try
ftp 0
in one terminal and
ps -eaf | grep ftp
in other,
you might get something like this
root 571 225 0 17:25:15 ? 0:00 /usr/sbin/in.ftpd -a
root 570 564 0 17:25:15 pts/2 0:00 ftp 0

If svcadm is unable to start ftpd, you disable it, and start it
manually.
svcadm disable svc:/network/ftp:default
start ftp daemon in standalone mode from a terminal
/usr/sbin/in.ftpd -S

And you want it to start everytime after boot (without svcadm
framework)
create following file and put the above starting command in it.
/etc/rc2.d/S75ftpd or any similiar name starting with S75 like
S75ftpdOldStyleRC
make sure it has execute permission
chmod a+rx /etc/rc2.d/S75ftpd
Or call support.

Thanks
- Surinder

Mike

unread,
Dec 19, 2007, 10:01:42 AM12/19/07
to
Starting it manually worked.

Thanks.

"Surinder" <gogree...@gmail.com> wrote in message
news:77bbc846-296f-4d2d...@e10g2000prf.googlegroups.com...

James Carlson

unread,
Dec 19, 2007, 10:31:09 AM12/19/07
to
"Mike" <war...@swbell.net> writes:
> (root)# ftp 172.20.234.7
> Connected to 172.20.234.7.
> 500 FTP server shut down -- please try again later.
> ftp>

That message occurs when you configure the "shutdown" option. Take a
look first at /etc/ftpd/ftpaccess. You should have a "shutdown" entry
there, and that will name a file (by default, it's
/etc/ftpd/shutdown.msg).

That file will have the time and date of the shutdown. See
ftpaccess(4) for details.

Getting this message usually means that someone ran the ftpshut(1M)
utility.

--
James Carlson, Solaris Networking <james.d...@sun.com>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677

0 new messages