ISPconfig 3.2 does not create client folders

Discussion in 'ISPConfig 3 Priority Support' started by stst, Nov 23, 2020.

  1. stst

    stst New Member HowtoForge Supporter

    Hi,

    I installed ISPconfig 3.2 on Ubuntu 20.04 on an aws ec2 instance with the db running on RDS. So far the setup seems to work, but when I create new clients, the client folder /var/www/clients/clientX is not created. I can't find anything in the log-files, that could help me find out the reason. Do you have an idea, what might be the reason?

    thanks,
    Stefan
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    This folder is only created when you create the first website for that client.
     
  3. stst

    stst New Member HowtoForge Supporter

    Thats what I do. Create a client, add a website for that client. Here is the log:

    Code:
    Nov 24 05:25:01 ip-172-31-2-244 CRON[152724]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    Nov 24 05:25:01 ip-172-31-2-244 CRON[152723]: (getmail) CMD (/usr/local/bin/run-getmail.sh > /dev/null 2>> /dev/null)
    Nov 24 05:25:01 ip-172-31-2-244 CRON[152729]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    Nov 24 05:25:01 ip-172-31-2-244 systemd[1]: Stopping The Apache HTTP Server...
    Nov 24 05:25:02 ip-172-31-2-244 apachectl[152860]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.vhost:7
    Nov 24 05:25:02 ip-172-31-2-244 apachectl[152860]: AH00112: Warning: DocumentRoot [/var/www/asdf.digso.at/web] does not exist
    Nov 24 05:25:02 ip-172-31-2-244 apachectl[152860]: AH00526: Syntax error on line 93 of /etc/apache2/sites-enabled/100-asdf.digso.at.vhost:
    Nov 24 05:25:02 ip-172-31-2-244 apachectl[152860]: Wrapper /var/www/php-fcgi-scripts/web5/.php-fcgi-starter cannot be accessed: (2)No such file or directory
    Nov 24 05:25:02 ip-172-31-2-244 apachectl[152856]: Action 'stop' failed.
    Nov 24 05:25:02 ip-172-31-2-244 apachectl[152856]: The Apache error log may have more information.
    Nov 24 05:25:02 ip-172-31-2-244 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
    Nov 24 05:25:02 ip-172-31-2-244 systemd[1]: apache2.service: Failed with result 'exit-code'.
    Nov 24 05:25:02 ip-172-31-2-244 systemd[1]: Stopped The Apache HTTP Server.
    Nov 24 05:25:02 ip-172-31-2-244 systemd[1]: Starting The Apache HTTP Server...
    Nov 24 05:25:02 ip-172-31-2-244 apachectl[152889]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.vhost:7
    Nov 24 05:25:02 ip-172-31-2-244 apachectl[152889]: AH00112: Warning: DocumentRoot [/var/www/asdf.digso.at/web] does not exist
    Nov 24 05:25:02 ip-172-31-2-244 apachectl[152889]: AH00526: Syntax error on line 93 of /etc/apache2/sites-enabled/100-asdf.digso.at.vhost:
    Nov 24 05:25:02 ip-172-31-2-244 apachectl[152889]: Wrapper /var/www/php-fcgi-scripts/web5/.php-fcgi-starter cannot be accessed: (2)No such file or directory
    Nov 24 05:25:02 ip-172-31-2-244 apachectl[152876]: Action 'start' failed.
    Nov 24 05:25:02 ip-172-31-2-244 apachectl[152876]: The Apache error log may have more information.
    Nov 24 05:25:02 ip-172-31-2-244 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
    Nov 24 05:25:02 ip-172-31-2-244 systemd[1]: apache2.service: Failed with result 'exit-code'.
    Nov 24 05:25:02 ip-172-31-2-244 systemd[1]: Failed to start The Apache HTTP Server.
    and the apache error log:
    Code:
    [Tue Nov 24 05:25:02.752817 2020] [mpm_prefork:notice] [pid 16679] AH00169: caught SIGTERM, shutting down
    [Tue Nov 24 05:25:09.965347 2020] [ssl:warn] [pid 544903] AH01909: ip-172-31-17-231.eu-central-1.compute.internal:8080:0 server certificate does NOT include an ID which matches the server name
    [Tue Nov 24 05:25:09.965996 2020] [ssl:warn] [pid 544903] AH01909: ip-172-31-17-231.eu-central-1.compute.internal:8081:0 server certificate does NOT include an ID which matches the server name
    [Tue Nov 24 05:25:09.966197 2020] [suexec:notice] [pid 544903] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Tue Nov 24 05:25:10.045481 2020] [ssl:warn] [pid 544907] AH01909: ip-172-31-17-231.eu-central-1.compute.internal:8080:0 server certificate does NOT include an ID which matches the server name
    [Tue Nov 24 05:25:10.046117 2020] [ssl:warn] [pid 544907] AH01909: ip-172-31-17-231.eu-central-1.compute.internal:8081:0 server certificate does NOT include an ID which matches the server name
    [Tue Nov 24 05:25:10.050617 2020] [:error] [pid 544907] python_init: Python version mismatch, expected '2.7.17', found '2.7.18'.
    [Tue Nov 24 05:25:10.053242 2020] [:error] [pid 544907] python_init: Python executable found ''.
    [Tue Nov 24 05:25:10.053262 2020] [:error] [pid 544907] python_init: Python path being used '/lib/python2.7:/lib/python2.7/plat-x86_64-linux-gnu:/lib/python2.7/lib-tk:/lib/python2.7/lib-old:/lib/python2.7
    /lib-dynload'.
    [Tue Nov 24 05:25:10.053288 2020] [:notice] [pid 544907] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
    [Tue Nov 24 05:25:10.053294 2020] [:notice] [pid 544907] mod_python: using mutex_directory /tmp
    [Tue Nov 24 05:25:10.111126 2020] [mpm_prefork:notice] [pid 544907] AH00163: Apache/2.4.46 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1g mod_python/3.3.1 Python/2.7.18 configured -- resuming normal operations
    [Tue Nov 24 05:25:10.111157 2020] [core:notice] [pid 544907] AH00094: Command line: '/usr/sbin/apache2'
    [Tue Nov 24 05:25:10.431181 2020] [mpm_prefork:notice] [pid 544907] AH00169: caught SIGTERM, shutting down
    [Tue Nov 24 05:25:17.626621 2020] [ssl:warn] [pid 545071] AH01909: ip-172-31-17-231.eu-central-1.compute.internal:8080:0 server certificate does NOT include an ID which matches the server name
    [Tue Nov 24 05:25:17.627257 2020] [ssl:warn] [pid 545071] AH01909: ip-172-31-17-231.eu-central-1.compute.internal:8081:0 server certificate does NOT include an ID which matches the server name
    [Tue Nov 24 05:25:17.627446 2020] [suexec:notice] [pid 545071] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Tue Nov 24 05:25:17.728538 2020] [ssl:warn] [pid 545074] AH01909: ip-172-31-17-231.eu-central-1.compute.internal:8080:0 server certificate does NOT include an ID which matches the server name
    [Tue Nov 24 05:25:17.728935 2020] [ssl:warn] [pid 545074] AH01909: ip-172-31-17-231.eu-central-1.compute.internal:8081:0 server certificate does NOT include an ID which matches the server name
    [Tue Nov 24 05:25:17.729103 2020] [:error] [pid 545074] python_init: Python version mismatch, expected '2.7.17', found '2.7.18'.
    [Tue Nov 24 05:25:17.729207 2020] [:error] [pid 545074] python_init: Python executable found ''.
    [Tue Nov 24 05:25:17.729215 2020] [:error] [pid 545074] python_init: Python path being used '/lib/python2.7:/lib/python2.7/plat-x86_64-linux-gnu:/lib/python2.7/lib-tk:/lib/python2.7/lib-old:/lib/python2.7
    /lib-dynload'.
    [Tue Nov 24 05:25:17.729232 2020] [:notice] [pid 545074] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
    [Tue Nov 24 05:25:17.729237 2020] [:notice] [pid 545074] mod_python: using mutex_directory /tmp
    [Tue Nov 24 05:25:17.746043 2020] [mpm_prefork:notice] [pid 545074] AH00163: Apache/2.4.46 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1g mod_python/3.3.1 Python/2.7.18 configured -- resuming normal operations
    [Tue Nov 24 05:25:17.746075 2020] [core:notice] [pid 545074] AH00094: Command line: '/usr/sbin/apache2'
    cron log:
    Code:
    Tue Nov 24 05:25:01 UTC 2020 chroot: failed to run command ‘groupadd’: No such file or directory
    Tue Nov 24 05:25:01 UTC 2020 chroot: failed to run command ‘useradd’: No such file or directory
    Tue Nov 24 05:25:01 UTC 2020 mount: /var/www/clients/client8/web5/log: mount point does not exist.
    Tue Nov 24 05:25:01 UTC 2020 ln: failed to create symbolic link '/var/www/clients/client8/asdf.digso.at': No such file or directory
    Tue Nov 24 05:25:01 UTC 2020 cp: target '/var/www/clients/client8/web5/web/error/' is not a directory
    Tue Nov 24 05:25:01 UTC 2020 chmod: cannot access '/var/www/clients/client8/web5/web/error/': No such file or directory
    Tue Nov 24 05:25:01 UTC 2020 cp: cannot create regular file '/var/www/clients/client8/web5/web/index.html': No such file or directory
    Tue Nov 24 05:25:01 UTC 2020 cp: cannot create regular file '/var/www/clients/client8/web5/web/': No such file or directory
    Tue Nov 24 05:25:01 UTC 2020 cp: cannot create regular file '/var/www/clients/client8/web5/web/': No such file or directory
    Tue Nov 24 05:25:01 UTC 2020 chmod: cannot access '/var/www/clients/client8/web5/web/': No such file or directory
    Tue Nov 24 05:25:01 UTC 2020 df: /var/www/clients/client8/web5: No such file or directory
    Tue Nov 24 05:25:01 UTC 2020 chown: cannot access '/var/www/clients/client8/web5/web': No such file or directory
    Tue Nov 24 05:25:01 UTC 2020 chown: cannot access '/var/www/clients/client8/web5/web': No such file or directory
    Tue Nov 24 05:25:01 UTC 2020 chroot: failed to run command ‘usermod --groups sshusers ? 2>/dev/null’: No such file or directory
    Tue Nov 24 05:25:01 UTC 2020 PHP Warning:  mkdir(): No such file or directory in /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php on line 3079
    Tue Nov 24 05:25:01 UTC 2020 PHP Warning:  copy(/var/www/clients/client8/web5/web/stats/index.php): failed to open stream: No such file or directory in /usr/local/ispconfig/server/lib/classes/system.inc.php on line 934
    Tue Nov 24 05:25:09 UTC 2020 mount: /var/www/clients/client8/web5/log: mount point does not exist.
    Tue Nov 24 05:25:09 UTC 2020 ln: failed to create symbolic link '/var/www/clients/client8/asdf.digso.at': No such file or directory
    Tue Nov 24 05:25:09 UTC 2020 df: /var/www/clients/client8/web5: No such file or directory
    Tue Nov 24 05:25:09 UTC 2020 PHP Warning:  mkdir(): No such file or directory in /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php on line 3079
    Tue Nov 24 05:25:09 UTC 2020 PHP Warning:  copy(/var/www/clients/client8/web5/web/stats/index.php): failed to open stream: No such file or directory in /usr/local/ispconfig/server/lib/classes/system.inc.php on line 934
    
    Does that help?
    Thanks, Stefan
     
    Last edited: Nov 24, 2020
  4. till

    till Super Moderator Staff Member ISPConfig Developer

  5. stst

    stst New Member HowtoForge Supporter

    Hi Till,
    thanks for your help. I did that already yesterday evening, but obviously was to tired to get the hint...
    Code:
    24.11.2020-09:57 - DEBUG - Action aborted, target is a symlink: /var/www/clients/client9/web7
    The reason was, I was symlinking /var/www to a directory on a different drive. Now with mounting the share directly to /var/www the folders are created.
    What is the reason, why symlinking is not allowed here?

    thx, Stefan :)
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Th0m likes this.

Share This Page