The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CallUploadScript not working pure-ftp

Discussion in 'Security' started by sreeninair, Jan 17, 2014.

  1. sreeninair

    sreeninair Well-Known Member

    Joined:
    Dec 23, 2013
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello Guys,

    I am trying to enable CallUploadScript in pure-ftp. After enabling this I am unable to start ftp service. Please let me know how to fix this.

    ==========
    root@server# grep CallUploadScript /etc/pure-ftpd.conf
    CallUploadScript yes

    root@server [/etc]# /etc/init.d/pure-ftpd restart
    Stopping pure-config.pl:
    Stopping pure-authd: 1 process (pure-authd) sent signal 9

    Starting pure-config.pl: Running: /usr/sbin/pure-ftpd -O clf:/var/log/xferlog --daemonize -A -c50 -B -C8 -D -E -fftp -H -I15 -lextauth:/var/run/ftpd.sock -L10000:8 -m4 -p30000:50000 -s -S21 -U133:022 -u100 -i -Oxferlog:/usr/local/apache/domlogs/ftpxferlog -o -k99 -Z -Y1 -JHIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3
    [ OK ]
    Starting pure-authd:
    root@server [/etc]# telnet localhost 21
    Trying 127.0.0.1...
    telnet: connect to address 127.0.0.1: Connection refused


    ===================


    Thanks
    Sreeni
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you check to see if "pure-uploadscript" is running on your system? The "CallUploadScript" option may not work if "pure-uploadscript" is not running. You can start this service with a command such as:

    Code:
    /usr/sbin/pure-uploadscript -B -r /etc/pure-ftpd.conf
    To note, you will need to modify your system to ensure that "/usr/sbin/pure-uploadscript" runs when the server boots or when FTP is restarted.

    Please let us know if you have any additional questions.

    Thank you.
     
  3. sreeninair

    sreeninair Well-Known Member

    Joined:
    Dec 23, 2013
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello Michael,

    Thank you .. it worked

    Thanks
    Sreeni
     
Loading...

Share This Page