A. How to start internet services in HP UX
Command : /sbin/init.d/net start
Please note that your network configuration file is /etc/rc.config.d/netconf.
more info
B. How to start FTP daemons in HP UX
1.) Check /etc/services file, and make sure that ftp entry is not commented out.
This file associates official service names and aliases with the port number and protocol the services use.
ftp 21/tcp # File Transfer Protocol (Control)
2.) Check /etc/inetd.conf file, and make sure that ftp entry is not commented out.
ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l
3.) Run 'inetd -c' command.
Check the daemon process existence by 'ps -ef | grep ftpd'.
# ps -ef | grep ftpd
root 1964 1734 0 02:00:45 pts/tb 0:00 /usr/lbin/ftpd ftpd -l
root 1977 1734 0 02:07:15 pts/tb 0:00 grep ftpd
#
4.) If the daemon process is not listed even after 3rd step, run the command found in /etc/inetd.conf file (manually).
You should have Superuser (root) permission to do that.
# /usr/lbin/ftpd ftpd -l &
[2] 1978
#
For me, it worked after this 4th step !
No comments:
Post a Comment