• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. darthanubis
    3. Posts
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 23
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by darthanubis

    • RE: Failed to connect to database server, will try again in next iteration.

      [quote=“chad-bisd, post: 5420, member: 18”]If you make the other storage node master, it replicates the contents of its /images to all other storage nodes in the group, including the main FOG server. This is dangerous because if you do it wrong, you will overwrite all your images with nothing, basically wiping out the images.

      If you add another storage node, wait for the images to replicate to it, then change it to master. You will probably need to adjust the my.cnf file on the main FOG server to allow connections from remote hosts, and you have to provide the storage node with the proper password for connecting back to the MySQL database on the main FOG server.

      On the storage nodes, edit the /opt/fog/service/etc/config.php file. The username is almost always “fogstorage” and the password is almost always “fs####” where #### is some random number. The password is available in the FOG WebUI under Other Information, FOG Settings, FOG Storage Nodes.[/quote]

      Yeah, I got all of that from the wiki. I don’t remember the my.cnf editing though.

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      [quote=“chad-bisd, post: 5415, member: 18”]If you have a storage node in the same storage group, AND you have it configured properly, then the FOGImageReplicator service on the main server will push the image files to the storage nodes via ftp.

      there is a great storage nodes document on the wiki.[/quote]

      So,I don’t have to make the added storage node master for the main server to make the push? Because that is what I did, since the added storage node has more disk space.

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      [quote=“chad-bisd, post: 5413, member: 18”]no. only matters when you add storage nodes.[/quote]
      I’ve already added one storage node already.

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      [quote=“darthanubis, post: 5407, member: 1659”][CODE] tail -10 /opt/fog/log/fogreplicator.log
      [08-02-12 4:35:11 pm] [08-02-12 4:35:11 pm] Failed to connect to database server, will try again in next iteration.
      [08-02-12 4:35:26 pm] * Starting FOG Image Replicator Service
      [08-02-12 4:35:31 pm] * [08-02-12 4:35:31 pm] Checking for new tasks every 600 seconds.
      [08-02-12 4:35:31 pm] * [08-02-12 4:35:31 pm] Starting service loop.
      [08-02-12 4:35:31 pm] [08-02-12 4:35:31 pm] Failed to connect to database server, will try again in next iteration.
      [08-02-12 4:37:57 pm] * Starting FOG Image Replicator Service
      [08-02-12 4:38:02 pm] * [08-02-12 4:38:02 pm] Checking for new tasks every 600 seconds.
      [08-02-12 4:38:02 pm] * [08-02-12 4:38:02 pm] Starting service loop.
      [08-02-12 4:38:02 pm] * [08-02-12 4:38:02 pm] Checking if I am the group manager.
      [08-02-12 4:38:02 pm] * [08-02-12 4:38:02 pm] I don’t appear to be the group manager, I will check back later.[/CODE]

      It worked!

      Just the contents of these files which contain usernames and passwords are starting to all look alike.[/quote]

      Am I to be worried about these group manager notices/errors?

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      [CODE] tail -10 /opt/fog/log/fogreplicator.log
      [08-02-12 4:35:11 pm] [08-02-12 4:35:11 pm] Failed to connect to database server, will try again in next iteration.
      [08-02-12 4:35:26 pm] * Starting FOG Image Replicator Service
      [08-02-12 4:35:31 pm] * [08-02-12 4:35:31 pm] Checking for new tasks every 600 seconds.
      [08-02-12 4:35:31 pm] * [08-02-12 4:35:31 pm] Starting service loop.
      [08-02-12 4:35:31 pm] [08-02-12 4:35:31 pm] Failed to connect to database server, will try again in next iteration.
      [08-02-12 4:37:57 pm] * Starting FOG Image Replicator Service
      [08-02-12 4:38:02 pm] * [08-02-12 4:38:02 pm] Checking for new tasks every 600 seconds.
      [08-02-12 4:38:02 pm] * [08-02-12 4:38:02 pm] Starting service loop.
      [08-02-12 4:38:02 pm] * [08-02-12 4:38:02 pm] Checking if I am the group manager.
      [08-02-12 4:38:02 pm] * [08-02-12 4:38:02 pm] I don’t appear to be the group manager, I will check back later.[/CODE]

      It worked!

      Just the contents of these files which contain usernames and passwords are starting to all look alike.

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      In my excitement to get back into the UI, I forgot that the original problem is still present. Still getting the error in the replicator log.

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      [quote=“chad-bisd, post: 5333, member: 18”]ok. you show to only have user that can login to the fog web interface. The username is root.

      run this, as it will only update the root user that you use to login to the web interface and nothing else. You can change this after you get back into fog web ui if you want.

      run these commands from the “mysql>” prompt 😉 after connecting as root.
      [CODE]
      use fog;
      UPDATE users SET uPass = MD5(‘password’) where uName = ‘root’ limit 1;
      [/CODE]
      If you don’t get any errors then this should reset the password to “password” and let you login to the FOG web user interface with username “root” and password “password”.

      This DOES NOT change the root password for any other part of FOG or the operating system. This doesn’t even change the mysql root password, ONLY the username and password you put into the login box on the FOG server webpage.[/quote]

      😄 I’m IN! That fixed it! Thank you so much Chad. I really appreciate you having patience with me.

      Now I will start another thread about why I can’t upload a Windows 7 image without getting that darn multi partition error from the pxe boot screen.😕

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      [quote=“chad-bisd, post: 5330, member: 18”][CODE]mysql> mysql>[/CODE]

      I posted the command with the prompt in it so you’d know you need to run the script at the mysql> prompt.

      Remove “mysql>” from the query. Technically, I should have said. At the mysql> prompt, type “select uName from users;”[/quote]

      Jesus. :oops:

      [CODE]mysql> select uName from users;
      ±------+
      | uName |
      ±------+
      | root |
      ±------+
      1 row in set (0.00 sec)[/CODE]

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      See it??

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      [quote=“chad-bisd, post: 5310, member: 18”]ok. query the users table in the fog database in mysql and post the contents.
      [CODE]
      mysql -u root -ppassword fog
      mysql>select uName from users;
      [/CODE]

      That should list all logins available to the web interfaces.[/quote]

      [CODE]mysql> mysql>select uName from users;
      ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘mysql>select uName from users’ at line 1[/CODE]

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      [quote=“chad-bisd, post: 5308, member: 18”]That doesn’t look right. The MYSQL_USERNAME shout be root on the master fog server. the MYSQL_PASSWORD should be whatever you use when connecting using “mysql -u root -p” from the command line.[/quote]

      I changed the user back to root, the password is correct, and no change.

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      [quote=“chad-bisd, post: 5305, member: 18”]ok. now make sure the mysql password is set properly in the /var/www/fog/commons/config.php file.[/quote]

      It is in there.

      [CODE]define( “MYSQL_DATABASE”, “fog” );
      define( “MYSQL_USERNAME”, “fogadmin” );
      define( “MYSQL_PASSWORD”, “password” );[/CODE]

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      [quote=“chad-bisd, post: 5303, member: 18”]I get the “undefined index” errors in my apache log also. They do not keep FOG from working.

      Also, why did you quite your own post with the entire log file over again?[/quote]

      I added a link to that post in reference to my log file errors. I thought the two were relevant.

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      [quote=“chad-bisd, post: 5302, member: 18”]I don’t see any errors that would indicate a php failure during the authentication check.

      Don’t get confused between a system user and a FOG user and a MySQL user.

      Is your MySQL root password blank?

      Try to login to mysql as root without a password:

      [CODE]mysql -u root[/CODE]

      Do you get in or do you get an error?[/quote]

      It is not blank.

      [CODE]mysql -u root
      ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: NO)[/CODE]

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      [quote=“darthanubis, post: 5298, member: 1659”][CODE]tail -40 /var/log/apache2/error.log
      [Wed Aug 01 11:03:22 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:03:22 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: confirm in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:03:22 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: tab in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:03:22 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: fog_user in /var/www/fog/management/index.php on line 44, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:03:22 2012] [error] [client 192.168.0.113] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:03:22 2012] [error] [client 192.168.0.113] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: groupid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: id in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: imageid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: sub in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: snapinid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: storagegroupid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: storagenodeid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: crit in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: sort in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: confirm in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: tab in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: fog_user in /var/www/fog/management/index.php on line 44, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] File does not exist: /var/www/favicon.ico
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: groupid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: id in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: imageid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: sub in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: snapinid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: storagegroupid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: storagenodeid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: crit in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: sort in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: confirm in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: tab in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: fog_user in /var/www/fog/management/index.php on line 44, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] File does not exist: /var/www/favicon.ico
      [Wed Aug 01 11:09:42 2012] [error] [client 192.168.0.113] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: http://192.168.0.132/fog/management/index.php?node=login[/CODE]

      A mess I can not decifer. The only reason I don’t reinstall is because I want to understand how to fix the problem. I’d learn nothing of how to maintain my FOG server with a reinstall at every issue.

      I appreciate your help.

      As to the reset of the PW. I did not have a fog user for the fog user’s pw to be reset. I created the user “fogadmin”, which I edited the config.php files to reflect per the instruction in this thread. The only users I have are root and fogadmin, both with the same passwords.[/quote]

      [url]http://sourceforge.net/tracker/?func=detail&atid=976199&aid=3398951&group_id=201099[/url]

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      [quote=“chad-bisd, post: 5290, member: 18”]When posting terminal output or log files, always put them inside CODE tags so they stand out and are not interpreted into smilies by the bb software.[/quote]

      Would it be easier to get support in the IRC channel for real-time feed back?

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      [quote=“chad-bisd, post: 5289, member: 18”]The instructions were not for creating a user named fog, but for resetting the password.

      Did you check your apache logs for related errors. (/var/log/apache2/errors.log)[/quote]

      [CODE]tail -40 /var/log/apache2/error.log
      [Wed Aug 01 11:03:22 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:03:22 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: confirm in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:03:22 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: tab in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:03:22 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: fog_user in /var/www/fog/management/index.php on line 44, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:03:22 2012] [error] [client 192.168.0.113] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:03:22 2012] [error] [client 192.168.0.113] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: groupid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: id in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: imageid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: sub in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: snapinid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: storagegroupid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: storagenodeid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: crit in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: sort in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: confirm in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: tab in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: fog_user in /var/www/fog/management/index.php on line 44, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] File does not exist: /var/www/favicon.ico
      [Wed Aug 01 11:09:38 2012] [error] [client 192.168.0.113] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: groupid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: id in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: imageid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: sub in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: snapinid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: storagegroupid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: storagenodeid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: crit in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: sort in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: confirm in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: tab in /var/www/fog/commons/init.php on line 5, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined index: fog_user in /var/www/fog/management/index.php on line 44, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: http://192.168.0.132/fog/management/index.php?node=login
      [Wed Aug 01 11:09:41 2012] [error] [client 192.168.0.113] File does not exist: /var/www/favicon.ico
      [Wed Aug 01 11:09:42 2012] [error] [client 192.168.0.113] PHP Notice: Undefined variable: Proxy in /var/www/fog/commons/functions.include.php on line 3506, referer: http://192.168.0.132/fog/management/index.php?node=login[/CODE]

      A mess I can not decifer. The only reason I don’t reinstall is because I want to understand how to fix the problem. I’d learn nothing of how to maintain my FOG server with a reinstall at every issue.

      I appreciate your help.

      As to the reset of the PW. I did not have a fog user for the fog user’s pw to be reset. I created the user “fogadmin”, which I edited the config.php files to reflect per the instruction in this thread. The only users I have are root and fogadmin, both with the same passwords.

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      [quote=“chad-bisd, post: 5273, member: 18”]If it’s a password issue. Try: [url]http://www.fogproject.org/wiki/index.php/Reset_WebUI_FOG_password[/url]

      If that doesn’t help, check your syslog or apache log for errors that might help us track down why you can’t logon to the webUI.[/quote]

      Welcome to the MySQL monitor. Commands end with ; or \g.
      Your MySQL connection id is 20206
      Server version: 5.5.24-0ubuntu0.12.04.1 (Ubuntu)

      Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.

      Oracle is a registered trademark of Oracle Corporation and/or its
      affiliates. Other names may be trademarks of their respective
      owners.

      Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.

      mysql> UPDATE users SET uPass = MD5(‘password’) WHERE uName = ‘fog’;
      Query OK, 0 rows affected (0.02 sec)
      Rows matched: 0 Changed: 0 Warnings: 0

      mysql> exit;exit
      Bye
      Those instructions did not even create a user fog in the database. I created the user and password manually via phpmyadmin, and not matter the privileges I grant, I still can’t access the damn UI. It makes no sense. I’m sorry, I’m certain it is user error, I just can’t seem to find it.

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      [quote=“chad-bisd, post: 5270, member: 18”]What is the error on your main fog server’s webUI? Do you get a login screen or just a blank? Does it not let you log in as fog or any other users you have created in FOG?[/quote]

      No errors, just the login screen. No default or user I create allows entry.

      posted in FOG Problems
      D
      darthanubis
    • RE: Failed to connect to database server, will try again in next iteration.

      [quote=“chad-bisd, post: 5267, member: 18”]Make sure you are trying to bring up the webUI on the main/normal FOG server. I don’t think the webUI will bring up anything on the storage node.[/quote]

      I assumed that as a given.

      posted in FOG Problems
      D
      darthanubis
    • 1
    • 2
    • 1 / 2