exception occured: ispconfigosexception -> command chown

Discussion in 'Installation/Configuration' started by pecka33, Feb 2, 2023.

  1. pecka33

    pecka33 Member

    Hello

    today i installed to clear debian server with this tutorial https://www.howtoforge.com/tutorial/debian-minimal-server/

    After that i run ispconfig installer from here https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/

    It was few minutes, all php etc was installing and after that i get error
    Code:
    [INFO] Disabling conflicting apache modules.
    [INFO] Enabling apache modules.
    [INFO] Enabling default PHP-FPM config.
    [INFO] Setting default system PHP version.
    [INFO] Installing phpMyAdmin
    [ERROR] Exception occured: ISPConfigOSException -> Command chown -R www-data:www                                                                             -data '/var/lib/phpmyadmin' ; cd /tmp ; rm -f phpMyAdmin-5.2.0-all-languages.tar                                                                             .gz ; wget https://files.phpmyadmin.net/phpMyAdmin/5.2.0/phpMyAdmin-5.2.0-all-la                                                                             nguages.tar.gz 2>/dev/null && tar xfz  phpMyAdmin-5.2.0-all-languages.tar.gz &&                                                                              cp -a phpMyAdmin-5.2.0-all-languages/* /usr/share/phpmyadmin/ && rm -f phpMyAdmi                                                                             n-5.2.0-all-languages.tar.gz && rm -rf phpMyAdmin-5.2.0-all-languages failed. (/                                                                             ispconfig.ai.php:15)
    
    and stuck is. What should i do next? It is clear install of debian server from your tutorial.
     
  2. pecka33

    pecka33 Member

    How can i continue? I think that this step stopped installation? But what now? Try to start autoinstall again? I can not found why i see this error
    At all, i didnt do any changed, just install clear debian step by step by your tutorial and after that i start autoinstaller of ispconfig
     
  3. pecka33

    pecka33 Member

    A checked my sys log and see there. This is only error i see there
    Code:
    Feb  2 15:52:24 samantos named[43234]: network unreachable resolving 'www.phpmyadmin.net/A/IN': 2604:3400:aaac::db#53
    Feb  2 15:52:24 samantos named[43234]: network unreachable resolving 'www.phpmyadmin.net/AAAA/IN': 2604:3400:aaac::db#53
    Feb  2 15:52:24 samantos named[43234]: network unreachable resolving 'www.phpmyadmin.net/A/IN': 2001:4b98:aaaa::c#53
    Feb  2 15:52:24 samantos named[43234]: network unreachable resolving 'www.phpmyadmin.net/AAAA/IN': 2001:4b98:aaaa::c#53
    Feb  2 15:52:24 samantos named[43234]: network unreachable resolving 'www.phpmyadmin.net/A/IN': 2001:4b98:aaab::e#53
    Feb  2 15:52:24 samantos named[43234]: network unreachable resolving 'www.phpmyadmin.net/AAAA/IN': 2001:4b98:aaab::e#53
    Feb  2 15:52:24 samantos named[43234]: network unreachable resolving 'phpmyadmin.net/DNSKEY/IN': 2001:4b98:aaaa::c#53
    Feb  2 15:52:24 samantos named[43234]: network unreachable resolving '_.rsc.cdn77.org/A/IN': 2a02:6ea0:cd77::1#53
    Feb  2 15:52:24 samantos named[43234]: network unreachable resolving '_.rsc.cdn77.org/A/IN': 2a02:6ea0:cd77::2#53
    Feb  2 15:52:24 samantos named[43234]: network unreachable resolving 'cdn77.org/DS/IN': 2001:500:b::1#53
    Feb  2 15:58:46 samantos named[43234]: network unreachable resolving '_.168.178.in-addr.arpa/A/IN': 2001:67c:e0::5#53
    Feb  2 15:58:47 samantos named[43234]: network unreachable resolving 'ns1.starnet.md/AAAA/IN': 2001:41d0:401:3100::7162#53
    Feb  2 15:58:47 samantos named[43234]: network unreachable resolving 'ns1.starnet.md/AAAA/IN': 2607:5300:201:3100::2f69#53
    Feb  2 15:58:47 samantos named[43234]: network unreachable resolving 'ns0.starnet.md/A/IN': 2001:41d0:401:3100::7162#53
    Feb  2 15:58:47 samantos named[43234]: network unreachable resolving 'ns0.starnet.md/AAAA/IN': 2001:41d0:401:3100::7162#53
    Feb  2 15:58:48 samantos named[43234]: REFUSED unexpected RCODE resolving 'ns1.araxinfo.com/AAAA/IN': 217.26.160.5#53
    Feb  2 15:58:48 samantos named[43234]: REFUSED unexpected RCODE resolving 'ns1.araxinfo.com/A/IN': 217.26.160.5#53
    Feb  2 15:58:48 samantos named[43234]: network unreachable resolving 'ns1.company.md/AAAA/IN': 2a03:a80:0:53::4#53
    Feb  2 15:58:48 samantos mariadbd[35429]: 2023-02-02 15:58:48 30 [Warning] Aborted connection 30 to db: 'unconnected' user: 'unauthenticated' host: 'fnord.moldelectrica.md' (This connection closed normally without authentication)
    Feb  2 15:58:48 samantos mariadbd[35429]: 2023-02-02 15:58:48 31 [Warning] Aborted connection 31 to db: 'unconnected' user: 'unauthenticated' host: 'fnord.moldelectrica.md' (This connection closed normally without authentication)
    Feb  2 16:09:01 samantos CRON[173705]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
    
    All this are ipv6

    a tried to remove
    Code:
    # This is an autoconfigured IPv6 interface
    iface ens33 inet6 auto
    
     
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    It seems like ipv6 error. I think you actually should set that to use fixed IPV6 and not auto, otherwise, problem of reaching to it may happen again.
     
  5. pecka33

    pecka33 Member

    I will tri it. And should i only start autoinstaller - all will be rewrite or i have to do manually remove for example php etc which was installed during first install where was erro?
     
  6. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    You can try but ISPConfig Auto Installer script works best only on fresh setup, so I'd suggest you start over with the OS minimal install.
     
  7. I had the same problem
    Code:
    [ERROR] Exception occured: ISPConfigOSException -> Command chown -R www-data:www-data '/var/lib/phpmyadmin' ; cd /tmp ; rm -f phpMyAdmin-5.2.1-all-languages.tar.gz ; wget https://files.phpmyadmin.net/phpMyAdmin/5.2.1/phpMyAdmin-5.2.1-all-languages.tar.gz 2>/dev/null && tar xfz phpMyAdmin-5.2.1-all-languages.tar.gz && cp -a phpMyAdmin-5.2.1-all-languages/* /usr/share/phpmyadmin/ && rm -f phpMyAdmi
    This command helped solve the problem
    Code:
    sudo apt purge phpmyadmin
     
  8. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    I am not sure your problem is the same as this thread is more about ipv6 setting causing network unreachable based on the syslog shared.
     

Share This Page