FOG 33b - installation - HP Elite 8300 SFF
-
Have you tried clearing cache on firefox? You do not need to “unlock” the server terminal window every time it goes to sleep.
What do your apache error logs say? right after you try the correct login?
/var/log/apache2/error.log
-
[Mon Apr 14 15:15:31 2014] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
[Mon Apr 14 15:15:32 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.11 with Suhosin-Patch configured – resuming normal operations
[Mon Apr 14 15:15:36 2014] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
[Mon Apr 14 15:15:36 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.11 with Suhosin-Patch configured – resuming normal operations
[Mon Apr 14 15:20:19 2014] [notice] caught SIGTERM, shutting down
[Mon Apr 14 15:20:20 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.11 with Suhosin-Patch configured – resuming normal operations
[Mon Apr 14 16:47:56 2014] [notice] caught SIGTERM, shutting down
[Mon Apr 14 16:48:43 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.11 with Suhosin-Patch configured – resuming normal operations
[Mon Apr 14 16:58:33 2014] [error] [client 10.0.1.39] PHP Warning: mysql_close(): 22 is not a valid MySQL-Link resource in /var/www/fog/lib/db/MySQL.class.php on line 45, referer: [url]http://10.0.1.40/fog/commons/schemaupdater/index.php?redir=1[/url]
[Mon Apr 14 16:58:33 2014] [error] [client 10.0.1.39] PHP Fatal error: Call to a member function debug() on a non-object in /var/www/fog/lib/db/MySQL.class.php on line 50, referer: [url]http://10.0.1.40/fog/commons/schemaupdater/index.php?redir=1[/url]
[Mon Apr 14 17:41:56 2014] [error] [client 10.0.1.39] File does not exist: /var/www/favicon.ico
[Mon Apr 14 17:41:56 2014] [error] [client 10.0.1.39] File does not exist: /var/www/favicon.ico
[Mon Apr 14 17:45:52 2014] [error] [client 10.0.1.39] File does not exist: /var/www/favicon.ico
[Mon Apr 14 17:46:01 2014] [error] [client 10.0.1.39] File does not exist: /var/www/favicon.ico
[Mon Apr 14 17:46:01 2014] [error] [client 10.0.1.39] File does not exist: /var/www/browserconfig.xml
[Mon Apr 14 18:08:19 2014] [error] [client 10.0.1.40] File does not exist: /var/www/favicon.ico
[Mon Apr 14 18:08:19 2014] [error] [client 10.0.1.40] File does not exist: /var/www/favicon.ico
[Mon Apr 14 18:09:29 2014] [error] [client 10.0.1.39] File does not exist: /var/www/favicon.ico
[Mon Apr 14 18:09:29 2014] [error] [client 10.0.1.39] File does not exist: /var/www/favicon.ico -
10.0.1.40 is the fogserver
10.0.1.39 is my work stationClearing the cache did not help. Using firefox on fogserver did not work either.
-
Why would it work for 10 minutes and then not? The same yesterday.
-
From what I can tell, it appears the username and/or password are not working for mysql.
Try commenting the bind-address part of the my.cnf file entirely and restart mysql and try again.
-
how do I comment the bind-address
-
By the way, is it best to stop mysql first before doing changes and then start?
-
Oh yes # to comment
-
Have put # in front of bind-address and saved.
then
sudo start mysql
running
Tried login - not work.As I said it is easy to see that my correct password is being accepted because I do not get “invalid login”
-
Then the user you’re trying to login is flagged as quick image/mobile
-
That’s correct. I selected that option believing that it gave me an extra option on the PXE registration page.
You need to put a better explanation of what it is on the initial user creation page.
I really did not know if I should tick it or not.
What do I do now to get access again. This is the one and only user I have called fog. -
You have to unflag the user.
[code]mysql -u root -p fog[/code]From the mysql shell run the command:
[code]UPDATE users SET uType=‘0’ WHERE uName=‘fog’;[/code] -
And could I have a definitive answer on if it is necessary with 33b to modify the bind-address= in /etc/mysql/my.cnf to my fogserver ip address? (as it was necessary with 32)
-
Thanks so much Tom. It works again. And I will not tick that option again.
Can I suggest the following text in addition to that you have by that tick box:Warning - if you tick this box, this user will not be able to log into this FOG Management Console in the future.
-
I am trying to register 1 client, an old HP
PXE TFTP open timeout
It’s not finding the pxe boot file.
A few years ago I think I fixed this with
sudo start tftpd-hpaBut tftpd-hpa is already running.
Server 2012 R2 already has DHCP scope options:
066 = fogserver
067 = undionly.kpxeSo what’s the problem?
-
does your fog server have the file:
/tftpboot/undionly.kpxe -
yes
-
And could I have a definitive answer on if it is necessary with 33b to modify the bind-address= in /etc/mysql/my.cnf to my fogserver ip address? (as it was necessary with 32)
-
i recommend setting 66=10.0.1.40 on your DHCP server, so there isn’t any question if it’s resolving the hostname
-
Probably still necessary. I don’t have a definitive answer because this varies per system.