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

    Ubuntu 14.04 Fog 1.20 updated to latest svn

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    8
    3.3k
    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.
    • P
      Pikmin
      last edited by Pikmin

      Hi,
      I’ve updated to the latest SVN and now have issues with the master storage node, the only one i use at the moment
      It doesn’t actually show up on the main graph
      fog error.png

      I’ve tried deleting and recreating no luck

      When I try to Quick image I get
      Couldn’t find a storage node (with the right ip)

       private static function init_setting() {
                      define('TFTP_HOST', "192.168.4.22");
                      define('TFTP_FTP_USERNAME', "fog");
                      define('TFTP_FTP_PASSWORD', "68c364");
                      define('TFTP_PXE_KERNEL_DIR', '/var/www/html/fog/service/ipxe/');
                      define('PXE_KERNEL', 'bzImage');
                      define('PXE_KERNEL_RAMDISK',127000);
                      define('USE_SLOPPY_NAME_LOOKUPS',true);
                      define('MEMTEST_KERNEL', 'memtest.bin');
                      define('PXE_IMAGE', 'init.xz');
                      define('PXE_IMAGE_DNSADDRESS', "");
                      define('STORAGE_HOST', "192.168.4.22");
                      define('STORAGE_FTP_USERNAME', "fog");
                      define('STORAGE_FTP_PASSWORD', "68c364");
                      define('STORAGE_DATADIR', '/images/');
                      define('STORAGE_DATADIR_UPLOAD', '/images/dev/');
                      define('STORAGE_BANDWIDTHPATH', '/fog/status/bandwidth.php');
                      define('UPLOADRESIZEPCT',5);
                      define('WEB_HOST', "192.168.4.22");
                      define('WOL_HOST', "192.168.4.22");
                      define('WOL_PATH', '/fog/wol/wol.php');
                      define('WOL_INTERFACE', "eth0");
                      define('SNAPINDIR', "/opt/fog/snapins/");
                      define('QUEUESIZE', '10');
                      define('CHECKIN_TIMEOUT',600);
                      define('USER_MINPASSLENGTH',4);
                      define('USER_VALIDPASSCHARS', '1234567890ABCDEFGHIJKLMNOPQRSTUVWZXYabcdefghijklmnopqrstuvwxyz_()^!#-');
                      define('NFS_ETH_MONITOR', "eth0");
                      define('UDPCAST_INTERFACE', "eth0");
                      define('UDPCAST_STARTINGPORT', 63100 );                                         // Must be an even number! recommended between 49152 to 65535
                      define('FOG_MULTICAST_MAX_SESSIONS',64);
                      define('FOG_JPGRAPH_VERSION', '2.3');
                      define('FOG_REPORT_DIR', './reports/');
                      define('FOG_UPLOADIGNOREPAGEHIBER',true);
                      define('FOG_DONATE_MINING', "0");
      

      EDIT:
      I’ve noticed just now the settings don’t have a password set for storageftp user, not sure if that’s normal.
      One last thing I don’t understand
      FOG_STORAGENODE_MYSQLUSER is fogstorage
      where can I find the password for this, or how to test if working?

      Created by the FOG Installer

      Version:

      Install time: Thu 23 Jul 2015 07:38:18 AEST

      ipaddress=“192.168.4.22”;
      interface=“eth0”;
      routeraddress=“# option routers x.x.x.x;”;
      plainrouter=“”;
      dnsaddress=“# option domain-name-servers x.x.x.x; “;
      dnsbootimage=””;
      password=‘68c364’;
      osid=“2”;
      osname=“Debian”;
      dodhcp=“n”;
      bldhcp=“0”;
      installtype=“N”;
      snmysqluser=“”
      snmysqlpass=‘pass’;
      snmysqlhost=“”;
      installlang=“0”;
      donate=“0”;
      storageLocation=“/images”;
      mysql_conntype=“MYSQLI_ASYNC”;
      fogupdateloaded=“1”;
      storageftpuser=“”;
      storageftppass=‘’;
      docroot=“/var/www/html/”;
      webroot=“fog/”;
      caCreated=“yes”;

      ch3iC 1 Reply Last reply Reply Quote 0
      • ch3iC
        ch3i Moderator @Pikmin
        last edited by

        @Pikmin said:

        I’ve noticed just now the settings don’t have a password set for storageftp user, not sure if that’s normal.
        One last thing I don’t understand

        You FTP password must be the unix fog user password.

        1 Reply Last reply Reply Quote 1
        • P
          Pikmin
          last edited by Pikmin

          ch3i, thanks for clearing that part up. I’ve checked and fog unix pass is 68c364

          Would I use the same password in the FOG Storage Nodes?
          FOG_STORAGENODE_MYSQLUSER = fogstorage
          FOG_STORAGENODE_MYSQLPASS = 68c364

          Management username and password under Nodes is just fog and password?

          When I try to quick image I get this:

          http://192.168.4.22/fog/service/ipxe/boot.php ... ok
          Could not find a Storage Node Is there one enabled within this Storage Group
          http://192.168.4.22/fog/service/ipxe/boot.php ... ok
          http://192.168.4.22/fog/service/ipxe/g.png ... ok```
          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @Pikmin
            last edited by

            @Pikmin Do you have separate storage nodes?

            The value you see for the FOG_STORAGENODE_MYSQLPASS is NOT the same as the fog unix password, or the storage node’s fog user password.

            IT is the password you use when installing a node and connecting to the “master” server.

            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
              Pikmin
              last edited by

              Thanks Tom,
              Is fogstorage meant to be a separate unix account used exclusively for connecting nodes together?
              I would love to know how to fix this instead of reinstalling

              ch3iC 1 Reply Last reply Reply Quote 0
              • ch3iC
                ch3i Moderator @Pikmin
                last edited by

                @Pikmin said:

                Thanks Tom,
                Is fogstorage meant to be a separate unix account used exclusively for connecting nodes together?
                I would love to know how to fix this instead of reinstalling

                FOG_STORAGENODE_MYSQLPASS is not a unix password, it’s stored in MySQL database (in nfsGroupMembers table), has said Tom, it’s only to communicate between FOG node storage.
                Ensure that in you FOG settings (in web UI) the FOG_TFTP_FTP_PASSWORD has the password 68c364.

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

                  Just adding to what @ch3i has told you, you might want to look through this: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP#Credentials_.2F_Passwords

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

                    @Tom-Elliott said:

                    @Pikmin Do you have separate storage nodes?

                    No, I don’t just the master which is on the fog server

                    @ch3i said:

                    FOG_STORAGENODE_MYSQLPASS is not a unix password, it’s stored in MySQL database (in nfsGroupMembers table), has said Tom, it’s only to communicate between FOG node storage.
                    Ensure that in you FOG settings (in web UI) the FOG_TFTP_FTP_PASSWORD has the password 68c364.
                    The password in there is already set to that

                    fog.PNG

                    Thanks so much, I kinda did check the tables in sql but was looking for one called users

                    +---------+---------+
                    | ngmUser | ngmPass |
                    +---------+---------+
                    | fog     | 68c364  |
                    +---------+---------+
                    
                    

                    In the FOG_STORAGENODE_MYSQLUSER I had fogstorage, but shouldn’t that be just fog? I have tried with fog, same thing.

                    This is what the other place looks like
                    storage node.PNG
                    Thank you both for helping out, much appreciated

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

                    238

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project