Can't access the FOG web management inteface
-
where do i find that ?
talk to me like a idiot -
I’m sorry I’m voice texting on my phone so it should be apache the Web server error logs.
-
look in /var/logs/apache2 for log files
when you navigate to localhost, does it display anything? it should display a web page that says “IT WORKS!” letting you know that apache is running correctly.
if it doesn’t display at first, try localhost/index.html. Fog adds a index.php file to the /srv/www folder that is suppose to redirect to the FOG management page, so we can attach the file name to the end and it should display the correct file.
-
[LIST]
[LIST]
[]i was like “whaaaa?”
[][QUOTE]
[/QUOTE][/LIST][QUOTE]
[/quote][/LIST][QUOTE][Wed Feb 12 20:35:45 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
[Wed Feb 12 20:35:49 2014] [notice] Graceful restart requested, doing restart
[Wed Feb 12 20:35:49 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
apache2: Could not reliably determine the server’s fully qualified domain name, using 192.168.2.101 for ServerName
[Wed Feb 12 20:35:49 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
[Wed Feb 12 20:49:20 2014] [notice] caught SIGTERM, shutting down
[Wed Feb 12 20:49:22 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
[Wed Feb 12 20:50:43 2014] [error] [client 192.168.2.1] PHP Notice: Undefined index: groupid in /var/www/fog/commons/init.php on line 5
[Wed Feb 12 20:50:43 2014] [error] [client 192.168.2.1] PHP Notice: Undefined index: node in /var/www/fog/commons/init.php on line 5
[Wed Feb 12 20:50:43 2014] [error] [client 192.168.2.1] PHP Notice: Undefined index: id in /var/www/fog/commons/init.php on line 5
[Wed Feb 12 20:50:43 2014] [error] [client 192.168.2.1] PHP Notice: Undefined index: imageid in /var/www/fog/commons/init.php on line 5
[Wed Feb 12 20:50:43 2014] [error] [client 192.168.2.1] PHP Notice: Undefined index: sub in /var/www/fog/commons/init.php on line 5
[Wed Feb 12 20:50:43 2014] [error] [client 192.168.2.1] PHP Notice: Undefined index: snapinid in /var/www/fog/commons/init.php on line 5
[Wed Feb 12 20:50:43 2014] [error] [client 192.168.2.1] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5
[Wed Feb 12 20:50:43 2014] [error] [client 192.168.2.1] PHP Notice: Undefined index: storagegroupid in /var/www/fog/commons/init.php on line 5
[Wed Feb 12 20:50:43 2014] [error] [client 192.168.2.1] PHP Notice: Undefined index: storagenodeid in /var/www/fog/commons/init.php on line 5
[Wed Feb 12 20:50:43 2014] [error] [client 192.168.2.1] PHP Notice: Undefined index: crit in /var/www/fog/commons/init.php on line 5
[Wed Feb 12 20:50:43 2014] [error] [client 192.168.2.1] PHP Notice: Undefined index: sort in /var/www/fog/commons/init.php on line 5
[Wed Feb 12 20:50:43 2014] [error] [client 192.168.2.1] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5
[Wed Feb 12 20:50:43 2014] [error] [client 192.168.2.1] PHP Notice: Undefined index: confirm in /var/www/fog/commons/init.php on line 5
[Wed Feb 12 20:50:43 2014] [error] [client 192.168.2.1] PHP Notice: Undefined index: tab in /var/www/fog/commons/init.php on line 5
[Wed Feb 12 20:50:44 2014] [error] [client 192.168.2.1] PHP Warning: mysql_connect(): Access denied for user ‘root’@‘localhost’ (using password: NO) in /var/www/fog/lib/db/MySql.db.class.php on line 51
[Wed Feb 12 20:50:44 2014] [error] [client 192.168.2.1] File does not exist: /var/www/favicon.ico
[Wed Feb 12 20:52:00 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Wed Feb 12 20:52:06 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Wed Feb 12 20:52:45 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Wed Feb 12 20:52:45 2014] [error] [client 192.168.2.1] File does not exist: /var/www/favicon.ico
[Wed Feb 12 20:52:50 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Wed Feb 12 20:56:40 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Wed Feb 12 20:56:41 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Wed Feb 12 20:56:46 2014] [notice] caught SIGTERM, shutting down
[Wed Feb 12 20:57:32 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
[Wed Feb 12 20:58:41 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Wed Feb 12 20:58:50 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Wed Feb 12 20:59:16 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Wed Feb 12 20:59:17 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Wed Feb 12 21:01:20 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Wed Feb 12 21:01:22 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Wed Feb 12 21:01:22 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Wed Feb 12 21:01:23 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Wed Feb 12 21:01:24 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Wed Feb 12 21:09:05 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Wed Feb 12 21:09:12 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Wed Feb 12 21:13:52 2014] [notice] caught SIGTERM, shutting down
[Wed Feb 12 21:14:39 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
[Wed Feb 12 21:16:27 2014] [notice] caught SIGTERM, shutting down
[Thu Feb 13 06:59:26 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
[Thu Feb 13 06:59:50 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Thu Feb 13 06:59:52 2014] [error] [client 192.168.2.1] File does not exist: /var/www/favicon.ico
[Thu Feb 13 07:33:29 2014] [notice] caught SIGTERM, shutting down
[Thu Feb 13 14:42:21 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
[Thu Feb 13 14:42:41 2014] [notice] caught SIGTERM, shutting down
[Thu Feb 13 18:05:36 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
[Thu Feb 13 20:06:32 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Thu Feb 13 20:06:32 2014] [error] [client 192.168.2.1] File does not exist: /var/www/favicon.ico
[Thu Feb 13 20:06:36 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Thu Feb 13 20:08:46 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Thu Feb 13 20:10:14 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Thu Feb 13 20:13:23 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Thu Feb 13 20:13:25 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Thu Feb 13 20:13:26 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Thu Feb 13 20:13:27 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Thu Feb 13 20:13:27 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Thu Feb 13 20:13:28 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Thu Feb 13 20:14:28 2014] [error] [client 192.168.2.1] File does not exist: /var/www/fog/management/index.html
[Thu Feb 13 20:14:33 2014] [error] [client 192.168.2.1] Negotiation: discovered file(s) matching request: /var/www/fog/management/index (None could be negotiated).
[Thu Feb 13 20:14:38 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Thu Feb 13 20:16:35 2014] [error] [client 192.168.2.1] File does not exist: /var/www/var
[LIST]
[*][/LIST][/QUOTE][LIST]
[/LIST] -
[QUOTE]when you navigate to localhost, does it display anything? it should display a web page that says “IT WORKS!” letting you know that apache is running correctly.[/QUOTE]
yes it does
[QUOTE]Fog adds a index.php file to the /srv/www folder that is suppose to redirect to the FOG management page, so we can attach the file name to the end and it should display the correct file.[/QUOTE]
no www folder under /srv
-
strange, it must be using the /var/www folder (Sorry I see at the top you are using Wheezy, it will reside in the /var/www folder sorry for the confusion )
please check the /var/www for a fog folder
Well that’s good that the page is displayed, it seems that apache is working.
-
[QUOTE]strange, perhaps check the /var/www folder[/QUOTE]
listing:
fog(folder)
index.html
index.php -
[FONT=Verdana][COLOR=#333333]Before trying to open the FOG management webpage [/COLOR][/FONT]
[FONT=Verdana][COLOR=#333333]Install PHPMYADMIN (this makes database management easy)[/COLOR][/FONT]
[FONT=Verdana][COLOR=#333333]Open //localhost/phpmyadmin [/COLOR][/FONT]
[FONT=Verdana][COLOR=#333333]Create a new user and give them ALL permissions for ALL HOSTS (basically they should be the same as ROOT[/COLOR][/FONT]
[FONT=Verdana][COLOR=#333333]Check the user is there and the permissions are set correctly. [/COLOR][/FONT]
[FONT=Verdana][COLOR=#333333]Go into the PERMISSIONS tab and remove the password for ROOT under localhost & 127.0.0.1[/COLOR][/FONT]
[FONT=Verdana][COLOR=#333333]Open the FOG webmanagement page[/COLOR][/FONT]
[FONT=Verdana][COLOR=#333333]Set up the users in FOG[/COLOR][/FONT]
[FONT=Verdana][COLOR=#333333]Go back to PHPMyAdmin and make sure FOG has been added as a database. You will need to log on as the ‘new user’ above[/COLOR][/FONT]
[FONT=Verdana][COLOR=#333333]Reset the root password to something secure (as per pre install???)[/COLOR][/FONT]
[FONT=Verdana][COLOR=#333333]Open the FOG database[/COLOR][/FONT]
[FONT=Verdana][COLOR=#333333]Go to Permissions and BLANK the root password for localhost & 127.0.0.1[/COLOR][/FONT] -
sorry but how do i do that? my mind has gone blank.
-
irontamoor,
Did you set a mysql password when you performed the installation?
If you did set a password, do you remember that password?
The line: PHP Warning: mysql_connect(): Access denied for user ‘root’@‘localhost’ (using password: NO) in /var/www/fog/lib/db/MySql.db.class.php on line 51
It’s telling you it can’t connect to the database. Probably because the mysql password is not set on your /var/www/fog/commons/config.php.
-
Yes I did set a password don’t know why it would say that as I havnt been able to get in at all.
I’ve used fog in so many places never had problem untill now. -
Did you check that the password was set in /var/www/fog/commons/config.php?
-
Yes.
The problem is the website won’t download when I right click and view source. Nothing, no code nothing -
Can you refresh the screen, I know it’ll be blank, then run:
[code]tail -20 /var/log/apache2/error.log[/code]Copy and paste the output of that here.
-
Sorry dudes been busy: here you go.
[CODE][Fri Feb 14 17:25:47 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
[Fri Feb 14 18:09:37 2014] [notice] Graceful restart requested, doing restart
[Fri Feb 14 18:09:37 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
apache2: Could not reliably determine the server’s fully qualified domain name, using 192.168.2.101 for ServerName
[Fri Feb 14 18:09:37 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
[Fri Feb 14 18:09:48 2014] [notice] Graceful restart requested, doing restart
[Fri Feb 14 18:09:48 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
apache2: Could not reliably determine the server’s fully qualified domain name, using 192.168.2.101 for ServerName
[Fri Feb 14 18:09:48 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
[Fri Feb 14 18:14:25 2014] [notice] caught SIGTERM, shutting down
[Fri Feb 14 18:14:26 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
[Fri Feb 14 18:16:37 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Fri Feb 14 18:16:37 2014] [error] [client 192.168.2.1] File does not exist: /var/www/favicon.ico
[Fri Feb 14 18:27:38 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Fri Feb 14 18:27:40 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Fri Feb 14 18:49:29 2014] [notice] caught SIGTERM, shutting down
[Tue Feb 18 18:09:09 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u7 configured – resuming normal operations
[Tue Feb 18 18:12:01 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54
[Tue Feb 18 18:12:02 2014] [error] [client 192.168.2.1] File does not exist: /var/www/favicon.ico
[Tue Feb 18 18:12:31 2014] [error] [client 192.168.2.1] PHP Parse error: syntax error, unexpected ‘DB_TYPE’ (T_STRING) in /var/www/fog/commons/config.php on line 54[/CODE] -
What does the file say for line 54?
[quote]/var/www/fog/commons/config.php on line 54[/quote]
-
define( “DB_TYPE”, “mysql” );
-
This post is deleted! -
What version of FOG are you running?
-
0.32