- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP configuration
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-01-2004 07:30 AM
03-01-2004 07:30 AM
FTP configuration
/etc/ftpd/ directory but what is confusing is
why does the 2470 FTP work but not the 5470 without the file setup. I have also verified that the inetd.conf is correctly setup for both servers.
Any thoughts ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2004 07:34 AM
03-01-2004 07:34 AM
Re: FTP configuration
What errors are you getting? And how do you want to customize ftp?
ftp will need to have an entry in /etc/services for getservent() calls. Also make sure you are not denying ftp access in /var/adm/inetd.sec file.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2004 07:45 AM
03-01-2004 07:45 AM
Re: FTP configuration
I able to setup Anonymous FTP using SAM but
I need a USER ftp access to other directories.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2004 07:49 AM
03-01-2004 07:49 AM
Re: FTP configuration
Enable ftp with logging in /etc/inetd.sec. Like
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -a -v
if it is not already there. Refresh inetd configuration with "inetd -c".
Then try ftp'ing to the system and note the errors logged into /var/adm/syslog/syslog.log file. May be you have created /etc/shells files and didn't add all the shells in there. You will find those errors in syslog.log.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2004 07:51 AM
03-01-2004 07:51 AM
Re: FTP configuration
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2004 07:53 AM
03-01-2004 07:53 AM
Re: FTP configuration
Do you have a /etc/shells file being utilised?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2004 08:05 AM
03-01-2004 08:05 AM
Re: FTP configuration
tail -f /var/adm/syslog/syslog.log
Then ftp, you will see what you need to take the next step. Post results please.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 01:49 AM
03-02-2004 01:49 AM
Re: FTP configuration
As per the suggestions I have looked at the SHELLS on both servers. I also edited the
inetd.conf with the changes and reset it.
I tried to FTP and then viewd the log. (attached) . It indicates that a FTPAccess file is missing. This is were it is confusing because the 2470 server does not have this file either and I am able to FTP.
??
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 01:53 AM
03-02-2004 01:53 AM
Re: FTP configuration
could be pam,the difference?
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 01:54 AM
03-02-2004 01:54 AM
Re: FTP configuration
could be pam the difference?
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 01:54 AM
03-02-2004 01:54 AM
Re: FTP configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 02:03 AM
03-02-2004 02:03 AM
Re: FTP configuration
This is the line in inetd.conf
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -a -v
I am unsure of the function of PAM.
and the ftpd directory on both servers does not have any files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 02:10 AM
03-02-2004 02:10 AM
Re: FTP configuration
Check and post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 02:14 AM
03-02-2004 02:14 AM
Re: FTP configuration
good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 02:22 AM
03-02-2004 02:22 AM
Re: FTP configuration
-a was suggested as you were saying that you had necessary files in /etc/ftpd directory. One of them is ftpaccess.
Obviously you don't have ftpaccess file. Remove -a from ftpd line, re-read inetd (inetd -c) and then try ftp.
You made two changes at the same time - adding -l -v -a and editing /etc/shells. After taking out -a, your ftp should work.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 02:55 AM
03-02-2004 02:55 AM
Re: FTP configuration
After removing the -a from ftpd command
in the inetd.conf. I again viewed the log
after trying FTP and it indicated a Bad Shell. I then added
/bin/ksh
/bin/csh
/bin/sh
to the shells file, the same as the other server. This is working great.
I thought having
/usr/bin/ksh
/usr/bin/csh
/usr/bin/sh
would have been sufficient but apparently not.
Thanks all for your help.
First time using the forum and it has served me well. I hoped to return the assistance in the future.
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 03:03 AM
03-02-2004 03:03 AM
Re: FTP configuration
sure come again and don't fotget to award points to those involved and especially to those, who helped you find the solution.
They don't cost you anything and they make friends, off course no need to overdo it. ;-)
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 03:06 AM
03-02-2004 03:06 AM
Re: FTP configuration
wow, you surely are a fast learner. ;-)
My hint was a complete waste.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2004 03:12 AM
03-02-2004 03:12 AM
Re: FTP configuration
There are no replies that are a waste.
Some replies are more relevant. But all replies are useful because they make you think.
Thanks for your response.
Paul