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

    Setting up and starting MySql...failed! FOG_0.32 on Ubuntu 13.10 32bit

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    19
    12.4k
    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.
    • Jaymes DriverJ
      Jaymes Driver Developer
      last edited by

      I believe you are correct about UDPCast… Its close…

      sed can’t read /lib/config.sh: No such file or directory should be /lib/common/config.sh

      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

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

        DId you copy the commands exactly?

        I’m not trying to go to /lib, I’m trying (from the packages folder) to go …/lib/config.sh

        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

          I see what you mean now. Updated the code.

          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
          • Jaymes DriverJ
            Jaymes Driver Developer
            last edited by

            something is still referencing the wrong file.

            Can not stat '…/packages/udpcast-20071228.tar.gz I’m heading home for the afternoon I can try more tomorrow.

            WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

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

              Updated the code from above, it now sed’s the udpcastsrc line. Sorry about 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
              • Jaymes DriverJ
                Jaymes Driver Developer
                last edited by

                That’s the ticket! Installed without a hitch.

                Err… had to manually restart the mysql service to get it to work even after a fresh installation.
                Also had to edit the settings in /opt/fog/service/etc/config.php to reflect the proper mysql user, and host.

                [code]
                sudo gedit /opt/fog/service/etc/config.php
                [/code]
                Make sure that
                Define (“MYSQL_HOST”, “localhost”),
                Define (“MYSQL_DATABASE”, “fog”),
                Define (“MYSQL_USERNAME”, “root”),
                Define (“MYSQL_PASSWORD”, “”),

                are all set correctly, save and close.

                then run [code]sudo mysql service restart [/code]

                navigate to the fog web page localhost/fog/management and complete the set up.

                WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                1 Reply Last reply Reply Quote 0
                • P
                  Peter Sinclair
                  last edited by

                  Thx Jaymes and Tom (sorry been on holidays)

                  I downloaded U12.10 and Fog0.32 for now and installed ok but trying to upload the hosts automatically (??).
                  When updating the [SIZE=12px][FONT=Arial][COLOR=#000000]var/www/fog/commons/config.php[/COLOR][/FONT][/SIZE][SIZE=12px][FONT=Arial][COLOR=#000000] I noticed that one of my characters in the password was not in the allowed characters list so I added it in. [/COLOR][/FONT][/SIZE][SIZE=12px][FONT=Arial][COLOR=#000000]I also found that in [/COLOR][/FONT][/SIZE][SIZE=12px][FONT=Arial][COLOR=#000000]/opt/fog/service/etc/config.php the mysql username was left blank so I entered “root” in too.[/COLOR][/FONT][/SIZE]

                  FYI back on 13.10 I did change the mysql password and updated the config.php files ([SIZE=12px][FONT=Arial][COLOR=#000000]/var/www/fog/commons/config.php and [/COLOR][/FONT][/SIZE][SIZE=12px][FONT=Arial][COLOR=#000000]/opt/fog/service/etc/config.php files with the password ONLY, but yes there were prior installation attempts so I must say that the remove mysql commands would have 99% been the trick.[/COLOR][/FONT][/SIZE]

                  [SIZE=12px][FONT=Arial][COLOR=#000000]I will create a new vm for 13.10 when time permits - thanks guys[/COLOR][/FONT][/SIZE]

                  [SIZE=12px][FONT=Arial][COLOR=#000000][/COLOR][/FONT][/SIZE]

                  1 Reply Last reply Reply Quote 0
                  • Jaymes DriverJ
                    Jaymes Driver Developer
                    last edited by

                    12.10
                    Explain what you mean by “trying to upload the hosts automatically”. They should NOT do anything with the fog server automatically, other than load the pxe boot IF you have enabled the options in the BIOS. If you have sent commands to the Host after registering it and telling it to upload/image and it continues to try to image after completion, the job did not delete the file when the job was done. This can be done manually and I will explain if you would like, there are some posts on the forum if you would like to research yourself though.

                    I noticed the issues with the /opt/fog/service/etc/config.php too. I had to add the database user, host, and database manually. Not sure why.

                    13.10
                    Good luck on 13.10, I got it working and running after the hurdles, but I have found that if you have older hardware, 13.10 doesn’t tend to to enjoy it. You should be fine operating a VM though.

                    WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

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

                      It’s because the /opt/fog/service/etc/config.php file is generated, from what I can tell, before the actual information is stored in place.

                      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
                      • Jaymes DriverJ
                        Jaymes Driver Developer
                        last edited by

                        Thanks for the insight Tom!

                        WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                        1 Reply Last reply Reply Quote 0
                        • P
                          Peter Sinclair
                          last edited by

                          I found a rogue dhcp server on the network stuffing everything up so I disabled it (it wasnt the fog dhcp service either 😉 ). So after that I restarted everything and successfully got to the fog pxeboot menu only on PC-1 (dell 760 with old bios v.2 with Intel Boot Agent GEv1.3.22). However after trying to do a quick host registration, errors on items such as below appeared before the screen went funky… (sorry I wrote down what i could see in the time given):
                          [INDENT=1]tps65010: no chip?[/INDENT]
                          [INDENT=1]acpiphp_ibm[/INDENT]
                          [INDENT=1]Carillo Ranch MCH[/INDENT]
                          [INDENT=1]failed excute /sbin/v86d[/INDENT]
                          [INDENT=1]vbe_init() failed with -22[/INDENT]

                          I thought it maybe the bios so on another pc, PC-2 (Dell 760 with latest bios v.16 with Intel Boot Agent GE v1.3.81) I tried but then the had a massive DHCP error:
                          [INDENT=1]PXE-E51 No DHCP or proxyDHCP offers were received[/INDENT]

                          I recall something about Kernels about this years ago. Are they auto updated these days?

                          Time to hit the search bar (unless you can post a link if its a known issue)

                          1 Reply Last reply Reply Quote 0
                          • P
                            Peter Sinclair
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • C
                              chad-bisd Moderator
                              last edited by

                              If you are getting those errors it’s probably your kernel. You can swap out kernels using the Other Information -> Kernel Updates page or by downloading and replacing your bzImage in your /tftpboot/fog/kernel folder. Tom has some kernels available on his site also.


                              If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                              1 Reply Last reply Reply Quote 0
                              • T
                                Tim Heckaman
                                last edited by

                                I just wanted to add my findings to this thread. Ubuntu 14.10 fresh install, fully updated, downloaded Fog .33b via svn. I got this error repeatedly until I installed it from my user account and not the root account. So if you have enabled and are using the root user via being logged in, it can give this error. Took me WAY to long to figure it out. I don’t know why as I’m not a Linux user but that was my solution.

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

                                157

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project