Freshly installed CentOS 7.3, cannot install Virtualmin GPL

9 posts / 0 new
Last post
#1 Tue, 09/12/2017 - 10:52
arjones85

Freshly installed CentOS 7.3, cannot install Virtualmin GPL

Not sure how to proceed. Please advise, thanks!

[root@main ~]# bash install.sh -v

  Welcome to the Virtualmin GPL installer, version 6.0.6

  This script must be run on a freshly installed supported OS. It does not
  perform updates or upgrades (use your system package manager) or license
  changes (use the "virtualmin change-license" command).

  The systems currently supported by install.sh are:

    CentOS/RHEL Linux 6 and 7 on x86_64
    Debian 7, 8, and 9, on i386 and amd64
    Ubuntu 14.04 LTS and 16.04 LTS, on i386 and amd64

  If your OS/version/arch is not listed, installation will fail. More
  details about the systems supported by the script can be found here:

    http://www.virtualmin.com/os-support

  The selected package bundle is LAMP and the size of install is
  full. It will require up to 650 MB of disk space.

  Exit and re-run this script with --help flag to see available options.

Continue? (y/n) y

  WARNING

  Virtualmin may already be installed. This can happen if an installation failed,
  and can be ignored in that case.

  But, if Virtualmin has already successfully installed you should not run this
  script again! It will cause breakage to your existing configuration.

  Updates and upgrades can be performed from within Virtualmin. To change
  license details, use the 'virtualmin change-license' command.

  Changing the license never requires re-installation.

Really Continue? (y/n) y
[DEBUG] Memory is greater than 1024GB, which should be sufficient.
[INFO] Started installation log in /root/virtualmin-install.log

[DEBUG] Phase 1 of 3: Setup
▣□□ Phase 1 of 3: Setup
[DEBUG] Install mode: full
[DEBUG] Product: Virtualmin GPL
[DEBUG] install.sh version: 6.0.6
[DEBUG] Checking for fully qualified hostname...
[DEBUG] Hostname OK: fully qualified as main.eggycrew.com
[DEBUG] Installing serial number and license key into /etc/virtualmin-license
[DEBUG] Operating system name:    CentOS
[DEBUG] Operating system version: 7.3.1611
[DEBUG] Operating system type:    centos
[DEBUG] Operating system major:   7
[DEBUG] Configuring package manager for CentOS 7.3.1611...
[DEBUG] Disabling SELinux during installation...
/usr/sbin/setenforce: SELinux is disabled
[WARNING]   setenforce 0 failed: 1
Updating yum Groups                                                     [  ✔  ]
Downloading virtualmin-release-latest.noarch.rpm                        [  ✔  ]
Installing virtualmin-release package                                   [  ✔  ]

[DEBUG] Phase 2 of 3: Installation
▣▣□ Phase 2 of 3: Installation
Downloading epel-release-latest-7.noarch.rpm                            [  ✔  ]
Installing EPEL release package                                         [  ✔  ]
Installing yum-utils                                                    [  ✔  ]
Enabling extras repository                                              [  ✔  ]
Installing scl-utils                                                    [  ✔  ]
Install Software Collections release package                            [  ✔  ]
Installing PHP7                                                         [ERROR] Failed with error: 1
[  ✘  ]

