• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. emijoa
    3. Posts
    E
    • Profile
    • Following 1
    • Followers 0
    • Topics 0
    • Posts 14
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by emijoa

    • RE: Multicast Deploy problem (FOG 1.2.0) #!im

      @Wayne-Workman
      Yes, I tried both trunk and no trunk version.

      The trunk version was more broken with my clients than the 1.2.0. Image upload would show the size of full disk (deploying to a disk with smaller total size would not work.). Normal deployment did not work at all either, it would only fail when starting.

      posted in FOG Problems
      E
      emijoa
    • RE: Multicast Deploy problem (FOG 1.2.0) #!im

      @Wayne-Workman
      Hello Wayne, sorry for the late feedback.

      A lot of things have happened the last few weeks. I had my apprenticeship exam and also I had to finish the task regarding the clients I’ve been testing with.

      I tried following the guides you referred but they did not work. It seems as when I had the combination of the latest version, ipxe.kkpxe, and the client (HP ProBook 455 G3), not even normal deployment would work. Uploading from this version seemed to create image files with the size of the disk (although used disk space on fog server was normal). The same happened both after cleaning and reinstallation of the server. (I followed all steps again and made it similar.

      In the end I had to go with normal deployment on 1.2.0 fog server.

      posted in FOG Problems
      E
      emijoa
    • RE: Multicast Deploy problem (FOG 1.2.0) #!im

      @Wayne-Workman

      Hey, I’ve tested the client today.

      At first the client would boot on network, get ip adress, try configure net0 be successful then end with dhcp failed. It then guides me to this page:
      http://ipxe.org/err/040ee1
      And I run

      ifconf -c dhcp net0
      

      Then the message says “Connection timed out” and guide me to:
      http://ipxe.org/err/4c1060
      Then i tried booting on an older client hp compaq 6735b and this one boots up alright.

      So I changed in dhcpd.conf

          class "Legacy" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
          filename "undionly.kkpxe";
      

      to

          class "Legacy" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
          filename "ipxe.kkpxe";
      

      Then the newer client would boot, (in boot it first failed at configuring net0, 00:00:00:00:00, then it tried configuring net1, this was a legit address.)and i tried multicast, then it would complete the first setup and boot partclone, in partclone it says “Starting to restore image (-) to device (/dev/sda1)”, it stop at this window. After checking the server webgui, i saw that the image i was trying to download (i uploaded it at some point from a different computer) stood with 0B, i did a new upload and then it says 465GB, checking the disk with df -h:

      root@ubuntu-fog:/etc/dhcp# df -h
      Filesystem                        Size  Used Avail Use% Mounted on
      udev                              2.8G  4.0K  2.8G   1% /dev
      tmpfs                             566M  1.2M  565M   1% /run
      /dev/mapper/ubuntu--fog--vg-root  105G   21G   79G  21% /
      none                              4.0K     0  4.0K   0% /sys/fs/cgroup
      none                              5.0M     0  5.0M   0% /run/lock
      none                              2.8G  148K  2.8G   1% /run/shm
      none                              100M   24K  100M   1% /run/user
      /dev/sda1                         236M   41M  183M  19% /boot
      

      Tried again to multicast, but stops at same window in partclone.

      posted in FOG Problems
      E
      emijoa
    • RE: Multicast Deploy problem (FOG 1.2.0) #!im

      @Wayne-Workman said:

      @emijoa said:

      What os would you recommend to run fog on ?

      CentOS 7

      I might give that a go then the next time I reinstall. 🙂

      posted in FOG Problems
      E
      emijoa
    • RE: Multicast Deploy problem (FOG 1.2.0) #!im

      @Wayne-Workman

      Will do! I’m new to Linux in general, I’ve tried a little ubuntu and debian. But I did ubuntu as it seemed to be the best documentet on the wiki 😛

      What os would you recommend to run fog on ? 🙂

      posted in FOG Problems
      E
      emijoa
    • RE: Multicast Deploy problem (FOG 1.2.0) #!im

      @Wayne-Workman

      There is no service that is called dhcpd, however there is one called isc-dhcp-server, I believe this was installed by the 1.2.0 installer?

      root@ubuntu-fog:/fog_git/bin# service --help
      Usage: service < option > | --status-all | [ service_name [ command | --full-restart ] ]
      root@ubuntu-fog:/fog_git/bin# service --status-all
       [ ? ]  FOGImageReplicator
       [ ? ]  FOGMulticastManager
       [ ? ]  FOGScheduler
       [ + ]  acpid
       [ - ]  anacron
       [ + ]  apache2
       [ + ]  apparmor
       [ ? ]  apport
       [ + ]  atd
       [ + ]  avahi-daemon
       [ + ]  bluetooth
       [ + ]  clamav-freshclam
       [ ? ]  console-setup
       [ + ]  cron
       [ + ]  cups
       [ + ]  cups-browsed
       [ - ]  dbus
       [ ? ]  dns-clean
       [ + ]  friendly-recovery
       [ - ]  gdm
       [ - ]  grub-common
       [ ? ]  irqbalance
       [ - ]  isc-dhcp-server
       [ ? ]  killprocs
       [ ? ]  kmod
       [ ? ]  mysql
       [ ? ]  networking
       [ + ]  nfs-kernel-server
       [ ? ]  ondemand
       [ - ]  php5-fpm
       [ ? ]  pppd-dns
       [ - ]  procps
       [ - ]  pulseaudio
       [ ? ]  rc.local
       [ + ]  resolvconf
       [ + ]  rpcbind
       [ - ]  rsync
       [ + ]  rsyslog
       [ + ]  saned
       [ ? ]  screen-cleanup
       [ ? ]  sendsigs
       [ - ]  ssh
       [ - ]  sudo
       [ + ]  tftpd-hpa
       [ + ]  udev
       [ ? ]  umountfs
       [ ? ]  umountnfs.sh
       [ ? ]  umountroot
       [ - ]  unattended-upgrades
       [ - ]  urandom
       [ - ]  x11-common
       [ + ]  xinetd
      

      It came with this message

      root@ubuntu-fog:/home/administrator# sudo service isc-dhcp-server stop
      stop: Unknown instance: 
      root@ubuntu-fog:/home/administrator# sudo service isc-dhcp-server start
      isc-dhcp-server start/running, process 7787
      

      (I’ve been restarting this service whenever I changed the bootfile for testing.)

      I ran the ./installfog.sh and it went through smoothly.
      Logfile:
      https://dl.dropboxusercontent.com/u/106805228/fog_error_5937.log

      I’ll test and see if something is different on the clients tomorrow. Currently writing this from home.

      posted in FOG Problems
      E
      emijoa
    • RE: Multicast Deploy problem (FOG 1.2.0) #!im

      @Wayne-Workman

      No, it was at first a misspell, but i didn’t change it as it was only a test server. I’ve been reinstalling a few times already.

      root@ubuntu-fog:/fog_git/bin# route -n
      Kernel IP routing table
      Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
      0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
      192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
      
      root@ubuntu-fog:/fog_git/bin# cat /etc/resolv.conf
       Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
           DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
      nameserver 192.168.1.1
      

      The tutorial I followed wanted me to set static in this file.

      root@ubuntu-fog:/fog_git/bin# cat /etc/network/interfaces
       This file describes the network interfaces available on your system
       and how to activate them. For more information, see interfaces(5).
      
       The loopback network interface
      auto lo
      iface lo inet loopback
      
       The primary network interface
      auto eth0
      iface eth0 inet static
      address 192.168.1.101
      netmask 255.255.255.0
      gateway 192.168.1.1
      dns-nameservers 192.168.1.1
      
      posted in FOG Problems
      E
      emijoa
    • RE: Multicast Deploy problem (FOG 1.2.0) #!im

      @Wayne-Workman

      root@ubuntu-fog:/fog_git/bin# cat /etc/dhcp/dhcpd.conf
      DHCP Server Configuration file
      see /usr/share/doc/dhcp*/dhcpd.conf.sample
       This file was created by FOG
      
      Definition of PXE-specific options
       Code 1: Multicast IP Address of bootfile
       Code 2: UDP Port that client should monitor for MTFTP Responses
       Code 3: UDP Port that MTFTP servers are using to listen for MTFTP requests
       Code 4: Number of seconds a client must listen for activity before trying
               to start a new MTFTP transfer
       Code 5: Number of seconds a client must listen before trying to restart
               a MTFTP transfer
      
      
      option space PXE;
      option PXE.mtftp-ip code 1 = ip-address;
      option PXE.mtftp-cport code 2 = unsigned integer 16;
      option PXE.mtftp-sport code 3 = unsigned integer 16;
      option PXE.mtftp-tmout code 4 = unsigned integer 8;
      option PXE.mtftp-delay code 5 = unsigned integer 8;
      option arch code 93 = unsigned integer 16; # RFC4578
      
      
      use-host-decl-names on;
      ddns-update-style interim;
      ignore client-updates;
      next-server 192.168.1.101;
      
      
       Specify subnet of ether device you do NOT want service. for systems with
       two or more ethernet devices.
       subnet 136.165.0.0 netmask 255.255.0.0 {}
      
      
      subnet 0.0.0.0 netmask  {
      	option subnet-mask ;
      	range dynamic-bootp 0.0.0.10 192.168.1.254;
      	default-lease-time 21600;
      	max-lease-time 43200;
      		option domain-name-servers      x.x.x.x; 
      		option routers      x.x.x.x;
      	filename "undionly.kpxe";
      }
      
      
      root@ubuntu-fog:/fog_git/bin# ip addr
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
          inet 127.0.0.1/8 scope host lo
             valid_lft forever preferred_lft forever
          inet6 ::1/128 scope host 
             valid_lft forever preferred_lft forever
      2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
          link/ether 00:25:b3:11:ea:3d brd ff:ff:ff:ff:ff:ff
          inet 192.168.1.101/24 brd 192.168.1.255 scope global eth0
             valid_lft forever preferred_lft forever
          inet6 fe80::225:b3ff:fe11:ea3d/64 scope link 
             valid_lft forever preferred_lft forever
      

      Here’s is also the fog settings, if that is interesting.

      root@ubuntu-fog:/fog_git/bin# cat /opt/fog/.fogsettings 
       Created by the FOG Installer
       Version: 1.2.0
       Install time: Tue 05 Jan 2016 11:20:32 PM CET
      	
      ipaddress="192.168.1.101";
      interface="eth0";
      routeraddress="#	option routers      x.x.x.x;";
      plainrouter="";
      dnsaddress="#	option domain-name-servers      x.x.x.x; ";
      dnsbootimage="";
      password="69f422";
      osid="2";
      osname="Debian";
      dodhcp="y";
      bldhcp="1";
      installtype="N";
      snmysqluser="root"
      snmysqlpass="";
      snmysqlhost="localhost";
      installlang="0";
      donate="0";
      fogupdateloaded="1"
      
      posted in FOG Problems
      E
      emijoa
    • RE: Multicast Deploy problem (FOG 1.2.0) #!im

      @Wayne-Workman

      Okay, that did the work, but now it stops at dhcp. Also, when i look in the dhcp they seem to have been changed.

       * Stopping ISC DHCP server dhcpd
         ...fail!
      dhcpd self-test failed. Please fix /etc/dhcp/dhcpd.conf.
      The error was:
      Internet Systems Consortium DHCP Server 4.2.4
      Copyright 2004-2012 Internet Systems Consortium.
      All rights reserved.
      For info, please visit https://www.isc.org/software/dhcp/
      /etc/dhcp/dhcpd.conf line 35: expecting numeric value.
      subnet 0.0.0.0 netmask  {
                               ^
      /etc/dhcp/dhcpd.conf line 37: range declaration not allowed here.
              range
               ^
      /etc/dhcp/dhcpd.conf line 42: expecting a declaration
              filename "undionly.kpxe";
                                      ^
      Configuration file errors encountered -- exiting
      
      posted in FOG Problems
      E
      emijoa
    • RE: Multicast Deploy problem (FOG 1.2.0) #!im

      @Wayne-Workman

      Okay:

       * Stopping FOG Computer Imaging Solution: FOGMulticastManager
      start-stop-daemon: warning: failed to kill 1189: No such process
         ...done.
       * Stopping FOG Computer Imaging Solution: FOGImageReplicator
      start-stop-daemon: warning: failed to kill 1128: No such process
         ...done.
      ../lib/common/functions.sh: line 658: /etc/init.d/FOGSnapinReplicator: No such file or directory
       * Stopping FOG Computer Imaging Solution: FOGScheduler
      start-stop-daemon: warning: failed to kill 1215: No such process
         ...done.
      ../lib/common/functions.sh: line 658: /etc/init.d/FOGPingHosts: No such file or directory
      stop: Unknown job: mysql
      start: Unknown job: mysql
      

      For the whole file:
      https://db.tt/8lgK4hAM

      posted in FOG Problems
      E
      emijoa
    • RE: Multicast Deploy problem (FOG 1.2.0) #!im

      @Wayne-Workman

      Ubuntu 14.04.3, installed LAMP and SSH. Also installed a Minimal Gnome Core Desktop

      posted in FOG Problems
      E
      emijoa
    • RE: Multicast Deploy problem (FOG 1.2.0) #!im

      @Wayne-Workman

      I tried updating using git earlier today, it failed when trying to start my-sql.

      posted in FOG Problems
      E
      emijoa
    • RE: Multicast Deploy problem (FOG 1.2.0) #!im

      @Wayne-Workman

      Okay, what steps do I follow to upgrade or do I need a fresh install?

      posted in FOG Problems
      E
      emijoa
    • RE: Multicast Deploy problem (FOG 1.2.0) #!im

      @Tom-Elliott

      I also get this error message, currently trying to multicast clients using HP ProBook 455, I had to change the boot file for the fog to work on these clients. I’ve tested the different files under tftpboot and found that the only ones that work are : undionly.kpxe.INTEL, ipxe.kkpxe, ipxe.kpxe

      I’m trying to run an isolated fog server with a built in dhcp, currently fog 1.2.0

      I’ve changed the time for booting to disk in boot menu.

      posted in FOG Problems
      E
      emijoa
    • 1 / 1