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

    PXE Boot Problems after install FOG 1.0.0 on Ubuntu DHCP Server

    Scheduled Pinned Locked Moved
    FOG Problems
    12
    30
    21.6k
    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

      [quote=“AnthonyV, post: 27065, member: 24162”]I use Windows DHCP. In past experience it works better for the network than fog DHCP. If you have or can get Windows DHCP services configure options 066 and 067. Otherwise reinstall DHCP services on FOG. Also for FOG pxe boot you must have pxelinux.0 file located in the TFTPBOOT dir if this file does not exist then your machines will not boot. Also make sure you have configured /etc/www/fog/commons/config.php here make sure that MYSQL root password is in the file. Use the same passwd you enter during installation. Hope this helps.[/quote]

      Good post, except he’s using FOG 1.0.0 rather than 0.32 or earlier. So the pxelinux.0 file is not accurate. Option 67 should be pointing at: undionly.kpxe, as it is.

      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

        [quote=“theleftfoot, post: 27058, member: 24165”]hey guys,

        i’m new here…i would like to say hello to you all!
        i hope you guys can help me out.

        i installed FOG on a ubuntu server with dhcp. i have two interfaces, eth0 and eth1. dhcp on eth1 works.
        my only problem is, that the pxe boot doesn’t work.

        here the error code;
        [CODE]PXE-T01: File not found
        PXE-E3B: TFTP Error - File Not found
        [/CODE]

        here are my configs;

        [CODE]# DHCP Server Configuration file.

        see /usr/share/doc/dhcp*/dhcpd.conf.sample

        This file was created by FOG

        use-host-decl-names on;
        ddns-update-style interim;
        ignore client-updates;
        next-server 192.168.1.1;

        subnet 192.168.1.0 netmask 255.255.255.0 {
        option domain-name “Stadtschulen”;
        option subnet-mask 255.255.255.0;
        range dynamic-bootp 192.168.1.10 192.168.1.254;
        default-lease-time 21600;
        max-lease-time 43200;
        option domain-name-servers 8.8.8.8;
        option routers 192.168.1.1;
        filename “undionly.kpxe”;
        }

        auto lo
        iface lo inet loopback

        auto eth0
        iface eth0 inet static
        address 192.168.17.20
        netmask 255.255.255.0
        gateway 192.168.17.1
        network 192.168.17.0
        broadcast 192.168.17.255
        dns-nameservers 8.8.8.8 8.8.4.4

        auto eth1
        iface eth1 inet static
        address 192.168.1.1
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255

        /etc/default/tftpd-hpa

        FOG Modified version

        TFTP_USERNAME=“fog”
        TFTP_DIRECTORY=“/tftpboot”
        TFTP_ADDRESS=“192.168.1.1:69”
        TFTP_OPTIONS=“-s”
        [/CODE]

        tftp works
        [CODE]tftp -v 192.168.1.1 -c get undionly.kpxe
        Connected to 192.168.1.1 (192.168.1.1), port 69
        getting from 192.168.1.1:undionly.kpxe to undionly.kpxe [netascii]
        Received 96672 bytes in 0.2 seconds [3133106 bit/s][/CODE]

        what should i check for pxe boot?

        thanks in advance for your help

        cheers raffa[/quote]

        Thank you for all of the information in this post. It’s extremely appreciated (you have no idea).

        The line that has me, slightly, concerned is:
        option routers 192.168.1.1;

        Is this correct? Your server IS the router? The router should be set to the switch all the other clients are accessing, otherwise they have no idea where to get the information. It’s just a thought, I don’t know if this is the problem, but it would seem to me that the FOG Server can’t actually get the data. The reason your tftp command worked is because of the subnet information. Is the FOG Server actually issuing DHCP addresses though? If not what is?

        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
        • P
          plofkat
          last edited by

          [quote=“Tom Elliott, post: 27067, member: 7271”]Good post, except he’s using FOG 1.0.0 rather than 0.32 or earlier. So the pxelinux.0 file is not accurate. Option 67 should be pointing at: undionly.kpxe, as it is.[/quote]

          Thanks, had the same problem, my option 67 was also still pointing at pxelinux.0 instead of undionly.kpxe
          I somehow completely missed it when upgrading from 0.32 to 1.0.1

          1 Reply Last reply Reply Quote 0
          • T
            theleftfoot
            last edited by

            thanks guys, for your replies…
            attached is the network schematic.

            i’m still controlling and trying your answers…

            i found that the /var/www/fog folder was missing.

            …to be continued

            for the moment, i updatet the root password under–> /opt/fog/service/etc/config.php and change the tftp user to “fog” here --> /etc/default/tftpd-hpa

            still nothing…

            [url=“/_imported_xf_attachments/0/767_ict_labor_FOG_image.jpg?:”]ict_labor_FOG_image.jpg[/url]

            1 Reply Last reply Reply Quote 0
            • T
              theleftfoot
              last edited by

              and apache error
              [CODE]
              [Wed May 14 16:08:10 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.6-1ubuntu1.8 configured – resuming normal operations

              [Wed May 14 16:08:11 2014] [notice] Graceful restart requested, doing restart

              [Wed May 14 16:08:11 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)

              [Wed May 14 16:08:11 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)

              apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName

              [Wed May 14 16:08:11 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.6-1ubuntu1.8 configured – resuming normal operations

              [Wed May 14 16:12:34 2014] [notice] caught SIGTERM, shutting down

              [Wed May 14 16:12:35 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.6-1ubuntu1.8 configured – resuming normal operations

              [Wed May 14 16:13:43 2014] [error] [client 192.168.17.51] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95

              [Wed May 14 16:13:43 2014] [error] [client 192.168.17.51] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 156

              [Wed May 14 16:13:43 2014] [error] [client 192.168.17.51] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95

              [Wed May 14 16:13:43 2014] [error] [client 192.168.17.51] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 156

              [Wed May 14 16:13:43 2014] [error] [client 192.168.17.51] PHP Warning: mysql_real_escape_string(): Access denied for user ‘www-data’@‘localhost’ (using password: NO) in /var/www/fog/lib/db/MySQL.class.php on line 253

              [Wed May 14 16:13:43 2014] [error] [client 192.168.17.51] PHP Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/fog/lib/db/MySQL.class.php on line 253

              [Wed May 14 16:13:43 2014] [error] [client 192.168.17.51] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95

              [Wed May 14 16:15:31 2014] [error] [client 192.168.17.51] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95

              [Wed May 14 16:15:31 2014] [error] [client 192.168.17.51] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 156

              [Wed May 14 16:15:31 2014] [error] [client 192.168.17.51] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95

              [Wed May 14 16:15:31 2014] [error] [client 192.168.17.51] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 156

              [Wed May 14 16:27:34 2014] [error] [client 192.168.17.51] PHP Warning: mysql_close(): 13 is not a valid MySQL-Link resource in /var/www/fog/lib/db/MySQL.class.php on line 45, referer: http://192.168.17.20/fog/commons/schemaupdater/index.php?redir=1

              [Wed May 14 16:27:34 2014] [error] [client 192.168.17.51] PHP Fatal error: Call to a member function debug() on a non-object in /var/www/fog/lib/db/MySQL.class.php on line 50, referer: http://192.168.17.20/fog/commons/schemaupdater/index.php?redir=1

              [Wed May 14 16:27:36 2014] [error] [client 192.168.17.51] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/pages/DashboardPage.class.php on line 30, referer: http://192.168.17.20/fog/commons/schemaupdater/index.php?redir=1

              [Wed May 14 16:27:39 2014] [error] [client 192.168.17.51] PHP Fatal error: Call to a member function mainMenu() on a non-object in /var/www/fog/management/index.php on line 72, referer: http://192.168.17.20/fog/management/

              [Wed May 14 16:34:31 2014] [error] [client 192.168.17.51] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95, referer: http://192.168.17.20/fog/management/index.php?node=home

              [Wed May 14 16:34:31 2014] [error] [client 192.168.17.51] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 156, referer: http://192.168.17.20/fog/management/index.php?node=home

              [Wed May 14 16:34:31 2014] [error] [client 192.168.17.51] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95, referer: http://192.168.17.20/fog/management/index.php?node=home

              [Wed May 14 16:34:31 2014] [error] [client 192.168.17.51] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 156, referer: http://192.168.17.20/fog/management/index.php?node=home

              [Wed May 14 16:35:35 2014] [error] [client 192.168.1.50] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95

              [Wed May 14 16:35:35 2014] [error] [client 192.168.1.50] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 156

              [Wed May 14 16:35:35 2014] [error] [client 192.168.1.50] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95

              [Wed May 14 16:35:35 2014] [error] [client 192.168.1.50] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 156

              [Wed May 14 16:35:35 2014] [error] [client 192.168.1.50] PHP Warning: mysql_real_escape_string(): Access denied for user ‘www-data’@‘localhost’ (using password: NO) in /var/www/fog/lib/db/MySQL.class.php on line 253

              [Wed May 14 16:35:35 2014] [error] [client 192.168.1.50] PHP Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/fog/lib/db/MySQL.class.php on line 253

              [Wed May 14 16:35:35 2014] [error] [client 192.168.1.50] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95

              [Wed May 14 16:36:43 2014] [error] [client 192.168.1.50] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95

              [Wed May 14 16:36:43 2014] [error] [client 192.168.1.50] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 156

              [Wed May 14 16:36:43 2014] [error] [client 192.168.1.50] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95

              [Wed May 14 16:36:43 2014] [error] [client 192.168.1.50] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 156

              [Wed May 14 16:36:43 2014] [error] [client 192.168.1.50] PHP Warning: mysql_real_escape_string(): Access denied for user ‘www-data’@‘localhost’ (using password: NO) in /var/www/fog/lib/db/MySQL.class.php on line 253

              [Wed May 14 16:36:43 2014] [error] [client 192.168.1.50] PHP Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/fog/lib/db/MySQL.class.php on line 253

              [Wed May 14 16:36:43 2014] [error] [client 192.168.1.50] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95

              [Wed May 14 16:40:37 2014] [error] [client 192.168.1.50] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95

              [Wed May 14 16:40:37 2014] [error] [client 192.168.1.50] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 156

              [Wed May 14 16:40:37 2014] [error] [client 192.168.1.50] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95

              [Wed May 14 16:40:37 2014] [error] [client 192.168.1.50] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 156

              [Wed May 14 16:40:37 2014] [error] [client 192.168.1.50] PHP Warning: mysql_real_escape_string(): Access denied for user ‘www-data’@‘localhost’ (using password: NO) in /var/www/fog/lib/db/MySQL.class.php on line 253

              [Wed May 14 16:40:37 2014] [error] [client 192.168.1.50] PHP Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/fog/lib/db/MySQL.class.php on line 253

              [Wed May 14 16:40:37 2014] [error] [client 192.168.1.50] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95

              [/CODE]
              log;

              1 Reply Last reply Reply Quote 0
              • B
                BPSTravis Developer
                last edited by

                [QUOTE][FONT=Consolas]Access denied for user ‘www-data’@‘localhost’ (using password: NO) in /var/www/fog/lib/db/MySQL.class.php on line 253[/FONT][/QUOTE]

                That is your problem, that’s also what is generating 95% of those error messages.

                Basically it has no connection to your MySQL database.

                The database is running as it gives the access denied, did you set a MySQL password when you originally installed?

                If so you need to enter that password in /var/www/fog/commons/config.php

                [SIZE=12px]signature:[/SIZE]
                [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

                1 Reply Last reply Reply Quote 0
                • L
                  Lonnie Gaither
                  last edited by

                  [quote=“Tom Elliott, post: 27067, member: 7271”]Good post, except he’s using FOG 1.0.0 rather than 0.32 or earlier. So the pxelinux.0 file is not accurate. Option 67 should be pointing at: undionly.kpxe, as it is.[/quote]

                  undionly.kpxe is the new filename that DHCP option 67 should point to now?

                  -=Lon=-

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

                    Correct.

                    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
                    • T
                      theleftfoot
                      last edited by

                      new day new challange!

                      made a new installation.

                      Here are the settings FOG will use:
                      Base Linux: Debian
                      Detected Linux Distribution: Ubuntu
                      Installation Type: Normal Server
                      Server IP Address: 192.168.1.2
                      DHCP router Address: 192.168.1.1
                      DHCP DNS Address: 8.8.8.8
                      Interface: eth1
                      Using FOG DHCP: 1
                      Internationalization: 0
                      Donate: 0

                      after the installation, i changed first the mysql pw.

                      the strange thing is, that i can’t connect via [url]http://192.168.1.2/fog/management[/url] BUT [url]http://192.168.1.1/fog/management[/url] works!

                      the installation is out of the box…:-)

                      here are the setting of /var/www/fog/commons/config.php;
                      [CODE]
                      define(‘DATABASE_TYPE’, ‘mysql’); // mysql or oracle
                      define(‘DATABASE_HOST’, ‘localhost’);
                      define(‘DATABASE_NAME’, ‘fog’);
                      define(‘DATABASE_USERNAME’, ‘root’);
                      define(‘DATABASE_PASSWORD’, ‘password’);[/CODE]

                      apache error log;
                      [CODE][Thu May 15 09:05:57 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.6-1ubuntu1.8 configured – resuming normal operations
                      [Thu May 15 09:06:48 2014] [error] [client 192.168.1.50] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95
                      [Thu May 15 09:06:48 2014] [error] [client 192.168.1.50] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95
                      [Thu May 15 09:06:48 2014] [error] [client 192.168.1.50] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 156
                      [Thu May 15 09:06:48 2014] [error] [client 192.168.1.50] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 156
                      [Thu May 15 09:06:48 2014] [error] [client 192.168.1.50] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95
                      [Thu May 15 09:06:48 2014] [error] [client 192.168.1.50] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 156
                      [Thu May 15 09:06:48 2014] [error] [client 192.168.1.50] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95
                      [Thu May 15 09:06:48 2014] [error] [client 192.168.1.50] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/fog/lib/db/MySQL.class.php on line 156
                      [Thu May 15 09:06:48 2014] [error] [client 192.168.1.50] PHP Warning: mysql_real_escape_string(): Access denied for user ‘www-data’@‘localhost’ (using password: NO) in /var/www/fog/lib/db/MySQL.class.php on line 253
                      [Thu May 15 09:06:48 2014] [error] [client 192.168.1.50] PHP Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/fog/lib/db/MySQL.class.php on line 253
                      [Thu May 15 09:06:48 2014] [error] [client 192.168.1.50] PHP Warning: mysql_real_escape_string(): Access denied for user ‘www-data’@‘localhost’ (using password: NO) in /var/www/fog/lib/db/MySQL.class.php on line 253
                      [Thu May 15 09:06:48 2014] [error] [client 192.168.1.50] PHP Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/fog/lib/db/MySQL.class.php on line 253
                      [Thu May 15 09:06:48 2014] [error] [client 192.168.1.50] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95
                      [Thu May 15 09:06:48 2014] [error] [client 192.168.1.50] PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/fog/lib/db/MySQL.class.php on line 95
                      [Thu May 15 09:21:24 2014] [notice] Graceful restart requested, doing restart
                      [Thu May 15 09:21:24 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
                      apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
                      [Thu May 15 09:21:24 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.6-1ubuntu1.8 configured – resuming normal operations
                      [Thu May 15 09:21:25 2014] [notice] Graceful restart requested, doing restart
                      [Thu May 15 09:21:25 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
                      apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
                      [Thu May 15 09:21:25 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.6-1ubuntu1.8 configured – resuming normal operations
                      [Thu May 15 09:21:39 2014] [notice] Graceful restart requested, doing restart
                      [Thu May 15 09:21:39 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
                      [Thu May 15 09:21:39 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
                      apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
                      [Thu May 15 09:21:39 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.6-1ubuntu1.8 configured – resuming normal operations
                      [Thu May 15 09:31:07 2014] [error] [client 192.168.1.50] File does not exist: /var/www/favicon.ico
                      [Thu May 15 09:31:07 2014] [error] [client 192.168.1.50] File does not exist: /var/www/favicon.ico
                      [Thu May 15 09:31:11 2014] [error] [client 192.168.1.50] PHP Warning: mysql_close(): 13 is not a valid MySQL-Link resource in /var/www/fog/lib/db/MySQL.class.php on line 45, referer: http://192.168.1.1/fog/commons/schemaupdater/index.php?redir=1
                      [Thu May 15 09:31:11 2014] [error] [client 192.168.1.50] PHP Fatal error: Call to a member function debug() on a non-object in /var/www/fog/lib/db/MySQL.class.php on line 50, referer: http://192.168.1.1/fog/commons/schemaupdater/index.php?redir=1
                      [Thu May 15 09:31:13 2014] [error] [client 192.168.1.50] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/pages/DashboardPage.class.php on line 30, referer: http://192.168.1.1/fog/commons/schemaupdater/index.php?redir=1
                      [Thu May 15 09:31:59 2014] [error] [client 192.168.1.50] File does not exist: /var/www/fog/management/css/images, referer: http://192.168.1.1/fog/management/css/jquery-ui.css
                      [Thu May 15 09:31:59 2014] [error] [client 192.168.1.50] File does not exist: /var/www/fog/management/css/images, referer: http://192.168.1.1/fog/management/css/jquery-ui.css
                      [Thu May 15 09:31:59 2014] [error] [client 192.168.1.50] File does not exist: /var/www/fog/management/css/images, referer: http://192.168.1.1/fog/management/css/jquery-ui.css
                      [Thu May 15 09:32:40 2014] [error] [client 192.168.1.50] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/fog/Mainmenu.class.php on line 20
                      [Thu May 15 09:32:40 2014] [error] [client 192.168.1.50] File does not exist: /var/www/fog/images, referer: http://192.168.1.1/fog/management/css/fog.css
                      [Thu May 15 09:32:45 2014] [error] [client 192.168.1.50] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/fog/Mainmenu.class.php on line 20
                      [Thu May 15 09:32:45 2014] [error] [client 192.168.1.50] File does not exist: /var/www/fog/images, referer: http://192.168.1.1/fog/management/css/fog.css
                      [Thu May 15 09:35:46 2014] [notice] caught SIGTERM, shutting down
                      [Thu May 15 10:20:18 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.6-1ubuntu1.8 configured – resuming normal operations
                      root@ICTsrvLIN:~# tail -f /var/log/apache2/error.log
                      [Thu May 15 09:31:59 2014] [error] [client 192.168.1.50] File does not exist: /var/www/fog/management/css/images, referer: http://192.168.1.1/fog/management/css/jquery-ui.css
                      [Thu May 15 09:31:59 2014] [error] [client 192.168.1.50] File does not exist: /var/www/fog/management/css/images, referer: http://192.168.1.1/fog/management/css/jquery-ui.css
                      [Thu May 15 09:31:59 2014] [error] [client 192.168.1.50] File does not exist: /var/www/fog/management/css/images, referer: http://192.168.1.1/fog/management/css/jquery-ui.css
                      [Thu May 15 09:32:40 2014] [error] [client 192.168.1.50] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/fog/Mainmenu.class.php on line 20
                      [Thu May 15 09:32:40 2014] [error] [client 192.168.1.50] File does not exist: /var/www/fog/images, referer: http://192.168.1.1/fog/management/css/fog.css
                      [Thu May 15 09:32:45 2014] [error] [client 192.168.1.50] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/fog/Mainmenu.class.php on line 20
                      [Thu May 15 09:32:45 2014] [error] [client 192.168.1.50] File does not exist: /var/www/fog/images, referer: http://192.168.1.1/fog/management/css/fog.css
                      [Thu May 15 09:35:46 2014] [notice] caught SIGTERM, shutting down
                      [Thu May 15 10:20:18 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.6-1ubuntu1.8 configured – resuming normal operations
                      [Thu May 15 09:43:08 2014] [error] [client 192.168.17.51] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/pages/DashboardPage.class.php on line 30
                      [/CODE]

                      1 Reply Last reply Reply Quote 0
                      • T
                        theleftfoot
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • T
                          theleftfoot
                          last edited by

                          uhhh, something is running! 🙂

                          the tftp ip adress is wrong, in the configuration menu the ip adress is 192.168.1.1 --> how to change this?

                          [url=“/_imported_xf_attachments/0/770_2014-05-14 13.32.54.jpg?:”]2014-05-14 13.32.54.jpg[/url]

                          1 Reply Last reply Reply Quote 0
                          • T
                            theleftfoot
                            last edited by

                            finally it works! 🙂

                            i changed the ip adress to 192.168.1.1 for all in instances.
                            changed the mysql pw under /var/www/fog/commons/config.php

                            et voila

                            thanks for all the support!

                            raffa

                            1 Reply Last reply Reply Quote 0
                            • AbuelikaA
                              Abuelika
                              last edited by

                              Hello,

                              I have a problem after upgrading to version 1.01. At boot displays the following message:
                              [IMG]http://i61.tinypic.com/2ypdcnn.jpg[/IMG]
                              Tnx All!

                              GFG! ¬¬!

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

                                When you go the FOG GUI from a browser, does all operate properly?

                                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
                                • AbuelikaA
                                  Abuelika
                                  last edited by

                                  Yes, apparently everything works well

                                  GFG! ¬¬!

                                  1 Reply Last reply Reply Quote 0
                                  • AbuelikaA
                                    Abuelika
                                    last edited by

                                    [quote=“Tom Elliott, post: 27662, member: 7271”]When you go the FOG GUI from a browser, does all operate properly?[/quote]

                                    solved. I have stopped vsftpd and ipxe has started properly.

                                    GFG! ¬¬!

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      bradburyn
                                      last edited by

                                      Alright I had to create an account to submit my issue. I have spent about 2 days of reading and testing but have not had any success. I am trying to setup fog 1.0.1 and have a windows dhcp server (66 and 67 are setup correctly (undionly.kpxe). I have tried on 14.04 64bit and now 12.04 32bit with the exact same issue. I pxe boot the client and it picks up dhcp and starts the boot but I get an error when the line hits “<myip>/fog/service/ipxe/boot.php no such file”. I checked the directory and the file is clearly there, I disabled firewall and even opened up all permissions with still no luck. I gave up for the night but in the morning my next try will be to download fog and try an older install to see if this continues. Any help or insight before the downgrade would be appreciated.

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        jbsclm Developer
                                        last edited by

                                        I take it you can log in to the gui OK.
                                        A couple of things to try.
                                        point your browser at [url]http://<myip>/fog/service/ipxe/boot.php[/url] you should see an ipxe menu.
                                        if this fails check your apache log, on ubuntu 12.04 the above should go to /var/log/www/fog/service/ipxe/boot.php if my memory serves me right.
                                        There should be an entry in the log saying what it can’t find.

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

                                          [quote=“bradburyn, post: 28243, member: 24378”]Alright I had to create an account to submit my issue. I have spent about 2 days of reading and testing but have not had any success. I am trying to setup fog 1.0.1 and have a windows dhcp server (66 and 67 are setup correctly (undionly.kpxe). I have tried on 14.04 64bit and now 12.04 32bit with the exact same issue. I pxe boot the client and it picks up dhcp and starts the boot but I get an error when the line hits “<myip>/fog/service/ipxe/boot.php no such file”. I checked the directory and the file is clearly there, I disabled firewall and even opened up all permissions with still no luck. I gave up for the night but in the morning my next try will be to download fog and try an older install to see if this continues. Any help or insight before the downgrade would be appreciated.[/quote]

                                          When you installed, did a symlink from /var/www/fog get created in /var/www/html/? If so, chances are this is what’s causing your particular issue. You may need to edit the configuration file to make /var/www/ the document root as opposed to /var/www/html

                                          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
                                          • B
                                            bradburyn
                                            last edited by

                                            That makes sense. I did change the root directory to /var/www/html/fog in /etc/apache2/sites-available/default to redirect to x.x.x.x/fog instead so I can just type the ip in the browser and not have to do /fog after. I reverted back and everything is good to go. My next question, how would I be able to setup the server to point to x.x.x.x/fog when I type just x.x.x.x in the browser?

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

                                            197

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project