• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Can't access the FOG web management inteface

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    36
    20.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tom ElliottT
      Tom Elliott
      last edited by

      irontamoor,

      Did you set a mysql password when you performed the installation?

      If you did set a password, do you remember that password?

      The line: PHP Warning: mysql_connect(): Access denied for user ‘root’@‘localhost’ (using password: NO) in /var/www/fog/lib/db/MySql.db.class.php on line 51

      It’s telling you it can’t connect to the database. Probably because the mysql password is not set on your /var/www/fog/commons/config.php.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • I
        irontamoor
        last edited by

        Yes I did set a password don’t know why it would say that as I havnt been able to get in at all.
        I’ve used fog in so many places never had problem untill now.

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          Did you check that the password was set in /var/www/fog/commons/config.php?

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • I
            irontamoor
            last edited by

            Yes.
            The problem is the website won’t download when I right click and view source. Nothing, no code nothing

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              Can you refresh the screen, I know it’ll be blank, then run:
              [code]tail -20 /var/log/apache2/error.log[/code]

              Copy and paste the output of that here.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • I
                irontamoor
                last edited by

                Sorry dudes been busy: here you go.

                [CODE][Fri Feb 14 17:25:47 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
                [Fri Feb 14 18:09:37 2014] [notice] Graceful restart requested, doing restart
                [Fri Feb 14 18:09:37 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
                apache2: Could not reliably determine the server’s fully qualified domain name, using 192.168.2.101 for ServerName
                [Fri Feb 14 18:09:37 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
                [Fri Feb 14 18:09:48 2014] [notice] Graceful restart requested, doing restart
                [Fri Feb 14 18:09:48 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
                apache2: Could not reliably determine the server’s fully qualified domain name, using 192.168.2.101 for ServerName
                [Fri Feb 14 18:09:48 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
                [Fri Feb 14 18:14:25 2014] [notice] caught SIGTERM, shutting down
                [Fri Feb 14 18:14:26 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
                [Fri Feb 14 18:16:37 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
                [Fri Feb 14 18:16:37 2014] [error] [client 192.168.2.1] File does not exist: /var/www/favicon.ico
                [Fri Feb 14 18:27:38 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
                [Fri Feb 14 18:27:40 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
                [Fri Feb 14 18:49:29 2014] [notice] caught SIGTERM, shutting down
                [Tue Feb 18 18:09:09 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
                [Tue Feb 18 18:12:01 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
                [Tue Feb 18 18:12:02 2014] [error] [client 192.168.2.1] File does not exist: /var/www/favicon.ico
                [Tue Feb 18 18:12:31 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54[/CODE]

                1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  What does the file say for line 54?

                  [quote]/var/www/fog/commons/config.php on line 54[/quote]

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • I
                    irontamoor
                    last edited by

                    define( “DB_TYPE”, “mysql” );

                    1 Reply Last reply Reply Quote 0
                    • I
                      irontamoor
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        What version of FOG are you running?

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        1 Reply Last reply Reply Quote 0
                        • I
                          irontamoor
                          last edited by

                          0.32

                          1 Reply Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott
                            last edited by

                            Check the line:
                            [code]define( “MYSQL_PASSWORD”, “” );[/code] has a semicolon at the end of it.

                            You need the ( ); as well as the “MYSQL_PASSWORD”, “PASSWORD”.

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            1 Reply Last reply Reply Quote 0
                            • I
                              irontamoor
                              last edited by

                              like this:

                              define( “MYSQL_DATABASE”, “fog” );
                              define( “MYSQL_USERNAME”, “root” );
                              define( “MYSQL_PASSWORD”, "password” );
                              define( “DB_TYPE”, “mysql” );
                              define( “DB_HOST”, MYSQL_HOST );
                              define( “DB_NAME”, MYSQL_DATABASE );
                              define( “DB_USERNAME”, MYSQL_USERNAME );
                              define( “DB_PASSWORD”, MYSQL_PASSWORD );

                              1 Reply Last reply Reply Quote 0
                              • Tom ElliottT
                                Tom Elliott
                                last edited by

                                Yes, just like that.

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott
                                  last edited by

                                  What happens if you go to url:

                                  [url]http://192.168.2.101/commons/schemaupdater/index.php?redir=1[/url]

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  1 Reply Last reply Reply Quote 0
                                  • I
                                    irontamoor
                                    last edited by

                                    404 error

                                    1 Reply Last reply Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott
                                      last edited by

                                      Add the Error Logs?

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                      1 Reply Last reply Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott
                                        last edited by

                                        Crap, try:
                                        [url]http://192.168.2.101/fog/commons/schemaupdater/index.php?redir=1[/url]

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                        1 Reply Last reply Reply Quote 0
                                        • I
                                          irontamoor
                                          last edited by

                                          blank aka no source code

                                          1 Reply Last reply Reply Quote 0
                                          • Tom ElliottT
                                            Tom Elliott
                                            last edited by

                                            I don’t know then. Maybe try reinstalling FOG?

                                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post

                                            180

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project