View Single Post
  #79  
Old 24th December 2008, 12:47
djoey djoey is offline
Junior Member
 
Join Date: Dec 2008
Posts: 14
Thanks: 1
Thanked 5 Times in 3 Posts
Default

Hi,

I have an issue with installing pure-ftpd on Cent-OS 5.2, it install just fine but i cannot start the program from /etc/init.d/ it fails on stopping / starting.

I have also tried to start it this way /usr/sbin/pure-ftpd &

But it dies then. Best of all I can't find any logfiles to see what is going wrong.

And i think it is absolutely necessary to install ispconfig 3
Do you guys have suggestions?

Here is some more information:

Code:
 bash -x /etc/init.d/pure-ftpd start
+ . /etc/init.d/functions
++ TEXTDOMAIN=initscripts
++ umask 022
++ PATH=/sbin:/usr/sbin:/bin:/usr/bin
++ export PATH
++ '[' -z '' ']'
++ COLUMNS=80
++ '[' -z '' ']'
+++ /sbin/consoletype
++ CONSOLETYPE=pty
++ '[' -f /etc/sysconfig/i18n -a -z '' ']'
++ . /etc/profile.d/lang.sh
+++ sourced=0
+++ for langfile in /etc/sysconfig/i18n '$HOME/.i18n'
+++ '[' -f /etc/sysconfig/i18n ']'
+++ . /etc/sysconfig/i18n
++++ LANG=en_US.UTF-8
++++ SYSFONT=latarcyrheb-sun16
+++ sourced=1
+++ for langfile in /etc/sysconfig/i18n '$HOME/.i18n'
+++ '[' -f /root/.i18n ']'
+++ '[' -n '' ']'
+++ '[' 1 = 1 ']'
+++ '[' -n en_US.UTF-8 ']'
+++ export LANG
+++ '[' -n '' ']'
+++ unset LC_ADDRESS
+++ '[' -n '' ']'
+++ unset LC_CTYPE
+++ '[' -n '' ']'
+++ unset LC_COLLATE
+++ '[' -n '' ']'
+++ unset LC_IDENTIFICATION
+++ '[' -n '' ']'
+++ unset LC_MEASUREMENT
+++ '[' -n '' ']'
+++ unset LC_MESSAGES
+++ '[' -n '' ']'
+++ unset LC_MONETARY
+++ '[' -n '' ']'
+++ unset LC_NAME
+++ '[' -n '' ']'
+++ unset LC_NUMERIC
+++ '[' -n '' ']'
+++ unset LC_PAPER
+++ '[' -n '' ']'
+++ unset LC_TELEPHONE
+++ '[' -n '' ']'
+++ unset LC_TIME
+++ '[' -n '' ']'
+++ unset LC_ALL
+++ '[' -n '' ']'
+++ unset LANGUAGE
+++ '[' -n '' ']'
+++ unset LINGUAS
+++ '[' -n '' ']'
+++ unset _XKB_CHARSET
++++ /sbin/consoletype
+++ consoletype=pty
+++ '[' -n '' ']'
+++ '[' -n '' ']'
+++ '[' -n en_US.UTF-8 ']'
+++ case $LANG in
+++ '[' xterm = linux ']'
+++ unset SYSFONTACM SYSFONT
+++ unset sourced
+++ unset langfile
++ '[' -z '' ']'
++ '[' -f /etc/sysconfig/init ']'
++ . /etc/sysconfig/init
+++ BOOTUP=color
+++ GRAPHICAL=yes
+++ RES_COL=60
+++ MOVE_TO_COL='echo -en \033[60G'
+++ SETCOLOR_SUCCESS='echo -en \033[0;32m'
+++ SETCOLOR_FAILURE='echo -en \033[0;31m'
+++ SETCOLOR_WARNING='echo -en \033[0;33m'
+++ SETCOLOR_NORMAL='echo -en \033[0;39m'
+++ LOGLEVEL=3
+++ PROMPT=no
+++ AUTOSWAP=no
++ '[' pty = serial ']'
++ '[' color '!=' verbose ']'
++ INITLOG_ARGS=-q
++ __sed_discard_ignored_files='/\(~\|\.bak\|\.orig\|\.rpmnew\|\.rpmorig\|\.rpms                                                                             ave\)$/d'
+ . /etc/sysconfig/network
++ NETWORKING=yes
++ GATEWAY=192.168.1.1
++ HOSTNAME=blaat.local
+ '[' yes = no ']'
+ RETVAL=0
+ prog=pure-ftpd
+ fullpath=/usr/sbin/pure-ftpd
+ pureftpwho=/usr/sbin/pure-ftpwho
+ pure_config=/etc/pure-ftpd/pure-ftpd.conf
+ pure_launch_script=/usr/sbin/pure-config.pl
+ case "$1" in
+ start
+ echo -n 'Starting pure-ftpd: '
Starting pure-ftpd: + daemon '/usr/sbin/pure-config.pl /etc/pure-ftpd/pure-ftpd.                                                                             conf --daemonize > /dev/null'
+ local gotbase= force= nicelevel corelimit
+ local pid base= user= nice= bg= pid_file=
+ nicelevel=0
+ '[' '/usr/sbin/pure-config.pl /etc/pure-ftpd/pure-ftpd.conf --daemonize > /dev                                                                             /null' '!=' '/usr/sbin/pure-config.pl /etc/pure-ftpd/pure-ftpd.conf --daemonize                                                                              > /dev/null' ']'
+ '[' -z '' ']'
+ base=null
+ __pids_var_run null ''
+ local base=null
+ local pid_file=/var/run/null.pid
+ pid=
+ '[' -f /var/run/null.pid ']'
+ return 3
+ '[' -n '' -a -z '' ']'
+ corelimit='ulimit -S -c 0'
+ '[' -n '' ']'
+ '[' color = verbose -a -z '' ']'
+ '[' -z '' ']'
+ /bin/bash -c 'ulimit -S -c 0 >/dev/null 2>&1 ; /usr/sbin/pure-config.pl /etc/p                                                                             ure-ftpd/pure-ftpd.conf --daemonize > /dev/null'
+ '[' 252 -eq 0 ']'
+ failure 'null startup'
+ local rc=1
+ '[' color '!=' verbose -a -z '' ']'
+ echo_failure
+ '[' color = color ']'
+ echo -en '\033[60G'
                                                           + echo -n '['
[+ '[' color = color ']'
+ echo -en '\033[0;31m'
+ echo -n FAILED
FAILED+ '[' color = color ']'
+ echo -en '\033[0;39m'
+ echo -n ']'
]+ echo -ne '\r'
+ return 1
+ '[' -x /usr/bin/rhgb-client ']'
+ return 1
+ RETVAL=1
+ '[' 1 = 0 ']'
+ echo

+ exit 1

Last edited by djoey; 24th December 2008 at 13:05.
Reply With Quote