• Failed to connect to database server, will try again in next iteration.

    48
    0 Votes
    48 Posts
    51k Views
    C

    [quote=“mpmackenna, post: 893, member: 373”]
    [LEFT][COLOR=#333333]I have the below error over and over again in my FOG log viewer. I checked to see if my /var/www/fog/commons/config.php file had the correct settings and it does. I also was able to log in to the mysql db on the fog box without trouble. The db is on the same local machine as the FOG installation. Can someone please tell me how I can further troubleshoot this error?[/COLOR][/LEFT]
    [LEFT][COLOR=#333333]I am running FOG 0.32 on Debian 5.[/COLOR][/LEFT]
    [LEFT][COLOR=#333333]Thanks,[/COLOR][/LEFT]
    [LEFT][COLOR=#333333]Mike[/COLOR][/LEFT]
    [LEFT][COLOR=#333333][01-30-12 1:12:13 pm] Failed to connect to database server, will try again in next iteration.[/COLOR][/LEFT]
    [LEFT][COLOR=#333333][01-30-12 1:12:23 pm] Failed to connect to database server, will try again in next iteration.[/COLOR][/LEFT]
    [/quote]
    My problems with task hanging and getting [COLOR=#333333]“Failed to connect to database server” messages, [/COLOR]were solved by changing “WOL_INTERFACE”, “eth0” from 0 to “eth1” in both config files
    /var/www/fog/commons/config.php
    and
    /opt/fog/service/etc/config.php

  • Invalid number of device nodes returned !

    3
    0 Votes
    3 Posts
    1k Views
    E

    I solved it this morning and now, I found the same problem that yesterday “Unable to move /images/dev/00XX… to /images/…”.
    I’m testing many solutions found on Internet…

  • FOG Newbie - Snapin Problem

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Multicast

    6
    0 Votes
    6 Posts
    2k Views
    Jaymes DriverJ

    <begin rant>
    I run into that problem as well, cisco has been SO KIND to provide me with the software to manage them [B](COMPLETE AND TOTAL SARCASM!!!)[/B]

    I’ve been in the run around with them for months, I keep getting those emails saying “this ticket will close in 4 days because there is no response” so I blast them with “I still need software and I still need these switches added to my account so I can service them” and good ol Mark Long will hit me with his “Our apologies, your product WS-C2960S-48LPD-L serial number EXPUNGED is not covered by a service contract. In order for you to receive support today you will need to purchase a service contract from your local partner / reseller.”

    Such bullshit, I can buy a cheap DLink switch (I have a couple already) and have FREE software to manage them, spend a crap load on Cisco Switches, get no software to manage them. What a joke! I don’t see why a “service contract” isn’t provided with the switches, you pay an arm and a leg for these damn things!</end rant>

  • Unbale to move /images/dev ....

    21
    0 Votes
    21 Posts
    9k Views
    E

    I tested with:
    //10…
    \10…
    10…
    None works.

    Ideas ???

  • Adding hosts to existing group duplicates entries

    2
    0 Votes
    2 Posts
    1k Views
    J

    Hi,

    I know this is an old thread, but I just discovered this exact error today. I can’t remember that it’s ever done this before, but can’t be sure. Using FOG 0.32.

  • Hard Drive Size change

    4
    0 Votes
    4 Posts
    2k Views
    R

    Well I am okay with that. I am glad they did not purchase 2tb drives at this point then.

  • 4k Advanced Format Drives

    34
    0 Votes
    34 Posts
    16k Views
    R

    I am derailing this thread, I will start another.

  • FOG not compatible with BIOS Driver

    4
    0 Votes
    4 Posts
    2k Views
    Tom ElliottT

    I’m sure this information is flowing in the other forums. That said the instructions are:

    Log in to the FOG Server. (Preferrably as root)

    Open a terminal or console.

    Type these commands
    [code]cd /tftpboot/fog/kernel
    mv bzImage bzImage.orig
    wget --no-check-certificate https://mastacontrola.com/fogboot/kernel/bzImage[/code]

    That should get you my kernel.

  • Image ID must be numeric ...

    30
    0 Votes
    30 Posts
    16k Views
    E

    I remarked files w7opt620 in /images and 00XXXX… in /images/dev I have created disappear when I try a reboot !
    If it can help you …

  • 2590 Multicast

    1
    0 Votes
    1 Posts
    808 Views
    No one has replied
  • PXE Menu issues - Dell Optiplex 790

    7
    0 Votes
    7 Posts
    4k Views
    Tom ElliottT

    Correct,

    It may, but it may not as well. I don’t know for sure.

  • Client unable to initiate anything but a memtest from boot menu

    5
    0 Votes
    5 Posts
    1k Views
    Tom ElliottT

    Well, sometimes that’s all it takes. It sounds to me like the tftp-hpa server may not have been running properly though.

  • Win7 Image does not Upload!

    11
    0 Votes
    11 Posts
    4k Views
    Tom ElliottT

    Factory Image may not determine if the system is gpt or mbr. Make sure Uefi is disabled on the Client and make sure things are set on the legacy subset as much as you can. Again as I don’t have these systems I have guess where the problem is so if I’m wrong I’m sorry.

  • Mass Deletion of Hosts

    3
    0 Votes
    3 Posts
    1k Views
    M

    worked perfectly, thank you good sir!

  • Kernel for Dell M4800

    2
    0 Votes
    2 Posts
    867 Views
    Tom ElliottT

    What kernel are you using?

    I’ve made one, but I don’t know if it works. Try mine though:

    [url]https://mastacontrola.com/fogboot/kernel/bzImage[/url]

  • Image of one PC can be deployed on another

    2
    0 Votes
    2 Posts
    824 Views
    Tom ElliottT

    What do you mean?

    Have you used FOG before, that’s what FOG does best.

  • Unable to determine best node for transfer

    3
    0 Votes
    3 Posts
    2k Views
    E

    Thank you Tom, this problem was solved ! 😄

    But I meet a new problem:
    “An error has been detected !
    Unable to locate image file for Windows 7! (sys.img.000)
    Computer will reboot in 1minute.”

  • Cannot create Tasks, Task Manager Blank

    13
    0 Votes
    13 Posts
    15k Views
    7

    Thanks rma (a year later), that solved my issue too! For anyone else running FOG headless, this single command fixes it:

    sed ‘s:&$tmp:$tmp:’ -i /var/www/fog/management/includes/tasks.confirm.include.php

    For those unfamiliar with sed, the command simply replaces “&$tmp” with “$tmp” in the file.

  • How to install windows xp and ubuntu via fog service ???

    5
    0 Votes
    5 Posts
    2k Views
    Tom ElliottT

    Rahul,

    While we are “working” on getting multi-boot systems, as Jaymes stated, it is not the main focus. If it works for you, awesome, if not, I hope to have success soon.

    That said, I have a couple questions to ask followed by methods that may help you out.

    First,

    Multiboot imaging CAN be done on all versions of FOG, but not in the means you’re probably hoping for right now. The method to get multiboot systems requires a few key points which arises my questions.

    Question 1) Are all of the systems the same? Meaning, are the hard-drives the same size, the specifications of the systems the same, etc…?

    If they are all the same, then you can create an image from the FOG GUI and in the Image Type, choose RAW image format. This method takes a while as it performs a bit by bit copy of the hard-drive. This is why it’s pertinent that all the systems to be receiving the image be the same. This includes the system you create the image from.

    Question 2) What version of FOG are you currently working with?

    This question is generic in this form, however it helps me understand where to assist as possible. Meaning, if there’s something specific needed I can build a custom init.gz to help you out. I also want to know if you’re kernel is working okay so you have limited issues in the future. 0.32 is pretty good and I’m going to guess this is the version you’re using unless you let us know otherwise.

    Question 3) Are you going to be okay that all of the systems have the same hostname from the linux side?

    While I’ve never seen any problems with linux hosts having the same hostname in a network, it could cause issues in your DNS setup as pinging blahblah.localdomain wouldn’t work properly. It would try translating blahblah.localdomain to all of the hosts connected at the time, which just wouldn’t work.

    Question 4) On the Windows XP part of your setup, do you plan on using the true “FOG Service”?

    Your reference to fog service in your original post was, I imagine, referring to the FOG system, there is actually a “thing” called the FOG Service. Typically, this is installed within client systems so as to manage snapins, printers, hostname changing, domain joining, and task checking. This will greatly help your Windows systems as they cannot all contain the same Hostname.

    Second,

    Just an informative note, multiboot setups are not an end-all be-all type system. This means your multiboot system may not be another, random, person’s multiboot setup. For this reason, a step-by-step tutorial on creating one, even if we had one, may not even be useful to you or others. While others could, potentially, obtain the same results, Linux has many-many-many flavors of distributions to work with. So just because you prefer Ubuntu, doesn’t mean another will. For this reason, I think it’s pertinent to note that, while others may shun me for saying this (or just ignore it completely and do what they do, chances are unlikely of a true step-by-step tutorial on how to do this.

    There are many tutorials available on the internet that already describes how to create a multiboot system on just about any Linux/Windows/MAC system. Imaging them is an entirely different matter. Each distribution uses their own method of partition layouts, filesystem types, and methods of use. Each one is customizable as well and, for this reason, difficult to come up with a true FOG Howto for imaging them, even if we get this working with FOG.

207

Online

12.4k

Users

17.4k

Topics

155.9k

Posts