I have this problem only with recent Dell hardware.
May be I can change au bios paramete, but which one ?
Arnaud
I have this problem only with recent Dell hardware.
May be I can change au bios paramete, but which one ?
Arnaud
May be I am not clear.
All my compututer are boot first on pxe controlled by FOG.
But I have no problem with computer that are running Linux and Windows10 =< 1709.
But for computer that are running Windows 10 1803, available for 2 weeks, boot chainon between pxe and harddrive doesn’t work.
To start this machine I have to disable PXE.in bios or escape oduring PXE loading.
I use fog 1.4.4 on centos 6.8.
I use non-resizable image but the problem seem to be on boot chaining between ipxe and windows.
Hello,
I’m testing deploiment of 1803 version of windows 10.
And, on my Dell optiplex 7440 et 9030, who worked perflectly with 1607 and 1709 version of windows 10, I have now a blink cursor on reboot.
I don’t have this problem exiting PXE.
I don’t have this problem on a qemu VM.
Arnaud
Thank you George, it works.
I have just add the line “SetHandler application/x-httpd-php”
@wayne-workman
For the test /var/www/html/fog/phpinfo.php I set apache.apache and 775.
It did not work better
Yes only one fog server on this computer (libvirt virtual machine)
@george1421
That seems to be working :
netstat -natp |grep 9000
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 4837/php-fpm ```
@george1421 said in Problem during upgrade from 1.5.0 to 1.5.2:
/etc/httpd/conf.d/fog.conf
I restored my server, I have just updated fog, not centos. and I get the same problem.
Here is what you requested
[root@fogus bin]# cat /etc/httpd/conf.d/fog.conf
<VirtualHost *:80>
<FilesMatch "\.php$">
SetHandler "proxy:fcgi://127.0.0.1:9000/"
</FilesMatch>
KeepAlive Off
ServerName 148.60.15.217
DocumentRoot /var/www/html/
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
<Directory /var/www/html/fog/>
DirectoryIndex index.php index.html index.htm
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-d
RewriteRule ^/(.*)$ /fog/api/index.php [QSA,L]
</Directory>
</VirtualHost>
Before update fog , I have updated centos (just yum update) , it has updated many packages:
Apr 13 11:54:49 Updated: php-common-5.6.35-1.el6.remi.x86_64
Apr 13 11:54:49 Updated: php-mbstring-5.6.35-1.el6.remi.x86_64
Apr 13 11:54:49 Updated: php-xml-5.6.35-1.el6.remi.x86_64
Apr 13 11:54:49 Updated: php-symfony-common-2.8.38-1.el6.remi.noarch
Apr 13 11:54:49 Updated: php-symfony-class-loader-2.8.38-1.el6.remi.noarch
Apr 13 11:54:49 Updated: libgcc-4.4.7-18.el6_9.2.x86_64
Apr 13 11:54:50 Updated: libstdc++-4.4.7-18.el6_9.2.x86_64
Apr 13 11:54:50 Updated: php-cli-5.6.35-1.el6.remi.x86_64
Apr 13 11:54:50 Updated: php-process-5.6.35-1.el6.remi.x86_64
Apr 13 11:54:50 Updated: libsss_idmap-1.13.3-58.el6_9.x86_64
Apr 13 11:54:50 Installed: php-PsrLog-1.0.2-2.el6.remi.noarch
Apr 13 11:54:50 Installed: php-symfony-process-2.8.38-1.el6.remi.noarch
Apr 13 11:54:50 Updated: php-symfony-expression-language-2.8.38-1.el6.remi.noarch
Apr 13 11:54:50 Updated: php-pdo-5.6.35-1.el6.remi.x86_64
Apr 13 11:54:51 Updated: php-phpmyadmin-motranslator-4.0-1.el6.remi.noarch
Apr 13 11:54:51 Installed: php-symfony-filesystem-2.8.38-1.el6.remi.noarch
Apr 13 11:54:51 Installed: php-symfony-finder-2.8.38-1.el6.remi.noarch
Apr 13 11:54:51 Installed: php-symfony-yaml-2.8.38-1.el6.remi.noarch
Apr 13 11:54:51 Installed: php-symfony-config-2.8.38-1.el6.remi.noarch
Apr 13 11:54:51 Installed: php-symfony-dependency-injection-2.8.38-1.el6.remi.noarch
Apr 13 11:54:51 Installed: php-twig-1.35.3-1.el6.remi.5.6.x86_64
Apr 13 11:54:51 Updated: php-bcmath-5.6.35-1.el6.remi.x86_64
Apr 13 11:54:51 Updated: libipa_hbac-1.13.3-58.el6_9.x86_64
Apr 13 11:54:51 Updated: 12:dhcp-common-4.1.1-53.P1.el6.centos.3.x86_64
Apr 13 11:54:52 Updated: php-phpmyadmin-sql-parser-4.2.4-3.el6.remi.noarch
Apr 13 11:54:52 Updated: php-mysqlnd-5.6.35-1.el6.remi.x86_64
Apr 13 11:54:52 Installed: php-symfony-debug-2.8.38-1.el6.remi.noarch
Apr 13 11:54:52 Installed: php-jsonlint-1.7.1-1.el6.remi.noarch
Apr 13 11:54:52 Installed: php-justinrainbow-json-schema5-5.2.7-1.el6.remi.noarch
Apr 13 11:54:53 Updated: libstdc++-devel-4.4.7-18.el6_9.2.x86_64
Apr 13 11:54:54 Installed: libicu-last-50.1.2-11.el6.remi.x86_64
Apr 13 11:54:54 Installed: php-intl-5.6.35-1.el6.remi.x86_64
Apr 13 11:54:54 Installed: php-symfony-css-selector-2.8.38-1.el6.remi.noarch
Apr 13 11:54:54 Installed: php-symfony-dom-crawler-2.8.38-1.el6.remi.noarch
Apr 13 11:54:54 Installed: php-symfony-browser-kit-2.8.38-1.el6.remi.noarch
Apr 13 11:54:54 Installed: php-password-compat-1.0.4-1.el6.remi.noarch
Apr 13 11:54:54 Installed: php-composer-semver-1.4.2-2.el6.remi.noarch
Apr 13 11:54:54 Installed: php-seld-cli-prompt-1.0.3-1.el6.remi.noarch
Apr 13 11:54:54 Installed: php-paragonie-random-compat-2.0.11-1.el6.remi.noarch
Apr 13 11:54:54 Installed: php-symfony-polyfill-1.7.0-2.el6.remi.noarch
Apr 13 11:54:54 Installed: php-symfony-http-foundation-2.8.38-1.el6.remi.noarch
Apr 13 11:54:54 Installed: php-composer-ca-bundle-1.1.1-1.el6.remi.noarch
Apr 13 11:54:54 Updated: php-tidy-5.6.35-1.el6.remi.x86_64
Apr 13 11:54:54 Updated: php-gmp-5.6.35-1.el6.remi.x86_64
Apr 13 11:54:54 Updated: php-phpseclib-2.0.10-2.el6.noarch
Apr 13 11:54:54 Installed: php-seld-phar-utils-1.0.1-2.el6.remi.noarch
Apr 13 11:54:54 Installed: php-composer-spdx-licenses-1.3.0-1.el6.remi.noarch
Apr 13 11:54:54 Updated: php-recode-5.6.35-1.el6.remi.x86_64
Apr 13 11:54:54 Installed: php-psr-container-1.0.0-1.el6.remi.noarch
Apr 13 11:54:54 Updated: gd-last-2.2.5-2.el6.remi.x86_64
Apr 13 11:54:54 Updated: php-gd-5.6.35-1.el6.remi.x86_64
Apr 13 11:54:55 Updated: php-tcpdf-6.2.17-1.el6.remi.noarch
Apr 13 11:54:55 Installed: php-symfony-var-dumper-2.8.38-1.el6.remi.noarch
Apr 13 11:54:55 Installed: php-symfony-console-2.8.38-1.el6.remi.noarch
Apr 13 11:54:55 Installed: php-symfony-event-dispatcher-2.8.38-1.el6.remi.noarch
Apr 13 11:54:55 Installed: php-symfony-http-kernel-2.8.38-1.el6.remi.noarch
Apr 13 11:54:55 Installed: composer-1.6.3-3.el6.remi.noarch
Apr 13 11:54:55 Installed: php-symfony3-common-3.4.8-1.el6.remi.noarch
Apr 13 11:54:55 Installed: php-symfony3-translation-3.4.8-1.el6.remi.noarch
Apr 13 11:54:55 Installed: php-twig-extensions-1.5.1-1.el6.remi.noarch
Apr 13 11:54:56 Updated: sssd-client-1.13.3-58.el6_9.x86_64
Apr 13 11:54:56 Updated: sssd-common-1.13.3-58.el6_9.x86_64
Apr 13 11:54:56 Updated: sssd-krb5-common-1.13.3-58.el6_9.x86_64
Apr 13 11:54:56 Updated: sssd-common-pac-1.13.3-58.el6_9.x86_64
Apr 13 11:54:56 Updated: sssd-ipa-1.13.3-58.el6_9.x86_64
Apr 13 11:54:56 Updated: sssd-ad-1.13.3-58.el6_9.x86_64
Apr 13 11:54:56 Updated: sssd-krb5-1.13.3-58.el6_9.x86_64
Apr 13 11:54:56 Updated: sssd-ldap-1.13.3-58.el6_9.x86_64
Apr 13 11:54:56 Updated: sssd-proxy-1.13.3-58.el6_9.x86_64
Apr 13 11:55:00 Updated: kernel-firmware-2.6.32-696.23.1.el6.noarch
Apr 13 11:55:06 Installed: kernel-2.6.32-696.23.1.el6.x86_64
Apr 13 11:55:06 Updated: libgomp-4.4.7-18.el6_9.2.x86_64
Apr 13 11:55:06 Updated: python-sssdconfig-1.13.3-58.el6_9.noarch
Apr 13 11:55:07 Updated: cpp-4.4.7-18.el6_9.2.x86_64
Apr 13 11:55:08 Updated: gcc-4.4.7-18.el6_9.2.x86_64
Apr 13 11:55:09 Updated: libgfortran-4.4.7-18.el6_9.2.x86_64
Apr 13 11:55:10 Updated: gcc-gfortran-4.4.7-18.el6_9.2.x86_64
Apr 13 11:55:10 Updated: gcc-c++-4.4.7-18.el6_9.2.x86_64
Apr 13 11:55:10 Updated: sssd-1.13.3-58.el6_9.x86_64
Apr 13 11:55:11 Updated: 2:irqbalance-1.0.7-8.el6_9.1.x86_64
Apr 13 11:55:13 Updated: phpMyAdmin-4.8.0-2.el6.remi.noarch
Apr 13 11:55:13 Updated: php-tcpdf-dejavu-sans-fonts-6.2.17-1.el6.remi.noarch
Apr 13 11:55:13 Updated: 12:dhcp-4.1.1-53.P1.el6.centos.3.x86_64
Apr 13 11:55:13 Updated: 12:dhclient-4.1.1-53.P1.el6.centos.3.x86_64
Apr 13 11:55:13 Updated: python-libipa_hbac-1.13.3-58.el6_9.x86_64
Apr 13 11:55:14 Updated: php-5.6.35-1.el6.remi.x86_64
Apr 13 11:55:23 Updated: firefox-52.7.2-1.el6.centos.x86_64
Apr 13 11:55:26 Updated: libgcj-4.4.7-18.el6_9.2.x86_64
Apr 13 11:55:26 Updated: php-ldap-5.6.35-1.el6.remi.x86_64
Apr 13 11:55:27 Updated: php-fpm-5.6.35-1.el6.remi.x86_64
Apr 13 11:55:27 Updated: php-mcrypt-5.6.35-1.el6.remi.x86_64
Apr 13 11:55:28 Updated: kernel-headers-2.6.32-696.23.1.el6.x86_64
Apr 13 11:55:28 Updated: python-sss-murmur-1.13.3-58.el6_9.x86_64
Apr 13 11:55:28 Updated: 1:libvorbis-1.2.3-5.el6_9.1.x86_64
Apr 13 11:55:28 Updated: libzip5-1.5.1-1.el6.remi.x86_64
Apr 13 11:55:36 Installed: kernel-devel-2.6.32-696.23.1.el6.x86_64
Apr 13 11:55:36 Updated: tzdata-java-2018d-1.el6.noarch
Apr 13 11:55:37 Updated: tzdata-2018d-1.el6.noarch
I have also no error neigther in apache log nor in php-fpm log.
@george1421 said in Problem during upgrade from 1.5.0 to 1.5.2:
sudo ps aux|grep php-fpm
My server is running on centos 6.9
[root@fogus ~]# sudo php -v
PHP 5.6.35 (cli) (built: Mar 29 2018 07:37:47)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
[root@fogus ~]# sudo ps aux|grep php-fpm
root 8254 0.0 0.1 383720 6976 ? Ss 12:04 0:00 php-fpm: master process (/etc/php-fpm.conf)
apache 8255 0.0 0.1 395964 6948 ? S 12:04 0:00 php-fpm: pool www
apache 8256 0.0 0.1 395964 6948 ? S 12:04 0:00 php-fpm: pool www
apache 8257 0.0 0.1 395964 6948 ? S 12:04 0:00 php-fpm: pool www
apache 8258 0.0 0.1 395964 6952 ? S 12:04 0:00 php-fpm: pool www
apache 8259 0.0 0.1 395964 6952 ? S 12:04 0:00 php-fpm: pool www
root 8586 0.0 0.0 103348 860 pts/1 S+ 13:52 0:00 grep php-fpm
Hello
On my test server, I have a problem on upgrade.
While I Ihave:
You still need to install/update your database schema.
* This can be done by opening a web browser and going to:
http://fogus/fog/management
* Press [Enter] key when database is updated/installed.
I get this page on my web browser:
* @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @link https://fogproject.org */ /** * The main index presenter * * @category Index_Page * @package FOGProject * @author Tom Elliott * @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @link https://fogproject.org */ require '../commons/base.inc.php'; $FOGPageManager = FOGCore::getClass('FOGPageManager'); if (session_status() != PHP_SESSION_NONE) { if (isset($_SESSION['delitems']) && !in_array($sub, array('deletemulti', 'deleteconf')) ) { unset($_SESSION['delitems']); } } FOGCore::getClass('ProcessLogin')->processMainLogin(); require '../commons/text.php'; $Page = FOGCore::getClass('Page'); $nodes = array( 'schema', 'client', 'ipxe' ); if (!in_array($node, $nodes) && ($node == 'logout' || !$currentUser->isValid()) ) { $currentUser->logout(); $Page ->setTitle($foglang['Login']) ->setSecTitle($foglang['ManagementLogin']) ->startBody(); FOGCore::getClass('ProcessLogin') ->mainLoginForm(); $Page ->endBody() ->render(); } else { if (FOGCore::$ajax) { $FOGPageManager->render(); exit; } $Page->startBody(); $FOGPageManager->render(); //if ($FOGPageManager->getFOGPageName() !== $FOGPageManager->getFOGPageTitle()) { $Page ->setTitle($FOGPageManager->getFOGPageTitle()); //} $Page->setSecTitle($FOGPageManager->getFOGPageName()); $Page ->endBody() ->render(); }
Lebrun
Thanks Tom,
Yes it’s working with 6 minutes.
Should it work with a linux client (fedora or centos) ?
Hello,
I would like too test auto log off service but it doesn’ seem working.
here are the log of the client:
------------------------------------------------------------------------------
--------------------------------PrinterManager--------------------------------
------------------------------------------------------------------------------
12/02/2018 18:12 Client-Info Client Version: 0.11.12
12/02/2018 18:12 Client-Info Client OS: Windows
12/02/2018 18:12 Client-Info Server Version: 1.4.4
12/02/2018 18:12 Middleware::Response No Printers
------------------------------------------------------------------------------
------------------------------------------------------------------------------
--------------------------------PowerManagement-------------------------------
------------------------------------------------------------------------------
12/02/2018 18:12 Client-Info Client Version: 0.11.12
12/02/2018 18:12 Client-Info Client OS: Windows
12/02/2018 18:12 Client-Info Server Version: 1.4.4
12/02/2018 18:12 Middleware::Response Success
12/02/2018 18:12 PowerManagement Calculating tasks to unschedule
12/02/2018 18:12 PowerManagement Calculating tasks to schedule
------------------------------------------------------------------------------
------------------------------------------------------------------------------
----------------------------------UserTracker---------------------------------
------------------------------------------------------------------------------
12/02/2018 18:12 Client-Info Client Version: 0.11.12
12/02/2018 18:12 Client-Info Client OS: Windows
12/02/2018 18:12 Client-Info Server Version: 1.4.4
12/02/2018 18:12 Middleware::Response Success
------------------------------------------------------------------------------
12/02/2018 18:12 Service Sleeping for 246 seconds
12/02/2018 18:16 Middleware::Communication URL: http://toto.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&con
e&json
12/02/2018 18:16 Middleware::Response Success
12/02/2018 18:16 Middleware::Communication URL: http://toto.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&mac
1D&newService&json
12/02/2018 18:16 Middleware::Authentication Waiting for authentication timeout to pass
12/02/2018 18:16 Middleware::Communication Download: http://toto.univ-rennes1.fr/fog/management/other/ssl/srvpublic.crt
12/02/2018 18:16 Data::RSA FOG Server CA cert found
12/02/2018 18:16 Middleware::Authentication Cert OK
12/02/2018 18:16 Middleware::Communication POST URL: http://toto.univ-rennes1.fr/fog/management/index.php?sub=requestClientInf
ervice
12/02/2018 18:16 Middleware::Response Success
12/02/2018 18:16 Middleware::Authentication Authenticated
12/02/2018 18:16 Middleware::Communication URL: http://toto.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&mac
1D&newService&json
12/02/2018 18:16 Middleware::Response Success
12/02/2018 18:16 Middleware::Communication URL: http://toto.univ-rennes1.fr/fog/service/getversion.php?clientver&newService&js
12/02/2018 18:16 Middleware::Communication URL: http://toto.univ-rennes1.fr/fog/service/getversion.php?newService&json
12/02/2018 18:16 Service Creating user agent cache
12/02/2018 18:16 Middleware::Response Invalid time
12/02/2018 18:16 Middleware::Response No Printers
12/02/2018 18:16 Middleware::Response Module is disabled globally on the FOG server
------------------------------------------------------------------------------
---------------------------------ClientUpdater--------------------------------
------------------------------------------------------------------------------
12/02/2018 18:16 Client-Info Client Version: 0.11.12
12/02/2018 18:16 Client-Info Client OS: Windows
12/02/2018 18:16 Client-Info Server Version: 1.4.4
12/02/2018 18:16 Middleware::Response Success
------------------------------------------------------------------------------
------------------------------------------------------------------------------
----------------------------------TaskReboot----------------------------------
------------------------------------------------------------------------------
12/02/2018 18:16 Client-Info Client Version: 0.11.12
12/02/2018 18:16 Client-Info Client OS: Windows
12/02/2018 18:16 Client-Info Server Version: 1.4.4
12/02/2018 18:16 Middleware::Response Success
------------------------------------------------------------------------------
------------------------------------------------------------------------------
--------------------------------HostnameChanger-------------------------------
------------------------------------------------------------------------------
12/02/2018 18:16 Client-Info Client Version: 0.11.12
12/02/2018 18:16 Client-Info Client OS: Windows
12/02/2018 18:16 Client-Info Server Version: 1.4.4
12/02/2018 18:16 Middleware::Response Success
12/02/2018 18:16 HostnameChanger Checking Product Key Activation
12/02/2018 18:16 HostnameChanger Already activated with correct key
12/02/2018 18:16 HostnameChanger Checking Hostname
12/02/2018 18:16 HostnameChanger Hostname is correct
------------------------------------------------------------------------------
------------------------------------------------------------------------------
---------------------------------SnapinClient---------------------------------
------------------------------------------------------------------------------
12/02/2018 18:16 Client-Info Client Version: 0.11.12
12/02/2018 18:16 Client-Info Client OS: Windows
12/02/2018 18:16 Client-Info Server Version: 1.4.4
12/02/2018 18:16 Middleware::Response No snapins
------------------------------------------------------------------------------
------------------------------------------------------------------------------
--------------------------------PrinterManager--------------------------------
------------------------------------------------------------------------------
12/02/2018 18:16 Client-Info Client Version: 0.11.12
12/02/2018 18:16 Client-Info Client OS: Windows
12/02/2018 18:16 Client-Info Server Version: 1.4.4
12/02/2018 18:16 Middleware::Response No Printers
------------------------------------------------------------------------------
------------------------------------------------------------------------------
--------------------------------PowerManagement-------------------------------
------------------------------------------------------------------------------
12/02/2018 18:16 Client-Info Client Version: 0.11.12
12/02/2018 18:16 Client-Info Client OS: Windows
12/02/2018 18:16 Client-Info Server Version: 1.4.4
12/02/2018 18:16 Middleware::Response Success
12/02/2018 18:16 PowerManagement Calculating tasks to unschedule
12/02/2018 18:16 PowerManagement Calculating tasks to schedule
------------------------------------------------------------------------------
------------------------------------------------------------------------------
----------------------------------UserTracker---------------------------------
------------------------------------------------------------------------------
12/02/2018 18:16 Client-Info Client Version: 0.11.12
12/02/2018 18:16 Client-Info Client OS: Windows
12/02/2018 18:16 Client-Info Server Version: 1.4.4
12/02/2018 18:16 Middleware::Response Success
------------------------------------------------------------------------------
12/02/2018 18:16 Service Sleeping for 275 seconds```
Could you help me.
Would it work under linux ?
Lebrun
Yes it works, thanks,
May be examples are lacking in the documentation ?
@wayne-workman
Thanks,
I can get the scheduled tacks of the host with the id 826 by:
curl -H 'fog-api-token:ttt.....WU=' -H 'fog-user-token:ODc4Z.....YjZmNDE=' -X GET http://fogus/fog/scheduledtask -o 826task.json -d '{"hostID":[826]}'
So I get the 826task.json file containing:
{ "count": 1, "scheduledtasks": [ { "id": "86", "name": "Deploy Task", "description": "", "type": "C", "taskType": "1", "minute": "0", "hour": "1", "dayOfMonth": "*", "month": "*", "dayOfWeek": "0", "isGroupTask": "", "hostID": "826", "shutdown": "1", "other1": "", "other2": "-1", "other3": "fog", "other4": "1", "other5": "", "scheduleTime": "0", "isActive": "1", "imageID": "0" } ]
I try to delete the task with
curl -H 'fog-api-token:NWE...MWU=' -H 'fog-user-token:ODc....mNDE=' -X DELETE http://fogus/fog/scheduledtask -d '{"id":[86]}'
But the task is still present… What is my error ?