• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Julianh
    3. Posts
    J
    • Profile
    • Following 1
    • Followers 0
    • Topics 30
    • Posts 104
    • Groups 0

    Posts

    Recent Best Controversial
    • I know what's wrong, I just don't know how to fix it!

      I’ve added a new disk to the fog server, virtually completed it. I’ve created a storage node and added it to the storage group. They all appear as they should in the GUI. But my images are failing with the following error.

      This is displayed in the image listing. Both the storage node and group are called “2nd 4Tb Disk”

      test (My image name)
      2nd 4TB disk:Windows 7
      Multiple Partition Image - All Disks (Not Resizable) 0.00 iB FOGFTP: Login failed. Host: 10.10.1.5, Username: fog, Password: *******, Error: ftp_login(): Login incorrect. Yesterday, 9:17 am

      The problem is my storage node is failing to login. I tried the user / password listed in fog configuration->fog Settings->TFTP Server->FOG_TFTP_FTP_USERNAME and FOG_TFTP_FTP_PASSWORD.

      I tried /opt/fog/.fogsettings, the value from mysqluser is blank, the password isn’t, but it failed with the blank username and password listed.

      I need to put the right username and password in. My question is where do I get the correct password from?

      Thanks again for your help, it’s much appreciated

      Yours

      Julian

      posted in FOG Problems
      J
      Julianh
    • Adding a new hard drive to a fog server

      Once this is complete, it’ll be a useful guide. The scenario is;

      A fog server, with one drive. I’ve added another drive, 4tb. So I used parted to greate a gpt partition table and format it with ext3.

      I then followed the second part of the guide here

      https://wiki.fogproject.org/wiki//index.php?title=Adding_Storage_to_a_FOG_Server

      Finishing by chmod’ding the /images2 directory. I’m ecpanding so I left the original images directory there.
      Rebooted the system, the second drive is mounted, appears as /images2, but isn’t selectable as another node, all I have is “default member”

      So what did I forget / miss out?
      Any suggestions?

      Thanks

      Julian

      posted in FOG Problems
      J
      Julianh
    • RE: Strange error: Just booted my fog server got database installer / updater

      Thanks Wayne & Tom,

      I issued the “reboot” command to reboot the Fog server, hoping the SQL server would restart with it, but unfortunatley it didn’t.

      I restarted the SQL server, but it failed to initialize, I can’t remember the exact error, but it was basically not enough disk space.

      I was imaging up a load of servers last time, the disk was at 90%+ full. So I guess the SQL service didn’t have enough space to initialize. I deleted some images, which I’ve copied to a USB drive, rebooted the server, hey presto it all came up ok.

      First problem solved. 🙂

      So it looks like I’m adding another 4TB disk to the server.

      I looked up this guide, is it still relevant to version 1.20?

      https://wiki.fogproject.org/wiki//index.php?title=Adding_Storage_to_a_FOG_Server

      Thanks again, your help is much apprechiated.

      Can this be marked as solved, to help the next person.

      Thanks

      Julian

      posted in FOG Problems
      J
      Julianh
    • Strange error: Just booted my fog server got database installer / updater

      Hi All,

      I just booted up my physical fog server, connected to it and got the “Database Schema installer/updater” screen. But I haven’t changed anything. I’ve left it untouched. I have loads of images on it, 120+. so I really don’t want to lose the database.

      I tried
      cd ~;mysqldump --allow-keywords -x -v fog > fogbackup.sql

      to back it up, but got the error

      – Connecting to localhost…
      mysqldump: Got error: 2002: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) when trying to connect
      root@fog1:~#

      This couldn’t have come at a worse time, as I’m supposed to deploy some images tonight, change them, image them up, then re image the servers back with another image.

      Could someone offer me a little help in backing up the database, and then fixing it.

      Thanks

      Julian

      posted in FOG Problems
      J
      Julianh
    • RE: Detail on how fog handles different OSs

      Thank you Tom, I’ve been imaging 2008 & 2012 servers, using windows 7 as the OS. I was a bit puzzeled as to why it was working! All installs should be MBR.

      Is there a way of taking a raw image of the BCD data?

      The OS I’m Imaging is, not windows, and am prepared to “pay” in storage such that, I take an image of the server, then send that same image down to the same machine. I’ll repeat that for each server. I know it’ll be heavy on the storage. Some of the OS partitions are fat16, so I want to use the features of fog for,these partitions, rather than use a “raw” image

      Thanks for your help

      Yours

      Julian

      posted in General
      J
      Julianh
    • Detail on how fog handles different OSs

      Dear all,

      I want to learn a bit more about the way fog, 1.20, handles the different operating systems disks when imaging.

      For example when creating an image, you select a windows 7/ 8.1/ Linux etc. what are you changing in the behaviour of fog. What changes in the way it treats the disk?

      If fog doesn’t understand a partition, I thought it imaged the partition as a raw image. Is there a way to make it treat the first partition as raw, but the others as fat 16 or whatever they are? Even if the first is fat16.

      Thanks

      Julian

      posted in General
      J
      Julianh
    • RE: [SOLVED] Like a good puzzle? sign in problems with fog

      Brilliant Tom.

      Your quite right. The internet link I use to connect to the Fog server, on a seperate link, has just been upgraded to fibre. I checked the NAT pool, and there were several IPs that were being used as the NAT address. so effectivly I could have one of 5 IP’s hitting the Fog server. So your right, the fog server was getting multipe requests from different IP’s with the same session. I changed the NAT to just one IP, and the problem has gone away. Well untill tomorrow when the Fog server’s 2 internet links also get upgraded, but that shouldn’t be a problem now.

      Thanks you all so much for your help, it’s really apprechiated, and I am grateful. It also reminded me to do a backup, which takes a few days, but I need to do it.

      Now this is resolved, how do I make it a “Solved” problem and easily found to the next poor chap who changes his network?

      Thanks once again, and have a good day to all those that helped.

      Yours

      Julian

      posted in FOG Problems
      J
      Julianh
    • RE: [SOLVED] Like a good puzzle? sign in problems with fog

      Hi All

      Quick question, I’m going to cp the /images directory to a USB disk, then copy it back over after reinstalling.

      Is there anything else I need to do?

      Thanks

      Julian

      posted in FOG Problems
      J
      Julianh
    • RE: [SOLVED] Like a good puzzle? sign in problems with fog

      Hi Tom,

      If I export the configuration database, am I not going to export the problem and then reimport it?

      Depending on your answer, the next step will be either a total reinstall and restoration of the images from backup, or the same, but import the configuration afterwards

      What would you suggest?

      Thanks

      Julian

      posted in FOG Problems
      J
      Julianh
    • RE: [SOLVED] Like a good puzzle? sign in problems with fog

      Hi Tom,

      Thanks for the suggestion, I reinstalled the fog 1.20 server, I even found the original CD, rebooted it, but unfortunatley it’s still asking for logins.

      The install has the images on the same disk as Unbuntu & Fog. I was beginning to think about a totally fresh install, but I’m paranoid of losing the images.

      When I did the install it read the settings and said “install with these values”. If I said no, and reinstalled overwriting the database etc, at the end I could manually add the images back. It’s a lot of work, there are over 110 images to add! I don’t want to do this, but as a last resort if I have to I will.

      Is there a the log file that might help out, or is there anything else you could suggest?

      Thanks

      Julian

      posted in FOG Problems
      J
      Julianh
    • RE: [SOLVED] Like a good puzzle? sign in problems with fog

      Thanks Wayne, but won’t that destroy my images, not the actual files, but the image objects pointing to the files? I’m a little dubious about it.

      What are your thoughts?

      Thanks

      Julian

      posted in FOG Problems
      J
      Julianh
    • RE: [SOLVED] Like a good puzzle? sign in problems with fog

      Hi. Tom, it’s running on unbutu 14.04.01 LTS.

      Any suggestions?

      Thanks

      Julian

      posted in FOG Problems
      J
      Julianh
    • RE: [SOLVED] Like a good puzzle? sign in problems with fog

      Thanks for you suggestion Wayne. The version is 1.20. I’ve changed the fog_inactivity_timeout to it’s maximum value of 23, and changed the fog_regenerate_timeout to it’s maximum of 23. I moved the slider all the way to the right. I also tested it with fog_always_logged_in set. I rebooted the fog server to make sure.
      Unfortunately it still acts as before. What I can’t understand is that it used to work fine.
      All that’s changed is I’ve added quite a few images. The disk is 76% full. I use a local disk not nfs.
      Aside, as it connects to the web, I turn it off when it’s not needed.

      Do you have any other suggestions I could try?

      Thanks

      Julian

      posted in FOG Problems
      J
      Julianh
    • [SOLVED] Like a good puzzle? sign in problems with fog

      Dear All,

      I booted my physical fog server today, and am having some weird problems.

      Every time I go to perform an operation I have to sign in again. I’ve checked the date, and it’s fine, used different browsers, but the problem persists.I made a quick video of it here

      [media=youtube]FyWMCcmYY-k[/media]

      What’s strange is it only happens when I connect to it across the internet, if it’s on a local Lan it’s fine. I’ve added the server as a trusted site.

      Unfortunatley I will have to re image my room when I’m away, so the internet access is a big deal to me.

      Even more puzzelling is it used to work!

      Can anyone help me, as I’m in deep “do do” if it doesnt start working.

      Thanks

      Julian

      posted in FOG Problems
      J
      Julianh
    • RE: Jumbo Frame's

      the default size for jumbo frames is 9000. So you send 1/6th the number of packets, less headers and tail relative to the amount of data being sent. The real saving is the time it takes to get on the cable, as you’re transmitting a 1/6 of the number of frames for the same data, you save on the time to transmit. you also do 1/6th the number of mac checks, so it lowers CPU usage, unless you have a TCPIP off load card.

      Always enable it with iSCSI, but check the “path” all support jumbo frames.

      Hope it helps

      posted in General
      J
      Julianh
    • RE: Image Download Fails

      I had this, drove me nuts. Believe it or not the solution was to do a “fast wipe” of the disk before imaging down.

      Hope it helps

      posted in FOG Problems
      J
      Julianh
    • RE: What Backup Solution do you use?

      Anyone used deja dup?

      [url]https://wiki.gnome.org/action/show/Apps/DejaDup?action=show&redirect=DejaDup[/url]

      I’ll have to add gnome, but if it does the job.

      posted in General
      J
      Julianh
    • RE: What Backup Solution do you use?

      Thank you all, Gilou’s script looks particulalry nice.
      Am I right in assumingthat in the event of failure, a reinstall of the Os, and Fog then a copy back from the “destination” would result in a complete “back to the way it was” restore?

      posted in General
      J
      Julianh
    • What Backup Solution do you use?

      The Fog servers up and running, everything’s fine. I have a USB drive plugged into it, The same size as the disk in the server.
      What backup solution would you recommend? To backup the Fog server and all images on it, It only needs run once every week, but idealy the restore would be image based, a “single” button style restore would be ideal.

      What do you use to back it all up?

      Julian

      posted in General
      J
      Julianh
    • RE: Set dhcp reservations

      Thank you for replying Vincent. The classroom is used for different courses, the need for reservations is due to the requirements of a particular class. Unfortunatley it’s the only way it can be done. The OS used in the course is a custom OS, and very basic, reservations are the only way we can use the same image, but guarantee different IP addresses per machine. Beleive me its a pain in the … I have no choice but to use reservations.
      Have you used the fog server as a main DHCP server and got reservations working, or do I need to install DHCP3, in which case is there a guide on how to disable Fog’s DHCP server and correctly configure DHCP3?

      Thanks

      posted in FOG Problems
      J
      Julianh
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 5 / 6