- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to restart tftpd
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 04:11 PM
тАО06-18-2003 04:11 PM
After scanning the open ports of my A Class server (HP-UX 11i) using nmap, the tftpd process start to hog the cpu time. How can i restart this process? I tried to restart the inetd but nothing happens. Is there any patches to eliminate this? (after nmaping)
Tnxs in advance
Joseph
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 04:24 PM
тАО06-18-2003 04:24 PM
Re: How to restart tftpd
#/sbin/init.d/inetd stop
#/sbin/init.d/inetd start
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 04:25 PM
тАО06-18-2003 04:25 PM
Re: How to restart tftpd
tftpd is started by inetd. If you already have a tftpd running means, there is a tftp client session alive. Find it out by looking at /var/adm/syslog/syslog.log file if you enabled connection logging for inetd.
If you are sure this tftpd is not in use, then you can simply kill it.
If you don't use tftp on the box, comment it out in inetd.conf and restart inetd.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 04:26 PM
тАО06-18-2003 04:26 PM
Re: How to restart tftpd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 04:32 PM
тАО06-18-2003 04:32 PM
Re: How to restart tftpd
You need to check whether something is actually using the tftp port - udp/69.
Do the following:
netstat -an | grep 69
If there are sockets in use then I'd recommend using lsof to see just what the heck they're doing.
lsof -i UDP:tftp
or
lsof -i udp:69
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 06:39 PM
тАО06-18-2003 06:39 PM
Re: How to restart tftpd
Jeff, I try to lsof but give me a command not found error, I think I dont have this tool on my system, where can I download it.
Many thanks to all :)
Joseph
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 06:46 PM
тАО06-18-2003 06:46 PM
Re: How to restart tftpd
Here is a step by step procedure.
vi /etc/inetd.conf
find the line that includes tftpd
comment it out by placing a # at the beginning of the line.
save the file
inetd -c
reloads inetd.
Now there is no tfptd daemon running.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 06:48 PM
тАО06-18-2003 06:48 PM
Solutionlsof is actually going to find the process "tftpd" that is using the port 69. You can check the client's IP address by actually looking at netstat -an as suggested by Jeff. You will see your host:69 as source with xxxxx:arbitrary_port as destination. Your xxxxx is the remote system.
I believe your nmap might have connected to your tftpd port and left it in Close_Wait state. Your netstat -an will show that information.
Just go ahead and kill it in that case.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 08:34 PM
тАО06-18-2003 08:34 PM
Re: How to restart tftpd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 08:58 PM
тАО06-18-2003 08:58 PM
Re: How to restart tftpd
Joeseph - lsof does not come with HP-UX. You can download it from the following site (search for lsof).
http://hpux.cs.utah.edu/
Cheers
Con