Call Trace??
-
When did you start having this problem
-
[quote=“Tom Elliott, post: 34330, member: 7271”]When did you start having this problem[/quote]
Right after I updated to Ubuntu 12.04.
-
Did you try restarting the MySQL server service
-
ok, tom’s on his way home and can’t answer at the moment. i’ll try to help you out here
the “unable to connect to database” is typically either because the database is not running, or more commonly because the password is incorrect for the database.
after you updated from 11.4 to 12.04, did you reboot? -
[quote=“Junkhacker, post: 34333, member: 21583”]ok, tom’s on his way home and can’t answer at the moment. i’ll try to help you out here
the “unable to connect to database” is typically either because the database is not running, or more commonly because the password is incorrect for the database.
after you updated from 11.4 to 12.04, did you reboot?[/quote]I did reboot but to no luck. Sorry if I am being dumb. I am new to all of this.
-
It’s not being dumb it’s just you don’t know that’s why we ask the questions we us so we can try and get the answers you need
-
it’s ok. just go ahead and update to 1.2 now, the fog installer will either fix the mysql problem, or it should be easy to fix afterward anyway.
-
[quote=“Junkhacker, post: 34336, member: 21583”]it’s ok. just go ahead and update to 1.2 now, the fog installer will either fix the mysql problem, or it should be easy to fix afterward anyway.[/quote]
Is there an easy way to update? I tried looking on the WIKI and found ways to install FOG but not update.
-
Simply download installer. if you’ve got a good prior installation it will just update what you’ve currently got
-
[quote=“Tom Elliott, post: 34340, member: 7271”]Simply download installer. if you’ve got a good prior installation it will just update what you’ve currently got[/quote]
I get this error when I try to run the setup.Archive: /home/mcasd-fogserver/Desktop/fog_1.2.0/FOG Service/bin/setup.exe
[/home/mcasd-fogserver/Desktop/fog_1.2.0/FOG Service/bin/setup.exe]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
note: /home/mcasd-fogserver/Desktop/fog_1.2.0/FOG Service/bin/setup.exe may be a plain executable, not an archive
zipinfo: cannot find zipfile directory in one of /home/mcasd-fogserver/Desktop/fog_1.2.0/FOG Service/bin/setup.exe or
/home/mcasd-fogserver/Desktop/fog_1.2.0/FOG Service/bin/setup.exe.zip, and cannot find /home/mcasd-fogserver/Desktop/fog_1.2.0/FOG Service/bin/setup.exe.ZIP, period. -
[code]cd /home/mcasd-fogserver/Desktop/fog_1.2.0/bin
sudo ./installfog.sh[/code] -
use this guide [url]http://www.fogproject.org/wiki/index.php/SVN[/url]
but use this address:
svn checkout svn://svn.code.sf.net/p/freeghost/code/trunk freeghost-code
instead of this address:
[url]https://svn.code.sf.net/p/freeghost/code/trunk[/url] -
tom’s way works too. i just find svn easier
-
This post is deleted! -
[quote=“Tom Elliott, post: 34348, member: 7271”][code]cd /home/mcasd-fogserver/Desktop/fog_1.2.0/bin
sudo ./installfog.sh[/code][/quote]When I visit my GUI, I get database schema installer/ updater prompted to Install/upgrade. When clicked I get a long list of errors.
-
ok, that means that you still have your database issue. do you know if the database had a password before you upgraded? it is likely that the password is incorrect in [FONT=arial][COLOR=#262626]/var/www/fog/lib/fog/Config.class.php[/COLOR][/FONT]
-
[quote=“Junkhacker, post: 34363, member: 21583”]ok, that means that you still have your database issue. do you know if the database had a password before you upgraded? it is likely that the password is incorrect in [FONT=arial][COLOR=#262626]/var/www/fog/lib/fog/Config.class.php[/COLOR][/FONT][/quote]
When opened, Do I type my password in…?
define(‘DATABASE_TYPE’, ‘mysql’); // mysql or oracle
define(‘DATABASE_HOST’, ‘localhost’);
define(‘DATABASE_NAME’, ‘fog’);
define(‘DATABASE_USERNAME’, ‘root’);
define(‘DATABASE_PASSWORD’, ’ '); -
if you know what the root mysql user password is enter it between the empty quotes here
define(‘DATABASE_PASSWORD’, ’ ');
if you do not know what the password is, we will need to reset it -
[quote=“Junkhacker, post: 34366, member: 21583”]if you know what the root mysql user password is enter it between the empty quotes here
define(‘DATABASE_PASSWORD’, ’ ');
if you do not know what the password is, we will need to reset it[/quote]That’s what I thought, but when I type in what I think the password is, I can’t save it… Is that normal?
-
that file is read only for normal users, try this
sudo nano [FONT=arial][COLOR=#262626]/var/www/fog/lib/fog/Config.class.php[/COLOR][/FONT]