Debian Jessie 8
-
Hello,
i’m trying to install fog on a fresh installed debian jessie (3 ethernet cards) and i’ve got some problems :When i install stable (1.2) version, the installation stop with this error message :
- Starting FOG Multicast Management Server…Failed!
Script terminé, le fichier est /var/log/foginstall.log
When i install the trunk version (4021)
The installer change default address ip and ethernet default interface (1.2 see eth0, trunk see eth1)
The mysql-server installer doesnt ask to define password
and the url of fog is http://192.168.151.243/html/fog/, not http://192.168.151.243/fog/
To solve the problem of mysql-server 2 solutions :
Install mysql-server before fog or use dpkg-reconfigure mysql-server-5.5
But the problem of the url still hereI tryied to install stable version then upgrade to trunk version (4021)
I’ve got to change default ip and default interface
and i’ve got to write in .fogsettings
snmysqluser=“user”
snmysqlpass=‘password’;
snmysqlhost=“localhost”;During upgrade i precise that image directory was /home/images
in .fogsettings the path is ok
in /etc/export the path is ok
But the directory is not created during installWhat is the version to use with debian jessie ?
Thanks for your help
Pascal - Starting FOG Multicast Management Server…Failed!
-
Hi, for the Debian 8 you have to use SVN version. I think the mysql problem is on the installer. @Tom-Elliott any idea ?
-
Look through this: https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk
-
@Wayne-Workman said:
Look through this: https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk
He have some problems about SVN installation, he had create another topic about that.
-
@Wayne-Workman i do that without success
-
@plegrand Can you give us a screenshot or photograph of the errors? Can you provide the fog.log file?
-
@Wayne-Workman It’s like i said on this post
install 1.2 stop with the message (same message in log file):Starting FOG Multicast Management Server…Failed! Script terminé, le fichier est /var/log/foginstall.log
It seems that reboot the server and install again solve the problem for 1.2 install
Install svn :
During installation of mysql-server, i’m not asked to define admin password
then there is no informations about mysql in /opt/fog/.fogsettings
and the path to the url web server is wrong :
http://192.168.151.243/html/fog/, not http://192.168.151.243/fog/ -
@plegrand said:
@Wayne-Workman It’s like i said on this post
install 1.2 stop with the message (same message in log file):Starting FOG Multicast Management Server…Failed! Script terminé, le fichier est /var/log/foginstall.log
It seems that reboot the server and install again solve the problem for 1.2 install
Install svn :
During installation of mysql-server, i’m not asked to define admin password
then there is no informations about mysql in /opt/fog/.fogsettings
and the path to the url web server is wrong :
http://192.168.151.243/html/fog/, not http://192.168.151.243/fog/./installfog.sh --webroot /var/www/fog
and inside of /opt/fog/.fogsettings you can define a user and pass and even server for MySQL:
Let us know how it goes, we are here to help.
-
@Wayne-Workman yes i can manually define all infomations about mysql but before that
i’ve got to do dpkg-reconfigure mysql-server-5.5
it doesnt solve the url problem -
@plegrand said:
it doesnt solve the url problem
What do you mean it doesn’t solve the URL problem? After installing fog trunk with the below command, it should be set up in the correct directory for you.
-
Current FOG installer does not request setting a password. This is because the other os’s don’t require it either. I’ve made an attempt at making all OS’s install in the same manner between one another.
Because of this, yes, I was able to bypass the requirement to add a password and those fields when installing mysql. There is NO requirement to have a root user password for mysql. Of course it is HIGHLY recommended, but not required.
-
@Wayne-Workman no
at the end of installation when i click on the link to upgrade database i go on http://192.168.151.243/fog/
and i’ve got a 404 error “not found”
if i add “html” "http://192.168.151.243/html/fog/ it works
it’s not normal no ? -
This post is deleted! -
@Wayne-Workman I think a better approach would be:
./installfog.sh --docroot /var/www/html --webroot fog/
-
@Tom-Elliott said:
@Wayne-Workman I think a better approach would be:
./installfog.sh --docroot /var/www/html --webroot fog/
./installfog.sh --docroot /var/www/html --webroot fog/ -y
-
@Wayne-Workman i dont understand what you mean
i dont want to install fog in /var/ww/html
the installer should install it into /var/www
i thought that i only had to launch installfog.sh the it :- install mysql-server and ask me password for admin user (curse interface doesnt appears)
- define the good user/password into .fogsettings
- install fog into /var/www (as 1.2 do)
-
@Tom-Elliott then i should install mysql-server before fog to define root user with a good password ?
-
@plegrand You can change the command if you like to point to the directories that you want.
FOG Trunk is not FOG 1.2.0. Things change. You can set your user/passwords in the /opt/fog/.fogsettings file post-install, and then just re-run the installer afterwards and it’ll use the settings you wrote there.
-
@Wayne-Workman when i launch the installer without parameters, at the end of installation it told me that fog is on " http://192.168.151.243/fog/" but it’s false because when i go to " http://192.168.151.243/fog/" it give me error 404 not found.
and i can see that it install fog into " http://192.168.151.243/html/fog/"
-
@plegrand said:
@Wayne-Workman when i launch the installer without parameters, at the end of installation it told me that fog is on " http://192.168.151.243/fog/" but it’s false because when i go to " http://192.168.151.243/fog/" it give me error 404 not found.
and i can see that it install fog into " http://192.168.151.243/html/fog/"
@Developers sounds like a minor bug.
But, it in fact works?