• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Nicolas Bricet
    N
    • Profile
    • Following 0
    • Followers 1
    • Topics 11
    • Posts 39
    • Best 1
    • Controversial 0
    • Groups 0

    Nicolas Bricet

    @Nicolas Bricet

    1
    Reputation
    1.2k
    Profile views
    39
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    Nicolas Bricet Unfollow Follow

    Best posts made by Nicolas Bricet

    • Problem Import Host

      Hello,
      I have a problem when I want to import computers, I have a blank page that appears (above the log)
      I am in version 1.5.9-RC2.9.

      Thanks in advance.

      [Tue Feb 13 08:45:16.577035 2024] [proxy_fcgi:error] [pid 3455648] [client **] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to a member function get() on null in /var/www/html/fog/lib/plugins/site/hooks/addsitehost.hook.php:379\nStack trace:\n#0 /var/www/html/fog/lib/fog/hookmanager.class.php(86): AddSiteHost->hostImport()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(3952): HookManager->processEvent()\n#2 /var/www/html/fog/lib/fog/fogpagemanager.class.php(220): FOGPage->importPost()\n#3 /var/www/html/fog/management/index.php(58): FOGPageManager->render()\n#4 {main}\n  thrown in /var/www/html/fog/lib/plugins/site/hooks/addsitehost.hook.php on line 379', referer: https://**//fog/management/index.php?node=host&sub=import
      
      
      posted in FOG Problems
      N
      Nicolas Bricet

    Latest posts made by Nicolas Bricet

    • PXE : switches to DOT1X and/or MAB

      Hello,

      FOG version: stable - 1.5.10

      I am making this post because we are having a problem with the PXE boot since we switched our switches to DOT1X and/or MAB.

      • With MAB alone no problem
      • With DOT1X and MAB active: the PXE boot starts with a latency of 30 seconds on Start PXE (probably the switch from DOT1X to MAB) (attached)

      1718958513372.jpg

      We get the IP address but during the second DHCP request it gives us this error:
      “No configuration methods succeeded” after the two attempts (attached)

      1718958513367.jpg

      After a few seconds we do the “dhcp” command and there we see that the network is active (surely the switch from DOT1X to MAB) (attached)

      1718958513362.jpg

      I tested the “autoboot” command, we can see that we contact the server but we did not have permission to start (attached)

      1718958513355.jpg

      How should we modify this boot sequence to for example make 5 attempts instead of 2, I suppose that the ipxe.efi file has to be redone but how? 🙂

      • With DOT1X alone, it blocks on PXE start and nothing happens (attached)

      1718958513372.jpg

      Do you use DOT1X and MAB on your switches and if so, have you found solutions?

      Thank you in advance.
      Have a nice day.

      posted in FOG Problems
      N
      Nicolas Bricet
    • Problem Import Host

      Hello,
      I have a problem when I want to import computers, I have a blank page that appears (above the log)
      I am in version 1.5.9-RC2.9.

      Thanks in advance.

      [Tue Feb 13 08:45:16.577035 2024] [proxy_fcgi:error] [pid 3455648] [client **] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to a member function get() on null in /var/www/html/fog/lib/plugins/site/hooks/addsitehost.hook.php:379\nStack trace:\n#0 /var/www/html/fog/lib/fog/hookmanager.class.php(86): AddSiteHost->hostImport()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(3952): HookManager->processEvent()\n#2 /var/www/html/fog/lib/fog/fogpagemanager.class.php(220): FOGPage->importPost()\n#3 /var/www/html/fog/management/index.php(58): FOGPageManager->render()\n#4 {main}\n  thrown in /var/www/html/fog/lib/plugins/site/hooks/addsitehost.hook.php on line 379', referer: https://**//fog/management/index.php?node=host&sub=import
      
      
      posted in FOG Problems
      N
      Nicolas Bricet
    • RE: The list all hosts tab takes a long time

      @george1421

      Hello,

      Here is in text format :

      mysql> SELECT @@GLOBAL.sql_mode global, @@SESSION.sql_mode session;
      +-----------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
      | global                                                                                                                | session                                                                                                               |
      +-----------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
      | ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION | ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION |
      +-----------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
      1 row in set (0.01 sec)
      
      

      The distribution is:
      “Ubuntu 20.04 LTS”

      Thank you !!

      posted in FOG Problems
      N
      Nicolas Bricet
    • RE: The list all hosts tab takes a long time

      @george1421

      No I have 800 hosts in the interface but we do not use the FOG client on our workstations, I may have expressed myself badly

      Nevertheless here is the screenshot :

      mysql_fog_2.PNG

      posted in FOG Problems
      N
      Nicolas Bricet
    • RE: The list all hosts tab takes a long time

      @george1421

      Here is the information requested:

      Orders :

      mysql_fog.PNG

      Normal charge :

      fog_1.PNG

      Load list of hosts :

      fog_2.PNG

      Thanks for your help
      Nicolas.

      posted in FOG Problems
      N
      Nicolas Bricet
    • RE: The list all hosts tab takes a long time

      @sebastian-roth

      I am using version 1.5.9-RC2.9.

      No storage node.

      I don’t use the “location” plugin, only:

      • accescontrol
      • ldap
      • Sites

      But its problems appear even with a “local” account without restrictions.

      Thank you.
      Have a good day.

      posted in FOG Problems
      N
      Nicolas Bricet
    • RE: The list all hosts tab takes a long time

      @sebastian-roth @vemoya

      Hello,

      Thank you for your answers.

      No we do not use the FOG client on our workstations.

      I did the sparing with the proposed commands but that does not change the latency problem to list all the hosts.

      Regarding the “Apache” log file, I have no error
      Regarding the “PHP” log file here is the log file:

      [11-Feb-2021 06:32:09] NOTICE: [pool www] child 730309 exited with code 0 after 15368.558498 seconds from start
      [11-Feb-2021 06:32:09] NOTICE: [pool www] child 767564 started
      [11-Feb-2021 06:32:34] NOTICE: [pool www] child 730292 exited with code 0 after 15403.135179 seconds from start
      [11-Feb-2021 06:32:34] NOTICE: [pool www] child 767609 started
      [11-Feb-2021 06:33:13] NOTICE: [pool www] child 730378 exited with code 0 after 15391.122887 seconds from start
      [11-Feb-2021 06:33:13] NOTICE: [pool www] child 767663 started
      [11-Feb-2021 06:33:24] NOTICE: [pool www] child 730373 exited with code 0 after 15407.435764 seconds from start
      [11-Feb-2021 06:33:24] NOTICE: [pool www] child 767684 started
      [11-Feb-2021 06:33:33] NOTICE: [pool www] child 730287 exited with code 0 after 15468.350952 seconds from start
      [11-Feb-2021 06:33:33] NOTICE: [pool www] child 767697 started
      [11-Feb-2021 06:33:35] NOTICE: [pool www] child 730417 exited with code 0 after 15396.158264 seconds from start
      [11-Feb-2021 06:33:35] NOTICE: [pool www] child 767710 started
      [11-Feb-2021 06:33:47] NOTICE: [pool www] child 730334 exited with code 0 after 15455.534759 seconds from start
      [11-Feb-2021 06:33:47] NOTICE: [pool www] child 767727 started
      [11-Feb-2021 06:33:53] NOTICE: [pool www] child 730393 exited with code 0 after 15425.242136 seconds from start
      [11-Feb-2021 06:32:09] NOTICE: [pool www] child 767564 started
      
      

      It may not have anything to do with my problem !!

      On the other hand I see a difference when I list all the hosts on Host Management and Task Management:

      • Hosts : 20 seconds
      • Task : 3 seconds

      Thank you in advance for your help.
      Have a good day.

      Nicolas.

      posted in FOG Problems
      N
      Nicolas Bricet
    • The list all hosts tab takes a long time

      Hello,

      I am contacting you because to list all the hosts it can take up to 20 seconds to display them (800 managed hosts) : Host Management ==> List all hosts

      I tried increasing the “memory limit” parameter, but it didn’t hurt.

      Do you have a lead for me?

      Thanking you.
      Best regards.

      Nicolas.

      posted in FOG Problems
      N
      Nicolas Bricet
    • Associate an image with a site

      Hello,

      I would like to know if it would be possible to associate an image with a site in order to partition for a restricted viewing during the connections of the users.
      I would like to do the same principle as the “hosts”.

      Thanks in advance.
      Have a good day.

      posted in General Problems
      N
      Nicolas Bricet
    • RE: Default profile - LDAP connection

      Hello,

      I may have misunderstood myself.
      I would like that the new LDAP accounts which connect on the interface do not see all the tabs, for example that it just displays a few icons (host, group, deployment).
      I have created restricted profiles, so I can associate the accounts with its profiles after their connection, it works well.

      But being a large organization it is not very practical to do it manually.

      Is it possible to restrict the first LDAP connections?

      Thank you for your work.
      Have a good day.

      posted in General Problems
      N
      Nicolas Bricet