ISPConfig does not create domains, FTP, users, emails...

Discussion in 'Installation/Configuration' started by MaDJiK, Nov 18, 2014.

  1. MaDJiK

    MaDJiK New Member


    I installed last stable ISPConfig on a new server (Debian). When I create anything, it appears in ISPConfig panel and in its database, but is not created really. :confused:
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. MaDJiK

    MaDJiK New Member

    (The domains are created, I was wrong, but no FTP users, no DB users...)

    I follow the last link, and when I set the Loglevel to debug, then I run manually "/usr/local/ispconfig/server/" and it just says:
    18.11.2014-18:31 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    18.11.2014-18:31 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock

    And "wget -q -O htf-common-issues.php "" && php -q htf-common-issues.php":

    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    IP-address(es) (as per ifconfig): ***.***.***.***
    [INFO] ISPConfig is installed.
    ##### ISPCONFIG #####
    ISPConfig version is
    ##### VERSION CHECK #####
    [INFO] php (cli) version is 5.3.3-7+squeeze19
    [INFO] php-cgi (used for cgi php in default vhost!) is version 5.3.3-7+squeeze19
    [WARN] Your php-cgi in /usr/lib/cgi-bin/ seems to be outdated and might contain a known exploit (-7+squeeze19)!
    ##### PORT CHECK #####
    [WARN] Port 465 (SMTP server SSL) seems NOT to be listening
    [WARN] Port 21 (FTP server) seems to be BLOCKED in firewall
    ##### MAIL SERVER CHECK #####
    [WARN] I found no "submission" entry in your postfix
    [INFO] this is not critical, but if you want to offer port 587 for smtp connections you have to enable this.
    [WARN] I found no "smtps" entry in your postfix
    [INFO] this is not critical, but if you want to offer SSL for smtp (not TLS) connections you have to enable this.
    [INFO] I found the following web server(s):
            Apache 2 (PID 19924)
    [INFO] I found the following mail server(s):
            Postfix (PID 3602)
    [INFO] I found the following pop3 server(s):
            Dovecot (PID 3449)
    [INFO] I found the following imap server(s):
            Dovecot (PID 3449)
    [INFO] I found the following ftp server(s):
            PureFTP (PID 20529)
    ##### LISTENING PORTS #####
    (seulement              ()
    Adresse         (distante)
    [anywhere]:25           (3602/master)
    [anywhere]:993          (3449/dovecot)
    [anywhere]:995          (3449/dovecot)
    [anywhere]:54693                (2299/rpc.statd)
    [localhost]:10024               (3166/amavisd)
    [localhost]:10025               (3602/master)
    [anywhere]:3306         (11370/mysqld)
    [localhost]:11211               (12238/memcached)
    [anywhere]:110          (3449/dovecot)
    [localhost]:783         (3513/
    [anywhere]:143          (3449/dovecot)
    [anywhere]:111          (2287/portmap)
    [anywhere]:21           (20529/pure-ftpd)
    ***.***.***.***:53              (2842/named)
    [localhost]:53          (2842/named)
    [anywhere]:22           (3505/sshd)
    *:*:*:*::*:25           (3602/master)
    *:*:*:*::*:443          (19924/apache2)
    *:*:*:*::*:993          (3449/dovecot)
    *:*:*:*::*:995          (3449/dovecot)
    [localhost]10           (3449/dovecot)
    [localhost]43           (3449/dovecot)
    *:*:*:*::*:8080         (19924/apache2)
    *:*:*:*::*:80           (19924/apache2)
    *:*:*:*::*:8081         (19924/apache2)
    *:*:*:*::*:21           (20529/pure-ftpd)
    *:*:*:*::*:53           (2842/named)
    *:*:*:*::*:22           (3505/sshd)
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    FTP users exist only in the ispconfig DB, so there is nothing to be created for them. pure-ftpd reads the logn details directly from dbispconfig database.

    Regarding mysql users, the most common reason is that you changed the mysql root password after the ispconfig install without changing it in /usr/local/ispconfig/server/lib/mysql_clientdb.conf too.
  5. MaDJiK

    MaDJiK New Member

    They are in the DB but I can not connect... I check the password in /etc/pure-ftpd/db/mysql.conf it's OK. :confused: How can I be sure that it reads the correct table?

    Réponse :	220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    Réponse :	220-You are user number 1 of 50 allowed.
    Réponse :	220-Local time is now 18:41. Server port: 21.
    Réponse :	220-This is a private system - No anonymous login
    Réponse :	220-IPv6 connections are also welcome on this server.
    Réponse :	220 You will be disconnected after 15 minutes of inactivity.
    Commande :	USER test
    Réponse :	331 User test OK. Password required
    Commande :	PASS ***************
    Réponse :	530 Login authentication failed

    I also check it, it's the correct root password. :confused:

    I have created some email transfers, they are lost (no return error). But PHP can send emails.
    Can you tell me where ISPConfig makes the emails transfer? I mean how can I create them manually?
    Last edited: Nov 18, 2014
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Did you use the correct protocol? FTP is the protocol FTP and FTPS. SFTP is not FTP, it is SSH. so you use a FTP user for FTP protocols only and not for SFTP, which requires a SSH user.

    2) Did you use the full FTP user name incl. prefix to logn? The username incl. prefix is displayed in the FTP user list.

    What do you mean with an email transfer? Do you mean fetchmail?
  7. MaDJiK

    MaDJiK New Member

    In Filezilla, I try to change from FTP to SFTP, the only working user is root.

    Yes, I already use ISP.
    I will try to uninstall/reinstall it, and see if it's better... Thanks for your help.

    Sorry I don't use it in English, it's "Email Forward".
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Fine, so your system is working correctly as SFTP is not and FTP protocoal and only root may use SFTP by default.

    Take a look at the mail.log of your server.
  9. MaDJiK

    MaDJiK New Member

    OK. It's working correctly but no user can use FTP or database or emails....
    Nevermind, I give up. :(
    Thanks for your time and help.
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats something different. You tested SFTP and thats working fine. SFTP is not related at all to your email or FTP problem, so testing it is fine but the test results just show that sftp works, not more and not less.

    So which Tutorial did you use to prepare your server for the ispconfig installation? I use the perfect server tutorials for debian, ubuntu and centos daily to install servers for our customers, I use them by doing a simple copy/paste of the commands and the resultings etups always work. So there must have been gone something wrong during your server installation.

    and regarding FTP, from the check output above:

    [WARN] Port 21 (FTP server) seems to be BLOCKED in firewall

    you seem to have blocked ftp with a firewall. the ispconfig firewall does not block ftp, so either you must have diabled the ftp port manually by first activating the firewall in ispconfig and then removing the port or you run an additional firewall on your server that is not controlled by ispconfig.
    Last edited: Nov 19, 2014
  11. MaDJiK

    MaDJiK New Member

    The server was "pre-installed", so I just add ISPConfig. I already have done complete installation with success, but this time I wanted to go faster and that's not a good idea! :rolleyes:

    Yes, but it's OK. I only authorize some IP with IPtables. I can connect and only the password is rejected. I do this on all my servers.

    I take a new one and with a fresh install, I will cancel this server. Thanks again, you're right a new installation (done by me) will be better! ;)

Share This Page