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

    Topics created by Creedasaurus

    • C

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

      FOG Problems
      • • • Creedasaurus
      4
      0
      Votes
      4
      Posts
      1.3k
      Views

      C

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

      Can you manually image from a sys.img.000 file?

      FOG Problems
      • • • Creedasaurus
      21
      0
      Votes
      21
      Posts
      7.5k
      Views

      C

      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?

    • 1 / 1