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

    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
    • Default profile - LDAP connection

      Hello,

      I have updated my FOG server with the latest version, everything is working properly.
      I added the LDAP plugins, access control and site, everything works correctly.
      I wanted to know if there was a possibility to set a default profile (restricted) to a new LDAP user who logs in?
      Because currently I’m waiting for his first connection to assign him a profile.

      Thanking you in advance.
      Best regards.

      posted in General Problems
      N
      Nicolas Bricet
    • One FOG server for multiple teams

      Hello,

      Within our University we would like to use a single FOG server with different storage nodes for different IT teams.
      Is it possible with a “classic” authentication or an “LDAP” to have a reduced visibility:

      • Some “computers”
      • Some “Images”

      To avoid, for example, accidental deletions of images.

      Does any of you use FOG in this configuration?

      Thanking you in advance.
      Cordially.

      Nicolas.

      posted in General
      N
      Nicolas Bricet
    • Release of the final version 1.3.0

      Hello,

      Can you tell me an approximate date is scheduled for release the final version 1.3.0 because we plan to migrate our server to this release.

      Thanking you in advance.
      Cordially.

      posted in General
      N
      Nicolas Bricet
    • RE: Active Directory Mac OS X

      @Joe-Schmitt OU=B215,OU=Enseignement,OU=Ordinateurs,OU=¤¤,OU=¤¤,OU=¤¤,DC=ad,DC=**,DC=fr

      posted in Mac Problems
      N
      Nicolas Bricet
    • RE: Active Directory Mac OS X

      @Joe-Schmitt Hello,

      I tested the latest version and I still have the same problem.
      The client detects well the need to integrate the computer after restart but he does not. And suddenly the computer reboots.
      This could perhaps come as the Mac has no network when it wants to integrate the restart?
      Thank you in advance.

      posted in Mac Problems
      N
      Nicolas Bricet
    • RE: Active Directory Mac OS X

      @Joe-Schmitt

      Hello,

      That makes 10 days that could not make fasting test (being on several sites).
      The solution Tom S. has not worked.
      Possibility to have the final customer without reinstalling the latest version of SVN please?.

      Thank you in advance, good day.
      Cordially.

      posted in Mac Problems
      N
      Nicolas Bricet
    • RE: Active Directory Mac OS X

      Hello,

      That still does not work, here is the file that I modified and the LOG file when it tries to integrate the computer Actire Directory.
      There always comes aps, the computer reboots again.

      Meci advance.
      Cordially.

      #!/bin/bash
      eval `/usr/libexec/path_helper -s`
      ▒~@~K
      function startDaemon() {
              /opt/fog-service/control.sh start
              tail -f /dev/null &
              wait $!
      }
      ▒~@~K
      ▒~@~K
      function killDaemon() {
              /opt/fog-service/control.sh stop
              exit 0
      }
      ▒~@~K
      trap killDaemon SIGTERM
      trap killDaemon SIGKill
      ▒~@~K
      startDaemon;
      
      ------------------------------------------------------------------------------^M
      --------------------------------HostnameChanger-------------------------------^M
      ------------------------------------------------------------------------------^M
       07/06/2016 09:52 Client-Info Client Version: 0.10.6^M
       07/06/2016 09:52 Client-Info Client OS:      Mac^M
       07/06/2016 09:52 Client-Info Server Version: 7937^M
       07/06/2016 09:52 Middleware::Response Success^M
       07/06/2016 09:52 HostnameChanger Checking Hostname^M
       07/06/2016 09:52 HostnameChanger Hostname is correct^M
       07/06/2016 09:52 Power Creating shutdown command in 60 seconds^M
       07/06/2016 09:52 Bus {
        "self": true,
        "channel": "Power",
        "data": "{\n  \"action\": \"request\",\n  \"period\": 60,\n  \"options\": 2,\n  \"command\": \"-r +0 \\\"Host joined to Active Directory, restart required\\\"\",\n  \"message\": \"This computer needs to perform maintenance.\"\n}"
      }^M
       07/06/2016 09:52 Bus Emmiting message on channel: Power^M
      ------------------------------------------------------------------------------^M
      ^M
       07/06/2016 09:52 Service Power operation being requested, checking back in 30 seconds^M
       07/06/2016 09:53 Service Power operation being requested, checking back in 30 seconds^M
       07/06/2016 09:53 Power Creating shutdown request^M
       07/06/2016 09:53 Power Parameters: -r +0 "Host joined to Active Directory, restart required"^M
       07/06/2016 09:53 Bus {
        "self": true,
        "channel": "Power",
        "data": "{\n  \"action\": \"shuttingdown\"\n}"
      }^M
       07/06/2016 09:53 Bus Emmiting message on channel: Power^M
       07/06/2016 09:53 Service Power operation being requested, checking back in 30 seconds^M
       07/06/2016 09:53 Controller Stop^M
       07/06/2016 09:53 Service Stop requested^M
       07/06/2016 09:53 Bus {
        "self": true,
        "channel": "Status",
        "data": "{\n  \"action\": \"unload\"\n}"
      }^M
       07/06/2016 09:53 Bus Emmiting message on channel: Status^M
       07/06/2016 09:55 Main Overriding exception handling^M
       07/06/2016 09:55 Main Bootstrapping Zazzles^M
       07/06/2016 09:55 Controller Initialize^M
       07/06/2016 09:55 Entry Creating obj^M
       07/06/2016 09:55 Controller Start^M
      ^M
       07/06/2016 09:55 Service Starting service^M
       07/06/2016 09:55 Bus Became bus server^M
       07/06/2016 09:55 Bus {
        "self": true,
        "channel": "Status",
        "data": "{\n  \"action\": \"load\"\n}"
      }^M
       07/06/2016 09:55 Bus Emmiting message on channel: Status^M
      ^M
      ------------------------------------------------------------------------------^M
      --------------------------------Authentication--------------------------------^M
      ------------------------------------------------------------------------------^M
       07/06/2016 09:55 Client-Info Version: 0.10.6^M
       07/06/2016 09:55 Client-Info OS:      Mac^M
       07/06/2016 09:55 Middleware::Authentication Waiting for authentication timeout to pass^M
       07/06/2016 09:55 Middleware::Communication Download: http://@IP/fog/management/other/ssl/srvpublic.crt^M
       07/06/2016 09:55 Middleware::Communication ERROR: Could not download file^M
       07/06/2016 09:55 Middleware::Communication ERROR: Error: ConnectFailure (Network is unreachable)^M
       07/06/2016 09:55 Middleware::Authentication ERROR: Could not authenticate^M
       07/06/2016 09:55 Middleware::Authentication ERROR: Could not find file "/opt/fog-service/tmp/public.cer".^M
      ^M
      ------------------------------------------------------------------------------^M
      --------------------------------Authentication--------------------------------^M
      ------------------------------------------------------------------------------^M
       07/06/2016 09:55 Client-Info Version: 0.10.6^M
       07/06/2016 09:55 Client-Info OS:      Mac^M
       07/06/2016 09:55 Middleware::Authentication Waiting for authentication timeout to pass^M
       07/06/2016 09:56 Controller Stop^M
       07/06/2016 09:56 Service Stop requested^M
       07/06/2016 09:56 Middleware::Authentication ERROR: Could not authenticate^M
       07/06/2016 09:56 Middleware::Authentication ERROR: ^M
       07/06/2016 09:56 Bus {
        "self": true,
        "channel": "Status",
        "data": "{\n  \"action\": \"unload\"\n}"
      
      
      posted in Mac Problems
      N
      Nicolas Bricet
    • RE: Active Directory Mac OS X

      @Joe-Schmitt
      Hello,

      So it was not until the next version of the client, I can not do anything in the meantime?

      Have a good day.
      Cordially.

      posted in Mac Problems
      N
      Nicolas Bricet
    • RE: Active Directory Mac OS X

      Hello,

      Nothing on a single iMac with version “El captain” in order to make a master to deploy it in a room of 15 computers.
      I have the same worries as Yosemite, it detects that the computer must integrate the area but after restarting it does not and it integrates done this repeatedly.

      Thank you for your help, good day.

      posted in Mac Problems
      N
      Nicolas Bricet
    • RE: Active Directory Mac OS X

      @Joe-Schmitt
      Hello

      We can work around the problem without waiting for the client update?
      I just tested with version “El Capitan” I have the same worries.

      Thank you for your help.
      Have a good day.

      posted in Mac Problems
      N
      Nicolas Bricet
    • 1 / 1