Operating System - HP-UX
1822530 Members
2676 Online
109642 Solutions
New Discussion юеВ

Re: proftpd-1.2.0 installation/compilation?

 
SOLVED
Go to solution
Paul T. Green
Advisor

proftpd-1.2.0 installation/compilation?

Recently downloaded proftpd from a recommended site, the software comes in a proftpd<****>_depot.gz file which I later gunzip and it uncompresses to proftpd<***>_depot which I do not know what to do with. I have HP C/ANSI C Compiler already installed.
Yet *I* (no experience installing non HP apps) do not know what to do next. Am I supposed to make, compile or what the depot file. SWINSTALL creates directories but the executables do not get installed...
We'd like to know a little bit about you for our files.... Paul Simon
9 REPLIES 9
Patrick Wallek
Honored Contributor

Re: proftpd-1.2.0 installation/compilation?

If the file you downloaded is a depot file, then you should be able to use swinstall to install the package.

If the binaries are not getting installed, then I would question the validity of the file you downloaded.
Patrick Wallek
Honored Contributor

Re: proftpd-1.2.0 installation/compilation?

I just downloaded and installed proftpd. The product installed fine. The binaries installed in /opt/proftpd/bin and /opt/proftpd/sbin.

Attached is a listing of the /opt/proftpd directory structure.
Shannon Petry
Honored Contributor

Re: proftpd-1.2.0 installation/compilation?

If you went to the HP-UX porting archives, then what you have is a depot.
I'll assume it is in /tmp, and lets say it is proftp_depot.gz
You already unzipped it, so now you have
/tmp/proftp_depot
This depot will install to /opt/proftp (or something like this....)
>/usr/sbin/swinstall -s /tmp/proftp_depot

This will bring up the swinstall interface from which it is like patches. you have to select the package, mark it, test for install, then install if it passes.

Remeber to use the full path for the depot!

Of course this is binary, so there is no need to compile, and would fail badly if you tried because the port is quite different from the source at proftp.org. You will have to configure this though, and change /etc/inetd.conf to call proftp instead of the standard ftp.

Good luck!
Shannon
Microsoft. When do you want a virus today?
Paul T. Green
Advisor

Re: proftpd-1.2.0 installation/compilation?

Patrick, downloaded the ftp ver, gunzipped it, swinstalled it and recreated the dir structures... Can't seem to go to the next step... That is install or execute the app. Which is the executable that initiates the daemon from loading . (Cannot seem to download you attachment to compare the files inside bin)
We'd like to know a little bit about you for our files.... Paul Simon
Patrick Wallek
Honored Contributor
Solution

Re: proftpd-1.2.0 installation/compilation?

I'm not sure about how to start the daemon. The is a doc directory in /opt/proftpd that should have some more info. There are also man pages included that should help you out. I would start with the files in the doc directory and the man pages and go from there.

Here is the listing of files in /opt/proftpd:

[uran:root] 540 /opt/proftpd
# ll -R
total 4
drwxr-xr-x 7 root sys 96 Mar 14 13:44 ./
dr-xr-xr-x 40 bin bin 1024 Mar 14 13:44 ../
drwxr-xr-x 2 root sys 96 Mar 14 13:44 bin/
drwxr-xr-x 2 root sys 1024 Mar 14 13:44 doc/
drwxr-xr-x 2 root sys 96 Mar 14 13:44 etc/
drwxr-xr-x 5 bin bin 96 Mar 14 13:44 man/
drwxr-xr-x 2 root sys 96 Mar 14 13:44 sbin/

./bin:
total 96
drwxr-xr-x 2 root sys 96 Mar 14 13:44 ./
drwxr-xr-x 7 root sys 96 Mar 14 13:44 ../
-rwxr-xr-x 1 root sys 24576 Oct 3 06:03 ftpcount*
-rwxr-xr-x 1 root sys 24576 Oct 3 06:03 ftpwho*

