• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Chris Whiteley
    3. Posts
    • Profile
    • Following 2
    • Followers 1
    • Topics 37
    • Posts 173
    • Best 6
    • Controversial 0
    • Groups 0

    Posts made by Chris Whiteley

    • Organizational Unit Feature

      Developers-

      Would it be possible (this is obviously a long shot) to have a place in the PXE menu when registering a host, to define the OU info as one of the questions? Or have it be an option with something that I could prepopulate with all of the current OU’s in existence? I know that is a lot to ask, but you can set each host, and you can set a default, but to be able (in our case) to join to an OU while joining to the domain would remove the user intervention piece out of things for new computers.

      Let me know if you have any questions. Thanks!

      posted in Feature Request
      Chris WhiteleyC
      Chris Whiteley
    • RE: FOG FTP Login Failed

      so I checked the IP storage node and this particular ip address is completely unblocked for everything. As for the version of VSFTPD it is 3.0.2-1ubunt/amd64

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • RE: FOG FTP Login Failed

      It is not happening during an upload (That I know of yet) but it is occuring on the image management screen and yes it says that same thing on all of the images.

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • RE: FOG FTP Login Failed

      Yes I did

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • RE: FOG FTP Login Failed

      So I am also having this issue and I have checked my passwords everywhere as well as doing the sudo passwd fog and the touch commands as well. I have also changed it to what is under the [FONT=Ubuntu][COLOR=#555555]FOG_TFTP_FTP_PASSWORD. I have gone in and changed it in a couple of files and I still can’t get this to work under image management. [/COLOR][/FONT]

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • RE: Issue with Listing Hosts

      That fixed my issue!! Thank you so much for the help! I changed memory_limit in the /etc/php5/apache2/php.ini from 128M to 256M.

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • RE: Issue with Listing Hosts

      [quote=“Chris Whiteley, post: 37389, member: 1569”]can you give me the exact location of this? I thought it was under /etc/php5/apache2/php.ini but I can’t find max_memory_size in there.[/quote]

      Nevermind I found it

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • RE: Issue with Listing Hosts

      can you give me the exact location of this? I thought it was under /etc/php5/apache2/php.ini but I can’t find max_memory_size in there.

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • RE: Issue with Listing Hosts

      I am just curious…do those pages timeout after a certain amount of time? The database we have is huge and we have over 7,000 computers in it. Didn’t know if that would make any difference.

      Update Reinstalled Ubuntu 14.04.1 and FOG .32, then upgraded to FOG 1.2.0, now I can see the hosts if I go to task managment, but still can’t go to host management, then click list all hosts.

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • RE: Fog not redirecting

      I actually figured out that it was neither of those files! The /var/www/index.html has moved to /var/www/html/index.html so I added a file that just had this bit of code in it:

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

      and now it redirects! Please pass this on as it is a nice feature

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • RE: Fog not redirecting

      I have tried to do changes and had to reverse them as it messed everything up. Do you know exactly what I should do to the 2 files? the /etc/apache2/apache2.conf and the [SIZE=14px][COLOR=#000000][FONT=Consolas]/etc/apache2/sites-available/000-default.conf to get them working?[/FONT][/COLOR][/SIZE]

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • RE: Fog not redirecting

      I have searched google and these forums and can’t seem to find the one that will work properly. I have tried doing the /var/www/index.html and putting in extra code, someone else had said to edit the 000apache2.conf and that didn’t work, so that is why I posted here.

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • Fog not redirecting

      I have version 1.2.0 just recently upgraded from .32 and when we go to the root of fog [url]http://servername/[/url] in a web browser it is supposed to redirect you to [url]http://servername/fog/management[/url], and instead it takes us to this Apache 2 Ubuntu Default Page. Is there any way to fix this? Thanks,

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • RE: Issue with Listing Hosts

      [CODE][/CODE]Here is the error.log:

      [CODE]
      root@fog:~# tail /var/log/apache2/error.log
      [Fri Oct 03 07:23:58.465863 2014] [:error] [pid 30012] [client 10.110.3.249:49206] PHP Warning: require(…/commons/base.inc.php): failed to open stream: No such file or directory in /var/www/fog/service/servicemodule-active.php on line 2
      [Fri Oct 03 07:23:58.465893 2014] [:error] [pid 30012] [client 10.110.3.249:49206] PHP Fatal error: require(): Failed opening required ‘…/commons/base.inc.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/service/servicemodule-active.php on line 2
      cat: write error: Broken pipe
      cat: write error: Broken pipe
      cat: write error: Broken pipe
      cat: write error: Broken pipe
      [Fri Oct 03 07:24:26.713134 2014] [:error] [pid 30133] [client X.X.X.X:60549] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10041493 bytes) in /var/www/fog/management/index.php on line 137, referer: [URL]http://fog/fog/management/index.php?node=host[/URL]
      [Fri Oct 03 07:24:26.734912 2014] [:error] [pid 30133] [client X.X.X.X:60549] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0, referer: [URL]http://fog/fog/management/index.php?node=host[/URL]
      [Fri Oct 03 07:24:44.772104 2014] [core:notice] [pid 30705] AH00051: child pid 29822 exit signal Segmentation fault (11), possible coredump in /etc/apache2
      [Fri Oct 03 07:25:11.841940 2014] [core:notice] [pid 30705] AH00051: child pid 30027 exit signal Segmentation fault (11), possible coredump in /etc/apache2
      [/CODE]
      Here is the access.log:

      [CODE]
      Last login: Fri Oct 3 07:22:16 2014 from 10.108.2.19
      root@fog:~# tail /var/log/apache2/access.log
      x.x.x.x - - [03/Oct/2014:07:28:42 -0700] “GET /fog/management/index.php?node=tasks&=1412311394120 HTTP/1.1" 200 654 “[URL=‘http://fog/fog/management/index.php?node=tasks’]http://fog/fog/management/index.php?node=tasks[/URL]” “Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)”
      x.x.x.x - - [03/Oct/2014:07:28:42 -0700] “GET /fog/service/servicemodule-active.php?mac=A4:1F:72:71:3D:B4&moduleid=snapin HTTP/1.1” 200 311 “-” “-”
      x.x.x.x- - [03/Oct/2014:07:28:42 -0700] “GET /fog/service/servicemodule-active.php?mac=00:25:64:C6:7F:D9&moduleid=snapin HTTP/1.1” 200 255 “-” “-”
      x.x.x.x- - [03/Oct/2014:07:28:42 -0700] “GET /fog/service/servicemodule-active.php?mac=A4:1F:72:71:40:C6&moduleid=snapin HTTP/1.1” 200 255 “-” “-”
      x.x.x.x - - [03/Oct/2014:07:28:42 -0700] “GET /fog/service/servicemodule-active.php?mac=00:23:AE:98:56:07&moduleid=taskreboot HTTP/1.1” 200 311 “-” “-”
      x.x.x.x - - [03/Oct/2014:07:28:42 -0700] “GET /fog/service/servicemodule-active.php?mac=A4:1F:72:71:3B:0A&moduleid=snapin HTTP/1.1” 200 311 “-” “-”
      x.x.x.x - - [03/Oct/2014:07:28:42 -0700] “GET /fog/service/snapins.checkin.php?mac=A4:1F:72:71:3B:0A HTTP/1.1” 200 254 “-” “-”
      x.x.x.x - - [03/Oct/2014:07:28:42 -0700] “GET /fog/service/servicemodule-active.php?mac=B8:AC:6F:3A:DA:30&moduleid=snapin HTTP/1.1” 200 255 “-” “-”
      x.x.x.x - - [03/Oct/2014:07:28:42 -0700] “GET /fog/service/servicemodule-active.php?mac=F8:B1:56:AF:1E:BA&moduleid=snapin HTTP/1.1” 200 311 “-” “-”
      x.x.x.x - - [03/Oct/2014:07:28:42 -0700] "GET /fog/status/bandwidth.php?sub=bandwidth&
      =1412292388028 HTTP/1.1” 200 276 “[URL=‘http://fog/fog/management/index.php?node=home’]http://fog/fog/management/index.php?node=home[/URL]” “Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)”
      [/CODE]

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • RE: Join domain not working in 1.2.0

      bump as I am having this problem as well

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • RE: Issue with Listing Hosts

      Is there any way to check logs or anything to see what is happening?

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • Issue with Listing Hosts

      I am getting a HTTP 500 Internal Server Error when trying to list all hosts from either the task managment side or the Host Managment side. I just upgraded from .32 to version 1.2.0 and that seems to be the only issue that we encountered. Thanks,

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • RE: Imaging stuck on upload after finished

      then you may need to look at doing a fresh install. When did you do the upgrade? what version are you on?

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • RE: Imaging stuck on upload after finished

      Did this happen after the update? If so, is there a way you can delete your image from the image management portion and the image file in /images, then try and create a new one and associate whatever machine you are using to upload that new image ID? You can also (once the the old one is deleted) change the sql to reflect the new image with the old number:

      user@machine:~$ mysql -u root
      mysql>use fog;
      mysql>select imageid, imagename from images;

      ±--------±--------------------+
      | imageID | imageName |
      ±--------±--------------------+
      | 8 | StudentSpare-HL91 |
      | 4 | BSELAB |
      | 11 | MS16372Teacher2 |
      | 10 | MS163KTeacher2 |
      ±--------±--------------------+
      You want to change this to be:
      [COLOR=#b3b3b3][SIZE=11px]Code:[/SIZE][/COLOR]
      ±--------±--------------------+
      | imageID | imageName |
      ±--------±--------------------+
      | 1 | StudentSpare-HL91 |
      | 2 | BSELAB |
      | 3 | MS16372Teacher2 |
      | 4 | MS163KTeacher2 |
      ±--------±--------------------+
      You’ll execute the following lines at the mysql> prompt.
      [COLOR=#b3b3b3][SIZE=11px]Code:[/SIZE][/COLOR]
      mysql>update images set imageID=1 where imageID=8 limit 1;
      mysql>update images set imageID=2 where imageID=4 limit 1;
      mysql>update images set imageID=3 where imageID=11 limit 1;
      mysql>update images set imageID=4 where imageID=10 limit 1;
      This changes the imageID value for each image definition. You can reorder them however you want, just adjust the imageID values in each statement. the “limit 1” on the end of each statement makes sure you change just 1 record, because logically there can be only 1.

      What this has done is broken the link between the host records and the image records. At this point, the hosts no longer have a valid image associated with them, because they know the image by it’s previous ID, which is no longer valid.

      Now you have to update the hosts table so that any hosts which used the old image ID, now uses it’s new image ID.
      [COLOR=#b3b3b3][SIZE=11px]Code:[/SIZE][/COLOR]
      mysql>update hosts set hostImage=1 where hostImage=8;
      mysql>update hosts set hostImage=2 where hostImage=4;
      mysql>update hosts set hostImage=3 where hostImage=11;
      mysql>update hosts set hostImage=4 where hostImage=10;

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • RE: Imaging stuck on upload after finished

      well if you are doing an upload, maybe you can delete the current image you are trying to create out of the /images folder and then try to do an upload. Maybe it is having a hard time trying to overwrite it.

      posted in FOG Problems
      Chris WhiteleyC
      Chris Whiteley
    • 1 / 1