- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP access
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
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
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
тАО12-13-2005 04:21 PM
тАО12-13-2005 04:21 PM
I have HP-UX 11.0 box on which ftp access is allowed. I can access and login successfully to this server from anywhere in my network using ftp.
Yesterday I add my PC name to the hosts file in that server and for some unknown reason the server become not accessible via ftp from my PC as long as that entry exists in the hosts file...
C:\>ftp
Connected to
220
2 GMT 2001) ready.
User (
530 User root access denied....
Login failed.
ftp>
regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2005 04:27 PM
тАО12-13-2005 04:27 PM
Re: FTP access
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2005 04:30 PM
тАО12-13-2005 04:30 PM
Re: FTP access
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=630481
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2005 04:38 PM
тАО12-13-2005 04:38 PM
Re: FTP access
I'm not using DHCP at all and the IP address resolution is correct. note that if I remove the entry of my PC from the hosts file every think work fine....
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2005 04:46 PM
тАО12-13-2005 04:46 PM
Re: FTP access
Also, Run inted with logging (inetd -l)enabled and check /var/adm/syslog/syslog.log
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2005 04:58 PM
тАО12-13-2005 04:58 PM
Re: FTP access
What is the message in syslog.log file?? (I hope you have enabled inetd logging. inetd -l)
Check /etc/ftpd/ftpusers file.
Check /etc/ftpusers file.
If root is in the file, you need to take it away. But doing doing direct ftp/telnet/ssh with root is not a good sysadministration practise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2005 05:53 PM
тАО12-13-2005 05:53 PM
Re: FTP access
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 07:08 PM
тАО12-16-2005 07:08 PM
Re: FTP access
sorry for my late response.
actually, my problem is with ftp access only, I can telnet my server normally. my problem appears only after I add myPC IP to the hosts file. everything was working fine before...even now if I remove that entry from the hosts file, I can ftp my server from my PC with any account.
I double check the inet.sec file and the ftp access is allowed. also the ftpusers file is empty. right now I cann't start the inetd with -l option because I cann't stop the inetd service.
I'm wondering what is the relation between the ftp service & hosts file??
thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 07:50 PM
тАО12-16-2005 07:50 PM
Re: FTP access
What's your ftp line in /etc/inetd.conf?
If the -a option is not used it will not check the ftpaccess file.
Are you making use of ftphosts file?
Are you making use of LDAP/NIS, if yes check your /etc/nsswitch.conf.
What's the error message your seeing in ftpd.log or syslog.log?
GoodLuck
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 08:50 PM
тАО12-16-2005 08:50 PM
Re: FTP access
the ftp entry in /etc/inetd.conf is :
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -a
we are not using ftphosts, LDAP/NIS.
Also there is no logs related to ftp appears in the syslog.log file. ftpd.log is not there.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 11:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 11:30 PM
тАО12-16-2005 11:30 PM
Re: FTP access
Can you add the following entry to the /etc/syslog.conf:
#------------------------------
# FTPD messages
#------------------------------
local5.debug /var/adm/syslog/ftpd.log
Make sure that you use the TAB instead of spaces. Do a kill -HUP
Also add the -v option to your ftp line and then do a inetd -c.
GoodLuck
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2005 06:48 PM
тАО12-17-2005 06:48 PM
Re: FTP access
The problem was in the ftpaccess file. it was configured to allow only specific class of addresses to connect to the server. Darrel solution help me in identifying this problem. The old entry in the ftpaccess file was something like:
class ftpusers real *.*.*.*
I change this entry to:
class ftpusers real *
and its now working fine.
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2005 06:14 PM
тАО12-29-2005 06:14 PM