- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP Issue...!!
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
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
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-28-2010 12:33 PM
тАО12-28-2010 12:33 PM
FTP Issue...!!
I have an FTP issue on one of my hp-ux servers to another using "oracle" user id. The problem persists only on one particular server...below is the o/p pasted, need your help to resolve it...!!
oracle@himhps03[bin] pocdb> ftp himhdv02
Connected to himhdv02.thehartford.com.
220 himhdv02.thehartford.com FTP server (Revision 1.1 Version wuftpd-2.6.1(PHNE_38578) Fri Jun 26 09:21:37 GMT 2009) ready.
Name (himhdv02:km07656): oracle
331 Password required for oracle.
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
oracle@himhps03[bin] pocdb> ftp himhps02
Connected to himhps02.thehartford.com.
220 himhps02 FTP server (Version 1.1.214.4(PHNE_38458) Tue Jul 29 07:36:52 GMT 2008) ready.
Name (himhps02:km07656): oracle
331 Password required for oracle.
Password:
230 User oracle logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2010 01:56 PM
тАО12-28-2010 01:56 PM
Re: FTP Issue...!!
Your first (problem) server's ftp greeting
*****
220 himhdv02.thehartford.com FTP server (Revision 1.1 Version wuftpd-2.6.1(PHNE_38578) Fri Jun 26 09:21:37 GMT 2009) ready
*****
Your second (working) server's ftp greeting:
*****
220 himhps02 FTP server (Version 1.1.214.4(PHNE_38458) Tue Jul 29 07:36:52
*****
First server is running Washington University origined, somewhat enhanced ftp server whereas the second server is running a plain old ftpd provided with HPUX itself.
wuftpd, has some *features* which you explicitly need to configure. I remember this from many many years ago but I forgot the details. Most probably oracle user is not in the list of users allowed to login via wuftpd server. You need to put the user into the ftpaccess file somewhere in order to make it work. Or just change the ftp server your problem server uses to the plain ftpd, unless there is a reason why wuftpd has been put in place.
run this command on both servers and note the differences:
grep ftp /etc/inetd.conf| grep -v tftp
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2010 02:30 PM
тАО12-28-2010 02:30 PM
Re: FTP Issue...!!
Not a very detailed description of anything.
uname -a
> 331 Password required for oracle.
> Password:
> 530 Login incorrect.
> Login failed.
Have you tried any of the obvious things?
Are you sending the right password for user
"oracle" on that system? Does that
user+password combination work in a non-FTP
context on that system? Does FTP on that
system work as expected for other user names?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2010 02:53 PM
тАО12-28-2010 02:53 PM
Re: FTP Issue...!!
Assuming the password is correct, make sure oracle's shell is listed in /etc/shells. That's a routine source for not being able to log in via ftp...
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2010 03:21 PM
тАО12-29-2010 03:21 PM
Re: FTP Issue...!!
Can you tell me what's the default oracle shell that needs to be added on /etc/shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2010 03:32 PM
тАО12-29-2010 03:32 PM
Re: FTP Issue...!!
> Can you tell me what's the default oracle shell that needs to be added on /etc/shell
That would be the oracle account's default shell as defined in '/etc/passwd'.
If the file '/etc/shells' [plural] doesn't exist or is not readable, the list of standard shells is assumed to be:
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh
Hence, if you do have an '/etc/shells' file, make sure that it (at least) includes the absolute path to the 'oracle' default shell as Doug suggested you verify.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2010 06:53 AM
тАО12-30-2010 06:53 AM
Re: FTP Issue...!!
awk -F: '$1 ~ /^oracle/ {print $NF}' /etc/passwd
will tell you the shell that oracle's using and what needs to be added to /etc/shells if it's not there already.
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2010 07:00 AM
тАО12-30-2010 07:00 AM
Re: FTP Issue...!!
To be clear, if you don't already have an '/etc/shells' file and if (for example) you were using the 'tcsh' shell with your Oracle, then define not only the standard shells I listed, but also include the 'tcsh' shell like this:
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/local/bin/tcsh
/usr/bin/keysh
You don't want an '/etc/shells' file that contains only your Oracle shell since then other, standard shells would be denied FTP access!
Use absolute paths.
Regards!
...JRF...