• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Creedasaurus
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 13
    • Best 0
    • Controversial 0
    • Groups 0

    Creedasaurus

    @Creedasaurus

    1
    Reputation
    114
    Profile views
    13
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Creedasaurus Unfollow Follow

    Latest posts made by Creedasaurus

    • RE: Hosts not communicating, but pinging from FOG? Apache2 error.log included!

      Sorry its taken me so long! Dang school ordered three 40x Chromebook mobile labs and they wanted them ready ASAP! Haha!

      Ok, so here is what i pulled as far as permissions on the files in /var/www/fog/services/

      [CODE]
      -rwxrwxrwx 1 www-data www-data 277 Sep 6 15:43 alo-bg.php
      -rwxrwxrwx 1 www-data www-data 739 Sep 6 15:43 autologout.php
      -rwxrwxrwx 1 www-data www-data 8384 Sep 6 15:43 auto.register.php
      -rwxrwxrwx 1 www-data www-data 855 Sep 6 15:43 av.php
      -rwxrwxrwx 1 www-data www-data 2358 Sep 6 15:43 blame.php
      -rwxrwxrwx 1 www-data www-data 1332 Sep 6 15:43 capone.php
      -rwxrwxrwx 1 www-data www-data 318 Sep 6 15:43 checkcredentials.php
      -rwxrwxrwx 1 www-data www-data 108 Sep 6 15:43 debug.php
      -rwxrwxrwx 1 www-data www-data 247 Sep 6 15:43 dircleanup-dirs.php
      -rwxrwxrwx 1 www-data www-data 979 Sep 6 15:43 displaymanager.php
      -rwxrwxrwx 1 www-data www-data 882 Sep 6 15:43 donate.php
      -rwxrwxrwx 1 www-data www-data 269 Sep 6 15:43 greenfog.php
      -rwxrwxrwx 1 www-data www-data 373 Sep 6 15:43 grouplisting.php
      -rwxrwxrwx 1 www-data www-data 402 Sep 6 15:43 hostnameloop.php
      -rwxrwxrwx 1 www-data www-data 1013 Sep 6 15:43 hostname.php
      -rwxrwxrwx 1 www-data www-data 373 Sep 6 15:43 imagelisting.php
      -rwxrwxrwx 1 www-data www-data 51 Sep 6 15:43 index.php
      -rwxrwxrwx 1 www-data www-data 4201 Sep 6 15:43 inventory.php
      drwxrwxrwx 2 www-data www-data 4096 Sep 6 15:43 ipxe
      -rwxrwxrwx 1 www-data www-data 655 Sep 6 15:43 jobs.php
      -rwxrwxrwx 1 www-data www-data 215 Sep 6 15:43 locationcheck.php
      -rwxrwxrwx 1 www-data www-data 400 Sep 6 15:43 locationlisting.php
      -rwxrwxrwx 1 www-data www-data 719 Sep 6 15:43 man.hostexists.php
      -rwxrwxrwx 1 www-data www-data 2013 Sep 6 15:43 mc_checkin.php
      -rwxrwxrwx 1 www-data www-data 3876 Sep 6 15:43 Post_Stage2.php
      -rwxrwxrwx 1 www-data www-data 1820 Sep 6 15:43 Post_Stage3.php
      -rwxrwxrwx 1 www-data www-data 930 Sep 6 15:43 Post_Wipe.php
      -rwxrwxrwx 1 www-data www-data 4223 Sep 6 15:43 Pre_Stage1.php
      -rwxrwxrwx 1 www-data www-data 1522 Sep 6 15:43 PrinterManager.php
      -rwxrwxrwx 1 www-data www-data 1921 Sep 6 15:43 progress.php
      -rwxrwxrwx 1 www-data www-data 1636 Sep 6 15:43 register.php
      -rwxrwxrwx 1 www-data www-data 2038 Sep 6 15:43 servicemodule-active.php
      -rwxrwxrwx 1 www-data www-data 1325 Sep 6 15:43 snapcheck.php
      -rwxrwxrwx 1 www-data www-data 3012 Sep 6 15:43 snapins.checkin.php
      -rwxrwxrwx 1 www-data www-data 1748 Sep 6 15:43 snapins.file.php
      -rwxrwxrwx 1 www-data www-data 1170 Sep 6 15:43 updates.php
      -rwxrwxrwx 1 www-data www-data 255 Sep 6 15:43 usercleanup-users.php
      -rwxrwxrwx 1 www-data www-data 1308 Sep 6 15:43 usertracking.report.php[/CODE]

      And this is from /management

      [CODE]
      drwxrwxrwx 2 www-data www-data 4096 Sep 6 15:43 ajax
      drwxrwxrwx 5 www-data www-data 4096 Sep 6 15:43 css
      -rwxrwxrwx 1 www-data www-data 553 Sep 6 15:43 export.php
      drwxrwxrwx 2 www-data www-data 4096 Sep 6 15:43 images
      -rwxrwxrwx 1 www-data www-data 6943 Sep 6 15:43 index.php
      drwxrwxrwx 3 www-data www-data 4096 Sep 6 15:43 js
      drwxrwxrwx 8 www-data www-data 4096 Sep 6 15:43 languages
      drwxrwxrwx 3 www-data www-data 4096 Sep 6 15:43 lib
      drwxrwxrwx 2 www-data www-data 4096 Sep 7 10:56 other
      drwxrwxrwx 3 www-data www-data 4096 Sep 6 15:43 phpimages
      drwxrwxrwx 2 www-data www-data 4096 Sep 6 15:43 reports
      drwxrwxrwx 3 www-data www-data 4096 Sep 6 15:43 static[/CODE]

      I’m not best on what is needed permissions-wise but I thought I had set everything the way it was before.

      Tom,

      I do have a domain name for the server that has worked in the past. I am wondering if that is the root of my issue now. I can go to FOGSERVER.domain.edu and it brings me right to the main page. Dumb question: would that be network-side? I know I changed the bind-address in /etc/mysql/my.cnf to the IP of the server.

      And then I don’t know if this may affect it but per the previous guy’s instructions I edited /var/www/index.html to look like:

      [CODE]<html>
      <head>
      <meta http-equiv=“Refresh” content=“0; URL=fog/index.php”>
      </head>
      </html>[/CODE]

      But this was supposedly to access the web ui from the root IP? Anyway, I hope this is some ok info. Ill talk to the guy that originally edited DHCP to see if he knows about re-routing it. Thanks for all your help. I feel like I’m getting close!

      • Creed
      posted in FOG Problems
      C
      Creedasaurus
    • Hosts not communicating, but pinging from FOG? Apache2 error.log included!

      Ok, so I recently redid my Fog server. I am running:
      Version - 1.2.0
      Ubuntu - 12.04
      Elitedesk 8300

      I got everything transferred over and set up exactly as I had it before. I even imaged a machine and it worked great, PXE boot and all. Only problem I noticed was that it was supposed to join the computer to the domain and also change the hostname afterward. It never did. On the web UI it showed the little status bar graphic “Pinging 290 hosts Complete!” and on the hosts list they all have the red exclamation point saying “could not resolve hostname.”

      I looked up errors related to it on the forum and mostly found people having issues with their firewalls though I know it isn’t that since the firewall is off (we have our images set up that way since we have a District firewall and anti-virus). I tried pinging each computer from each other and was successful, however I could not ping the actual hostname, which when I looked at how you can set what DNS servers to search and all. Everything appears to be set properly and searching through the right dns servers.

      The only thing I can find that seems like it may be a clue is in the Apache2 error.log. Could anyone tell me if I am on the right track? And for extra point, decipher where I’m to go from here? Could really use this pretty soon 😄

      Here is what I am getting, and its from all sorts of different IP’s on our network, so I’m sure those are hosts that are trying to connect. I could swear all the permissions are right, but now I’m not sure.

      And advice?

      [CODE]
      [Thu Sep 11 19:56:56 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.14 with Suhosin-Patch configured – resuming normal operations
      [Thu Sep 11 19:57:25 2014] [error] [client ...] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:25 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:25 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:25 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:25 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:25 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:26 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:26 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:27 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/management/index.php denied, referer: http://fog.edu/fog/management/index.php?node=tasks
      [Thu Sep 11 19:57:27 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:27 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:27 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:28 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:28 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:28 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:28 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:28 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:29 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:29 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:29 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:29 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:30 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:31 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:31 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:32 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/management/index.php denied, referer: http://fog.edu/fog/management/index.php?node=tasks
      [Thu Sep 11 19:57:35 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:38 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/management/index.php denied, referer: http://fog.edu/fog/management/index.php?node=tasks
      [Thu Sep 11 19:57:39 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/management/index.php denied
      [Thu Sep 11 19:57:43 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/management/index.php denied, referer: http://fog.edu/fog/management/index.php?node=tasks
      [Thu Sep 11 19:57:43 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:44 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/index.php denied, referer: http://fog.edu/
      [Thu Sep 11 19:57:44 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/index.php denied, referer: http://fog.edu/
      [Thu Sep 11 19:57:47 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:48 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/management/index.php denied, referer: http://fog.edu/fog/management/index.php?node=tasks
      [Thu Sep 11 19:57:48 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:50 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:50 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:52 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:52 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:53 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/management/index.php denied, referer: http://fog.edu/fog/management/index.php?node=tasks
      [Thu Sep 11 19:57:53 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:55 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:58 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/management/index.php denied, referer: http://fog.edu/fog/management/index.php?node=tasks
      [Thu Sep 11 19:57:58 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:58:02 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:58:03 2014] [error] [client ..
      .] (13)Permission denied: access to /fog/management/index.php denied, referer: http://fog.edu/fog/management/index.php?node=tasks
      [Thu Sep 11 19:58:07 2014] [error] [client ..
      .
      ] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:58:08 2014] [error] [client ..
      .**] (13)Permission denied: access to /fog/management/index.php denied, referer: http://fog.edu/fog/management/index.php?node=tasks

      [/CODE]

      much love,

      Creed

      posted in FOG Problems
      C
      Creedasaurus
    • RE: Can you manually image from a sys.img.000 file?

      So here is some stuff I pulled from my Apache2 error logs. Don’t know if its related to the unable to resolve hostname. I can ping IPs from FOG (and in the web UI when I list all hosts, it shows a little graphic at the top saying it is pinging all hosts, although there are still red exclamations on everything), but not hostnames which I am not entirely sure I am doing correctly.

      [CODE][Thu Sep 11 19:57:43 2014] [error] [client 1.1.1.1] (13)Permission denied: access to /fog/management/index.php denied, referer: http://--------.edu/fog/managemen$
      [Thu Sep 11 19:57:43 2014] [error] [client 1.1.1.1] (13)Permission denied: access to /fog/service/servicemodule-active.php denied
      [Thu Sep 11 19:57:44 2014] [error] [client 1.1.1.1] (13)Permission denied: access to /fog/index.php denied, referer: http://fogserver.whatever[/CODE]
      (different IPs and server name)

      Any chance I might be on to something at least?

      posted in FOG Problems
      C
      Creedasaurus
    • RE: Can you manually image from a sys.img.000 file?

      Ok, darn it. I thought I was going to be good from here on out since I finally got an image out. Now I believe my last problem is with the little red exclamation “unable to resolve hostname.” Now I didn’t think I would have to do anything with our network seeing as it was working before, its the same machine, and I thought I had set everything up the same.

      But the “unable to resolve hostname” problem will let me image but then nothing else. Its like it finds and sees the computer just fine when it PXE boots and sends it an image or whatever, but once windows is up, it doesn’t rename or anything. And all the computers that are already in FOG and have the fog client can’t have any snap ins added or be joined to the domain (via FOG). I’ve sifted around the forum to find this issue, but so far haven’t found anything that has worked. I know I’ve got to be able to ping the hostnames themselves, but I’m wondering where I could find files I need to make sure are correct to be able to do this. Any direction would be GREAT. I’m hoping I can deploy a piece of software here pretty soon that would be way easy as a snapin.

      Let me know! Thanks!!

      posted in FOG Problems
      C
      Creedasaurus
    • RE: Can you manually image from a sys.img.000 file?

      Iiiiinteresting. I’ll have to look into Debian. Just reading about it makes it sound a bit more on the stable end. Good for a server-box. Do they have like server-specific distros? Or is it just one size fits all kind of thing? (Don’t worry, I can obviously scour the internet for answers to these burning question.)

      Thanks again for the help. I JUST imaged my first machine on the new re-build. And it worked. So I am in business now. I will update you if I run into any other quarks.

      • Actually, just thinking of that.
      posted in FOG Problems
      C
      Creedasaurus
    • RE: Can you manually image from a sys.img.000 file?

      WAIT but I just remembered why I didn’t want to deal with 14.04! For some reason Apache2 would always say it had crashed whenever I logged in. I think I’m just going to deal without having the latest HWE. Its already killed me enough to have Fog down this long.

      posted in FOG Problems
      C
      Creedasaurus
    • RE: Can you manually image from a sys.img.000 file?

      Ok. You all are geniuses. Thank you so much. I got a test server up and almost completely working.

      My one last problem has to do with this:

      I am now about to redo the server that Fog was originally on. Its a slightly newer machine with the space necessary to have all the images on there. I wanted to just put Ubuntu 12.04 LTS like what it was running, but I just remembered that I had serious issues when I tried updating to the current HWE version. So if its possible I would like to make the upgrade to 14.04 since it seems a bit more stable in that aspect (for this newer machine). Or am I way off? Should I just keep 12.04 since everything would copy over just the same (and not worry about the HWE update)? Or will all of these files copy over to 14.04 the same way they would for 12.04?

      I will also comb the forums for an answer to this question. Figured I’d get my thoughts down first.

      posted in FOG Problems
      C
      Creedasaurus
    • RE: Can you manually image from a sys.img.000 file?

      Now when you say ‘import the database’, what do you mean? What kind of database is it and what file or files am I looking for? (Sorry I can probably read a bit more on that particular aspect). I wonder because I thought that the database would make up mostly the images, the MySQL database, which I can’t seem to actually run the backup utility for since it is on an external and isn’t on a running system, ya know? Unless there is a way to run mysqldump on a non-booted system?

      posted in FOG Problems
      C
      Creedasaurus
    • RE: Can you manually image from a sys.img.000 file?

      I believe close to 2 years? At least.

      posted in FOG Problems
      C
      Creedasaurus
    • RE: Can you manually image from a sys.img.000 file?

      This is what is listed in that directory. I didn’t see any others.

      [CODE]boot.txt
      default.ipxe
      ipxe.kkpxe
      ipxe.kpxe
      ipxe.krn
      ipxe.pxe
      memdisk
      pxelinux.0.old
      snponly.efi
      undionly.kkpxe
      undionly.kpxe
      undionly.kpxe.INTEL
      undionly.pxe
      vesamenu.c32[/CODE]

      posted in FOG Problems
      C
      Creedasaurus