Loocked my self out!

Discussion in 'Linux Beginners' started by Taxick, Jun 1, 2023.

  1. Taxick

    Taxick Member

    Hi :)

    I have a strange problem with my newly installed ISPConfig server.

    I have locked myself out of my server. - If I try to go "https://www.futurenode.dk" from my desktop the browser time out.

    If I use my phone without wifi - It works fine!

    I can also log in to the ISPPanel: -> https://skytower.futurenode.dk:8080/index.php - Works..

    I can also connect to my server with SSH!

    If it can help, here is some logs from error.log (/var/www/futurenode.dk/log/error.log)

    Code:
    [Thu Jun 01 20:18:09.874418 2023] [fcgid:warn] [pid 1642:tid 140563508540992] [client 34.96.143.131:57164] mod_fcgid: stderr: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/var/www/clients/client1/web6/web/wp-content/db.php) is not within the allowed path(s): (/var/www/clients/client1/web6/web:/var/www/clients/client1/web6/private:/var/www/clients/client1/web6/tmp:/var/www/futurenode.dk/web:/srv/www/futurenode.dk/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom:/var/www/clients/client1/web6/web/wp-content/) in /var/www/clients/client1/web6/web/wp-includes/load.php on line 569, referer: http://www.futurenode.dk/wp-login.php
    [Thu Jun 01 20:18:11.860645 2023] [fcgid:warn] [pid 1642:tid 140563349145152] [client 176.9.47.126:47020] mod_fcgid: stderr: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/var/www/clients/client1/web6/web/wp-content/db.php) is not within the allowed path(s): (/var/www/clients/client1/web6/web:/var/www/clients/client1/web6/private:/var/www/clients/client1/web6/tmp:/var/www/futurenode.dk/web:/srv/www/futurenode.dk/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom:/var/www/clients/client1/web6/web/wp-content/) in /var/www/clients/client1/web6/web/wp-includes/load.php on line 569
    [Thu Jun 01 20:18:27.698869 2023] [fcgid:warn] [pid 1642:tid 140563307181632] [client 176.9.47.126:50382] mod_fcgid: stderr: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/var/www/clients/client1/web6/web/wp-content/db.php) is not within the allowed path(s): (/var/www/clients/client1/web6/web:/var/www/clients/client1/web6/private:/var/www/clients/client1/web6/tmp:/var/www/futurenode.dk/web:/srv/www/futurenode.dk/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom:/var/www/clients/client1/web6/web/wp-content/) in /var/www/clients/client1/web6/web/wp-includes/load.php on line 569
    [Thu Jun 01 20:18:27.751341 2023] [fcgid:warn] [pid 1642:tid 140563315574336] [client 18.212.22.130:52695] mod_fcgid: stderr: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/var/www/clients/client1/web6/web/wp-content/db.php) is not within the allowed path(s): (/var/www/clients/client1/web6/web:/var/www/clients/client1/web6/private:/var/www/clients/client1/web6/tmp:/var/www/futurenode.dk/web:/srv/www/futurenode.dk/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom:/var/www/clients/client1/web6/web/wp-content/) in /var/www/clients/client1/web6/web/wp-includes/load.php on line 569
    [Thu Jun 01 20:23:01.536397 2023] [fcgid:warn] [pid 1642:tid 140562359363136] [client 176.9.47.126:38748] mod_fcgid: stderr: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/var/www/clients/client1/web6/web/wp-content/db.php) is not within the allowed path(s): (/var/www/clients/client1/web6/web:/var/www/clients/client1/web6/private:/var/www/clients/client1/web6/tmp:/var/www/futurenode.dk/web:/srv/www/futurenode.dk/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom:/var/www/clients/client1/web6/web/wp-content/) in /var/www/clients/client1/web6/web/wp-includes/load.php on line 569
    [Thu Jun 01 20:23:01.562742 2023] [fcgid:warn] [pid 1642:tid 140563374388800] [client 103.177.224.54:51804] mod_fcgid: stderr: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/var/www/clients/client1/web6/web/wp-content/db.php) is not within the allowed path(s): (/var/www/clients/client1/web6/web:/var/www/clients/client1/web6/private:/var/www/clients/client1/web6/tmp:/var/www/futurenode.dk/web:/srv/www/futurenode.dk/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom:/var/www/clients/client1/web6/web/wp-content/) in /var/www/clients/client1/web6/web/wp-includes/load.php on line 569
    [Thu Jun 01 20:23:01.986129 2023] [fcgid:warn] [pid 1642:tid 140563323967040] [client 103.177.224.54:51804] mod_fcgid: stderr: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/var/www/clients/client1/web6/web/wp-content/db.php) is not within the allowed path(s): (/var/www/clients/client1/web6/web:/var/www/clients/client1/web6/private:/var/www/clients/client1/web6/tmp:/var/www/futurenode.dk/web:/srv/www/futurenode.dk/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom:/var/www/clients/client1/web6/web/wp-content/) in /var/www/clients/client1/web6/web/wp-includes/load.php on line 569
    
    Please help me out here..

    EDIT: I have disabled UFW

    EDIT: I have the same problem with https://futuremail.dk/ - Basely its all my domains on the server!

    // Thomas
     
    Last edited: Jun 1, 2023
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Since it is ISPConfig server, although you posted on Linux Forum, start with this:
    https://forum.howtoforge.com/threads/please-read-before-posting.58408/
    Then examine apache logs when you try to access websites, does the query reach your server?
    Check name service points to the correct IP-number.
    Examine network topology, if WiFI does not work but other ways of connecting do, something is fishy.
    Maybe IPv6 and IPv4 routing is wrong, one of them works but the other not?
     
  3. Taxick

    Taxick Member

    FIXED :) - My ip was banned in Fail2ban
    Noob error by me..
     
    Last edited: Jun 1, 2023
    ahrasis likes this.

Share This Page