Image task not going through
-
@tom-elliott yes it worked. Running next clone fresh win 10 no smart installer
Thank you for your patience.
-
Have a single disk but no mulitple partitions
Choose multiple partition single disk not resizable? -
Same error could not complete tasking /bin/fog.upload
-
I set up my centos server like this donât know if it will cause error
-
@JackieJack I am sorry but what you tell is mostly very short and therefore unclear or possibly misleading.
Have a single disk but no mulitple partitions
Choose multiple partition single disk not resizable?and
yes it worked. Running next clone fresh win 10 no smart installer
This is a great example. What the he** do you mean by that? Iâd really like to help you and I am sure others would say the same but how on earth should we know what you mean if donât use more words to explain.
I really donât mean to offend. Hope you donât mind.
-
@sebastian-roth The nerve of yourâŠ
Okay, when creating the image definition, I choose âmultiple partition single disk not resizableâ, even though I have a single disk single partition. I did not choose single partition option as that has resizable in it. I am of the understanding that resizable is a no no. It is not as safe a bet as non resizable.I was asking for confirmation if I can choose multiple partition, in image def, even though I donât have multiple partitions.
The âyes it workedâ was Tomâs advice to continue my ./installfog.sh. When I changed the password to something simple in .fogsettings, and changed it everywhere else - fog account, storage managment node - I reran ./installfog.sh to ârealign the remaining bitsâ as george put it. When it asked to update database schema, and hit enter, the enter button stopped working so to speak. It was not registering. So, I opened a new terminal (as Tom suggested) and ran ./installfog.sh and this time the everything went through. Hit enter button at mysql update.
But, still getting the same
could not complete tasking /bin/fog.uploadAs a matter of fact, Iâm thinking about installing fog tomorrow in the lab - on ubuntu
-
Iâm thinking, should I put a password for mysql? It does say reattempting to update database - on the host screen just after cloning is done
-
@JackieJack Thanks for the detailed information. Things start to make sense again. Donât have enough time for a full answer right now. So this is just a quick one for now, more later.
The update database retry sounds like a mysql password/login issue. Search for our mysql troubleshoting article in the wiki and for âubuntu enemyâ in the forum. That should help you fix that issue.
Sure a clearer install will always help but learning how to debug, find and fix issues is worth the time spendâŠ
-
The message is failing to update the database because of the error itâs showing (Undefined index), though it seems more related to the update itself. Can you please provide the apache error logs in regards to the now âundefinedâ index youâre seeing? It may help us pinpoint exactly where the issue is. This, also, with the apache access logs so we know exactly what url is being called. The fact that the error is showing for fogcontroller.class.php is semi-irrelevant as all base classes route through the fogcontroller class.
Debian/Ubuntu based typically.
/var/log/apache2/error.log
/var/log/apache2/access.logRedhat/CentOS/Scientific Linux/Fedora based typically.
/var/log/httpd/error_log
/var/log/httpd/access_log -
error_log
[Mon Oct 09 03:39:02.212521 2017] [auth_digest:notice] [pid 1053] AH01757: generating secret for digest authentication ... [Mon Oct 09 03:39:02.214398 2017] [lbmethod_heartbeat:notice] [pid 1053] AH02282: No slotmem from mod_heartmonitor [Mon Oct 09 03:39:02.234365 2017] [mpm_prefork:notice] [pid 1053] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.31 configured -- resuming normal operations [Mon Oct 09 03:39:02.234388 2017] [core:notice] [pid 1053] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Mon Oct 09 14:35:22.319336 2017] [mpm_prefork:notice] [pid 1053] AH00170: caught SIGWINCH, shutting down gracefully [Mon Oct 09 14:36:00.055213 2017] [core:notice] [pid 15512] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0 [Mon Oct 09 14:36:00.079821 2017] [suexec:notice] [pid 15512] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message [Mon Oct 09 14:36:00.111986 2017] [auth_digest:notice] [pid 15512] AH01757: generating secret for digest authentication ... [Mon Oct 09 14:36:00.113088 2017] [lbmethod_heartbeat:notice] [pid 15512] AH02282: No slotmem from mod_heartmonitor [Mon Oct 09 14:36:00.203123 2017] [mpm_prefork:notice] [pid 15512] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.31 configured -- resuming normal operations [Mon Oct 09 14:36:00.203165 2017] [core:notice] [pid 15512] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Mon Oct 09 14:36:03.049255 2017] [:error] [pid 15523] [client 192.168.26.110:55074] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/html/fog/lib/db/mysqldump.class.php on line 383 [Mon Oct 09 14:36:03.382837 2017] [:error] [pid 15523] [client 192.168.26.110:55074] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/html/fog/lib/db/mysqldump.class.php on line 400 [Tue Oct 10 08:31:50.686251 2017] [mpm_prefork:notice] [pid 15512] AH00170: caught SIGWINCH, shutting down gracefully [Tue Oct 10 08:34:11.889774 2017] [core:notice] [pid 1065] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0 [Tue Oct 10 08:34:12.073760 2017] [suexec:notice] [pid 1065] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message [Tue Oct 10 08:34:12.302735 2017] [auth_digest:notice] [pid 1065] AH01757: generating secret for digest authentication ... [Tue Oct 10 08:34:12.367919 2017] [lbmethod_heartbeat:notice] [pid 1065] AH02282: No slotmem from mod_heartmonitor [Tue Oct 10 08:34:12.752934 2017] [mpm_prefork:notice] [pid 1065] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.31 configured -- resuming normal operations [Tue Oct 10 08:34:12.752970 2017] [core:notice] [pid 1065] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Wed Oct 11 11:40:12.402988 2017] [mpm_prefork:notice] [pid 1065] AH00170: caught SIGWINCH, shutting down gracefully [Wed Oct 11 11:40:50.916154 2017] [core:notice] [pid 16724] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0 [Wed Oct 11 11:40:50.917225 2017] [suexec:notice] [pid 16724] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message [Wed Oct 11 11:40:50.960516 2017] [auth_digest:notice] [pid 16724] AH01757: generating secret for digest authentication ... [Wed Oct 11 11:40:50.961611 2017] [lbmethod_heartbeat:notice] [pid 16724] AH02282: No slotmem from mod_heartmonitor [Wed Oct 11 11:40:51.038445 2017] [mpm_prefork:notice] [pid 16724] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.31 configured -- resuming normal operations [Wed Oct 11 11:40:51.038491 2017] [core:notice] [pid 16724] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Wed Oct 11 11:40:53.266595 2017] [:error] [pid 16734] [client 192.168.26.110:35400] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/html/fog/lib/db/mysqldump.class.php on line 383 [Wed Oct 11 11:40:53.509374 2017] [:error] [pid 16734] [client 192.168.26.110:35400] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/html/fog/lib/db/mysqldump.class.php on line 400 [Wed Oct 11 11:56:59.121983 2017] [:error] [pid 16736] [client 192.168.26.110:43250] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 443, referer: http://192.168.26.110/fog/management/ [Wed Oct 11 11:56:59.181226 2017] [:error] [pid 17542] [client 192.168.26.110:43258] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 443, referer: http://192.168.26.110/fog/management/index.php?node=home [Wed Oct 11 11:57:00.126613 2017] [:error] [pid 16738] [client 192.168.26.110:43262] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 443, referer: http://192.168.26.110/fog/management/ [Wed Oct 11 11:57:00.178991 2017] [:error] [pid 16737] [client 192.168.26.110:43266] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 443, referer: http://192.168.26.110/fog/management/index.php?node=home [Wed Oct 11 11:57:01.123175 2017] [:error] [pid 16997] [client 192.168.26.110:43270] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 443, referer: http://192.168.26.110/fog/management/ [Wed Oct 11 11:57:01.177458 2017] [:error] [pid 16739] [client 192.168.26.110:43274] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 443, referer: http://192.168.26.110/fog/management/index.php?node=home [Wed Oct 11 11:57:02.142876 2017] [:error] [pid 17542] [client 192.168.26.110:43278] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 443, referer: http://192.168.26.110/fog/management/ [Wed Oct 11 11:57:02.242514 2017] [:error] [pid 16738] [client 192.168.26.110:43284] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 443, referer: http://192.168.26.110/fog/management/index.php?node=home [Wed Oct 11 11:57:02.299301 2017] [:error] [pid 16737] [client 192.168.26.110:43286] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 443, referer: http://192.168.26.110/fog/management/index.php?node=home [Wed Oct 11 11:57:03.175503 2017] [:error] [pid 16997] [client 192.168.26.110:43292] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 443, referer: http://192.168.26.110/fog/management/ [Wed Oct 11 11:57:03.204724 2017] [:error] [pid 16783] [client 192.168.26.110:43298] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 443, referer: http://192.168.26.110/fog/management/index.php?node=home [Wed Oct 11 11:57:03.249975 2017] [:error] [pid 16739] [client 192.168.26.110:43294] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 443, referer: http://192.168.26.110/fog/management/ [Wed Oct 11 11:57:04.125616 2017] [:error] [pid 16818] [client 192.168.26.110:43302] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 443, referer: http://192.168.26.110/fog/management/ [Wed Oct 11 11:57:04.181898 2017] [:error] [pid 16737] [client 192.168.26.110:43306] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 443, referer: http://192.168.26.110/fog/management/index.php?node=home [Wed Oct 11 11:57:07.919202 2017] [mpm_prefork:notice] [pid 16724] AH00170: caught SIGWINCH, shutting down gracefully [Wed Oct 11 11:57:43.283162 2017] [core:notice] [pid 24318] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0 [Wed Oct 11 11:57:43.284634 2017] [suexec:notice] [pid 24318] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message [Wed Oct 11 11:57:43.319017 2017] [auth_digest:notice] [pid 24318] AH01757: generating secret for digest authentication ... [Wed Oct 11 11:57:43.321400 2017] [lbmethod_heartbeat:notice] [pid 24318] AH02282: No slotmem from mod_heartmonitor [Wed Oct 11 11:57:43.353366 2017] [mpm_prefork:notice] [pid 24318] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.31 configured -- resuming normal operations [Wed Oct 11 11:57:43.353404 2017] [core:notice] [pid 24318] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Wed Oct 11 11:57:45.461274 2017] [:error] [pid 24327] [client 192.168.26.110:43644] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/html/fog/lib/db/mysqldump.class.php on line 383 [Wed Oct 11 11:57:45.532790 2017] [:error] [pid 24327] [client 192.168.26.110:43644] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/html/fog/lib/db/mysqldump.class.php on line 400
access_log
https://yadi.sk/d/K-QmxY223NhFCu
download txt file and view it locally.
(Running on CentOS) -
On this machine, Centos, I had vsftpd installed and running already. Doesnât fog come with itâs own ftp setup? Would there be some conflict?
-
I dunno but when creating capture task I uncheck wake on lan right? Because I use FOS USB.
-
@jackiejack Wake on lan is only going to send packets to the registered nicâs MAC Address. It wonât have any impact on the ability to complete a tasking.
There seems to be some disconnect, though I donât know what.
Is your Storage Node master something other than the FOG Server?
-
@tom-elliott I donât understand.
I click on Storage Management | Default Member
What to look for there? -
@jackiejack Did you disable selinux, or more properly set it to permissive?
I ask because:
[Mon Oct 09 14:36:00.055213 2017] [core:notice] [pid 15512] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
Right from the Apache error log.
-
@tom-elliott You know that exact same thing ran across my mind. I have no idea how to play with SELinux. What to do?
-
@jackiejack Try this please:
Then try your capture. If it all works let me know and Iâll walk you through how to get it to maintain operational even on reboots.
From a terminal as root:
setenfoce 0
-
To make it permissive all the time:
https://wiki.fogproject.org/wiki/index.php?title=Fedora_25_Server#Continue_pre-configParticularly the two lines dealing with SELinux.
-
@tom-elliott
It works perfectly nowProblem: image task not going to completion, getting error
could not complete tasking /bin/fog.upload
on hostSolution: configure password - fog user account, tftp in fog settings and storage node - to match that in .fogsettings file
https://forums.fogproject.org/topic/10892/could-not-complete-tasking-bin-fog-upload/2
AND configure SELinux policy (CentOS/Red Hat)
To make it permissive all the time:
https://wiki.fogproject.org/wiki/index.php?title=Fedora_25_Server#Continue_pre-config
Particularly the two lines dealing with SELinux.