@Wayne-Workman ok, yeah, i understand my images are separate but i just wanted to make sure they wouldnt lose their DB identity. This may be a little above my area of expertise or even more than i have time for, but i will give it a look tomorrow and tackle it thursday if i am back down this way, or next monday. (I bet you cant wait!) Thanks so much, really, thanks
Posts made by obxmaureen
-
RE: Cannot connect to database after Ubuntu update and putting a password on MySql database
-
RE: Cannot connect to database after Ubuntu update and putting a password on MySql database
@Wayne-Workman and i think Tom was having a hard time just staying connected, he never got farther that getting a putty session open. No biggie, he tried and i do appreciate that.
-
RE: Cannot connect to database after Ubuntu update and putting a password on MySql database
@Wayne-Workman but then wouldnt i lose all my info? Would i have to recreate the images? I hope you know, i do appreciate all this feedback!
-
RE: Cannot connect to database after Ubuntu update and putting a password on MySql database
@Wayne-Workman i realized i was missing the colon before the commands. oops. but i did manage to get the file changed. Still cant get the database to update. I have to leave for a couple days. Tom was trying to help me remotely but i think he was having issues with teamview. Maybe it’s just gonna have to be a wash. UGH!
-
RE: Cannot connect to database after Ubuntu update and putting a password on MySql database
@Junkhacker I did, they are. Still getting an error trying to upgrade the database in the browser.
-
RE: Cannot connect to database after Ubuntu update and putting a password on MySql database
thanks Wayne, i did use those commands. q or q! never took me back to the prompt. They never really moved my cursor out of the file. zz moved the cursor down to the bottom of the screen but never gave me the prompt. Believe me, your info and the link for Vi was valuable indeed and i appreciated it. I now have the password in the file but still get prompted to install/upgrade the database when i hit fog from the browser. And then the task fails
am i SOL with this thing at this point?
-
RE: Cannot connect to database after Ubuntu update and putting a password on MySql database
thank you Junkhacker. i went into the Config.class file and added the password i had inadvertently added when i did the first Ubuntu update. It is still not working. One question, how do you gracefully exit Vi after editing? I typed zz and that did seem to close the file out but i didnt know how to get back to the prompt i know and love. So, i shutdown the server and restarted it. (I know, right?) I went back into the file to make sure the changes were there but got an error about the file still being open or not having been closed correctly and was walked thru fixing it. Well, the file now has the password in it, but still when I try to access Fog from the browser it prompts to install/upgrade the database and still bombs out. #anotherdaywasted I gotta head back up the beach. This server is 60 miles away from my office. Maybe some suggestions for tomorrow? Thanks so much for any help, i’m sure it is apparent, i have no idea what i am doing.
-
RE: Cannot connect to database after Ubuntu update and putting a password on MySql database
Well, interesting enough, the file does have info in it and the password field is empty, which, originally i had no password. (The last thing i did last week while waiting to hear any response from the forum, was a second Ubuntu update, hoping it would give me chance to change the database password) After that update instead of getting “cannot connect to the database”, I was getting a 404 error. I went ahead and upgraded fog to 1.2.0 cause you said i needed to do that anyways, (I’m sure i am just digging a deeper hole.) So, during that update, i am getting “update/install failed” from the web browser during the database update. No specific error, just a long list of stuff and no option to continue. I continued the Fog install but if i try to access the fog webpage, i just get kicked to the screen to install/update mysql. I found post that said to run sudo dpkg-reconfigure mysql-server-5.5 to reset the password but it wont let me set it back to no password. Am i just screwed, cause that’s kinda how i am beginning to feel. Should i open up another thread or just give up i would love to save these images. I have hours of work on this server.
-
RE: Cannot connect to database after Ubuntu update and putting a password on MySql database
@Wayne-Workman i will be back at the location of the server on thursday morning. i will try your suggestions then. thanks so much!
-
RE: Cannot connect to database after Ubuntu update and putting a password on MySql database
thank you for your reply, i am sorry if i was not clear enough. i never see the contents of the file because when i run the command: sudo gedit /var/www/fog/commons/config.php in Terminal, all i get on the screen is the rsp_write error
-
Cannot connect to database after Ubuntu update and putting a password on MySql database
Ubuntu 14.4 - and I think Fog .32 (based only on my last post here as i dont remember how to check the fog version)
Well, Ubuntu was saying there was an update and i figured updates are good (possibly my first mistake). There came a screen while doing the update that highly recommended i put a password on my database. so-I-did. Now i cant connect to fog in the web interface. The error is “cannot connect to database”. I found the following info :If you set a password for mysql when prompted on that blue box…during install.
You need to do this in Terminal:
sudo gedit /var/www/fog/commons/config.php
And scroll down to mysql password and put your password in between the " " and save it.
Then browse to your fog site and it should work.While many people responded that this fix helped them, it didnt help me. I got the error : rsp_write() failed:Bad File Descripter
i’m thinking maybe because it was a 4 year old post and the paths may have changed? Help, someone please. I’m supposed to be updating images for the next school year and this has me at a standstill.
-
RE: Corrupt Database after Harddrive was filled to 100%
i deleted another image and rebooted the server and ITS WORKING!!!
YAY!
-
RE: Corrupt Database after Harddrive was filled to 100%
thank you so much for the quick response Jaymes.
it came back with Restart: Unknown instance: -
Corrupt Database after Harddrive was filled to 100%
Hi
We have Fog 0.32 running on Ubuntu 10.04.04.
A user accidentally sent up an image instead of deploying one and filled the harddrive to 100% of capacity. Now i cannot access Fog in a web browser or on any clients. I get the error “unable to connect to database.”
I know very little about Ubuntu but i am pretty good at following documentation so i was able to delete one of the images and now the harddrive is at 97.5% of capacity.How can i fix this database? Nothing is backed up and i would hate to lose the images.
thanks for any help
maureen