- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp 530 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
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
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
09-04-2012 05:08 AM
09-04-2012 05:08 AM
Hi,
I'm trying to ftp ftom my HP-UX B.11.11 to the Linux (RHEL6) machine.
I receives the following error:
# ftp -v server
Connected to server.
220 (vsFTPd 2.2.2)
Name (server:root): "I entered user name"
331 Please specify the password.
Password: "I entered the password for the above user"
530 Login incorrect
Login failed.
ftp> pwd
530 Please login with USER and PASS
ping is OK for both sides.
ssh is working for both sides.
I'v entered the /bin/bash entry -> /etc/shells of the HP-UX.
I'v entered .netrc the relevant fields.
Please advice.
Yali
Solved! Go to Solution.
- Tags:
- ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2012 05:11 AM
09-04-2012 05:11 AM
Re: ftp 530 error
lftp command from Linux machine is working fine and connects to HP-UX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2012 05:21 AM
09-04-2012 05:21 AM
Re: ftp 530 error
500 OOPS: cannot change directory: /home/visitor
Login failed
(visitor=user)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2012 12:03 PM
09-04-2012 12:03 PM
Re: ftp 530 error
Are there any FTP-related error messages in the logs of the Linux system? (Check /var/log/secure and /var/log/messages.)
The log messages probably include the reason why vsFTPd is rejecting the login attempt.
If you already have SSH working, why don't you use its scp/sftp tools for file transfer? Just set up SSH key authentication, then you can easily write scripts to move files between hosts. (If you need help in setting SSH key authentication, google for it: it has been explained many times in this forum and elsewhere.)
- Tags:
- scp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2012 02:32 PM
09-04-2012 02:32 PM
Re: ftp 530 error
are you sure your linux server will accept plain ftp requests?
most systems now will only do secure ftp (sftp)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2012 04:53 AM
09-05-2012 04:53 AM
SolutionHello Mr. Kurkela,
As always you right - that was a SELinux issue. It prevents the ftp daemon access to users directories (/).
That I concluded from /var/log/secure file.
I ran:
# setsebool -P ftp_home_dir=1
as root on the / directory and it works!!!
Great! Thanks a lot!
Yali.