- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Re: ftp 530 error
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP