• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Installation Failed on php-fettext

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    20
    7.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Steve Ropiak
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        php-gettext, I thought, was a part of php-common, am I wrong?

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          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.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • S
            Steve Ropiak
            last edited by

            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]

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              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]

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • S
                Steve Ropiak
                last edited by

                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!
                1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  Is epel repo installed?

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • S
                    Steve Ropiak
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott
                      last edited by

                      What happens when you type:
                      [code]yum -y list all|grep php-gettext[/code]

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 0
                      • S
                        Steve Ropiak
                        last edited by

                        php-php-gettext.noarch 1.0.11-3.el6 epel is returned

                        1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott
                          last edited by

                          You’re working with 0.32.

                          Remove the php-gettext from the lib/redhat/config.sh file. php-common installs php-gettext for you.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          1 Reply Last reply Reply Quote 0
                          • S
                            Steve Ropiak
                            last edited by

                            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!
                            1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott
                              last edited by

                              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]

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              1 Reply Last reply Reply Quote 0
                              • Tom ElliottT
                                Tom Elliott
                                last edited by

                                LOSE THE COLOR STUFF, it added it for some unknown reason.

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Steve Ropiak
                                  last edited by

                                  Hmm, didn’t like the /color option.

                                  1 Reply Last reply Reply Quote 0
                                  • Tom ElliottT
                                    Tom Elliott
                                    last edited by

                                    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]

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Steve Ropiak
                                      last edited by

                                      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.

                                      1 Reply Last reply Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott
                                        last edited by

                                        I forget one thing.

                                        Try this:

                                        [code]service rpcbind restart
                                        service nfs restart[/code]

                                        NFS Should then be running.

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Steve Ropiak
                                          last edited by

                                          SUCCESS!!! Many thanks for navigating my ship through the “fog”. 🙂

                                          1 Reply Last reply Reply Quote 0
                                          • Tom ElliottT
                                            Tom Elliott
                                            last edited by

                                            no problem.

                                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                            1 Reply Last reply Reply Quote 0
                                            • 1 / 1
                                            • First post
                                              Last post

                                            238

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project