On Thu, Apr 10, 2008 at 7:48 AM, Martin M=9F=FCller | Rudolf Hausstein OHG
wrote:
> Hi!
>
> Im running Debian Etch (upgraded from Sarge) and after upgrading ProFTP
> isnt working anymore.

I am an openSUSE/Centos/Fedora user so I hope I can help you.

> If I try to run it frum inedt (as it was) i run into two problems:
>
>
> First, proftpd.conf should be in /etc/ but it is in /etc/proftpd.
> I solved this by copying in /etc.
>
> I tried to configure inetd.conf
> ftp stream tcp nowait root /usr/sbin/proftpd proftpd -c
> /etc/proftpd/proftpd.conf
>
> but dont know, if thats working.
>
> The next thing, is proftpd doesnt auth through mysql. it uses postgres
> instead. do you know, how to change the authmethod? here the SQLerrorlog:

You need to provide us with a bit more information. First, what is the outp=
ut of
'proftpd -V'? We need to know what modules proftpd was compiled with. Secon=
d,
from the proftpd.conf file, I see you have an include there
(/etc/proftpd/modules.conf).
Please post the contents of this.

>
> Apr 10 08:36:03 mod_sql/4.2.1[12858]: defaulting to 'postgres' backend
> Apr 10 08:36:03 mod_sql/4.2.1[12858]: backend module 'mod_sql_postgres/4=

..02'
> Apr 10 08:36:03 mod_sql/4.2.1[12858]: backend api 'mod_sql_api_v2'
> Apr 10 08:36:03 mod_sql/4.2.1[12858]: >>> sql_sess_init
> Apr 10 08:36:03 mod_sql/4.2.1[12858]: entering postgres
> cmd_defineconnection
> Apr 10 08:36:03 mod_sql/4.2.1[12858]: name: 'default'
> Apr 10 08:36:03 mod_sql/4.2.1[12858]: user: 'proftp-user'
> Apr 10 08:36:03 mod_sql/4.2.1[12858]: host: 'localhost'
> Apr 10 08:36:03 mod_sql/4.2.1[12858]: db: 'ftp-database'
> Apr 10 08:36:03 mod_sql/4.2.1[12858]: port: '5432'
> Apr 10 08:36:03 mod_sql/4.2.1[12858]: ttl: '0'
> Apr 10 08:36:03 mod_sql/4.2.1[12858]: exiting postgres cmd_defineconne=

ction
> Apr 10 08:36:03 mod_sql/4.2.1[12858]: entering postgres cmd_open
> Apr 10 08:36:03 mod_sql/4.2.1[12858]: exiting postgres cmd_open
> Apr 10 08:36:03 mod_sql/4.2.1[12858]: unrecoverable backend error
> Apr 10 08:36:03 mod_sql/4.2.1[12858]: error: 'mod_sql_postgres/4.02'
> Apr 10 08:36:03 mod_sql/4.2.1[12858]: message: 'could not connect to
> server: Connection refused
> Is the server running on host "localhost" and accepting
> TCP/IP connections on port 5432?
>
>
> and here my proftpd.conf:
>
> -------
>
> #
> # Includes required DSO modules. This is mandatory in proftpd 1.3
> #
> Include /etc/proftpd/modules.conf
>

[...]
>
> Any hints for me?

I hope what I've asked for above will lead to us being able to solve your
problem.

ne...
-- =

Registered Linux User # 125653 (http://counter.li.org)
Certified: 75% bastard, 42% of which is tard.
http://www.thespark.com/bastardtest
Now accepting personal mail for GMail invites.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference =

Don't miss this year's exciting event. There's still time to save $100. =

Use priority code J8TL2D2. =

http://ad.doubleclick.net/clk;198757....sun.com/java=
one
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html