I am migrating from windows to linux on one box, and still learning, so
go easy on me.
I managed to install apache, mysql and php, and I have a small phpnuke
portal running nicely on it.
I have been using an ftp server on the same machine under windows to
make the necessary updates to the website. However I am a bit stuck with
the proftpd server, since command line is still a bit of a mystery to me.
I replaced the proftpd server with pureftpd, for which there is an easy
GUI for user management. Installing it with synaptic was a breeze, and I
noticed the utility creates "virtual" users (which is exactly what I
wanted).
However I haven't found in the documentation the simple terminal
commands to start/stop/restart the server. Proftpd has quite simple
commands for simple procedures, but the lack of GUI makes IMO the
management of users and groups a bit difficult.
I have found webmin modules for both servers, but none is as easy as the
BulletproofFTP server that I have been using under windows.
I a very pleased with the Linux box at the moment, except for my FTP
"problems". Can anyone maybe suggest another FTP package, easier to
manage for a long-time windows user ?
Lorenzo
> [...] However I am a bit stuck with the proftpd server, since command
> line is still a bit of a mystery to me.
Then use a GUI frontent for its configuration:
http://mange.dynup.net/linux.html
(Probably you need to set TLSProtocol to SSLv23 rather then TLSv1 though.)
> I replaced the proftpd server with pureftpd, for which there is an easy
> GUI for user management.
But that doesn't do SSL excription, and that's all WS-FTP supports ...
(PureFTPd does do TLS but only for the control connection, not the data.)
--
-Menno.
Thank you for the quick answer, usenet is very nice for that :)
I have had a problem installing GProftpd 8.2.2, and I guess it's not
related to the program itself.
After extracting the archive, I run the ./Autoinstall and unfortunately
the installation is interrupted. Not sure what is wrong here. "Compiler
cannot create executables" ??? Any help would be appreciated !
Lorenzo
Here is a copy-paste of the terminal window:
root@ubuntu:~# cd /downloads/gproftpd-8.2.2
root@ubuntu:/downloads/gproftpd-8.2.2# ./Autoinstall
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for OS type... Linux (i686-pc-linux-gnu) found.
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
and here is the config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--sbindir=/usr/sbin
## --------- ##
## Platform. ##
## --------- ##
hostname = ubuntu
uname -m = i686
uname -r = 2.6.12-10-686
uname -s = Linux
uname -v = #1 Fri Nov 18 12:09:04 UTC 2005
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/bin/X11
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1344: checking for a BSD-compatible install
configure:1399: result: /usr/bin/install -c
configure:1410: checking whether build environment is sane
configure:1453: result: yes
configure:1518: checking for gawk
configure:1547: result: no
configure:1518: checking for mawk
configure:1534: found /usr/bin/mawk
configure:1544: result: mawk
configure:1554: checking whether make sets $(MAKE)
configure:1574: result: yes
configure:1744: checking whether to enable maintainer-specific portions
of Makefiles
configure:1753: result: no
configure:1775: checking build system type
configure:1793: result: i686-pc-linux-gnu
configure:1801: checking host system type
configure:1815: result: i686-pc-linux-gnu
configure:1823: checking for OS type
configure:1827: result: Linux (i686-pc-linux-gnu) found.
configure:1930: checking for style of include used by make
configure:1958: result: GNU
configure:2029: checking for gcc
configure:2045: found /usr/bin/gcc
configure:2055: result: gcc
configure:2299: checking for C compiler version
configure:2302: gcc --version </dev/null >&5
gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2305: $? = 0
configure:2307: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
--with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared
--with-system-zlib --libexecdir=/usr/lib --enable-nls
--without-included-gettext --enable-threads=posix --program-suffix=-4.0
--enable-__cxa_atexit --enable-libstdcxx-allocator=mt
--enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm
--enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre
--enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
configure:2310: $? = 0
configure:2312: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2315: $? = 1
configure:2338: checking for C compiler default output file name
configure:2341: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2344: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "gproftpd"
| #define VERSION "8.2.2"
| #define USE_LINUX 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2383: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /downloads/gproftpd-8.2.2/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /downloads/gproftpd-8.2.2/missing --run tar'
AUTOCONF='${SHELL} /downloads/gproftpd-8.2.2/missing --run autoconf'
AUTOHEADER='${SHELL} /downloads/gproftpd-8.2.2/missing --run autoheader'
AUTOMAKE='${SHELL} /downloads/gproftpd-8.2.2/missing --run automake-1.9'
AWK='mawk'
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GETTEXT_PACKAGE=''
GMOFILES=''
GMSGFMT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LOCALSTATEDIR=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /downloads/gproftpd-8.2.2/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
OBJEXT=''
PACKAGE='gproftpd'
PACKAGE_BUGREPORT=''
PACKAGE_CFLAGS=''
PACKAGE_LIBS=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
SYSCONFDIR=''
USE_NLS=''
VERSION='8.2.2'
XGETTEXT=''
ac_ct_CC='gcc'
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/downloads/gproftpd-8.2.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='/usr/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "gproftpd"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define USE_LINUX 1
#define VERSION "8.2.2"
configure: exit 77
[ GProFTPd ]
> Thank you for the quick answer, usenet is very nice for that :)
Sure thing.
> I have had a problem installing GProftpd 8.2.2, and I guess it's not
> related to the program itself.
>
> After extracting the archive, I run the ./Autoinstall and unfortunately
> the installation is interrupted. Not sure what is wrong here. "Compiler
> cannot create executables" ??? Any help would be appreciated !
> and here is the config.log
> configure:1518: checking for gawk
> configure:1547: result: no
WTF? I'd guess something like: apt-get update && apt-get install gawk
> configure:2312: gcc -V </dev/null >&5
> gcc: '-V' option must have argument
> configure:2315: $? = 1
> configure:2338: checking for C compiler default output file name
> configure:2341: gcc conftest.c >&5
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> configure:2344: $? = 1
> configure: exit 77
You're missing a C build environment. I don't have Debian here, but you
want to install some package that contains the linker:``ld'' atleast.
--
-Menno.
>> and here is the config.log
>> configure:2312: gcc -V </dev/null >&5
>> gcc: '-V' option must have argument
>> configure:2315: $? = 1
>> configure:2338: checking for C compiler default output file name
>> configure:2341: gcc conftest.c >&5
>> /usr/bin/ld: crt1.o: No such file: No such file or directory
>> collect2: ld returned 1 exit status
>> configure:2344: $? = 1
>
>> configure: exit 77
>
> You're missing a C build environment. I don't have Debian here, but you
> want to install some package that contains the linker:``ld'' atleast.
Err, sorry. Probably you _do_ have "ld" and that was its output...
Probably you're missing "crt1.o" then though (e.g. on Slackware 10.2):
$ locate crt1.o
/usr/lib/crt1.o
/usr/lib/gcrt1.o
/usr/lib/Scrt1.o
/usr/lib/Mcrt1.o
$ grep crt1.o /var/log/packages/*
/var/log/packages/glibc-2.3.5-i486-5:usr/lib/crt1.o
/var/log/packages/glibc-2.3.5-i486-5:usr/lib/gcrt1.o
/var/log/packages/glibc-2.3.5-i486-5:usr/lib/Scrt1.o
/var/log/packages/glibc-2.3.5-i486-5:usr/lib/Mcrt1.o
Google for it?
--
-Menno.
However, it is unable to create logfiles in /var subdirectories, although I
made the folder writable to everyone .
Mmmh, seems to me I'll still have to look here and there for an answer,
although now that I have the GUI up and running, I won't stop until I find
Lorenzo
"Menno Duursma" <me...@desktop.lan> wrote in message
news:pan.2005.11.24...@desktop.lan...
> Had to install a few packages (gtk+, ...) and I finally got it installed.
Good.
> However, it is unable to create logfiles in /var subdirectories,
With ``it'' i presume you mean Proftpd , rather then the Gproftpd GUI?
If so, what error do you get precisely (as in copy-n-pasted)?
> although I made the folder writable to everyone .
That, to me, doesn't exectly read like good security practice ...
I'd change it back. What you could try is createing empty files i.e.:
cd /var/log
touch xferlog proftpd.log proftpd_ssl.log
But look at your /etc/proftpd.conf (there is a tab in the GUI for
this IIRC) maybe it actually logs to /var/log/proftpd in which case that
directory should exist, with formentioned (empty?) files in it instead.
> Mmmh, seems to me I'll still have to look here and there for an answer,
> although now that I have the GUI up and running, I won't stop until I
> find
That's the spirit.
--
-Menno.
Your help is really appreciated. I'll be away a couple of days, and report
back asap.
Lorenzo
(guess what, there will be one more Sandini in Finland when I am back :o)))
"Menno Duursma" <me...@desktop.lan> wrote in message
news:pan.2005.11.26....@desktop.lan...