Koozali.org: home of the SME Server

proftpd suddenly died, proftpd.conf is weird

Offline lightman

  • ****
  • 75
  • +0/-0
proftpd suddenly died, proftpd.conf is weird
« on: March 03, 2005, 07:15:31 PM »
Hi

I have this strange issue, proftpd died and refuse to start:

I have a P II 350, w 192 mb PC100, running SME 5.6 fully patched, configured as a server & gateway, externally only is accesible webmail, FTP and VPN.

when I try to start it, it says:
Starting proftpd: - Fatal: AnonRequirePassword: directive not allowed in top level section

mi proftpd version is 1.2.Orc3-2es (as the rpm says)

Looking at the /etc/proftpd.conf there is a couple
of strange lines that says:

Program fragment delivered error Can't call method "ibays" on a undefined value at /etc/e-smith/templates-custom//etc/proftpd.conf/40IBayAccess line 15''

and another one:
Program fragment delivered error can't call method "ibay" on a undefined value at /etc/e-smith/templates-custom//etc/proftpd.conf/60AnonymousIBay line 14.''

looking at these files i see:

40IBayAcess: line 15

foreach my $ibay ($accountsdb->ibays)
(I do not understand this language at all :( )

60AnonymousIbay: line 14

foreach my $ibay ($accountsdb->ibays)

It seems that the problem is related

any ideas?, I'm lost, I could modify the
proftpd.conf by hand to make it works but
since it's controlled by this script, i think
that it would be best to try to solve this

what do you think?
any help would be very appreciated :D

thanks
lightman

Muzo

proftpd suddenly died, proftpd.conf is weird
« Reply #1 on: March 04, 2005, 09:11:58 AM »
Hi,

Have install e-smith-ftp-manager-0.4-3.noarch.rpm contribs?

If yes uninstall it.

I never meet this problem. :-?

Offline raem

  • *
  • 3,972
  • +4/-0
Re: proftpd suddenly died, proftpd.conf is weird
« Reply #2 on: March 04, 2005, 12:02:59 PM »
lightman

>I have a P II 350, w 192 mb PC100, running SME 5.6 fully patched, configured as a server & gateway, externally only is accesible webmail, FTP and VPN.

As I understand it, if you have external services ie ftp etc open on your 5.6 box, you are running a security risk and at risk of being hacked.
You would be best to update to v6.x of your choice.
This has been said many times in these forums by the programmers.
...

Offline lightman

  • ****
  • 75
  • +0/-0
proftpd suddenly died, proftpd.conf is weird
« Reply #3 on: March 06, 2005, 04:18:49 AM »
Well It worked, thanks Muzo :-D

Hi RayMitchell
I know that using 5.6 with external services
like the FTP is a big risk, I'm currently
only using FTP externally everything else is
disabled.

But I need it to work, I tried a couple of
times to use SME 6.0 and the results where
pretty bad, incredibly SLOW on my hardware
weird problems using CBQ script, also from
time to time, SME 6 seems to "forget" the
port forwarding configuration, and I have
to change some value to trigger the configuration
event or reboot to make it work, and those
are only a few of the problems, also I have
severe hangups on SME 6, where the same
hardware with 5.6 works perfectly.

I think that SME 6 grow too big for my needs
and I'm holding with 5.6 as much as I can
until I have finished my own made firewall
/gateway & ftp server, from scratch.

been working on it for a while :) I'ts
amost ready (I hope :lol: ).

I saw that there is a new version 6.5,
I'll give it a try but if it's similar to
version 6, I don't think that it will work
for me, just too big, to heavy, too many
unnecesary services.

thanks
c-u
lightman