FTP not working Solaris 10

Hi All, I have a problem with FTP service on Solaris 10.

Whenever I try to FTP to one machine locally (ftp localhost) or from other machine I don't get any response, I see the ftp service on the machine is online and listening to port 21 but ftp is not responding.

Also it seems i can't restart the ftp service, i tried svcadm restart ftp (or disable/enable) but the service is showing online since 2011
online 2011 svc:/network/ftp:default

Post output of

svcs -xv ftp
root@PP# svcs -xv ftp
svc:/network/ftp:default (FTP server)
 State: online since May  4, 2011  2:36:12 PM AST
   See: man -M /usr/share/man -s 1M in.ftpd
   See: man -M /usr/share/man -s 1M ftpd
Impact: None.

Try:

inetadm -d ftp
inetadm -e ftp

Then

svcs -xv ftp

I tried that, still showing as online since 2011

root@PP# svcs -xv ftp
svc:/network/ftp:default (FTP server)
 State: online since May  4, 2011  2:36:12 PM AST
   See: man -M /usr/share/man -s 1M in.ftpd
   See: man -M /usr/share/man -s 1M ftpd
Impact: None.

Post output of:

ps -ef | grep inetd
svcs -xv inetd
root@P# ps -ef | grep inetd
    root   504     1   0   May 04 ?          24:18 /usr/lib/inet/inetd start
    root  4355 14740   0 11:45:48 pts/7       0:00 grep inetd

root@PP# svcs -xv inetd
svc:/network/inetd:default (inetd)
 State: online since May  4, 2011  2:36:05 PM AST
   See: man -M /usr/share/man -s 1M inetd
   See: /var/svc/log/network-inetd:default.log
Impact: None.

Try restarting inetd:

svcadm restart inetd

Also post:

tail /var/svc/log/network-inetd:default.log

i didn't work as well

the svcadm restart inetd didn't really restart the service, it is online since 2011 and nothing new in the inetd log (last entry since may 2011)

Is this a production system? You can try killing inetd manually:

pkill inetd

SMF should start is automatically.

it is production, which services would be impacted if inetd doesn't recover?

Those:

inetadm | grep online

Do you get an error message?
Are there any accounts listed in /etc/ftpusers ?

restart don't throw any errors.

Trying FTP just don't give any response, the session hangs and I have to break using ctrl+c

what is the risk when killing inted? we can't restart the server if inetd didn't recover? also is there risk to file system?

What do you mean by "can't restart the server if inetd didn't recover"? There is no risk to the filesystems. The only risk is to the services that are online now:

inetadm | grep online

hi belal84
check your /etc/ftpd/ftpuser and uncmd root

You should use both xshell and xftp applications.
First you must login to server with xshell. Later click to "new file transfer" button. Xftp application is going to automatically browse your file directory. :b: