help cant access anything locally or from ip

Discussion in 'Installation/Configuration' started by jimmie, Mar 4, 2013.

  1. jimmie

    jimmie New Member

  2. nokia80

    nokia80 HowtoForge Supporter

    is your apache2 server runing
     
  3. jimmie

    jimmie New Member

    can you tell what to check
     
  4. jimmie

    jimmie New Member

  5. jimmie

    jimmie New Member

    my apache is running i can get to the it works page!
     
  6. jimmie

    jimmie New Member

    still need help here
     
  7. till

    till Super Moderator

    Check the apache error.log file for errors.
     
  8. jimmie

    jimmie New Member

    [Sun Mar 03 23:04:41 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sun Mar 03 23:04:41 2013] [notice] Digest: generating secret for digest authentication ...
    [Sun Mar 03 23:04:41 2013] [notice] Digest: done
    [Sun Mar 03 23:04:41 2013] [notice] FastCGI: process manager initialized (pid 2359)
    [Sun Mar 03 23:04:41 2013] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
    [Sun Mar 03 23:04:41 2013] [notice] mod_python: using mutex_directory /tmp
    [Sun Mar 03 23:04:42 2013] [notice] Apache/2.2.22 (Ubuntu) DAV/2 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.7 PHP/5.4.6-1ubuntu1.1 mod_python/3.3.1 Python/2.7.3 mod_ruby/1.2.6 Ruby/1.8.7(2012-02-08) mod_ssl/2.2.22 OpenSSL/1.0.1c mod_perl/2.0.5 Perl/v5.14.2 configured -- resuming normal operations
    [Sun Mar 03 23:05:52 2013] [error] [client 192.168.1.4] File does not exist: /var/www/favicon.ico
    [Sun Mar 03 23:06:03 2013] [warn] [client 192.168.1.4] mod_fcgid: stderr: PHP Warning: Unknown: open_basedir restriction in effect. File(/usr/local/ispconfig/interface/web/index.php) is not within the allowed path(s): ([website_path]/web:[website_path]/private:[website_path]/tmp:/var/www/[website_domain]/web:/srv/www/[website_domain]/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/php) in Unknown on line 0
    [Sun Mar 03 23:06:03 2013] [warn] [client 192.168.1.4] mod_fcgid: stderr: PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
    [Sun Mar 03 23:07:02 2013] [error] [client 108.9.73.50] File does not exist: /var/www/favicon.ico
    [Sun Mar 03 23:07:08 2013] [warn] [client 108.9.73.50] mod_fcgid: stderr: PHP Warning: Unknown: open_basedir restriction in effect. File(/usr/local/ispconfig/interface/web/index.php) is not within the allowed path(s): ([website_path]/web:[website_path]/private:[website_path]/tmp:/var/www/[website_domain]/web:/srv/www/[website_domain]/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/php) in Unknown on line 0
    [Sun Mar 03 23:07:08 2013] [warn] [client 108.9.73.50] mod_fcgid: stderr: PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
    [Sun Mar 03 23:17:28 2013] [notice] caught SIGTERM, shutting down
     
  9. till

    till Super Moderator

    Seems as if you try to access ispconfig trough a website or that you have set a open_basedir path globally in a php.ini file for all websites. Please check your php.ini files in /etc/ and remove the open_basedir restriction. Then restart apache.
     
  10. jimmie

    jimmie New Member

    open_base is commented out in all php.ini files
     
  11. jimmie

    jimmie New Member

    how do i restore a back up
    or how do i get my database out
     
  12. jimmie

    jimmie New Member

    the only thing that works is my ip 108.9.73.50 and i only get apache default web page
     
  13. jimmie

    jimmie New Member

    i dont get any errors in var/log/apache2./any file in there
     
  14. jimmie

    jimmie New Member

    here is log of ispconfig cron.log
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::escape_string(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 215
    PHP Warning: mysqli::close(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 82
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 62
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    PHP Warning: mysqli::close(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 82
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 62
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    PHP Warning: mysqli::close(): Couldn't fetch db in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 82
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 62
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
    DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
     
  15. till

    till Super Moderator

    Are you able to login to mysql wih he details from this ile?

    /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php
     

Share This Page