- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp error
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
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
03-12-2008 03:39 AM
03-12-2008 03:39 AM
ftp error
When trying to ftp(using root) from my laptop to a HPUX server i get:
530 Login incorrect.
Login failed.
I have no trouble ftp'ing to it from a server in the same in the same subnet. I just cant connect directly.
There's no ftpusers file. A /etc/shells file exists.
In /etc/services:
ftp-data 20/tcp # File Transfer Protocol (Data)
ftp 21/tcp # File Transfer Protocol (Control)
(i.e. not commented out)
netstat -a |grep ftp
tcp 0 0 *.ftp *.* LISTEN
It's a Trusted System running 11.31.
What might i be forgetting??
Regards,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 04:26 AM
03-12-2008 04:26 AM
Re: ftp error
On the other trusted systems in the subnet i dont have a problemm with ftp.
So this has me confused....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 04:41 AM
03-12-2008 04:41 AM
Re: ftp error
If the connection and login is working from another system to your server, I would guess the problem is on your PC (NUM on or different keyboard layout?).
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 04:47 AM
03-12-2008 04:47 AM
Re: ftp error
thanks for the reply.
From a DOS prompt, Im able to ftp to any other of the servers so i dont think it's the PC. Ive tried to connect from other machines and its the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 05:43 AM
03-12-2008 05:43 AM
Re: ftp error
If not, look in /var/adm/inetd.sec. This file controls what IPs/subnets services are allowed to. Someone would have purposefully edited this file as by default all services to all subnets is allowed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 05:45 AM
03-12-2008 05:45 AM
Re: ftp error
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 06:20 AM
03-12-2008 06:20 AM
Re: ftp error
inetd -c
Or kill the pid and restart.
Just a thought.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 06:37 AM
03-12-2008 06:37 AM
Re: ftp error
Yes, i did inetd -c after i unhashed ftp. Still the same.
There's no var/adm/inetd.sec file on any of the servers and no mention of it in the syslog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 06:51 AM
03-12-2008 06:51 AM
Re: ftp error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 07:06 AM
03-12-2008 07:06 AM
Re: ftp error
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 07:13 AM
03-12-2008 07:13 AM
Re: ftp error
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 07:23 AM
03-12-2008 07:23 AM
Re: ftp error
/etc/resolv.conf has a nameserver and the gateway is correct (in netconf)
There's no ftpaccess or ftpusers file in /etc/ftpd
I'd really like to find out why this is not working befoer i use ftp software.
Its a strange one.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 07:31 AM
03-12-2008 07:31 AM
Re: ftp error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 07:31 AM
03-12-2008 07:31 AM
Re: ftp error
Open another session to the server and run
# tail -f /var/adm/syslog/syslog.log
and watch it while you try to connect.
2) it would make sense (and probably somebody already did it) on a secured system to restrict or even disable ftp and telnet daemons at all for security reasons.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 07:44 AM
03-12-2008 07:44 AM
Re: ftp error
It doesnt show anything new in the past 2 days, even as I try to connect via ftp or even telnet/ssh etc, nothing logged.....
Logging must be outputted to another file but how can I find out?
# more /etc/syslog.conf
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 08:12 AM
03-12-2008 08:12 AM
Re: ftp error
While ftp'ing you are getting a login and password prompt but end up with the 530 login incorrect error.
This means ftp is running and working normally. Again, try as a different user other than root to test.
Also, if you have no entries for the ftp connections in syslog.log then tack on a "-l" (el) at the end of the ftpd line in /etc/inetd.conf and inetd -c to re-read the conf. This will at least put some entries in the syslog.log and we will take it from there.
If you still do not see some ftp connection info in syslog.log then just maybe you are not connecting to the server you think you are ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 08:21 AM
03-12-2008 08:21 AM
Re: ftp error
I believe the cause is it being a trusted system and there's some parameter i havent modified to allow ftp through.
My inetd.conf currently has
ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l
so i was expecting logging but nothing at all in the syslog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 09:48 AM
03-12-2008 09:48 AM
Re: ftp error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 10:48 AM
03-12-2008 10:48 AM
Re: ftp error
there are no characters like that in the passwords
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2008 11:17 AM
03-12-2008 11:17 AM
Re: ftp error
Please check the file /var/adm/inetd.sec for any ftp restriction....
Regards,
Davis Paul.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2008 01:45 AM
03-13-2008 01:45 AM
Re: ftp error
Still unsure what the cause is but i've got a workaround so that'll do.
Many thanks to all who contributed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2008 03:01 PM
08-14-2008 03:01 PM
Re: ftp error
[/home/apps/oracle/admin/scripts]-bi> ll /etc/ftpd/
total 32
dr-xr-xr-x 2 bin bin 96 Feb 13 2008 ftp-exec
-rw-r--r-- 1 root sys 1928 Aug 14 15:25 ftpaccess
-rw-r--r-- 1 root sys 21 Jul 29 11:37 ftpusers
dr-xr--r-- 2 bin bin 96 Aug 14 15:25 pids