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 :D

    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?

    
    [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
     
     
    

    much love,

    Creed



  • 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/

    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

  • Senior Developer

    How do you access the pages? Do you access them as:

    http://IP.OF.FOG.SERVER/fog

    or

    http://IP.OF.FOG.SERVER

    This could be the issue. I believe the postfix for the client currently is hardcoded to look for fog/service/<filename>

    If you’re redirecting so you don’t have to type the /fog at the end of your IP this may be why you’re getting permission denied.


  • Developer

    what do you see if you go to those pages in a browser?
    what are the permissions set to for those files?


Log in to reply
 

505
Online

38925
Users

10691
Topics

101434
Posts

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