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

    Storage node not booting

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    10
    2.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.
    • M
      Mikael
      last edited by

      Client thats booting on my newly added storage node with tftp and ipxe hangs: “[url]http://StorageNodeIP/fog/service/ipxe/boot.php[/url]… No such file or directory”
      When I paste that URL in my PC it says:
      "[SIZE=4][FONT=Times New Roman][COLOR=#000000]The requested URL /fog/service/commons/schemaupdater/index.php was not found on this server.[/COLOR][/FONT][/SIZE]

      [SIZE=4][FONT=Times New Roman][COLOR=#000000]Apache/2.2.22 (Debian) Server at 192.168.10.58 Port 80"[/COLOR][/FONT][/SIZE]

      [SIZE=4][FONT=Times New Roman][COLOR=#000000]This seems to indicate that a schema update is wanted at the storage node?[/COLOR][/FONT][/SIZE]

      My DHCP (on remote site storage node) is setup with 66 and 67 options pointing at the storage node. I have the location plugin activated on my main FOG server and the storage node added in that GUI.

      Can someone shed some light over this?

      FOG 1.2 on Debian 7.7 on both main server and remote storage node. They are on separate subnets but can communicate. The /images folder is correctly synced.

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        I’d re-run the 1.2.0 installer on the node, see if that fixes it…

        If not,

        I’d re-install MySQL.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • M
          Mikael
          last edited by

          Thanks for answering! I have tried and installed the latest SVN, no change in behaviour. MySql is running fine on the main fog server, why reinstall that? Or do you mean on the node? Is that taken care of by the ./install.sh script?

          How come the [URL=‘http://storagenodeip/fog/service/ipxe/boot.php’]http://StorageNodeIP/fog/service/ipxe/boot.php[/URL] gets redirected to …schemaupdater…?

          1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman
            last edited by

            Ah. You are correct, the storage node wouldn’t need mysql.

            The installer script only checks if mysql is present / running. if it is, nothing is done. Another guy had a similar problem fixed by re installing mysql. I don’t think that’s the fix in this case.

            I re-read your first post more slowly this time.

            Verify if [url]http://storagenodeip/fog/service/ipxe/boot.php[/url] even exists or not. verify it’s permissions.

            on the storage node:
            cd /var/www/fog/service/ipxe
            ls -la

            if that all looks good, check your firewall, perhaps, using: iptables -L
            also, since this would be a php page, make sure PHP is running/installed. Maybe even reinstall 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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • M
              Mikael
              last edited by

              Thanks, good point about PHP, will check and get back

              1 Reply Last reply Reply Quote 0
              • M
                Mikael
                last edited by

                When in latest SVN, error messages gets a little different, look at picture. Seems that it stopped at bg.png ?
                Checked PHP, all looks good, permissions also:

                [CODE]
                :/var/www/fog/service/ipxe# ls -la
                totalt 43200
                drwxr-xr-x 3 fog www-data 4096 maj 13 08:11 .
                drwxr-xr-x 4 www-data www-data 4096 maj 13 08:11 …
                -rw-r–r-- 1 fog www-data 1366 maj 13 08:11 advanced.php
                -rw-r–r-- 1 fog www-data 44908 maj 13 08:11 bg.png
                -rw-r–r-- 1 fog www-data 907 maj 13 08:11 boot.php
                -rw-r–r-- 1 fog www-data 6599328 maj 10 15:36 bzImage
                -rw-r–r-- 1 fog www-data 6575248 maj 10 15:38 bzImage32
                -rw-r–r-- 1 fog www-data 234697 maj 13 08:11 grub.exe
                -rw-r–r-- 1 fog www-data 14368640 maj 12 16:49 init_32.xz
                -rw-r–r-- 1 fog www-data 14512204 maj 12 16:49 init.xz
                -rw-r–r-- 1 fog www-data 25340 maj 13 08:11 memdisk
                -rw-r–r-- 1 fog www-data 1839104 maj 13 08:11 memtest.bin
                drwxr-xr-x 6 fog www-data 4096 maj 13 08:11 .svn
                [/CODE]

                [url=“/_imported_xf_attachments/1/1992_SVN_boot_error.png?:”]SVN_boot_error.png[/url]

                1 Reply Last reply Reply Quote 0
                • M
                  Mikael
                  last edited by

                  I was wondering if there is some replication of /var/www that is missing? How else does the menu changes get transfered to the storage host?

                  Also the error messages in picture in last post get me thinking that the file undionly.kpxe does not load? Because it says “/default.ipxe… OK” Should it not be undionly.kpxe there.
                  I have doublechecked my win 2012 DHCP for this and cannot see any fault there.

                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                  • M
                    Mikael
                    last edited by

                    Problem solved. It was a configuration mistake in the location plugin! Storage Node info missing.

                    1 Reply Last reply Reply Quote 1
                    • M
                      Mikael
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @Mikael
                        last edited by

                        @Mikael said:

                        I was wondering if there is some replication of /var/www that is missing? How else does the menu changes get transfered to the storage host?

                        Also the error messages in picture in last post get me thinking that the file undionly.kpxe does not load? Because it says “/default.ipxe… OK” Should it not be undionly.kpxe there.
                        I have doublechecked my win 2012 DHCP for this and cannot see any fault there.

                        Great that you solved your issue.
                        Just wanted to talka little about the “default.ipxe” thing you brought up.

                        The boot file that the hosts use is what you specify (either in DHCP or dnsmasq). Those are always located in the /tftpboot directory. After that loads and does a few things, the hosts download default.ipxe and then give control to that and it takes over.

                        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!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

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

                        171

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project