Installation Failed on php-fettext
-
Fog 0.32 0n Centos 6.5, 64 bit. All seemed to go according to the user guide until it fails with the following error:
Checking package: php-gettext…Failed!
Linux novice. Any help is greatly appreciated. -
php-gettext, I thought, was a part of php-common, am I wrong?
-
Steve,
Do you have the epel repository installed on your system? php-gettext is provided by epel, and as far as I can tell, it’s the only one that provides it.
-
Thought so, but in re running the install,
[FONT=monospace][COLOR=#000000]rpm -Uvh [url]http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.i686.rpm[/url] failed with transfer failed error.[/COLOR][/FONT]
[COLOR=#000000][FONT=monospace]rpm --import rpms.famillecollet.com/RPM-GPG-KEY-remi failed with import read failed[/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]Was doing 20 things at the time. Must have missed those failures. Should i just try the failed repositories again later?[/FONT][/COLOR] -
try this:
[code]rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm[/code]
[code]rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi[/code] -
I ran the command you suggested with the following results:
Retrieving [url]http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm[/url]
Preparing… ########################################### [100%]
1:rpmforge-release ########################################### [100%]Yet, in the install I get :
- Checking package: php-gettext…Failed!
-
Is epel repo installed?
-
This post is deleted! -
What happens when you type:
[code]yum -y list all|grep php-gettext[/code] -
php-php-gettext.noarch 1.0.11-3.el6 epel is returned
-
You’re working with 0.32.
Remove the php-gettext from the lib/redhat/config.sh file. php-common installs php-gettext for you.
-
Close, but still issues. ClamAV update failed. So, I tried removing it from the config.sh and it seems to get past that, but on configuring services, I see the following:
Configuring services.
- Setting up fog user…OK
- Setting up and starting MySql…OK
- Backing up user reports…OK
- Setting up and starting Apache Web Server…OK
- Restoring user reports…OK
- Configuring Fresh Clamcp: cannot stat
/etc/freshclam.conf': No such file or directory cp: cannot stat
/etc/sysconfig/freshclam’: No such file or directory
…Failed! - Setting up storage…OK
- Setting up and starting NFS Server…Failed!
-
try changing your lib/redhat/config.sh lines for install packages to this:
[code]httpd php php-cli php-common php-gd php-mysql mysql mysql-server dhcp tftp-server nfs-utils vsftpd net-tools wget xinetd tar gzip make m4 gc c gcc-c++ htmldoc perl perl-Crypt-PasswdMD5 lftp clamav[/code]
[COLOR=#000000]AND Where appropriate[/COLOR]
[COLOR=#000000][code]httpd php php-cli php-common php-gd php-mysql mysql mysql-server dhcp tftp-server nfs-utils vsftpd net-tools wget xinetd tar gzip make m4 gc c gcc-c++ htmldoc perl perl-Crypt-PasswdMD5 lftp clamav[/code][/COLOR][COLOR=#000000]Then change the freshclam lines to:[/COLOR]
[COLOR=#000000][code]#where is freshclam’s config file[/COLOR]
[COLOR=#000000]#freshdb=“/var/lib/clamav/”;[/COLOR]
[COLOR=#000000]freshdb=“/var/clamav/”;[/COLOR]
[COLOR=#000000]freshwebroot=“${webdirdest}/av/”;[/COLOR]
[COLOR=#000000]freshconf=“/etc/freshclam.conf”;[/COLOR]
[COLOR=#000000]#freshcron=“/etc/sysconfig/freshclam”[/COLOR]
[COLOR=#000000]freshcron=“/usr/bin/freshclam”[/code][/COLOR][COLOR=#000000]To fix the NFS issues, you will have to manually enter these commands:[/COLOR]
[COLOR=#000000][code]service xinetd restart[/COLOR]
[COLOR=#000000]service nfs restart[/code][/COLOR][COLOR=#000000]Then you should be good to go.[/COLOR]
-
LOSE THE COLOR STUFF, it added it for some unknown reason.
-
Hmm, didn’t like the /color option.
-
Sorry about the previous formatting, hopefully this fits the bill for you.
[code]httpd php php-cli php-common php-gd php-mysql mysql mysql-server dhcp tftp-server nfs-utils vsftpd net-tools wget xinetd tar gzip make m4 gcc gcc-c++ htmldoc perl perl-Crypt-PasswdMD5 lftp clamav[/code]
[code]service xinetd restart
service nfs restart[/code][code]#where is freshclam’s config file
#freshdb=“/var/lib/clamav/”;
freshdb=“/var/clamav/”;
freshwebroot=“${webdirdest}/av/”;
freshconf=“/etc/freshclam.conf”;
#freshcron=“/etc/sysconfig/freshclam”
freshcron=“/usr/bin/freshclam”[/code] -
Very close. Last error is: Setting up and starting NFS Server…Failed!. But, I can log into Fog and browse the interface. I assume image management won’t work until nfs is up and running. BTW, thanks for sticking with me his morning. I know you guys have real jobs as well.
-
I forget one thing.
Try this:
[code]service rpcbind restart
service nfs restart[/code]NFS Should then be running.
-
SUCCESS!!! Many thanks for navigating my ship through the “fog”.
-
no problem.