• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. infotc
    I
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 14
    • Best 4
    • Controversial 0
    • Groups 0

    infotc

    @infotc

    5
    Reputation
    409
    Profile views
    14
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    infotc Unfollow Follow

    Best posts made by infotc

    • RE: problem with ./installfog (no repository)

      in /etc/environment, i marked
      http_proxy=“http://xxx:3128”
      https_proxy=“https://xxx:3128”
      ftp_proxy=“ftp://xxx:3128”
      np_proxy=“localhost,127.0.0.1,@IPfog”

      and ./installfog.sh works

      thanks a lot !

      posted in Linux Problems
      I
      infotc
    • RE: unable to install CA certificate

      I found what caused the error even if i can’t explain it.
      In my network, we have two dns suffix : The first gave by the domain, the second gave by the dhcp server (different, because it point at an outside kms server).
      My computers weren’t part of the domain, so they had only the second dns suffix.
      In the smart installer, even if i type the FQDN name of the fog server, it failed.
      BUT, if i type the main dns suffix (my domain) in the computer properties,
      and after in the smart installer i type the short name of the fog server, IT WORKS !
      Sorry for my bad english language and for the disturbance

      posted in FOG Problems
      I
      infotc
    • RE: installing package : php-mysqlnd failed

      Hi,
      sorry for my late response, i was very busy at work.
      Thanks for your commentaries.
      So here what i’ve got with dpkg -l | grep php
      fog-php.png
      in fossettings, there was no php-mysqlnd, but php_ver was on 7.4
      I change to 8.2, but no change, the same error again.

      I try install manually php-mysql, it works, but same error again when i run installfog.sh

      I finally found in /lib/common/functions.sh a line (line 829)

      hp-mysql*)
      for phpmysql in $(echo php-mysqlnd php-mysql); do
      eval $packagelist “$phpmysql” >>$error_log 2>&1
      if [[ $? -eq 0 ]]; then

      I changed it to
      hp-mysql*)
      for phpmysql in $(echo php-mysql); do
      eval $packagelist “$phpmysql” >>$error_log 2>&1
      if [[ $? -eq 0 ]]; then

      and installfog.sh went to the end without error.
      I have access now to the GUI.

      Have a nice day,
      Stéphane

      posted in Linux Problems
      I
      infotc
    • installing package : php-mysqlnd failed

      Hello everyone,
      i’ve juste upgraded my ubuntu from 20.04 LTS to 22.04 TS, and i’ve got this error when i run ./installfog.sh (I am with 1.5.10 version of fog)

      537a8595-07b7-473c-840c-bea8eb781595-image.png

      the version of php :
      befd80ce-ad39-4154-b524-da609092bf8c-image.png

      how can i make it work ?
      Thanks,
      Stéphane

      posted in Linux Problems
      I
      infotc

    Latest posts made by infotc

    • RE: upgrade Debian 11 to 12

      Hi, you can see here for my attempt :
      https://forums.fogproject.org/topic/17083/installing-package-php-mysqlnd-failed/6?_=1701334310863&lang=fr

      posted in General
      I
      infotc
    • RE: installing package : php-mysqlnd failed

      Hi,
      sorry for my late response, i was very busy at work.
      Thanks for your commentaries.
      So here what i’ve got with dpkg -l | grep php
      fog-php.png
      in fossettings, there was no php-mysqlnd, but php_ver was on 7.4
      I change to 8.2, but no change, the same error again.

      I try install manually php-mysql, it works, but same error again when i run installfog.sh

      I finally found in /lib/common/functions.sh a line (line 829)

      hp-mysql*)
      for phpmysql in $(echo php-mysqlnd php-mysql); do
      eval $packagelist “$phpmysql” >>$error_log 2>&1
      if [[ $? -eq 0 ]]; then

      I changed it to
      hp-mysql*)
      for phpmysql in $(echo php-mysql); do
      eval $packagelist “$phpmysql” >>$error_log 2>&1
      if [[ $? -eq 0 ]]; then

      and installfog.sh went to the end without error.
      I have access now to the GUI.

      Have a nice day,
      Stéphane

      posted in Linux Problems
      I
      infotc
    • installing package : php-mysqlnd failed

      Hello everyone,
      i’ve juste upgraded my ubuntu from 20.04 LTS to 22.04 TS, and i’ve got this error when i run ./installfog.sh (I am with 1.5.10 version of fog)

      537a8595-07b7-473c-840c-bea8eb781595-image.png

      the version of php :
      befd80ce-ad39-4154-b524-da609092bf8c-image.png

      how can i make it work ?
      Thanks,
      Stéphane

      posted in Linux Problems
      I
      infotc
    • RE: power management and local hour

      So obvious when you see it !
      Thanks all for your responses.
      Have a nice day

      posted in FOG Problems
      I
      infotc
    • RE: power management and local hour

      thanks for your response.
      Here are the results
      0_1523613727785_e9ef1d6f-f979-4b97-928e-9e907382b1fd-image.png

      the time zone is correct.
      I tried to modify the file /etc/php/7.1/apache2.php.ini
      to set the date.timezone = Europe/Paris
      and after that restart the service apache
      service apache2 restart

      but
      0_1523613950861_4bd72c16-a176-4832-be7b-27ca33c9e955-image.png

      maybe i modified the wrong configuration file ?

      posted in FOG Problems
      I
      infotc
    • power management and local hour

      Hi,
      i scheduled a shutdown on a PC at 19h30 everyday.
      It works fine at this time.
      i scheduled a wakeonlan on the same PC at 9h everyday.
      It works but two hours later, at 11h.
      I live in france where the time is UTC+2
      The command date give me the correct time. version of fog : 1.5.2 on ubuntu 16.04.4 LTS

      any clue ?

      posted in FOG Problems
      I
      infotc
    • RE: unable to install CA certificate

      I found what caused the error even if i can’t explain it.
      In my network, we have two dns suffix : The first gave by the domain, the second gave by the dhcp server (different, because it point at an outside kms server).
      My computers weren’t part of the domain, so they had only the second dns suffix.
      In the smart installer, even if i type the FQDN name of the fog server, it failed.
      BUT, if i type the main dns suffix (my domain) in the computer properties,
      and after in the smart installer i type the short name of the fog server, IT WORKS !
      Sorry for my bad english language and for the disturbance

      posted in FOG Problems
      I
      infotc
    • RE: unable to install CA certificate

      like the smart installer failed, it said that “fog service setup wizard ended prematuraly because of an error.your system has not been modified.”
      the folder FOG is not present, so no logs to send, sorry.

      posted in FOG Problems
      I
      infotc
    • RE: unable to install CA certificate

      sorry for the mistake. I thought the first part of the log was the failure log of the computer before it succeed.
      When the smart installer failed, there is no log to look at, except in the event viewer (i hope it can help) :
      Nom du journal :Application
      Source : MsiInstaller
      Date : 31/05/2017 08:46:46
      ID de l’événement :1013
      Catégorie de la tâche :Aucun
      Niveau : Erreur
      Mots clés : Classique
      Utilisateur : TEST-9L3C8U8BQM\technicien
      Ordinateur : TEST-9L3C8U8BQM
      Description :
      Product: FOG Service – Unable to install CA certificate
      XML de l’événement :
      <Event xmlns=“http://schemas.microsoft.com/win/2004/08/events/event”>
      <System>
      <Provider Name=“MsiInstaller” />
      <EventID Qualifiers=“0”>1013</EventID>
      <Level>2</Level>
      <Task>0</Task>
      <Keywords>0x80000000000000</Keywords>
      <TimeCreated SystemTime=“2017-05-31T06:46:46.000000000Z” />
      <EventRecordID>2331</EventRecordID>
      <Channel>Application</Channel>
      <Computer>TEST-9L3C8U8BQM</Computer>
      <Security UserID=“S-1-5-21-1187659382-2467208848-1537523985-1002” />
      </System>
      <EventData>
      <Data>Product: FOG Service – Unable to install CA certificate</Data>
      <Data>(NULL)</Data>
      <Data>(NULL)</Data>
      <Data>(NULL)</Data>
      <Data>(NULL)</Data>
      <Data>(NULL)</Data>
      <Data>
      </Data>
      <Binary>7B32443435393535362D464542362D344532392D383342382D3744354146364546463837317D</Binary>
      </EventData>
      </Event>

      posted in FOG Problems
      I
      infotc
    • RE: unable to install CA certificate

      Hi again,
      i try to recreate the certificate
      ./installfog.sh --recreate-CA --recreate-keys
      no errors encountered.
      I download the new smart-installer and launched it : same error (unable to install CA certificate)
      I change the time on my fog server with timedatectl to have the same as my computer clients and relaunched smarte installer : same error.
      I found on the computer where i could finally install the client the fog log :


      --------------------------------Authentication--------------------------------

      30/05/2017 16:26 Client-Info Version: 0.11.12
      30/05/2017 16:26 Client-Info OS: Windows
      30/05/2017 16:26 Middleware::Authentication Waiting for authentication timeout to pass
      30/05/2017 16:28 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt
      30/05/2017 16:28 Data::RSA FOG Server CA cert found
      30/05/2017 16:28 Middleware::Authentication Cert OK
      30/05/2017 16:28 Middleware::Authentication ERROR: Could not get security token
      30/05/2017 16:28 Middleware::Authentication ERROR: Could not find file ‘C:\Program Files (x86)\FOG\token.dat’.
      30/05/2017 16:28 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService
      30/05/2017 16:28 Middleware::Response Invalid host
      30/05/2017 16:28 Middleware::Communication URL: http://fogserver/fog/service/register.php?hostname=tc205-infotc&mac=64:00:6A:20:FA:81||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json


      --------------------------------Authentication--------------------------------

      30/05/2017 16:28 Client-Info Version: 0.11.12
      30/05/2017 16:28 Client-Info OS: Windows
      30/05/2017 16:28 Middleware::Authentication Waiting for authentication timeout to pass
      30/05/2017 16:30 Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt
      30/05/2017 16:30 Data::RSA FOG Server CA cert found
      30/05/2017 16:30 Middleware::Authentication Cert OK
      30/05/2017 16:30 Middleware::Authentication ERROR: Could not get security token
      30/05/2017 16:30 Middleware::Authentication ERROR: Could not find file ‘C:\Program Files (x86)\FOG\token.dat’.
      30/05/2017 16:30 Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService
      30/05/2017 16:30 Middleware::Response Success
      30/05/2017 16:30 Middleware::Authentication Authenticated

      30/05/2017 16:30 Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&configure&newService&json
      30/05/2017 16:30 Middleware::Response Success
      30/05/2017 16:30 Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&mac=64:00:6A:20:FA:81||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
      30/05/2017 16:30 Middleware::Response Success
      30/05/2017 16:30 Middleware::Communication URL: http://fogserver/fog/service/getversion.php?clientver&newService&json
      30/05/2017 16:30 Middleware::Communication URL: http://fogserver/fog/service/getversion.php?newService&json

      30/05/2017 16:30 Service Creating user agent cache
      30/05/2017 16:30 Middleware::Response Invalid time
      30/05/2017 16:30 Middleware::Response No Printers
      30/05/2017 16:30 Middleware::Response Module is disabled globally on the FOG server
      30/05/2017 16:30 Service Initializing modules

      posted in FOG Problems
      I
      infotc