PDA

View Full Version : Help ISPConfig Proftp


cobex4
6th August 2007, 11:57
Hello,

I followed this tuto : http://www.howtoforge.com/perfect_setup_debian_etch

I have a problem with Proftp,

Aug 06 10:04:47 server1.nosite.com proftpd[28016] localhost (localhost[127.0.0.1]): FTP session opened.
Aug 06 10:04:47 server1.nosite.com proftpd[28016] localhost (localhost[127.0.0.1]): mod_delay/0.5: delaying for 42 usecs
Aug 06 10:04:49 server1.nosite.com proftpd[28016] localhost (localhost[127.0.0.1]): PAM(user1): Authentication failure.
Aug 06 10:04:49 server1.nosite.com proftpd[28016] localhost (localhost[127.0.0.1]): USER user1 (Login failed): Incorrect password.
Aug 06 10:04:49 server1.nosite.com proftpd[28016] localhost (localhost[127.0.0.1]): FTP session closed.


I cannot connect myself to the server in ftp

Distri = Debian etch 4.0 stable

Sorry for my English, I speak French if ever one can answer me in French

Thank.

till
7th August 2007, 11:56
Did you enable the FTP checkbox in the website settings? Do you use the correct username? The username format is normally web[ID]_user and not just user.

cobex4
7th August 2007, 12:15
yes checkbox is ok

web1_myuser and password myuser do no fonction.

:mad:

till
7th August 2007, 12:16
Is web1_myuser listed in /etc/passwd ?

cobex4
7th August 2007, 12:24
:eek: not how to add it?

till
7th August 2007, 12:32
Do you have any errors in /home/admispconfig/ispconfig/ispconfig.log ?

cobex4
7th August 2007, 12:39
yes there is much line.

18.07.2007 - 15:50:38 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/apache2 restart &> /dev/null
18.07.2007 - 15:50:39 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/postfix stop &> /dev/null
18.07.2007 - 15:50:43 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/postfix start &> /dev/null
18.07.2007 - 15:50:46 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/bind9 restart &> /dev/null
18.07.2007 - 15:50:49 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/proftpd restart &> /dev/null
18.07.2007 - 15:52:52 => INFO - Signalfile Set: update
18.07.2007 - 15:52:56 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 137: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~
18.07.2007 - 15:52:56 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 284: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~
18.07.2007 - 15:52:56 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: postmap hash:/etc/postfix/virtusertable
18.07.2007 - 15:52:56 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1231: cp -fr /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vhosts_ispconfig.conf~
18.07.2007 - 15:52:56 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/postfix stop &> /dev/null
18.07.2007 - 15:52:59 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/postfix start &> /dev/null
18.07.2007 - 15:52:59 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1892: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~
18.07.2007 - 15:53:01 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/proftpd restart &> /dev/null
18.07.2007 - 15:53:13 => DEBUG - Format invalide du web_id.
18.07.2007 - 15:54:58 => INFO - Signalfile Set: update
18.07.2007 - 15:55:03 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 137: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~
18.07.2007 - 15:55:03 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 284: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~
18.07.2007 - 15:55:03 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: postmap hash:/etc/postfix/virtusertable
18.07.2007 - 15:55:03 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1231: cp -fr /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vhosts_ispconfig.conf~
18.07.2007 - 15:55:04 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1892: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~
18.07.2007 - 15:55:33 => INFO - Signalfile Set: insert
18.07.2007 - 15:55:35 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 137: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~
18.07.2007 - 15:55:35 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 284: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~
18.07.2007 - 15:55:35 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: postmap hash:/etc/postfix/virtusertable
18.07.2007 - 15:55:35 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1231: cp -fr /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vhosts_ispconfig.conf~
18.07.2007 - 15:55:36 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1892: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~

falko
7th August 2007, 20:01
The excerpt you posted is quite old. Can you post what's at the end of the log?

Also, what's the output of ls -la /root/ispconfig?

cobex4
7th August 2007, 21:23
I placed log because its date of the install and its does not function since this date

~# ls -la /root/ispconfig
total 100
drwxr-xr-x 9 root root 4096 2007-08-07 11:08 .
drwxr-xr-x 5 root root 4096 2007-07-18 22:54 ..
-rwxr-xr-x 1 root root 34874 2007-07-18 15:49 cronolog
-rwxr-xr-x 1 root root 9673 2007-07-18 15:49 cronosplit
drwxr-xr-x 12 root root 4096 2007-07-18 14:38 httpd
drwxr-xr-x 15 root root 4096 2007-07-18 15:49 isp
-rw-r--r-- 1 root root 8 2007-08-07 11:08 .old_path_httpd_root
drwxr-xr-x 6 root root 4096 2007-07-18 14:26 openssl
drwxr-xr-x 6 root root 4096 2007-07-18 15:47 php
drwxr-xr-x 4 root root 4096 2007-07-18 15:49 scripts
drwxr-xr-x 4 root root 4096 2007-07-18 15:49 standard_cgis
drwxr-xr-x 2 root root 4096 2007-07-18 15:49 sv
-rwx------ 1 root root 9389 2007-07-18 15:49 uninstall

falko
8th August 2007, 14:30
Can you run
/root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php? Do you get any error messages?

cobex4
8th August 2007, 14:43
Hello,

:/# /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
start
ende


No messeng error :)

falko
8th August 2007, 14:45
Is web1_myuser listed in /etc/passwd now?

cobex4
8th August 2007, 14:50
now, how to add it?

falko
9th August 2007, 16:02
Are you sure you've created web1_myuser in ISPConfig?

cobex4
9th August 2007, 16:28
No im not add user "user1" im not add user "web1_user" .

till
9th August 2007, 16:34
If you did not add a user, then you can not login with this non existing user of course.

cobex4
9th August 2007, 17:05
You did not include/understand me, I have to add a used "user1" and not one to use "web1_user"

falko
10th August 2007, 17:48
So did you create this user "user1" with ISPConfig, and does this user exist in /etc/passwd now?