• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. lmioperations
    3. Posts
    L
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 25
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by lmioperations

    • RE: Installing a new clean fog server

      @predator said in Installing a new clean fog server:

      SELinux to permissive on boot

      See if this info helps: https://wiki.gentoo.org/wiki/SELinux/Tutorials/Permissive_versus_enforcing

      Looks like George already beat me to a reply :D, and his info ended up being more to the point of what you need with regards to FOG ;).

      posted in General
      L
      lmioperations
    • RE: Unable to PXE boot on from different subnet

      Something JLE said is the first thing I thought about (ip helper-addresses). If you can get access to login to the switch, find the relevant documentation online for your switch and verify if the VLAN has an ip helper-address configured.

      On our ProCurves, we could check like this:

      show ip helper-address
      

      or we could configure like this:

      config
      vlan <vlan_number>
      ip helper-address <IP_of_your_DHCP_server>
      write mem
      end
      
      posted in FOG Problems
      L
      lmioperations
    • RE: Fog WebUI Password Successfully Reset But Still Can't Login

      @tom-elliott You rock Tom! Thanks for the help man! : )

      posted in FOG Problems
      L
      lmioperations
    • RE: Fog WebUI Password Successfully Reset But Still Can't Login

      @tom-elliott Capslock is definitely not on. You saw exactly what I pasted into the shell prompt (what you see in my previous post is what I copied straight out of my shell prompt from the server) :-X…

      posted in FOG Problems
      L
      lmioperations
    • RE: Fog WebUI Password Successfully Reset But Still Can't Login

      @tom-elliott Dang, this is getting more confusing :D.

      posted in FOG Problems
      L
      lmioperations
    • RE: Fog WebUI Password Successfully Reset But Still Can't Login

      @tom-elliott Ah, I get what you’re saying now, sorry 'bout that; my bad.

      OK, so I copied and pasted this (exactly) and here are the results:

      UPDATE `users` SET `uPass` = MD5('password') WHERE `uName` = 'fog';
      

      I just tried logging in with “fog” and “password”, but it still fails.

      Did you notice my post earlier where I said that I don’t see a “fog” user in the mySQL db?

      posted in FOG Problems
      L
      lmioperations
    • RE: Fog WebUI Password Successfully Reset But Still Can't Login

      I think I may have found the problem! I’m kinda surprised nobody thought to try this! I just ran:

      mysql> select user from mysql.user;
      +------------------+
      | user             |
      +------------------+
      | fogstorage       |
      | debian-sys-maint |
      | mysql.session    |
      | mysql.sys        |
      | root             |
      +------------------+
      5 rows in set (0.00 sec)
      

      Notice there’s no “fog” user! This is especially confusing to me since I followed these instructions to a tee!:
      https://wiki.fogproject.org/wiki/index.php?title=Restoring_FOG_from_Backup

      posted in FOG Problems
      L
      lmioperations
    • RE: Fog WebUI Password Successfully Reset But Still Can't Login

      @sebastian-roth Sebastian… I’m confused… I posted the exact command that I typed, and it DOES include “MD5()” with the password hash inside it. I did it correctly already, right?

      posted in FOG Problems
      L
      lmioperations
    • RE: Fog WebUI Password Successfully Reset But Still Can't Login

      @tom-elliott Let me know if I did this correctly (it looks like I did):

      mysql> UPDATE `users` SET `uPass` = MD5('$2y$11$g0Hu8OaOStuPk7WWYGh6Wu4PLlZDZGOkzMwEEAk.rZMrI9IdDwno.') WHERE `uName` = 'fog';
      Query OK, 1 row affected (0.00 sec)
      Rows matched: 1  Changed: 1  Warnings: 0
      

      Was I supposed to use the ( and ) in that command?

      I just tested my login again (“fog” as the username and “password” as the password), and got the same results 😞 (the login screen clears and there’s no message or error).

      BTW, the “Changed: 1” is because I hadn’t changed/updated it since running the “test” earlier.

      posted in FOG Problems
      L
      lmioperations
    • RE: Fog WebUI Password Successfully Reset But Still Can't Login

      @tom-elliott I just did a show databases; and this is the results:

      mysql> show databases;
      +--------------------+
      | Database           |
      +--------------------+
      | information_schema |
      | fog                |
      | mysql              |
      | performance_schema |
      | sys                |
      +--------------------+
      5 rows in set (0.00 sec)
      posted in FOG Problems
      L
      lmioperations
    • RE: Fog WebUI Password Successfully Reset But Still Can't Login

      @tom-elliott I appreciate that you’re covering all the bases. The server that I have a WebUI page open for has an IP that matches the server that I’m SSH’d into right now.

      posted in FOG Problems
      L
      lmioperations
    • RE: Fog WebUI Password Successfully Reset But Still Can't Login

      @tom-elliott I’m using “password”. As I said earlier, I’ve successfully done this in the past on our production server; that’s why I’m extra confused that it’s not working this time :-X…

      posted in FOG Problems
      L
      lmioperations
    • RE: Fog WebUI Password Successfully Reset But Still Can't Login

      @sebastian-roth Yep, that was one of my first indications that I had likely successfully updated the password on my previous attempts (when I saw no change).

      I just tried the command to set the password to “test” and got “Changed: 1”. I tried logging in to the WebUI with “fog” and “test” and it failed.

      As you stated, the password is not listed in the wiki (which is a great time for an admin to update it 😉 ), but I assumed it was “password” based on this other link: https://wiki.fogproject.org/wiki/index.php?title=Password_Central

      Here’s the output of my apache error log:

      [Fri Jul 28 06:25:03.202321 2017] [mpm_prefork:notice] [pid 1327] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.1.0f configured -- resuming  normal operations
      [Fri Jul 28 06:25:03.202354 2017] [core:notice] [pid 1327] AH00094: Command line: '/usr/sbin/apache2'
      [Fri Jul 28 07:41:47.596342 2017] [mpm_prefork:notice] [pid 1327] AH00169: caught SIGTERM, shutting down
      [Fri Jul 28 07:42:09.847435 2017] [mpm_prefork:notice] [pid 1353] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.1.0f configured -- resuming  normal operations
      [Fri Jul 28 07:42:09.864642 2017] [core:notice] [pid 1353] AH00094: Command line: '/usr/sbin/apache2'
      
      posted in FOG Problems
      L
      lmioperations
    • RE: Fog WebUI Password Successfully Reset But Still Can't Login

      I copied and pasted it this time (here’s the results and proof):
      0_1501241798288_fog_p-reset.png

      When I try logging in, I still get the same results :-X…

      posted in FOG Problems
      L
      lmioperations
    • RE: Installing a new clean fog server

      @predator To each their own I guess. We do guest testing all the time in our vSphere production environment. You’re the first person I’ve ever heard of who has an ESXi host, but does all their testing in VMware Workstation O_o.

      posted in General
      L
      lmioperations
    • RE: Installing a new clean fog server

      @predator said in Installing a new clean fog server:

      What is the best and simplest OS to use with FOG? I have read that some have problems with ubuntu… Furthermore i am a noob in Linux distro’s and it would help me a lot to have something that’s stable and simple with a GUI.

      My goal is to implement a virtual fog server for the enterprise where i am currently working so i can deploy images over pxe boot.

      I’ve been using Ubuntu Server 16.04.2 without any issues, and it’s super easy to deploy and manage. Also, I know this might seem scary or counter-intuitive, but I would actually recommend NOT using a GUI (that’s why I deployed the “server” version of Ubuntu).

      I’m a little confused by the fact that you said your goal is to “implement a virtual fog server” in an “enterprise” environment, but you’re trying to build this “environment” using VMware Workstation. Have you considered deploying VMware ESXi? It’s free and would be more ideal than using VMware Workstation. I’m not saying you can’t do it that way, but it’s not a very common way of going about it, especially in an “enterprise” environment.

      With that said, if you’re going to use VMware Workstation, I would think you would want to setup the PC that’s running VMware Workstation (the IP of this machine can be DHCP or static), then build an Ubuntu VM using NAT and set a static IP on this guest.

      If you have a DHCP and DNS server in your environment (which it sounds like you already do), during the FOG setup, you should be able to make the following selections when installing:

      • When prompted if you’d like to change the default network interface, type “N”

      • When prompted if you’d like to setup a router address for the DHCP server, type “Y”

      • When prompted for the IP address to be used for the router on the DHCP server, press Enter if it already shows your correct router address (or type in the correct one if it’s not already displayed)

      • When prompted if you’d like DHCP to handle DNS, type “Y”

      • When prompted for what DNS address DHCP should allow, press Enter if it already shows the correct address (or type in the correct address if it’s not already displayed)

      • When prompted if you’d like to use the FOG server for DHCP service, type “N”

      You’ll then want to go to your DHCP server and make sure that the following scope options are configured:

      • 066 Boot Server Host Name = make sure this is the IP of your FOG server
      • 067 Bootfile Name = undionly.kpxe

      You can either configure those scope options globally under IPv4 under “Server Options”, or you can configure them under “Scope Options” under each Scope that you want to allow access to the FOG server.

      posted in General
      L
      lmioperations
    • RE: FOG Not resizing partitions

      @derek-newbold This likely has nothing to do with the issues you’re having, but you might want to consider this workflow instead:

      You have a base guest VM that you build out with everything you want it to have, then once you have it where you like it, you create a snapshot.

      Anytime you need to capture this guest VM, you first create a clone of it. Then you finish up whatever else you need to do to the cloned VM before sysprep’ing and capturing it.

      Anytime you need to add/change something in the base VM, you do so, then verify if everything is still good with the base. If so, you delete the snapshot to permanently commit the changes, then create a new snapshot.

      posted in FOG Problems
      L
      lmioperations
    • Fog WebUI Password Successfully Reset But Still Can't Login
      Server
      • FOG Version: 1.4.4
      • OS: Ubuntu 16.04.2
      Client
      • Service Version:
      • OS:
      Description

      I’m working through a restore on a test server that I built, and I followed all the instructions from here:
      https://wiki.fogproject.org/wiki/index.php?title=Restoring_FOG_from_Backup

      Everything worked fine, and I rebooted the server just to be safe.

      When I tried logging in to the WebUI, the login screen reset and there was no error message.

      I followed the instructions here and successfully reset the password (and I verified that I had the hash typed exactly as it is in the document):
      https://wiki.fogproject.org/wiki/index.php?title=Password_Central

      I restarted mysql just in case and then tried logging in to the WebUI again, but the same thing happens; the username and password boxes clear and I’m not logged in (and there’s no message or anything indicating if my username and/or password were wrong).

      At this point, I have no idea why this isn’t working because I’ve successfully done this on our production server when I needed to reset the password several weeks ago.

      posted in FOG Problems
      L
      lmioperations
    • RE: Fogupdater.sh "Attempting Download Failed" for all mirrors

      Prior to starting this thread, I was nervous about the install (based on the horror stories I was seeing in various communities online; including this one).

      Thanks again for the quick responses and info guys! The update went real smooth and everything is functioning exactly as expected!

      This thread can be marked as “solved” : )

      posted in FOG Problems
      L
      lmioperations
    • RE: Fogupdater.sh "Attempting Download Failed" for all mirrors

      Ah, my bad. I thought that, since I already have FOG installed, I was supposed to skip to the section called “Update to the latest”. I didn’t realize I still have to do the initial checkout and installation. Thanks for confirming George!

      posted in FOG Problems
      L
      lmioperations
    • 1
    • 2
    • 1 / 2