ISPconfig 3 Autoinstaller script

Discussion in 'HOWTO-Related Questions' started by mrbronz, Mar 3, 2023.

  1. mrbronz

    mrbronz Member HowtoForge Supporter

    Hi

    Just installing ISPconfig 3 with the auto installer and have ran into an error, at which point the script bombed out

    Code:
    [ERROR] Exception occured: ISPConfigOSException -> Command a2enmod suexec rewrit                                                                                             e ssl actions include dav_fs dav auth_digest cgi headers proxy_fcgi proxy_http a                                                                                             lias http2 mpm_event 2>&1 failed. (/ispconfig.ai.php:15)
    Do I need to start from scratch again or can this be rectified?
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Did you start with a just now installed minimal operating system with nothing configured previously?
     
  3. mrbronz

    mrbronz Member HowtoForge Supporter

    Yep sure did.

    The only thing I changed was the resolv so I could reach the internet. I entered nameserver 8.8.8.8. I left the other entries in there. I also adjusted the system so I could access the server via ssh. Everything is right out of the box (so to speak).
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Which error do you get when you run this a2enmod command manually?
     
  5. mrbronz

    mrbronz Member HowtoForge Supporter

    I get
    Code:
    # a2enmod
    Your choices are: access_compat actions alias allowmethods asis auth_basic auth_digest auth_form auth_gssapi authn_anon authn_core authn_dbd authn_dbm authn_file authn_socache authnz_fcgi authnz_ldap authz_core authz_dbd authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex brotli buffer cache cache_disk cache_socache cern_meta cgi cgid charset_lite data dav dav_fs dav_lock dbd debian-edu-userdir deflate dialup dir dump_io echo env expires ext_filter fcgid file_cache filter headers heartbeat heartmonitor http2 ident imagemap include info lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat ldap log_debug log_forensic lua macro md mime mime_magic mpm_event mpm_prefork mpm_worker negotiation passenger php7.4 php8.2 proxy proxy_ajp proxy_balancer proxy_connect proxy_express proxy_fcgi proxy_fdpass proxy_ftp proxy_hcheck proxy_html proxy_http proxy_http2 proxy_scgi proxy_uwsgi proxy_wstunnel python ratelimit reflector remoteip reqtimeout request rewrite sed session session_cookie session_crypto session_dbd setenvif slotmem_plain slotmem_shm socache_dbm socache_memcache socache_redis socache_shmcb speling ssl status substitute suexec unique_id userdir usertrack vhost_alias xml2enc
    Which module(s) do you want to enable (wildcards ok)?
     
  6. mrbronz

    mrbronz Member HowtoForge Supporter

    I then did
    Code:
    Which module(s) do you want to enable (wildcards ok)?
    *
    Considering dependency authn_core for access_compat:
    Module authn_core already enabled
    Module access_compat already enabled
    Module actions already enabled
    Module alias already enabled
    Enabling module allowmethods.
    Considering dependency mime for asis:
    Module mime already enabled
    Enabling module asis.
    Considering dependency authn_core for auth_basic:
    Module authn_core already enabled
    Module auth_basic already enabled
    Considering dependency authn_core for auth_digest:
    Module authn_core already enabled
    Module auth_digest already enabled
    Considering dependency session for auth_form:
    Enabling module session.
    Considering dependency authn_core for auth_form:
    Module authn_core already enabled
    Enabling module auth_form.
    Module auth_gssapi already enabled
    Enabling module authn_anon.
    Module authn_core already enabled
    Considering dependency dbd for authn_dbd:
    Enabling module dbd.
    Enabling module authn_dbd.
    Enabling module authn_dbm.
    Module authn_file already enabled
    Enabling module authn_socache.
    Enabling module authnz_fcgi.
    Considering dependency ldap for authnz_ldap:
    Enabling module ldap.
    Enabling module authnz_ldap.
    Module authz_core already enabled
    Considering dependency dbd for authz_dbd:
    Module dbd already enabled
    Considering dependency authz_core for authz_dbd:
    Module authz_core already enabled
    Enabling module authz_dbd.
    Considering dependency authz_core for authz_dbm:
    Module authz_core already enabled
    Enabling module authz_dbm.
    Considering dependency authz_core for authz_groupfile:
    Module authz_core already enabled
    Enabling module authz_groupfile.
    Considering dependency authz_core for authz_host:
    Module authz_core already enabled
    Module authz_host already enabled
    Enabling module authz_owner.
    Considering dependency authz_core for authz_user:
    Module authz_core already enabled
    Module authz_user already enabled
    Module autoindex already enabled
    Enabling module brotli.
    Enabling module buffer.
    Enabling module cache.
    Considering dependency cache for cache_disk:
    Module cache already enabled
    Enabling module cache_disk.
    Enabling external service apache-htcacheclean
    Synchronizing state of apache-htcacheclean.service with SysV service script with /lib/systemd/systemd-sysv-install.
    Executing: /lib/systemd/systemd-sysv-install enable apache-htcacheclean
    Created symlink /etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service -> /lib/systemd/system/apache-htcacheclean.service.
    The service will be started on next reboot.
    Considering dependency cache for cache_socache:
    Module cache already enabled
    Enabling module cache_socache.
    Enabling module cern_meta.
    Module cgi already enabled
    Enabling module cgid.
    Enabling module charset_lite.
    Enabling module data.
    Module dav already enabled
    Considering dependency dav for dav_fs:
    Module dav already enabled
    Module dav_fs already enabled
    Enabling module dav_lock.
    Module dbd already enabled
    Module debian-edu-userdir already enabled
    Considering dependency filter for deflate:
    Module filter already enabled
    Module deflate already enabled
    Enabling module dialup.
    Module dir already enabled
    Enabling module dump_io.
    Enabling module echo.
    Module env already enabled
    Enabling module expires.
    Enabling module ext_filter.
    Module fcgid already enabled
    Considering dependency cache for file_cache:
    Module cache already enabled
    Enabling module file_cache.
    Module filter already enabled
    Module headers already enabled
    Enabling module heartbeat.
    Enabling module heartmonitor.
    Module http2 already enabled
    Enabling module ident.
    Enabling module imagemap.
    Considering dependency mime for include:
    Module mime already enabled
    Module include already enabled
    Enabling module info.
    Considering dependency proxy_balancer for lbmethod_bybusyness:
    Considering dependency proxy for proxy_balancer:
    Module proxy already enabled
    Considering dependency alias for proxy_balancer:
    Module alias already enabled
    Considering dependency slotmem_shm for proxy_balancer:
    Enabling module slotmem_shm.
    Enabling module proxy_balancer.
    Enabling module lbmethod_bybusyness.
    Considering dependency proxy_balancer for lbmethod_byrequests:
    Considering dependency proxy for proxy_balancer:
    Module proxy already enabled
    Considering dependency alias for proxy_balancer:
    Module alias already enabled
    Considering dependency slotmem_shm for proxy_balancer:
    Module slotmem_shm already enabled
    Module proxy_balancer already enabled
    Enabling module lbmethod_byrequests.
    Considering dependency proxy_balancer for lbmethod_bytraffic:
    Considering dependency proxy for proxy_balancer:
    Module proxy already enabled
    Considering dependency alias for proxy_balancer:
    Module alias already enabled
    Considering dependency slotmem_shm for proxy_balancer:
    Module slotmem_shm already enabled
    Module proxy_balancer already enabled
    Enabling module lbmethod_bytraffic.
    Considering dependency proxy_balancer for lbmethod_heartbeat:
    Considering dependency proxy for proxy_balancer:
    Module proxy already enabled
    Considering dependency alias for proxy_balancer:
    Module alias already enabled
    Considering dependency slotmem_shm for proxy_balancer:
    Module slotmem_shm already enabled
    Module proxy_balancer already enabled
    Enabling module lbmethod_heartbeat.
    Module ldap already enabled
    Enabling module log_debug.
    Enabling module log_forensic.
    Enabling module lua.
    Enabling module macro.
    Enabling module md.
    Module mime already enabled
    Enabling module mime_magic.
    Considering conflict mpm_worker for mpm_event:
    Considering conflict mpm_prefork for mpm_event:
    ERROR: Module mpm_prefork is enabled - cannot proceed due to conflicts. It needs to be disabled first!
    Considering conflict mpm_event for mpm_prefork:
    Considering conflict mpm_worker for mpm_prefork:
    Module mpm_prefork already enabled
    Considering conflict mpm_event for mpm_worker:
    Considering conflict mpm_prefork for mpm_worker:
    ERROR: Module mpm_prefork is enabled - cannot proceed due to conflicts. It needs to be disabled first!
    Module negotiation already enabled
    Module passenger already enabled
    Considering dependency mpm_prefork for php7.4:
    Considering conflict mpm_event for mpm_prefork:
    Considering conflict mpm_worker for mpm_prefork:
    Module mpm_prefork already enabled
    Considering conflict php5 for php7.4:
    Module php7.4 already enabled
    Considering dependency mpm_prefork for php8.2:
    Considering conflict mpm_event for mpm_prefork:
    Considering conflict mpm_worker for mpm_prefork:
    Module mpm_prefork already enabled
    Considering conflict php5 for php8.2:
    Enabling module php8.2.
    Module proxy already enabled
    Considering dependency proxy for proxy_ajp:
    Module proxy already enabled
    Enabling module proxy_ajp.
    Considering dependency proxy for proxy_balancer:
    Module proxy already enabled
    Considering dependency alias for proxy_balancer:
    Module alias already enabled
    Considering dependency slotmem_shm for proxy_balancer:
    Module slotmem_shm already enabled
    Module proxy_balancer already enabled
    Considering dependency proxy for proxy_connect:
    Module proxy already enabled
    Enabling module proxy_connect.
    Considering dependency proxy for proxy_express:
    Module proxy already enabled
    Enabling module proxy_express.
    Considering dependency proxy for proxy_fcgi:
    Module proxy already enabled
    Module proxy_fcgi already enabled
    Considering dependency proxy for proxy_fdpass:
    Module proxy already enabled
    Enabling module proxy_fdpass.
    Considering dependency proxy for proxy_ftp:
    Module proxy already enabled
    Enabling module proxy_ftp.
    Considering dependency proxy for proxy_hcheck:
    Module proxy already enabled
    Enabling module proxy_hcheck.
    Considering dependency proxy for proxy_html:
    Module proxy already enabled
    Considering dependency xml2enc for proxy_html:
    Enabling module xml2enc.
    Enabling module proxy_html.
    Considering dependency proxy for proxy_http:
    Module proxy already enabled
    Module proxy_http already enabled
    Considering dependency proxy for proxy_http2:
    Module proxy already enabled
    Considering dependency http2 for proxy_http2:
    Module http2 already enabled
    Enabling module proxy_http2.
    Considering dependency proxy for proxy_scgi:
    Module proxy already enabled
    Enabling module proxy_scgi.
    Considering dependency proxy for proxy_uwsgi:
    Module proxy already enabled
    Enabling module proxy_uwsgi.
    Considering dependency proxy for proxy_wstunnel:
    Module proxy already enabled
    Enabling module proxy_wstunnel.
    Module python already enabled
    Considering dependency env for ratelimit:
    Module env already enabled
    Enabling module ratelimit.
    Enabling module reflector.
    Enabling module remoteip.
    Module reqtimeout already enabled
    Enabling module request.
    Module rewrite already enabled
    Enabling module sed.
    Module session already enabled
    Considering dependency session for session_cookie:
    Module session already enabled
    Enabling module session_cookie.
    Considering dependency session for session_crypto:
    Module session already enabled
    Enabling module session_crypto.
    Considering dependency session for session_dbd:
    Module session already enabled
    Enabling module session_dbd.
    Module setenvif already enabled
    Enabling module slotmem_plain.
    Module slotmem_shm already enabled
    Enabling module socache_dbm.
    Enabling module socache_memcache.
    Enabling module socache_redis.
    Module socache_shmcb already enabled
    Enabling module speling.
    Considering dependency setenvif for ssl:
    Module setenvif already enabled
    Considering dependency mime for ssl:
    Module mime already enabled
    Considering dependency socache_shmcb for ssl:
    Module socache_shmcb already enabled
    Module ssl already enabled
    Module status already enabled
    Enabling module substitute.
    Module suexec already enabled
    Enabling module unique_id.
    Enabling module userdir.
    Enabling module usertrack.
    Enabling module vhost_alias.
    Module xml2enc already enabled
    To activate the new configuration, you need to run:
      systemctl restart apache2
      systemctl start apache-htcacheclean
    
    I then noticed that I had to run the 2 connands at the bottom.
    systemctl restart apache2
    systemctl start apache-htcacheclean

    and go the following

    Code:
    Job for apache2.service failed because the control process exited with error code.
    See "systemctl status apache2.service" and "journalctl -xe" for details.
    
     
  7. mrbronz

    mrbronz Member HowtoForge Supporter

    the systemctl

    Code:
    # systemctl status apache2.service
    ● apache2.service - The Apache HTTP Server
         Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
         Active: failed (Result: exit-code) since Fri 2023-03-03 12:50:02 GMT; 5min ago
           Docs: https://httpd.apache.org/docs/2.4/
        Process: 13292 ExecStart=/usr/sbin/apachectl start (code=exited, status=139)
            CPU: 409ms
    
    Mar 03 12:50:02 martin systemd[1]: apache2.service: Killing process 13395 (PassengerAgent) with signal SIGKILL.
    Mar 03 12:50:02 martin systemd[1]: apache2.service: Killing process 13396 (PassengerAgent) with signal SIGKILL.
    Mar 03 12:50:02 martin systemd[1]: apache2.service: Killing process 13397 (PassengerAgent) with signal SIGKILL.
    Mar 03 12:50:02 martin systemd[1]: apache2.service: Killing process 13398 (PassengerAgent) with signal SIGKILL.
    Mar 03 12:50:02 martin systemd[1]: apache2.service: Killing process 13399 (PassengerAgent) with signal SIGKILL.
    Mar 03 12:50:02 martin systemd[1]: apache2.service: Killing process 13400 (PassengerAgent) with signal SIGKILL.
    Mar 03 12:50:02 martin systemd[1]: apache2.service: Killing process 13401 (PassengerAgent) with signal SIGKILL.
    Mar 03 12:50:02 martin systemd[1]: apache2.service: Killing process 13402 (PassengerAgent) with signal SIGKILL.
    Mar 03 12:50:02 martin systemd[1]: apache2.service: Failed with result 'exit-code'.
    Mar 03 12:50:02 martin systemd[1]: Failed to start The Apache HTTP Server.
    
     
  8. mrbronz

    mrbronz Member HowtoForge Supporter

    Finally the journalctl -xe command

    Code:
    # journalctl -xe
    Mar 03 12:57:18 martin named[12728]:   validating marshalls/NSEC: bad cache hit (marshalls/DS)
    Mar 03 12:57:18 martin named[12728]: no valid RRSIG resolving 'martin/DS/IN': 192.112.36.4#53
    Mar 03 12:57:19 martin named[12728]:   validating ./SOA: no valid signature found
    Mar 03 12:57:19 martin named[12728]:   validating ./NSEC: no valid signature found
    Mar 03 12:57:19 martin named[12728]:   validating marshalls/NSEC: no valid signature found
    Mar 03 12:57:19 martin named[12728]:   validating marshalls/NSEC: bad cache hit (marshalls/DS)
    Mar 03 12:57:19 martin named[12728]: no valid RRSIG resolving 'martin/DS/IN': 199.9.14.201#53
    Mar 03 12:57:19 martin mariadbd[12645]: 2023-03-03 12:57:19 227 [Warning] Aborted connection 227 to db: 'unconnected' user: 'unauthenticated' host: '192.168.61.72' (This co>
    Mar 03 12:57:19 martin named[12728]:   validating marshalls/NSEC: no valid signature found
    Mar 03 12:57:19 martin named[12728]:   validating marshalls/NSEC: bad cache hit (marshalls/DS)
    Mar 03 12:57:19 martin named[12728]:   validating ./NSEC: no valid signature found
    Mar 03 12:57:19 martin named[12728]:   validating ./SOA: no valid signature found
    Mar 03 12:57:19 martin named[12728]: no valid RRSIG resolving 'martin/DS/IN': 192.58.128.30#53
    Mar 03 12:57:19 martin named[12728]: broken trust chain resolving 'martin/AAAA/IN': 199.7.91.13#53
    Mar 03 12:57:19 martin named[12728]: broken trust chain resolving 'martin/A/IN': 199.7.91.13#53
    Mar 03 12:57:19 martin dhcpd[15591]: Cannot find host LDAP entry tjener (&(objectClass=dhcpServer)(cn=tjener))
    Mar 03 12:57:19 martin dhcpd[15591]: Configuration file errors encountered -- exiting
    Mar 03 12:57:19 martin dhcpd[15591]:
    Mar 03 12:57:19 martin dhcpd[15591]: If you think you have received this message due to a bug rather
    Mar 03 12:57:19 martin dhcpd[15591]: than a configuration issue please read the section on submitting
    Mar 03 12:57:19 martin dhcpd[15591]: bugs on either our web page at www.isc.org or in the README file
    Mar 03 12:57:19 martin dhcpd[15591]: before submitting a bug.  These pages explain the proper
    Mar 03 12:57:19 martin dhcpd[15591]: process and the information we find helpful for debugging.
    Mar 03 12:57:19 martin dhcpd[15591]:
    Mar 03 12:57:19 martin dhcpd[15591]: exiting.
    Mar 03 12:57:19 martin systemd[1]: isc-dhcp-server.service: Control process exited, code=exited, status=1/FAILURE
     Subject: Unit process exited
     Defined-By: systemd
     Support: https://www.debian.org/support
    
     An ExecStart= process belonging to unit isc-dhcp-server.service has exited.
    
     The process' exit code is 'exited' and its exit status is 1.
    Mar 03 12:57:19 martin systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
     Subject: Unit failed
     Defined-By: systemd
     Support: https://www.debian.org/support
    
     The unit isc-dhcp-server.service has entered the 'failed' state with result 'exit-code'.
    Mar 03 12:57:19 martin systemd[1]: Failed to start DHCP server.
    ░░ Subject: A start job for unit isc-dhcp-server.service has failed
     Defined-By: systemd
     Support: https://www.debian.org/support
     A start job for unit isc-dhcp-server.service has finished with a failure.
    
    The job identifier is 99257 and the job result is failed.
    
    
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    You must run the command from the error message.
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, as I can see you have chosen to enable all modules, which was the wrong choice that broke your system now and also the original error can not be traced down anymore after that.
     
  11. mrbronz

    mrbronz Member HowtoForge Supporter

    Thats what I did Till.
    I ran the script as soon as the error stopped the script I ran
    a2enmod
    and it gave me what I showed earlier. I then used a wild card * and then showed the errors it gave
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    No, the command from the error message is:

    Code:
    a2enmod suexec rewrite ssl actions include dav_fs dav auth_digest cgi headers proxy_fcgi proxy_http alias http2 mpm_event
     
  13. mrbronz

    mrbronz Member HowtoForge Supporter

    Sorry Till my mistake I misunderstood

    The error I am now getting is
    Module mpm_prefork is enabled - cannot proceed due to conflicts. It needs to be disabled first!
    I tried disabling it along with its other dependencies using "a2dismod mpm_prefork php7.4 php8.2"
    then "systemctl restart apache2"
    Reran "a2enmod suexec rewrite ssl actions include dav_fs dav auth_digest cgi headers proxy_fcgi proxy_http alias http2 mpm_event"

    then tried to restart apache

    But got the following
    Code:
    # systemctl status apache2.service
    ● apache2.service - The Apache HTTP Server
         Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
         Active: failed (Result: exit-code) since Fri 2023-03-03 14:05:02 GMT; 9s ago
           Docs: https://httpd.apache.org/docs/2.4/
        Process: 37766 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
            CPU: 75ms
    
    Mar 03 14:05:01 martin systemd[1]: Starting The Apache HTTP Server...
    Mar 03 14:05:02 martin apachectl[37769]: [Fri Mar 03 14:05:02.023045 2023] [so:warn] [pid 37769:tid 139728365436224] AH01574: module userdir_module is already loaded, skipp>
    Mar 03 14:05:02 martin apachectl[37769]: AH00526: Syntax error on line 9 of /etc/apache2/mods-enabled/debian-edu-userdir.conf:
    Mar 03 14:05:02 martin apachectl[37769]: Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration
    Mar 03 14:05:02 martin apachectl[37766]: Action 'start' failed.
    Mar 03 14:05:02 martin apachectl[37766]: The Apache error log may have more information.
    Mar 03 14:05:02 martin systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
    Mar 03 14:05:02 martin systemd[1]: apache2.service: Failed with result 'exit-code'.
    Mar 03 14:05:02 martin systemd[1]: Failed to start The Apache HTTP Server.
    And

    Code:
    # journalctl -xe
    ░░ Subject: A stop job for unit isc-dhcp-server.service has finished
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A stop job for unit isc-dhcp-server.service has finished.
    ░░
    ░░ The job identifier is 319025 and the job result is done.
    Mar 03 14:08:10 martin systemd[1]: Starting DHCP server...
    ░░ Subject: A start job for unit isc-dhcp-server.service has begun execution
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit isc-dhcp-server.service has begun execution.
    ░░
    ░░ The job identifier is 319025.
    Mar 03 14:08:10 martin dhcpd[38409]: Cannot find host LDAP entry tjener (&(objectClass=dhcpServer)(cn=tjener))
    Mar 03 14:08:10 martin dhcpd[38409]: Configuration file errors encountered -- exiting
    Mar 03 14:08:10 martin dhcpd[38409]:
    Mar 03 14:08:10 martin dhcpd[38409]: If you think you have received this message due to a bug rather
    Mar 03 14:08:10 martin dhcpd[38409]: than a configuration issue please read the section on submitting
    Mar 03 14:08:10 martin dhcpd[38409]: bugs on either our web page at www.isc.org or in the README file
    Mar 03 14:08:10 martin dhcpd[38409]: before submitting a bug.  These pages explain the proper
    Mar 03 14:08:10 martin dhcpd[38409]: process and the information we find helpful for debugging.
    Mar 03 14:08:10 martin dhcpd[38409]:
    Mar 03 14:08:10 martin dhcpd[38409]: exiting.
    Mar 03 14:08:10 martin systemd[1]: isc-dhcp-server.service: Control process exited, code=exited, status=1/FAILURE
    ░░ Subject: Unit process exited
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ An ExecStart= process belonging to unit isc-dhcp-server.service has exited.
    ░░
    ░░ The process' exit code is 'exited' and its exit status is 1.
    Mar 03 14:08:10 martin systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
    ░░ Subject: Unit failed
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit isc-dhcp-server.service has entered the 'failed' state with result 'exit-code'.
    Mar 03 14:08:10 martin systemd[1]: Failed to start DHCP server.
    ░░ Subject: A start job for unit isc-dhcp-server.service has failed
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit isc-dhcp-server.service has finished with a failure.
    ░░
    ░░ The job identifier is 319025 and the job result is failed.
    
     
  14. mrbronz

    mrbronz Member HowtoForge Supporter

    I thought this script was to make it quicker and simpler. Not in my experience it isnt
     
  15. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    In my experience it is almost always, unless the underlying OS is not OK. So I'd be curious to what image you are using.
     
  16. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Did you install Debian Edu and then ISPConfig install on that?
    Verify which Debian installation image was used to install the OS.
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    I've installed all my recent servers using the script with no issues. It really makes installation much faster.
     
  18. mrbronz

    mrbronz Member HowtoForge Supporter

    Sorry for the delay in response, i have been away. I had installed "debian-edu-11.6.0-amd64-netinst" on a 64Bit system. I have always used this type of install previously.

    So, I will now start again with only the one change to the resolv fileso I can get on the internet with it.

    I will let you know how it goes.
     
  19. mrbronz

    mrbronz Member HowtoForge Supporter

    Fresh install and still not working

    Code:
    /# wget -O - https://get.ispconfig.org | sh -s -- --use-ftp-ports=40110-40210 --unattended-upgrades
    --2023-03-08 20:58:07--  https://get.ispconfig.org/
    Resolving get.ispconfig.org (get.ispconfig.org)... 172.67.75.112, 104.26.10.246, 104.26.11.246, ...
    Connecting to get.ispconfig.org (get.ispconfig.org)|172.67.75.112|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 2003 (2.0K) [application/octet-stream]
    Saving to: 'STDOUT'
    
    -                                                           100%[========================================================================================================================================>]   1.96K  --.-KB/s    in 0.001s
    
    2023-03-08 20:58:08 (3.69 MB/s) - written to stdout [2003/2003]
    
    WARNING! This script will reconfigure your complete server!
    It should be run on a freshly installed server and all current configuration that you have done will most likely be lost!
    Type 'yes' if you really want to continue: yes
    [INFO] Starting perfect server setup for Debian GNU/Linux 11 (bullseye)
    [INFO] Checking hostname.
    [INFO] Enabling contrib and non-free repositories.
    [INFO] Updating packages
    [INFO] Updated packages
    [INFO] Installing packages ssh, openssh-server, nano, vim-nox, lsb-release, apt-transport-https, ca-certificates, wget, git, gnupg, software-properties-common, curl, cron, ntp
    [INFO] Installed packages ssh, openssh-server, nano, vim-nox, lsb-release, apt-transport-https, ca-certificates, wget, git, gnupg, software-properties-common, curl, cron, ntp
    [INFO] Activating rspamd repository.
    [INFO] Activating sury php repository.
    [INFO] Activating GoAccess repository.
    [INFO] Updating packages (after enabling 3rd party repos).
    [INFO] Updated packages
    [INFO] Default shell is currently dash.
    [INFO] Setting bash as default shell.
    [INFO] Default shell is now bash.
    [INFO] Installing packages dbconfig-common, postfix, postfix-mysql, postfix-doc, mariadb-client, mariadb-server, openssl, rkhunter, binutils, sudo, getmail
    [INFO] Installed packages dbconfig-common, postfix, postfix-mysql, postfix-doc, mariadb-client, mariadb-server, openssl, rkhunter, binutils, sudo, getmail
    [INFO] Installing packages dovecot-imapd, dovecot-pop3d, dovecot-mysql, dovecot-sieve, dovecot-managesieved, dovecot-lmtpd
    [INFO] Installed packages dovecot-imapd, dovecot-pop3d, dovecot-mysql, dovecot-sieve, dovecot-managesieved, dovecot-lmtpd
    [INFO] Generating MySQL password.
    [INFO] Writing MySQL config files.
    [INFO] Configuring postfix.
    [INFO] Restarting postfix
    [INFO] Installing packages software-properties-common, update-inetd, dnsutils, resolvconf, clamav, clamav-daemon, clamav-docs, zip, unzip, bzip2, xz-utils, lzip, rar, borgbackup, arj, nomarch, lzop, cabextract, apt-listchanges, libnet-ldap-perl, libauthen-sasl-perl, daemon, libio-string-perl, libio-socket-ssl-perl, libnet-ident-perl, libnet-dns-perl, libdbd-mysql-perl, bind9, rspamd, redis-server, postgrey, p7zip, p7zip-full, unrar-free, lrzip
    [INFO] Installed packages software-properties-common, update-inetd, dnsutils, resolvconf, clamav, clamav-daemon, clamav-docs, zip, unzip, bzip2, xz-utils, lzip, rar, borgbackup, arj, nomarch, lzop, cabextract, apt-listchanges, libnet-ldap-perl, libauthen-sasl-perl, daemon, libio-string-perl, libio-socket-ssl-perl, libnet-ident-perl, libnet-dns-perl, libdbd-mysql-perl, bind9, rspamd, redis-server, postgrey, p7zip, p7zip-full, unrar-free, lrzip
    [INFO] Stopping Rspamd.
    [INFO] (Re)starting Bind.
    [INFO] Disabling spamassassin daemon.
    [INFO] Checking local dns resolver.
    [INFO] Installing packages apache2, apache2-doc, apache2-utils, libapache2-mod-fcgid, apache2-suexec-pristine, libapache2-mod-python, libapache2-mod-passenger
    [ERROR] Exception occured: ISPConfigOSException -> Installing packages failed. (/ispconfig.ai.php:15)
    
     
  20. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Try to use normal Debian image, not this education image.
     

Share This Page