Standalone



  • Can someone walk me through on setting up a standalone fog server , this server cannot be on the production network, I have installed Ubuntu 14.04 on a HP Proliant .

    Thank You


  • Moderator



  • [quote=“Wayne Workman, post: 45935, member: 28155”]I’ve viewed a picture that fredlwal sent me.
    The target host isn’t receiving DHCP. “No DHCP or proxyDHCP offers were received”

    We should check the status of the DHCP service.
    What is the output of this?
    [CODE]sudo service isc-dhcp-server status[/CODE]

    After that, try restarting the service:
    [CODE]sudo service isc-dhcp-server restart[/CODE][/quote]

    Well, today I copied over another image onto the server and I made sure that the name was exactly the same but when I booted a client computer i’m connecting to dhch but TFTP gives me this

    "TFTP…
    PXE-E32:
    PXE-M0F
    Selected boot device failed. Press any key to Reboot the system "



  • DOING THE RESTART COMMAND WORKED!!! Your the greatest!!


  • Moderator

    I’ve viewed a picture that fredlwal sent me.
    The target host isn’t receiving DHCP. “No DHCP or proxyDHCP offers were received”

    We should check the status of the DHCP service.
    What is the output of this?
    [CODE]sudo service isc-dhcp-server status[/CODE]

    After that, try restarting the service:
    [CODE]sudo service isc-dhcp-server restart[/CODE]


  • Moderator

    I’m sorry, I should have been more clear.

    Can you take a picture with a camera of the errors you see when you try to network-boot a computer ?



  • t_tiger@fogsrv1:~/Downloads$ ./troubleshoot.sh
    status: Unknown job: tftpd-hpa
    status: Unknown job: isc-dhcp-server
    status: Unknown job: rpcbind
    status: Unknown job: vsftpd
    modprobe: ERROR: could not insert ‘ip_tables’: Operation not permitted
    iptables v1.4.21: can’t initialize iptables table `filter’: Table does not exist (do you need to insmod?)
    Perhaps iptables or your kernel needs to be upgraded.
    ./troubleshoot.sh: line 92: sestatus: command not found
    cat: /etc/dnsmasq.d/ltsp.conf: No such file or directory
    t_tiger@fogsrv1:~/Downloads$


  • Moderator

    [quote=“Joseph Hales, post: 45708, member: 18131”]
    [COLOR=#333333][FONT=Arial]/etc/default/isc-dhcp-server[/FONT][/COLOR]
    [COLOR=#555555][FONT=Arial]We want to serve DHCP only on eth1 interface to we need to configure it that way. Edit the file and save it.[/FONT][/COLOR]
    [COLOR=#555555][FONT=Courier New]sudo vim /etc/default/isc-dhcp-server[/FONT][/COLOR]
    [COLOR=#555555][FONT=Arial]The line will look like this before you change it[/FONT][/COLOR]
    [COLOR=#555555][FONT=Courier New]INTERFACES=""[/FONT][/COLOR]
    [COLOR=#555555][FONT=Arial]And after you change it, it will look like this:[/FONT][/COLOR]
    [COLOR=#555555][FONT=Courier New]INTERFACES=“eth1”[/FONT][/COLOR]
    [COLOR=#555555][FONT=Arial]Now you should stop and start the DHCP server.[/FONT][/COLOR]
    [COLOR=#555555][FONT=Courier New]sudo service isc-dhcp-server stop[/FONT][/COLOR][COLOR=#555555][FONT=Arial] (if the service is already running; skip if it’s not running)[/FONT][/COLOR]
    [COLOR=#555555][FONT=Courier New]sudo service isc-dhcp-server start[/FONT][/COLOR][/quote]

    Going off of what Mr. Hales posted, you might also want to restrict DHCP to your eth0 interface. I see in the log file you provided that there are several interfaces on this machine.


  • Moderator

    Can you post a screen shot of the error you’re seeing?



  • here u go

    [url="/_imported_xf_attachments/1/1908_DebianFog.txt?:"]DebianFog.txt[/url]


  • Moderator

    This particular script stores the log in the place where the script is run from.



  • Where does it store the log file at, that you would need to look at?


  • Moderator

    Try this one, instead please.

    It will create a text file in the location that it was run in. Post that file.

    [url="/_imported_xf_attachments/1/1905_troubleshoot.zip?:"]troubleshoot.zip[/url]



  • this is what I get when I run the script.

    t_tiger@fogsrv1:~/Downloads$ ./TroubleshootFog.sh
    status: Unknown job: tftpd-hpa
    status: Unknown job: isc-dhcp-server
    status: Unknown job: rpcbind
    status: Unknown job: vsftpd
    modprobe: ERROR: could not insert ‘ip_tables’: Operation not permitted
    iptables v1.4.21: can’t initialize iptables table `filter’: Table does not exist (do you need to insmod?)
    Perhaps iptables or your kernel needs to be upgraded.
    ./TroubleshootFog.sh: line 92: sestatus: command not found
    cat: /etc/dnsmasq.d/ltsp.conf: No such file or directory


  • Moderator

    Sort of… there’s a script that’s still under development that you could try. It produces a log file that has lots of important configuration in it… It’s attached, along with sample output. The sample output is no use to you, it just shows what the output might look like.

    Also, you might be better off just giving us screen-shots of the errors you’re seeing. Maybe a TCPDump of the communications, too: [url]http://fogproject.org/wiki/index.php/TCPDump[/url]

    For more info on the troubleshooting script, look through this thread. And keep in mind, it’s still a very new thing.
    This script doesn’t change anything, either. It just collects information. [url]http://fogproject.org/forum/threads/lets-make-scripts.12551/[/url]

    [url="/_imported_xf_attachments/1/1900_FogScript.zip?:"]FogScript.zip[/url]



  • is there a log file that I can send about the pxe boot issue?


  • Moderator

    You can troubleshoot PXE booting using this tutorial, it’s really through: [url]http://fogproject.org/wiki/index.php/Troubleshoot_TFTP[/url]


  • Moderator

    You just need to create those images inside Image Management using the correct paths.

    [url="/_imported_xf_attachments/1/1899_ImageNames.png?:"]ImageNames.png[/url]


  • Moderator

    This post is deleted!


  • I ran the chmod 777, but how do I know its working when I can’t PXE into the server from a client?


Log in to reply
 

361
Online

38982
Users

10712
Topics

101678
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.