[ERROR] Something went wrong. Exiting.
[ERROR] The last few log entries were:
Loading mirror speeds from cached hostfile
* base: yum.tamu.edu
* epel: mirror.oss.ou.edu
* extras: pubmirrors.dal.corespace.com
* updates: mirror.5ninesolutions.com
Package centos-release-scl-2-2.el7.centos.noarch already installed and latest version
Nothing to do
Install Software Collections release package: Success.
Spin pid is: 4268
Warning: group Software Collections PHP 7 Environment does not exist.
Maybe run: yum groups mark install (see man yum)
Error: No packages in any requested group available to install or update
Installing PHP7: [2017-09-12 10:20:11 CDT] [ERROR] Failed with error: 1
[2017-09-12 10:20:11 CDT] [ERROR] Something went wrong. Exiting.
[2017-09-12 10:20:11 CDT] [ERROR] The last few log entries were:
[root@main ~]# yum grouplist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: yum.tamu.edu
* epel: mirror.oss.ou.edu
* extras: pubmirrors.dal.corespace.com
* updates: mirror.5ninesolutions.com
Available Environment Groups:
   Minimal Install
   Compute Node
   Infrastructure Server
   File and Print Server
   MATE Desktop
   Basic Web Server
   Virtualization Host
   Server with GUI
   GNOME Desktop
   KDE Plasma Workspaces
   Development and Creative Workstation
Installed Groups:
   Milkymist
   Security Tools
   System Administration Tools
Available Groups:
   CIFS file server
   Compatibility Libraries
   Console Internet Tools
   Desktop
   Desktop Platform
   Desktop Platform Development
   Development Tools
   Eclipse
   Educational Software
   Electronic Lab
   FCoE Storage Client
   Fedora Packager
   General Purpose Desktop
   Graphical Administration Tools
   Haskell
   Legacy UNIX Compatibility
   Messaging Client Support
   Messaging Server Support
   MySQL Database client
   MySQL Database server
   NFS file server
   Network Storage Server
   SNMP Support
   Scientific Support
   Server Platform
   Server Platform Development
   Smart Card Support
   Storage Availability Tools
   System Management
   TeX support
   TurboGears application framework
   Virtualization
   Web-Based Enterprise Management
   Xfce
   iSCSI Storage Client
Done



