• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Fernando Gietz
    3. Posts
    F
    • Profile
    • Following 0
    • Followers 8
    • Topics 67
    • Posts 554
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: PHP Warning service_lib.php

      @Claude-Girard said:

      Hi Tom

      I think line 55 in service_lib.php should be:
      sleep((int)$service_sleep_time);

      I change this line, like Claude suggests, and appears other error:

      feb 01 13:18:50 fog6.lgp.ehu.es FOGTaskScheduler[2406]: PHP Warning:  fopen(//): failed to open stream: Is a directory in /opt/fog/service/lib/service_lib.php on line 8
      feb 01 13:18:50 fog6.lgp.ehu.es FOGTaskScheduler[2406]: PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /opt/fog/service/lib/service_lib.php on line 9
      feb 01 13:18:50 fog6.lgp.ehu.es FOGTaskScheduler[2406]: PHP Warning:  fflush() expects parameter 1 to be resource, boolean given in /opt/fog/service/lib/service_lib.php on line 10
      feb 01 13:18:50 fog6.lgp.ehu.es FOGTaskScheduler[2406]: PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /opt/fog/service/lib/service_lib.php on line 11```
      posted in Bug Reports
      F
      Fernando Gietz
    • RE: PHP Warning service_lib.php

      @Tom-Elliott said:

      SERVICESLEEPTIME is not defined in config.class.php anymore (not at least how you’re seeing it.)

      I changed all the sleeptimes and even the log driven values to come from the Database. Please check FOG Configuration->FOG Settings->FOG Linux Service Sleep Times and look at the values, are they defined appropriately?

      I don’t have this option in my FOG server 😲 and in the database doesn’t appear any registry (globalSettings table) about it

      posted in Bug Reports
      F
      Fernando Gietz
    • PHP Warning service_lib.php

      I have problems with the size of /var/log messages files because his size is huge. The reason is that all FOG service are logging in it, and all service give the same warning:

      FOGMulticastManager: PHP Warning:  sleep() expects parameter 1 to be long, string given in /opt/fog/service/lib/service_lib.php on line 55
      

      The function uses the variable $service_sleep_time. The value of this variable is:

      $service_sleep_time = $FOGCore->getSetting('SERVICESLEEPTIME'); [line 4 of the file]
      

      But the SERVICESLEEPTIME value is defined in lib/fog/config.class.php:

      define('SERVICESLEEPTIME',3); [line 44]
      
      posted in Bug Reports
      F
      Fernando Gietz
    • RE: Scheduled tasks - Multicast tasks are not showed

      With the last revision I can see the multicast scheduled tasks 🙂
      1_1453826902792_Tasks_Scheduler_2.jpg 0_1453826902792_FOG LOG Viewer_Scheduler_2.jpg

      Thanks !!!

      posted in Bug Reports
      F
      Fernando Gietz
    • Scheduled tasks - Multicast tasks are not showed

      Hi FOG Team,

      when I access to Tasks Management -> Scheduled Tasks, I can’t see the multicast scheduled tasks; however, the other task types yes.

      I attach the images from the log of scheduler and the tasks management console.

      1_1453737329386_FOG LOG Viewer_Scheduler.jpg 0_1453737329385_Tasks_Scheduler.jpg

      posted in Bug Reports
      F
      Fernando Gietz
    • Possible bug when you upload the image from a second disk (5844)

      We have detected a problem when you try to upload an image with two hard disks.
      FOG upload a RAW image from the second disk and later, the image of the each partition of the second disk.

      -rwxrwxrwx 1 root root 1,0M ene 13 09:21 d1.mbr
      -rwxrwxrwx 1 root root 8,2M ene 13 09:21 d1p1.img
      -rwxrwxrwx 1 root root 36G ene 13 09:55 d1p2.img
      -rwxrwxrwx 1 root root 1,0M ene 13 09:55 d2.mbr
      -rwxrwxrwx 1 root root 47 ene 13 11:26 d2.original.swapuuids
      -rwxrwxrwx 1 root root 17G ene 13 11:23 d2p1.img
      -rwxrwxrwx 1 root root 2,0G ene 13 11:26 d2p2.img
      -rwxrwxrwx 1 root root 67G ene 13 11:05 d2p.img <- RAW image

      Actually if we delete this d2p.img file, all works fine.

      posted in Bug Reports
      F
      Fernando Gietz
    • Install script under RHEL 7 (built 5788)

      I have installed fog under RHEL 7 and the installation script doesn’t detect well the OS.
      To solve it, please change the lib/commons/input.sh line 24:

      "Redhat" change to "Red Hat"
      
      posted in Bug Reports
      F
      Fernando Gietz
    • RE: FOG 2.0 request: Advanced host naming

      @george1421 said:

      First of all I have to say, well done!! This fix worked so well back in the day. 😃

      The thought was if the machine name is machine calculable as in our case, why not allow it in 2.0? I can do this today with my script (which I don’t use because I loose FOG functionality). But if the registration process would prepopulate that field based on a formula then all would be right with the world.

      Truthfully what we do today is a bit manual but it works. We key in the site OU, D, P, T, or what ever then use a barcode scanner to read the asset tag from the back/bottom of the dells. It does work, but it also the posibility for error and does make extra work.

      I understand what you are staying about just importing from a database, but then we have to collect the machine information key/scan it into a database, export and then upload info FOG. This seems like too much work for something that can be done is milliseconds on a computer, and not leave room for the IT tech to make a mistake.

      😃 For us is not hard work. The providers (DELL or HP) do this work, the administrators only setup the IP and their location, then the technicians can synchronize the computer data. The idea is if you have all data in a database, why not import them from FOG?

      posted in Feature Request
      F
      Fernando Gietz
    • RE: FOG 2.0 request: Advanced host naming

      @george1421 said:

      Here are the examples on how to hack the old version of fog to produce a dynamic client host name (I can’t seem to find the actual instructions from long ago, but the code may spark an idea.)

      http://www.ehu.eus/fogenehu/doc/old/html/hosts_8inventory_8include_8php_source.html
      http://www.ehu.eus/fogenehu/doc/html/HostManagementPage_8class_8php_source.html

      I am the developer of this fork of FOG 0.30 (fogenehu). This version is actually in production environment and works fine . We don’t assign dynamic names to the machines, we synchronize the machines with our own inventory database. In this way the name of the computers have our convention. I would wish to add this feature in FOG 2.0, import computers from a database.

      posted in Feature Request
      F
      Fernando Gietz
    • RE: FOG 1.1.2 + FreeNAS 9.1.1 = Failed NFS

      Hello,

      Are you trying to mount /images using NFS? If you have mounted the images repository with NFS, will not work.

      The client try to mount /images using NFS, but in the server you have mounted it by NFS too. NFS doesnt support the “remount”.

      Client === NFS ===> server (/images) === NFS ===> Datacenter (not allow)

      posted in General
      F
      Fernando Gietz
    • RE: LDAP Plugin

      Hello Matthew,

      Thi splugin is only available in the beta version. Not in 1.2

      posted in General
      F
      Fernando Gietz
    • RE: More control with Partitions

      Thounsand battles are around me 😞

      This feature was developed for my university and worked and works fine, the problem is that this feature only works under our special fog version. I would like develope it for the new version of FOG, but actually I don’t have spare time to do it.

      Maybe in FOG 1.4 🙂

      posted in General
      F
      Fernando Gietz
    • RE: LDAP Plugin

      Not problem 🙂 I will wait your news

      posted in General
      F
      Fernando Gietz
    • RE: LDAP Plugin

      Actually we are doing some changes in the LDAP plugin. The first version only worked with secure LDAP servers, port 636. We are trying to solve it.

      [quote=“Ben Warfield, post: 41773, member: 17746”]Hi Fernando,
      Another question I had was groups. Is there any way for the ldap plugin to look to see if a user is part of an active directory group?
      [/quote]

      I can not answer to your question, in my LDAP server only have users. I don’t try the validation with AD.

      posted in General
      F
      Fernando Gietz
    • RE: LDAP Plugin

      Hello Walter,

      I have developed the LDAP Plugin, but is only available in the beta version.

      posted in General
      F
      Fernando Gietz
    • RE: HP EliteDesk 800 G1 TWR fails on undionly.kpxe and undionly.kkpxe

      I think that you can do it 🙂

      posted in Hardware Compatibility
      F
      Fernando Gietz
    • RE: HP EliteDesk 800 G1 TWR fails on undionly.kpxe and undionly.kkpxe

      I just to update the FOG version, and with revision 2819 works fine. Now I have other problems with the dnsmaqs and tftpserver, but works fine

      posted in Hardware Compatibility
      F
      Fernando Gietz
    • RE: HP EliteDesk 800 G1 TWR fails on undionly.kpxe and undionly.kkpxe

      I have the same problem. The kernel don’t install the network card and if you do a ifconfig in debug mode, only appears the loopback interface

      posted in Hardware Compatibility
      F
      Fernando Gietz
    • RE: Latest Development FOG

      Now works fine. But, the compression is necessary? Until now was not necessary

      posted in General
      F
      Fernando Gietz
    • 1 / 1