- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp issues.
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
Forums
Discussions
Discussions
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
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
07-10-2008 09:33 AM
07-10-2008 09:33 AM
ftp issues.
I'm running HP-UX 11.11 on an rp4440.
I am able to ftp to the rp4400 without issues, I can cd to certain filesystems (/opt, /root, /var, /home etc) and list their contents. But, when a try to cd into other directories such as /app (on internal disk) or /app2 (EMC disk) the ftp session hangs. It eventually comes back with the error:
421 Service not available, remote server has closed connection
A little background that may or may not be related to the ftp issues. Early this morning it appears automounter hung. Any process or session that tries to list or access /net hangs. We attempted to stop automounter by setting automounter=0 in nfsconf and stopping then starting nfs.core,client and server. This did not work, automouter won't go away.
Thanks,
Tom.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2008 09:39 AM
07-10-2008 09:39 AM
Re: ftp issues.
If an FTP server won't allow logins, it is probably configured correctly, but the problem is probably with authorizing users at login. FTP servers in current distriubtions often authorize users with the Pluggable Authentication Modules library, in which case there should be an authorization file /etc/pam.d/ftp. A generic authorization file looks like this. (The line break on the first "auth" line is for readability. The entry is actually a single, long line).
#%PAM-1.0
auth required /lib/security/pam_listfile.so item=user \ sense=deny file=/etc/ftpusers onerr=succeed auth required /lib/security/pam_pwdb.so shadow nullok auth required /lib/security/
pam_shells.so
account required /lib/security/pam_pwdb.so
session required /lib/security/pam_pwdb.so
Also, make sure the /etc/ftpusers file, or whatever users file is named in the first "auth" line, is configured correctly.
BR/
Yaqub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2008 09:42 AM
07-10-2008 09:42 AM
Re: ftp issues.
1) I think this is a good thing. ftp is a bad tool to be using, as authentication and data stream are pretty much in the clear.
2) That being said, check the ftpaccess file for configuration to chroot the user or prevent full access.
3) /var/adm/syslog/syslog.log might give you an error message pointing to the source of the problem.
4) Perhaps use HP's openssh implementation known as Secure Shell available at http://software.hp.com
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
07-10-2008 09:45 AM
07-10-2008 09:45 AM
Re: ftp issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2008 09:48 AM
07-10-2008 09:48 AM
Re: ftp issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2008 10:03 PM
07-10-2008 10:03 PM
Re: ftp issues.
This hang would make sense if they were NFS.
>We attempted to stop automounter by setting automounter=0 in nfsconf and stopping then starting nfs.core,client and server. This did not work
You may have to reboot but that may fix the automounter anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2008 03:56 AM
07-11-2008 03:56 AM
Re: ftp issues.
The file systems are local to the system.
For automounter, I agree, the only way to free this up is to reboot.
Thanks,
Tom.