@Tom-Elliott Hi Tom the FOGUpdater script fails on the mirrorlist trying to download. Is it possible for me to download the latest version manually and then pass it to the fogupdater.sh
Posts made by leonj
-
RE: Update fog on Redhat using FOGUpdater script
-
RE: Update fog on Redhat using FOGUpdater script
@Tom-Elliott Thanks for the prompt reply.
-
RE: Update fog on Redhat using FOGUpdater script
@Tom-Elliott I installed from a tar file into a seperate folder called /opt/fog/fogproject-1.5.4/ I used the .fogsettings file adapted to our situation from your example file.
-
RE: Update fog on Redhat using FOGUpdater script
@Tom-Elliott Hi Tom, so do I need to pass a parameter to the script to get the latest stable version and not dev ?
-
Update fog on Redhat using FOGUpdater script
This is just a general question. I have fog 1.5.4 installed on Redhat 7.5 . I used a .fogsettings file to do the install. All is well but now we want to upgrade to 1.5.5. Can I use the FOGUpdater utility to upgrade ? and will it use the current .fogsettings ?
-
RE: FOGMulticastManager and other services fail posix_getpid()
@Sebastian-Roth The problem seems resolved now. The repos that we have internally , because several versions of packages are available , the package names are eg. rh-php56 . This causes a problem when the services need to be started via systemd on RedHat . I created symlinks for php (/usr/bin/php) to point to the correct location of the binaries. Also I created symlinks in /etc/ for php.ini and php.d to point to the correct location. The location I found by running phpinfo() in a script from /var/www/fog/
The usual :
<?php
phpinfo();
?>
This then aligns the cli version (and of course what systemd uses) with what the webserver (apache) uses -
RE: FOGMulticastManager and other services fail posix_getpid()
@Sebastian-Roth Hi Sebastien I placed a small test php script in the http docroot and run it from the webserver
/var/www/fog/test.php
<?php
echo “result of posix_getpid()”;
echo posix_getpid();
?> -
RE: FOGMulticastManager and other services fail posix_getpid()
If I run the php command posix_getpid() seperately there is no problem
-
FOGMulticastManager and other services fail posix_getpid()
I am running RedHat 7 on VMWARE EMX virtual. After clean install I get the following error on FOG processes.
FOGMulticastManager[13688]: PHP Fatal error: Call to undefined function posix_getpid() in /opt/fog/service/lib/service_lib.php on line 195
Also the common error of the /opt/fog/log only has a servicemaster.log
I already set the rc.local to delay startup with 30 sec as proposed in a previous thread. but so far still the same -
RE: installfog does not see php55-php-fpm
I managed to make a simple symlink on the /usr/lib/systemd/system/ folder
php-fpm.service -> /usr/lib/systemd/system/rh-php56-php-fpm.service and this seemed to clear the problem.thank you
-
RE: installfog does not see php55-php-fpm
@Quazz I am trying to see how to keep the name. The yum install takes the name like php55-php-fpm. I do not know how to alias it for the service name
-
installfog does not see php55-php-fpm
I am installing fog on RedHat 7 I edited the fogsettings file to reflect the internal repos we have and the installfog runs well until
- Backing up user reports…Done
- Stopping web service…Failed!
Error log says :
Aug 22 09:30:32 pl02149v mysqld_safe[41845]: 180822 09:30:32 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Aug 22 09:30:34 pl02149v systemd[1]: Started MariaDB database server.
Failed to stop php-fpm.service: Unit php-fpm.service not loaded.the service for php-fpm is :
systemctl status php55-php-fpm
● php55-php-fpm.service - The PHP FastCGI Process ManagerI set php version in settings file :
backupPath=‘/home/’
php_ver=‘5.5’
php_verAdds=‘-5.5’Still the error ?
-
RE: Force install mysqldb instead of mariadb
@wayne-workman Thanks for the reply. I am now using the .fogsettings file. My only problem is we have specific versions of different packages on local repo that needs to be used. eg mysql 5.7 and there is also some php elements eg. php-mysqlnd that is version 71 . So I get the install to complete upd to the point of pausing for you to go to the webinterface and activate/update the database. But then I get the feeling that fog is not communicating with mysql ( mysql is running and http is running) From the browser I can get up to the default apache page.
-
Force install mysqldb instead of mariadb
I am trying to install FOG on a RedHat 7.5 virtual server. The repos for most packages are local(in house but up to date) . mysqldb is the preferred db but the fog install script keeps trying to install maraidb. Is there a parameter that can be passed to foginstall.sh to do mysqldb insted of mariadb ? I tried to change the packages in fogproject-1.5.4/lib/redhat/config.sh to mysql mysql-server but it had no effect