Image task not going through
-
@tom-elliott ooookay so what I did was hit N for no, then changed .fogsettings to enp5s0
re ran installer, now went to
http://192.168.26.110/fog/management
to update databasenothing there, so came back to terminal and keep hitting enter but nothing is happening. Itās hanging right there.
-
@jackiejack Click in the terminal, then press enter.
When you see the button right Rectangle thatās not all black, it means the window is currently not focused, at least not directly.
-
@tom-elliott sir itās black, that screenshot not focused. Hit enter how many times no work
-
@jackiejack What changed between when you ran it before to now? It seems maybe you could close the terminal, and open a new one? Then try? Iām only guessing. Nothing from fogās installer perspective has changed.
-
@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?