Hi, I just installed the newest ISPConfig (3.0.5.4p1) but when I create a FTP or SSH user, no user is actually created. When I check /etc/passwd, no new line is added. Syslog doesn't give any error messages. cron.log in /var/log/ispconfig/cron.log might give some related error messages but I don't any way to solve this. Code: Mon Jun 30 12:54:01 CEST 2014 PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0 Mon Jun 30 12:54:01 CEST 2014 useradd: group 'client1' does not exist Mon Jun 30 12:54:01 CEST 2014 chown: invalid group: `web1:client1' Mon Jun 30 12:55:01 CEST 2014 PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0 Mon Jun 30 12:56:01 CEST 2014 PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0 Mon Jun 30 12:57:01 CEST 2014 PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0 Can you help me fix this? Thanks!
FTP users are virtual, so you wont find them in passwd. but ssh users should be there. Please see here for debug instructions: http://www.howtoforge.com/forums/showthread.php?t=58408
Ok thx. ISPConfig version: 3.0.5.4p1 Linux Distro: Debian Wheezy (7.5). The output of the test script: Code: ##### SERVER ##### IP-address (as per hostname): ***.***.***.*** IP-address(es) (as per ifconfig): ***.***.***.***, ***.***.***.*** [WARN] ip addresses from hostname differ from ifconfig output. Please check your ip settings. [INFO] ISPConfig is installed. ##### ISPCONFIG ##### ISPConfig version is 3.0.5.4p1 ##### VERSION CHECK ##### [INFO] php (cli) version is 5.4.4-14+deb7u11 [INFO] php-cgi (used for cgi php in default vhost!) is version 5.4.4-14+deb7u11 ##### PORT CHECK ##### ##### MAIL SERVER CHECK ##### ##### RUNNING SERVER PROCESSES ##### [INFO] I found the following web server(s): Apache 2 (PID 57483) [INFO] I found the following mail server(s): Postfix (PID 55854) [INFO] I found the following pop3 server(s): Dovecot (PID 57436) [INFO] I found the following imap server(s): Dovecot (PID 57436) [INFO] I found the following ftp server(s): PureFTP (PID 57506) ##### LISTENING PORTS ##### (only () Local (Address) [anywhere]:3306 (55554/mysqld) [anywhere]:587 (55854/master) [localhost]:11211 (39211/memcached) [anywhere]:110 (57436/dovecot) [anywhere]:143 (57436/dovecot) [anywhere]:111 (1945/rpcbind) [anywhere]:465 (55854/master) ***.***.***.***:53 (57530/named) ***.***.***.***:53 (57530/named) [localhost]:53 (57530/named) [anywhere]:21 (57506/pure-ftpd) [anywhere]:22 (45073/sshd) [anywhere]:44823 (1978/rpc.statd) [localhost]:953 (57530/named) [anywhere]:25 (55854/master) [anywhere]:993 (57436/dovecot) [anywhere]:995 (57436/dovecot) [localhost]:10024 (56461/amavisd-new) [localhost]:10025 (55854/master) *:*:*:*::*:587 (55854/master) [localhost]10 (57436/dovecot) [localhost]43 (57436/dovecot) [localhost]11 (1945/rpcbind) *:*:*:*::*:8080 (57483/apache2) *:*:*:*::*:80 (57483/apache2) *:*:*:*::*:8081 (57483/apache2) *:*:*:*::*:465 (55854/master) *:*:*:*::*:53 (57530/named) *:*:*:*::*:21 (57506/pure-ftpd) *:*:*:*::*:22 (45073/sshd) *:*:*:*::*:953 (57530/named) *:*:*:*::*:25 (55854/master) *:*:*:*::*:443 (57483/apache2) *:*:*:*::*:993 (57436/dovecot) *:*:*:*::*:995 (57436/dovecot) *:*:*:*::*:47721 (1978/rpc.statd) ##### IPTABLES ##### Chain INPUT (policy DROP) target prot opt source destination fail2ban-ssh tcp -- [anywhere]/0 [anywhere]/0 multiport dports 22 DROP tcp -- [anywhere]/0 ***.***.***.***/8 ACCEPT all -- [anywhere]/0 [anywhere]/0 state RELATED,ESTABLISHED ACCEPT all -- [anywhere]/0 [anywhere]/0 DROP all -- ***.***.***.***/4 [anywhere]/0 PUB_IN all -- [anywhere]/0 [anywhere]/0 PUB_IN all -- [anywhere]/0 [anywhere]/0 PUB_IN all -- [anywhere]/0 [anywhere]/0 PUB_IN all -- [anywhere]/0 [anywhere]/0 PUB_IN all -- [anywhere]/0 [anywhere]/0 DROP all -- [anywhere]/0 [anywhere]/0 Chain FORWARD (policy DROP) target prot opt source destination ACCEPT all -- [anywhere]/0 [anywhere]/0 state RELATED,ESTABLISHED DROP all -- [anywhere]/0 [anywhere]/0 Chain OUTPUT (policy ACCEPT) target prot opt source destination PUB_OUT all -- [anywhere]/0 [anywhere]/0 PUB_OUT all -- [anywhere]/0 [anywhere]/0 PUB_OUT all -- [anywhere]/0 [anywhere]/0 PUB_OUT all -- [anywhere]/0 [anywhere]/0 PUB_OUT all -- [anywhere]/0 [anywhere]/0 Chain INT_IN (0 references) target prot opt source destination ACCEPT icmp -- [anywhere]/0 [anywhere]/0 DROP all -- [anywhere]/0 [anywhere]/0 Chain INT_OUT (0 references) target prot opt source destination ACCEPT icmp -- [anywhere]/0 [anywhere]/0 ACCEPT all -- [anywhere]/0 [anywhere]/0 Chain PAROLE (16 references) target prot opt source destination ACCEPT all -- [anywhere]/0 [anywhere]/0 Chain PUB_IN (5 references) target prot opt source destination ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 3 ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 0 ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 11 ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 8 PAROLE tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:20 PAROLE tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:21 PAROLE tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:22 PAROLE tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:25 PAROLE tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:53 PAROLE tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:80 PAROLE tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:110 PAROLE tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:143 PAROLE tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:443 PAROLE tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:587 PAROLE tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:993 PAROLE tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:995 PAROLE tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:3306 PAROLE tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:8080 PAROLE tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:8081 PAROLE tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:10000 ACCEPT udp -- [anywhere]/0 [anywhere]/0 udp dpt:53 ACCEPT udp -- [anywhere]/0 [anywhere]/0 udp dpt:3306 DROP icmp -- [anywhere]/0 [anywhere]/0 DROP all -- [anywhere]/0 [anywhere]/0 Chain PUB_OUT (5 references) target prot opt source destination ACCEPT all -- [anywhere]/0 [anywhere]/0 Chain fail2ban-dovecot-pop3imap (0 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 Chain fail2ban-pureftpd (0 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 Chain fail2ban-sasl (0 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 Chain fail2ban-ssh (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 And by the way, both FTP-users and SSH-users are not working after creating.
Ah sorry, my bad. The only error I get from the command line: Code: PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0 finished.
The ming message can be ignored. If you want to fix that, replace # with ; in the mentioned file. Seems as if you did not enable the debug mode as mentioned in the debug instructions. Please enable debug mode and then run the script again.
Thx. I have set the loglevel to Debug. This is the only output I get when I run: /usr/local/ispconfig/server/server.sh Code: 30.06.2014-13:52 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 30.06.2014-13:52 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock finished. Update: After running the command again, I got some more: Code: 30.06.2014-13:56 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock 30.06.2014-13:56 - DEBUG - Found 2 changes, starting update process. 30.06.2014-13:56 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'. 30.06.2014-13:56 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'. 30.06.2014-13:56 - DEBUG - Network configuration disabled in server settings. 30.06.2014-13:56 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'. 30.06.2014-13:56 - DEBUG - Processed datalog_id 73 30.06.2014-13:56 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'. 30.06.2014-13:56 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'. 30.06.2014-13:56 - DEBUG - Network configuration disabled in server settings. 30.06.2014-13:56 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'. 30.06.2014-13:56 - DEBUG - Processed datalog_id 75 30.06.2014-13:56 - DEBUG - Calling function 'restartHttpd' from module 'web_module'. 30.06.2014-13:56 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
This seems to be fine so far. Please check with: cat /etc/passwd that there is really no ssh user for the website.
I double checked it, also created users with a client in ISPConfig, with the admin, with chroot and none chroot. But nothing is created.. I can't find any errors either. I use a multi-server setup but nothing is created on both servers. The other things looks like they are working fine like /var/www sync, db sync etc.
Take a look at the /etc/php5/cli/php.ini file. are there any php functions like exec disabled in that file?
It doesn't look like that anything is disabled. But actually I am not sure either where to look for. Can you please look at my php.ini file? I have deleted all the commented lines. So I post only the uncommented lines: Code: [PHP] engine = On short_open_tag = On asp_tags = Off precision = 14 output_buffering = 4096 zlib.output_compression = Off implicit_flush = Off unserialize_callback_func = serialize_precision = 17 disable_functions = disable_classes = zend.enable_gc = On expose_php = On max_input_time = 60 memory_limit = -1 error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT display_errors = Off display_startup_errors = Off log_errors = On log_errors_max_len = 1024 ignore_repeated_errors = Off ignore_repeated_source = Off report_memleaks = On track_errors = Off html_errors = On variables_order = "GPCS" request_order = "GP" register_argc_argv = Off auto_globals_jit = On post_max_size = 8M auto_prepend_file = auto_append_file = default_mimetype = "text/html" doc_root = user_dir = enable_dl = Off file_uploads = On upload_max_filesize = 2M max_file_uploads = 20 allow_url_fopen = On allow_url_include = Off default_socket_timeout = 60 [CLI Server] cli_server.color = On [Date] [filter] [iconv] [intl] [sqlite] [sqlite3] [Pcre] [Pdo] [Pdo_mysql] [Phar] [mail function] SMTP = localhost smtp_port = 25 mail.add_x_header = On [SQL] [ODBC] odbc.allow_persistent = On odbc.check_persistent = On odbc.max_persistent = -1 odbc.max_links = -1 odbc.defaultlrl = 4096 odbc.defaultbinmode = 1 [Interbase] ibase.allow_persistent = 1 ibase.max_persistent = -1 ibase.max_links = -1 ibase.timestampformat = "%Y-%m-%d %H:%M:%S" ibase.dateformat = "%Y-%m-%d" ibase.timeformat = "%H:%M:%S" [MySQL] mysql.allow_local_infile = On mysql.allow_persistent = On mysql.cache_size = 2000 mysql.max_persistent = -1 mysql.max_links = -1 mysql.default_port = mysql.default_socket = mysql.default_host = mysql.default_user = mysql.default_password = mysql.connect_timeout = 60 mysql.trace_mode = Off [MySQLi] mysqli.max_persistent = -1 mysqli.allow_persistent = On mysqli.max_links = -1 mysqli.cache_size = 2000 mysqli.default_port = 3306 mysqli.default_socket = mysqli.default_host = mysqli.default_user = mysqli.default_pw = mysqli.reconnect = Off [mysqlnd] mysqlnd.collect_statistics = On mysqlnd.collect_memory_statistics = Off [OCI8] [PostgreSQL] pgsql.allow_persistent = On pgsql.auto_reset_persistent = Off pgsql.max_persistent = -1 pgsql.max_links = -1 pgsql.ignore_notice = 0 pgsql.log_notice = 0 [Sybase-CT] sybct.allow_persistent = On sybct.max_persistent = -1 sybct.max_links = -1 sybct.min_server_severity = 10 sybct.min_client_severity = 10 [bcmath] bcmath.scale = 0 [browscap] [Session] session.save_handler = files session.use_cookies = 1 session.use_only_cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session.cookie_domain = session.cookie_httponly = session.serialize_handler = php session.gc_probability = 0 session.gc_divisor = 1000 session.gc_maxlifetime = 1440 session.bug_compat_42 = Off session.bug_compat_warn = Off session.referer_check = session.cache_limiter = nocache session.cache_expire = 180 session.use_trans_sid = 0 session.hash_function = 0 session.hash_bits_per_character = 5 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" [MSSQL] mssql.allow_persistent = On mssql.max_persistent = -1 mssql.max_links = -1 mssql.min_error_severity = 10 mssql.min_message_severity = 10 mssql.compatability_mode = Off mssql.secure_connection = Off [Assertion] [COM] [mbstring] [gd] [exif] [Tidy] tidy.clean_output = Off [soap] soap.wsdl_cache_enabled=1 soap.wsdl_cache_dir="/tmp" soap.wsdl_cache_ttl=86400 soap.wsdl_cache_limit = 5 [sysvshm] [ldap] ldap.max_links = -1 [mcrypt] [dba]
ok. Please do this steps: 1) Disable the server.sh cronjob in the root crontab 2) enable debug logging mode in ispconfig 3) add a new website in ispconfig 4) run: /usr/local/ispconfig/server/server.sh manually on the shell as root user and post the full output that you get on the shell.
Yes! Fixed! I don't know what exactly caused the problem. I just tried again and everything works perfectly. Could be some replication problems that causes the trouble? Because there were problems with the VPN between the two locations. Anyway, thanks a lot for your great help! Really appreciated