[root@main ~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: yum.tamu.edu
* epel: mirror.rnet.missouri.edu
* extras: pubmirrors.dal.corespace.com
* updates: mirror.5ninesolutions.com
repo id                                                    repo name                                                                         status
base/7/x86_64                                              CentOS-7 - Base                                                                    9,363
centos-sclo-rh/x86_64                                      CentOS-7 - SCLo rh                                                                 6,056
centos-sclo-sclo/x86_64                                    CentOS-7 - SCLo sclo                                                                 467
epel/x86_64                                                Extra Packages for Enterprise Linux 7 - x86_64                                    11,898
extras/7/x86_64                                            CentOS-7 - Extras                                                                    451
updates/7/x86_64                                           CentOS-7 - Updates                                                                 2,146
virtualmin/7/x86_64                                        RHEL/CentOS 7 - x86_64 - Virtualmin                                                   87
virtualmin-universal                                       Virtualmin Distribution Neutral Packages                                              60
repolist: 30,528
[root@main ~]#
Tue, 09/12/2017 - 23:35
Joe
Joe's picture

Just to follow up on this, there was a ticket about it, and it got resolved by running it under sh instead of bash. (Though, this shouldn't have caused it to fail... I was unable to reproduce the problem running it under bash on my test CentOS 7 system. The error indicates groups aren't available, which probably indicates the Virtualmin repos didn't get setup, which I guess means something in the install script or its shell library of functions failed to download virtualmin-release package. Still not sure why/how bash would break that, but I guess it does in some circumstances.)

--

Check out the forum guidelines!

Thu, 09/14/2017 - 01:47
Jfro

Joe if you're testing take please also a look at CentOS 7.4 https://www.mail-archive.com/centos-announce@centos.org/msg10523.html

Thu, 09/14/2017 - 03:42 (Reply to #3)
Joe
Joe's picture

I don't expect any problems with 7.4. It should already be supported. Let me know if you run into any issues.

--

Check out the forum guidelines!

Mon, 10/02/2017 - 06:54
mkm0000am

The selected package bundle is LAMP and the size of install is full. It will require up to 650 MB of disk space.

Exit and re-run this script with --help flag to see available options.

Continue? (y/n) y [INFO] Started installation log in /root/virtualmin-install.log

▣□□ Phase 1 of 3: Setup Downloading virtualmin-release-latest.noarch.rpm [ OK! ] Installing virtualmin-release package [ OK! ]

▣▣□ Phase 2 of 3: Installation Downloading epel-release-latest-6.noarch.rpm [==>--] [ERROR] [ERROR] Something went wrong with the previous command. Exiting. ./scr: line 8: postconf: command not found ./scr: line 9: postconf: command not found ./scr: line 10: postconf: command not found ./scr: line 11: postconf: command not found ./scr: line 12: postconf: command not found postfix: unrecognized service [root@vps ~]#

Mon, 10/02/2017 - 06:56
mkm0000am

Tell me about this issue

Mon, 10/02/2017 - 09:56
andreychek

Howdy,

Hmm, that makes it appear that Postfix either wasn't installed, or it isn't able to find some of the commands installed with it.

Can you attach your /root/virtualmin-install.log file?

Also, what is the output of these commands:

dpkg -l postfix
find /usr -name postconf
Mon, 10/02/2017 - 11:27
mkm0000am

This is the logs of /root/virtualmin-install.log

Checking for Perl...found Perl at /usr/bin/perl
Checking for HTTP client...found /usr/bin/curl -f -s -L -O
[2017-10-02 12:23:53 EDT] [DEBUG] Memory is greater than 1024 MB, which should be sufficient.
[2017-10-02 12:23:53 EDT] [INFO] Started installation log in /root/virtualmin-install.log
[2017-10-02 12:23:53 EDT] [DEBUG] Phase 1 of 3: Setup
[2017-10-02 12:23:53 EDT] [DEBUG] Install mode: full
[2017-10-02 12:23:53 EDT] [DEBUG] Product: Virtualmin GPL
[2017-10-02 12:23:53 EDT] [DEBUG] install.sh version: 6.0.7
[2017-10-02 12:23:53 EDT] [DEBUG] Checking for fully qualified hostname...
[2017-10-02 12:23:53 EDT] [DEBUG] Hostname OK: fully qualified as vps.myget.asia
[2017-10-02 12:23:53 EDT] [DEBUG] Installing serial number and license key into /etc/virtualmin-license
[2017-10-02 12:23:53 EDT] [DEBUG] Operating system name:    CentOS
[2017-10-02 12:23:53 EDT] [DEBUG] Operating system version: 6.0
[2017-10-02 12:23:53 EDT] [DEBUG] Operating system type:    centos
[2017-10-02 12:23:53 EDT] [DEBUG] Operating system major:   6
[2017-10-02 12:23:53 EDT] [DEBUG] Configuring package manager for CentOS 6.0...
Spin pid is: 643
Downloading virtualmin-release-latest.noarch.rpm: Success.
Spin pid is: 668
@

"virtualmin-install.log" 25L, 1594C

output of this dpkg -l postfix find /usr -name postconf

Downloading epel-release-latest-6.noarch.rpm                            [==>--]
[ERROR]
[ERROR] Something went wrong with the previous command. Exiting.
                                                                        ./scr: line 8: postconf: command not found
./scr: line 9: postconf: command not found
./scr: line 10: postconf: command not found
./scr: line 11: postconf: command not found
./scr: line 12: postconf: command not found
postfix: unrecognized service
[root@vps ~]# dpkg -l postfix
-bash: dpkg: command not found
[root@vps ~]# find /usr -name postconf

*********************
Mon, 10/02/2017 - 14:49
Joe
Joe's picture

Please don't revive old unrelated threads with new questions. Your problem is completely different from the original subject of this thread. Always start a new topic for new problems.

Is your OS really CentOS 6.0 (not 6.9)? That's not supported. You need to update to at least a recent release of CentOS 6, though CentOS 7 would be even better. So, update your system fully before trying to install Virtualmin.

--

Check out the forum guidelines!

Topic locked