Home Forums OS X Server and Client Discussion Questions and Answers proFTPd problem – almost works….

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #357009
    davidkassa
    Participant

    Hi guys,

    I have been trying to install proFTPd for the last 2 days with little success. Let me tell you what I’ve learned so far, hopefully to help others, then I’ll see if anyone can help me.

    I am running Mac OS 10.3.1 and proFTPd 1.2.9 with sql_mod

    [b:3ecb687329]Problem #1:[/b:3ecb687329] Make file won’t compile, error
    [b:3ecb687329]Solution:[/b:3ecb687329] Don’t download the sql_mod from the tutorial, instead use the one already provided by proftpd. Also, I used the binary download of mySql so my configure command looked like this:

    [color=green:3ecb687329]./configure –with-modules=mod_sql:mod_sql_mysql –with-includes=/usr/local/mysql/include –with-libraries=/usr/local/mysql/lib
    [/color:3ecb687329]

    [b:3ecb687329]Problem #2:[/b:3ecb687329] Various config file problems, standalone and inetd
    [b:3ecb687329]Solution:[/b:3ecb687329] Well, I just played around for a while, but ended up modifying and using the mod_sql.conf file in the sample_configurations folder

    Something I learned is that if you are in /etc/pam.d and sudo ln-s ftpd ftp then proFTPd will use both the sqlAuth and the system accounts

    [b:3ecb687329]My Problem:[/b:3ecb687329]
    So…. I can now finally login using my accounts, but immediately I receive a connection closed/failure message. I read that I need to have world writable directories so I made my HD and /www 777 and created the default dir to be /www this has been unsuccessful so far and I have run out of ideas.

    Here is my [url=http://davidkassa.dyndns.org/proftpd.conf.txt]config file[/url]

    Any help would be appreciated!

    Thanks in advance,
    David Kassa

    #357050
    serving
    Participant

    I also have problems connecting to my proftpd server 🙁

    Error free compile / make proftpd 1.2.9 with sql_mod using standalone, running on OS X Server 10.3.1.

    On ever connection attempt, the proftod instance crashes producing this output to system.log and proftpd.crash.log.

    system.log:
    Dec 10 22:26:22 localhost crashdump: Unable to determine CPSProcessSerNum pid: 951 name: proftpd
    Dec 10 22:26:22 localhost crashdump: Started writing crash report to: /Library/Logs/CrashReporter/proftpd.crash.log
    Dec 10 22:26:22 localhost crashdump: Finished writing crash report to: /Library/Logs/CrashReporter/proftpd.crash.log

    proftpd.crash.log:
    Host: localhost
    Date/Time: 2003-12-10 22:26:21 +0100
    OS Version: 10.3.1 (Build 7C107)

    Command: proftpd (./proftpd)
    PID: 951
    Thread: 0

    Exception: EXC_BAD_ACCESS (0x0001)
    Codes: KERN_INVALID_ADDRESS (0x0001) at 0x43300002

    Thread 0 Crashed:
    #0 0x9000bca4 in strcasecmp (strcasecmp + 100)
    #1 0x00049f10 in 0x49f10
    #2 0x0004b03c in 0x4b03c
    #3 0x0004f444 in 0x4f444
    #4 0x0001d2bc in 0x1d2bc
    #5 0x0001de50 in 0x1de50
    #6 0x0001df74 in 0x1df74
    #7 0x0003b078 in 0x3b078
    #8 0x0003d564 in 0x3d564
    #9 0x0001d2bc in 0x1d2bc
    #10 0x00002b04 in 0x2b04
    #11 0x00002de0 in 0x2de0
    #12 0x00003470 in 0x3470
    #13 0x0000460c in 0x460c
    #14 0x00004cf4 in 0x4cf4
    #15 0x000084c4 in 0x84c4
    #16 0x00001958 in 0x1958
    #17 0x000017cc in 0x17cc

    PPC Thread State:
    srr0: 0x9000bca4 srr1: 0x0000f930 vrsave: 0x00000000
    cr: 0x42222228 xer: 0x20000002 lr: 0x9000bc48 ctr: 0x9000bc40
    r0: 0xa0001204 r1: 0xbfffee40 r2: 0xa0001314 r3: 0x00000044
    r4: 0x43300002 r5: 0x00000000 r6: 0x00000000 r7: 0x00000002
    r8: 0x00000000 r9: 0xa0001e58 r10: 0x00000000 r11: 0x0008c518
    r12: 0x9000bc40 r13: 0x00000001 r14: 0x80000000 r15: 0x0008aa54
    r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
    r20: 0x02805088 r21: 0x02867878 r22: 0x0008f34c r23: 0x028635b8
    r24: 0x0008aa54 r25: 0x02867c30 r26: 0x0285fc30 r27: 0x0285fc80
    r28: 0x00000064 r29: 0x43300002 r30: 0x000729d4 r31: 0x9000bc48

    It’s very frustrating when compiling proftpd was a breeze for 10.3.1. I’ve been using proftpd on OS X Server 10.2 with great performance for more than a year. Now it died on me when upgrading to 10.3.1.

    Maybe these error messages will spark someones memory, for a solution.

    Cheers. 😀

    #357135
    RobotDeathSquad
    Participant

    I’m having problems wtih Panther and ProFTPD as well.

    #357396
    Anonymous
    Participant

    I was trying ProFTPd again last week. The fink distribution is the best one to use. I had problems getting the distribution from proftpd.org working.

    The fink distribution had the fixes in to tweak it for PAM auth to be compatible with Panther.

    Things i tested:
    sql auth worked
    anonymous ftp worked

    I haven’t fully tested it, and used it with the reverseDNS turned off.

    Good luck!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Comments are closed