./doc:
total 158
drwxr-xr-x 2 root sys 1024 Mar 14 13:44 ./
drwxr-xr-x 7 root sys 96 Mar 14 13:44 ../
-rwxr-xr-x 1 root sys 18016 Oct 3 06:03 COPYING*
-rwxr-xr-x 1 root sys 46707 Oct 3 06:03 ChangeLog*
-rwxr-xr-x 1 root sys 2594 Oct 3 06:03 HPUX.Install*
-rwxr-xr-x 1 root sys 5842 Oct 3 06:03 INSTALL*
-rwxr-xr-x 1 root sys 1312 Oct 3 06:03 NEWS*
-rwxr-xr-x 1 root sys 2599 Oct 3 06:03 README*

./etc:
total 4
drwxr-xr-x 2 root sys 96 Mar 14 13:44 ./
drwxr-xr-x 7 root sys 96 Mar 14 13:44 ../
-rw-r--r-- 1 root sys 1613 Oct 3 06:00 proftpd.conf

./man:
total 0
drwxr-xr-x 5 bin bin 96 Mar 14 13:44 ./
drwxr-xr-x 7 root sys 96 Mar 14 13:44 ../
drwxr-xr-x 2 bin bin 96 Mar 14 13:44 man1/
drwxr-xr-x 2 bin bin 96 Mar 14 13:44 man5/
drwxr-xr-x 2 bin bin 96 Mar 14 13:44 man8/

./man/man1:
total 8
drwxr-xr-x 2 bin bin 96 Mar 14 13:44 ./
drwxr-xr-x 5 bin bin 96 Mar 14 13:44 ../
-rw-r--r-- 1 bin bin 1229 Oct 3 06:03 ftpcount.1
-rw-r--r-- 1 bin bin 1326 Oct 3 06:03 ftpwho.1

./man/man5:
total 6
drwxr-xr-x 2 bin bin 96 Mar 14 13:44 ./
drwxr-xr-x 5 bin bin 96 Mar 14 13:44 ../
-rw-r--r-- 1 bin bin 2540 Oct 3 06:03 xferlog.5

./man/man8:
total 12
drwxr-xr-x 2 bin bin 96 Mar 14 13:44 ./
drwxr-xr-x 5 bin bin 96 Mar 14 13:44 ../
-rw-r--r-- 1 bin bin 2821 Oct 3 06:03 ftpshut.8
-rw-r--r-- 1 bin bin 2464 Oct 3 06:03 proftpd.8

./sbin:
total 576
drwxr-xr-x 2 root sys 96 Mar 14 13:44 ./
drwxr-xr-x 7 root sys 96 Mar 14 13:44 ../
-rwxr-xr-x 1 root sys 20480 Oct 3 06:03 ftpshut*
lrwxr-xr-x 1 root sys 7 Mar 14 13:44 in.proftpd@ -> proftpd
-rwxr-xr-x 1 root sys 274432 Oct 3 06:03 proftpd*
James A. Donovan
Honored Contributor

Re: proftpd-1.2.0 installation/compilation?

The daemon should be on your system as /opt/proftpd/sbin/proftpd. The configuration file for proftp is /opt/proftpd/etc/proftpd.conf

Online documetnation can be found at http://www.proftpd.org
Remember, wherever you go, there you are...
Paul T. Green
Advisor

Re: proftpd-1.2.0 installation/compilation?

Shannon, my /etc/inetd.conf points to /usr/lbin/ftpd ftpd -l
I will replace the line with
ftp stream tcp nowait root /opt/proftpd/sbin proftpd -l
or should I move proftpd to /usr/lbin

We'd like to know a little bit about you for our files.... Paul Simon
James A. Donovan
Honored Contributor

Re: proftpd-1.2.0 installation/compilation?

You should replace the current ftp line in your /etc/inetd.conf with:

ftp stream tcp nowait root /opt/proftpd/sbin/proftpd proftpd -l
Remember, wherever you go, there you are...
Paul T. Green
Advisor

Re: proftpd-1.2.0 installation/compilation?

Jim, Patrick, Shannon,
when I inetd -c and try my connection from a remote server I get
"Connected to " "Compiled-n modules" and the => ftp> prompt...
if I do an ls or pwd it tells me
"Not connected." I think I'm at the door of the target system but it does not athenticate me, tried anonymous with same result, I'm forced to bye.
The target servers syslog gives me no indication of authentication failure.
We'd like to know a little bit about you for our files.... Paul Simon