CoreOS

Hi all,

Not posting this one in the ideas board yet, as id be interested in general thoughts from users and staff.

CoreOS is gaining quite a bit of popularity, and due to the containerised system it uses may find a good home in the hosting community.

So - could CoreOS be a good future platform for InterWorx?

RHEL is too expensive for many, CentOS is good but has its limitations and quirks. We could look to just target another RHEL-type distro, but it’s certainly a question worth asking.

Jon

Sent from my iPad using Tapatalk

Hi hacman

I think you mention coreos previously (sorry if I’m wrong )

Does coreos offer the facility where no one site can go above set resource limits ie CPU memory etc (sorry I have cloudlinux in mind but it’s not the distro I’m thinking off)

How does this compare with centos 7, which I thought was containerised

Have you tried loading IW to see if it works (guessing it does not though)

A link to coreos maybe beneficial to save users looking it up

Hopefully everyone will post their thoughts/questions and kudos to you

Many thanks

John

Hi,

I don’t think I’ve mentioned CoreOS before, but have discussed CloudLinux and BetterLinux. They are more bolt-ons than an actual OS.

CentOS 7 has good container support, but it will not be used under InterWorx.

Sadly I’ve not been able to try InterWorx with CoreOS yet, as not having a package manager by default, this will require quite a bit of work. Some adjustments would also need to take place for InterWorx to use all the features.

The CoreOS website is here for anyone who fancies a read: https://coreos.com

It may be that CoreOS is not the way forward, but I do feel we need another option in terms of distro choice. At present only
RHEL and CentOS are supported. Fedora will work, but screw that with the rapid release. It’s just not suitable for production.

Other good alternatives could be OpenSUSE or Debian. Oracle Linux would be a good option too short term.

Jon

Sent from my iPhone using Tapatalk

Hey Jon,

We’ve had requests in the past to support additional operating systems like Ubuntu, Debian, SUSE, and even Windows. Fracturing the install base between multiple operating systems would introduce bugs and additional overhead while adding little benefit to the majority of our users. Containers are extremely interesting, and something we are keeping an eye on, but there are several concerns ( security, memory requirements, and separation of services ) that all need to be considered.

Let us know if you decide to try to get InterWorx running on CoreOS. I’m not familiar with the project enough to tell you straight away if it will work or not, but we’d be interested in your findings!

Thanks,

Nathan

Hi Nathan,

Sadly I think it would be a bit beyond my ability to get it running un-aided. There are as you say the container issues there.

That said, in the meantime,
are there any other plans for RHEL derived distro support?

Oracle and Scientific Linux would seem good candidates for those wanting an alternate to CentOS, and as they are intended to keep binary compatibility with upstream, fragmentation of the codebase shouldn’t be so much of an issue.

Jon

PS - please never do Windows. :wink:

Sent from my iPhone using Tapatalk

Hi Hacman

Oracle I am little sceptical about (my personal opinion) and scientific Linux may not be mainstream enough to warrant dev I think

Many thanks and just my thoughts

John

Hi John,

Oracle is an interesting one. I certainly had my thoughts about it too - but they do seem committed to it, which is a good thing.

But yes, it’s still Oracle :).

That said, minimal work is likely required to get both these in the supported list. And at least there is then an option.

Jon

Sent from my iPhone using Tapatalk

Sadly Oracle doesn’t seem to work out of the box, but I think this is mostly due to differing dependency trees and package names. Likely not a difficult one to work around:

[root@oracle-linux-7 ~]# sh <((curl -sL interworx.com/inst.sh)) -l
STATUS: Determining Linux distribution
Loaded plugins: ulninfo
Package iptables-1.4.21-16.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package iptables-services.x86_64 0:1.4.21-16.el7 will be installed
---> Package mariadb.x86_64 1:5.5.47-1.el7_2 will be installed
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.47-1.el7_2 for package: 1:mariadb-5.5.47-1.el7_2.x86_64
--> Processing Dependency: /usr/bin/perl for package: 1:mariadb-5.5.47-1.el7_2.x86_64
---> Package mariadb-devel.x86_64 1:5.5.47-1.el7_2 will be installed
--> Processing Dependency: openssl-devel(x86-64) for package: 1:mariadb-devel-5.5.47-1.el7_2.x86_64
---> Package mariadb-server.x86_64 1:5.5.47-1.el7_2 will be installed
--> Processing Dependency: perl-DBD-MySQL for package: 1:mariadb-server-5.5.47-1.el7_2.x86_64
--> Processing Dependency: libaio.so.1(LIBAIO_0.4)(64bit) for package: 1:mariadb-server-5.5.47-1.el7_2.x86_64
--> Processing Dependency: perl-DBI for package: 1:mariadb-server-5.5.47-1.el7_2.x86_64
--> Processing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) for package: 1:mariadb-server-5.5.47-1.el7_2.x86_64
--> Processing Dependency: libaio.so.1()(64bit) for package: 1:mariadb-server-5.5.47-1.el7_2.x86_64
--> Running transaction check
---> Package libaio.x86_64 0:0.3.109-13.el7 will be installed
---> Package mariadb-libs.x86_64 1:5.5.47-1.el7_2 will be installed
---> Package openssl-devel.x86_64 1:1.0.1e-51.el7_2.5 will be installed
--> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.1e-51.el7_2.5.x86_64
--> Processing Dependency: zlib-devel(x86-64) for package: 1:openssl-devel-1.0.1e-51.el7_2.5.x86_64
---> Package perl.x86_64 4:5.16.3-286.el7 will be installed
--> Processing Dependency: perl-libs = 4:5.16.3-286.el7 for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(Scalar::Util) >= 1.10 for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(Socket) >= 1.3 for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl-libs for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(File::Spec::Unix) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(Carp) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(threads) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(Scalar::Util) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(Cwd) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(Storable) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(Time::Local) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(Filter::Util::Call) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(File::Path) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(Pod::Simple::XHTML) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(File::Spec::Functions) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(threads::shared) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(File::Spec) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(Pod::Simple::Search) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(Getopt::Long) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(Exporter) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(constant) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl-macros for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(Time::HiRes) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(Socket) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: perl(File::Temp) for package: 4:perl-5.16.3-286.el7.x86_64
--> Processing Dependency: libperl.so()(64bit) for package: 4:perl-5.16.3-286.el7.x86_64
---> Package perl-DBD-MySQL.x86_64 0:4.023-5.0.1.el7 will be installed
---> Package perl-DBI.x86_64 0:1.627-4.el7 will be installed
--> Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package: perl-DBI-1.627-4.el7.x86_64
--> Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package: perl-DBI-1.627-4.el7.x86_64
--> Processing Dependency: perl(Data::Dumper) for package: perl-DBI-1.627-4.el7.x86_64
--> Running transaction check
---> Package krb5-devel.x86_64 0:1.13.2-12.el7_2 will be installed
--> Processing Dependency: libverto-devel for package: krb5-devel-1.13.2-12.el7_2.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.13.2-12.el7_2.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.13.2-12.el7_2.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.13.2-12.el7_2.x86_64
---> Package perl-Carp.noarch 0:1.26-244.el7 will be installed
---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed
---> Package perl-Exporter.noarch 0:5.68-3.el7 will be installed
---> Package perl-File-Path.noarch 0:2.09-2.el7 will be installed
---> Package perl-File-Temp.noarch 0:0.23.01-3.el7 will be installed
---> Package perl-Filter.x86_64 0:1.49-3.el7 will be installed
---> Package perl-Getopt-Long.noarch 0:2.40-2.el7 will be installed
--> Processing Dependency: perl(Pod::Usage) >= 1.14 for package: perl-Getopt-Long-2.40-2.el7.noarch
--> Processing Dependency: perl(Text::ParseWords) for package: perl-Getopt-Long-2.40-2.el7.noarch
---> Package perl-PathTools.x86_64 0:3.40-5.el7 will be installed
---> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed
--> Processing Dependency: perl(Net::Daemon) >= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Compress::Zlib) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch
---> Package perl-Pod-Simple.noarch 1:3.28-4.el7 will be installed
--> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
--> Processing Dependency: perl(Encode) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
---> Package perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 will be installed
---> Package perl-Socket.x86_64 0:2.010-3.el7 will be installed
---> Package perl-Storable.x86_64 0:2.45-3.el7 will be installed
---> Package perl-Time-HiRes.x86_64 4:1.9725-3.el7 will be installed
---> Package perl-Time-Local.noarch 0:1.2300-2.el7 will be installed
---> Package perl-constant.noarch 0:1.27-2.el7 will be installed
---> Package perl-libs.x86_64 4:5.16.3-286.el7 will be installed
---> Package perl-macros.x86_64 4:5.16.3-286.el7 will be installed
---> Package perl-threads.x86_64 0:1.87-4.el7 will be installed
---> Package perl-threads-shared.x86_64 0:1.43-6.el7 will be installed
---> Package zlib-devel.x86_64 0:1.2.7-15.el7 will be installed
--> Running transaction check
---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed
---> Package libcom_err-devel.x86_64 0:1.42.9-7.el7 will be installed
---> Package libselinux-devel.x86_64 0:2.2.2-6.el7 will be installed
--> Processing Dependency: libsepol-devel >= 2.1.9-1 for package: libselinux-devel-2.2.2-6.el7.x86_64
--> Processing Dependency: pkgconfig(libpcre) for package: libselinux-devel-2.2.2-6.el7.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.2.2-6.el7.x86_64
---> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed
---> Package perl-Encode.x86_64 0:2.51-7.el7 will be installed
---> Package perl-IO-Compress.noarch 0:2.061-2.el7 will be installed
--> Processing Dependency: perl(Compress::Raw::Zlib) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
--> Processing Dependency: perl(Compress::Raw::Bzip2) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
---> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
---> Package perl-Pod-Escapes.noarch 1:1.04-286.el7 will be installed
---> Package perl-Pod-Usage.noarch 0:1.63-3.el7 will be installed
--> Processing Dependency: perl(Pod::Text) >= 3.15 for package: perl-Pod-Usage-1.63-3.el7.noarch
--> Processing Dependency: perl-Pod-Perldoc for package: perl-Pod-Usage-1.63-3.el7.noarch
---> Package perl-Text-ParseWords.noarch 0:3.29-4.el7 will be installed
--> Running transaction check
---> Package libsepol-devel.x86_64 0:2.1.9-3.el7 will be installed
---> Package pcre-devel.x86_64 0:8.32-15.el7_2.1 will be installed
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
---> Package perl-Pod-Perldoc.noarch 0:3.20-4.el7 will be installed
--> Processing Dependency: perl(parent) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
--> Processing Dependency: perl(HTTP::Tiny) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
---> Package perl-podlators.noarch 0:2.5.1-3.el7 will be installed
--> Running transaction check
---> Package perl-HTTP-Tiny.noarch 0:0.033-3.el7 will be installed
---> Package perl-parent.noarch 1:0.225-244.el7 will be installed
Removing mariadb-libs.x86_64 1:5.5.47-1.el7_2 - u due to obsoletes from installed mysql-community-libs-5.6.27-2.el7.x86_64
ol7_latest/x86_64/filelists                                                                                                                                                                |  14 MB  00:00:01     
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.47-1.el7_2 will be installed
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.47-1.el7_2 for package: 1:mariadb-devel-5.5.47-1.el7_2.x86_64
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.47-1.el7_2 for package: 1:mariadb-5.5.47-1.el7_2.x86_64
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.47-1.el7_2 for package: 1:mariadb-server-5.5.47-1.el7_2.x86_64
--> Finished Dependency Resolution
Error: Package: 1:mariadb-server-5.5.47-1.el7_2.x86_64 (ol7_latest)
           Requires: mariadb-libs(x86-64) = 1:5.5.47-1.el7_2
           Available: 1:mariadb-libs-5.5.35-3.el7.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.35-3.el7
           Available: 1:mariadb-libs-5.5.37-1.el7_0.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.37-1.el7_0
           Available: 1:mariadb-libs-5.5.40-1.el7_0.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.40-1.el7_0
           Available: 1:mariadb-libs-5.5.40-2.el7_0.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.40-2.el7_0
           Available: 1:mariadb-libs-5.5.41-2.el7_0.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.41-2.el7_0
           Available: 1:mariadb-libs-5.5.44-1.el7_1.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.44-1.el7_1
           Available: 1:mariadb-libs-5.5.44-2.0.1.el7.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.44-2.0.1.el7
           Available: 1:mariadb-libs-5.5.47-1.el7_2.i686 (ol7_latest)
              ~mariadb-libs(x86-32) = 1:5.5.47-1.el7_2
Error: Package: 1:mariadb-devel-5.5.47-1.el7_2.x86_64 (ol7_latest)
           Requires: mariadb-libs(x86-64) = 1:5.5.47-1.el7_2
           Available: 1:mariadb-libs-5.5.35-3.el7.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.35-3.el7
           Available: 1:mariadb-libs-5.5.37-1.el7_0.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.37-1.el7_0
           Available: 1:mariadb-libs-5.5.40-1.el7_0.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.40-1.el7_0
           Available: 1:mariadb-libs-5.5.40-2.el7_0.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.40-2.el7_0
           Available: 1:mariadb-libs-5.5.41-2.el7_0.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.41-2.el7_0
           Available: 1:mariadb-libs-5.5.44-1.el7_1.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.44-1.el7_1
           Available: 1:mariadb-libs-5.5.44-2.0.1.el7.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.44-2.0.1.el7
           Available: 1:mariadb-libs-5.5.47-1.el7_2.i686 (ol7_latest)
              ~mariadb-libs(x86-32) = 1:5.5.47-1.el7_2
Error: Package: 1:mariadb-5.5.47-1.el7_2.x86_64 (ol7_latest)
           Requires: mariadb-libs(x86-64) = 1:5.5.47-1.el7_2
           Available: 1:mariadb-libs-5.5.35-3.el7.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.35-3.el7
           Available: 1:mariadb-libs-5.5.37-1.el7_0.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.37-1.el7_0
           Available: 1:mariadb-libs-5.5.40-1.el7_0.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.40-1.el7_0
           Available: 1:mariadb-libs-5.5.40-2.el7_0.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.40-2.el7_0
           Available: 1:mariadb-libs-5.5.41-2.el7_0.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.41-2.el7_0
           Available: 1:mariadb-libs-5.5.44-1.el7_1.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.44-1.el7_1
           Available: 1:mariadb-libs-5.5.44-2.0.1.el7.x86_64 (ol7_latest)
               mariadb-libs(x86-64) = 1:5.5.44-2.0.1.el7
           Available: 1:mariadb-libs-5.5.47-1.el7_2.i686 (ol7_latest)
              ~mariadb-libs(x86-32) = 1:5.5.47-1.el7_2
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

-=-=-=-=-= Installing InterWorx-CP =-=-=-=-=-

...

STATUS: Installing InterWorx-CP      
ERROR: InterWorx-CP could not be installed.
ERROR: YUM may have given some reasonable errors and
ERROR: you can try re-running the installer as it may
ERROR: just be a network and/or update server problem
ERROR: 
ERROR: If after re-running the installer you still
ERROR: receive an error please open a support ticket at:

ERROR: https://www.interworx.com/support/helpdesk/

---> Package xorg-x11-font-utils.x86_64 1:7.5-20.el7 will be installed

....

--> Finished Dependency Resolution
Error: Package: 2:webalizer-2.01_10-101.rhe7x.iworx.x86_64 (interworx-release)
           Requires: gd-devel
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@oracle-linux-7 ~]# 

Hi Hacman

I could be wrong sorry, as I have only briefly looked through your list, but I believe it only missing gd-devel

Could you try yum install gd-devel of top of my head and rerun iworx install

I think once gd-devel is installed, it should work, but I’m sure you knew that already sorry

Also, meant to say plus 1 for Windows statement

Many thanks

John

Hi Hacman

Oops, Mariadb and packages

I’m thinking you should be able to install these before installing iworx, which iworx installer may not perhaps remove Mariadb

Many thanks

John

[QUOTE=d2d4j;28705]Hi Hacman

Oops, Mariadb and packages

I’m thinking you should be able to install these before installing iworx, which iworx installer may not perhaps remove Mariadb

Many thanks

John[/QUOTE]

I’ve had a bit more time today to play with this.

The GD-devel package had to be installed manually, as it is not in a repo that is there by default. Easy enough. The MariaDB issues were solved by removing MySQL, which OL comes packaged with by default (figures really).

After this, InterWorx installed just fine.

Sadly, when activating the license, it’s a no-go. The webUI will just hang. On a fresh install I did this via the goiworx.pex script to see what was taking place, and we get an error about “InterWorx was already installed on this box in the past”. I’ve attached the output below if anyone is interested:


+----------------------------------------------------------------------+
|                    Setting up SpamAssassin DB...                     |
+----------------------------------------------------------------------+

[WARNING] Problem setting up DB info. Trying again...
160629 16:05:18 [Note] /home/interworx/mysql/sbin/mysqld (mysqld 5.5.45-37.4) starting as process 14722 ...
160629 16:05:18 [Note] /home/interworx/mysql/sbin/mysqld (mysqld 5.5.45-37.4) starting as process 14729 ...
+----------------------------------------------------------------------+
|              Setting up initial InterWorx Databases...               |
+----------------------------------------------------------------------+

[WARNING] Looks like iworx was setup before on this box...

[ERROR] Database setup failed. Please contact InterWorx Support.
[ERROR] Activation Failed

Jon

Hi Hacman

I could be wrong, so apologies in advance, but it looks to me as though the MySQL for IW has not started.

IW will fail if MySQL not running, and I think the message of IW installed previously appears to be a generic error message

However, I note in your post there is definite error message, other then MySQL starting process, which is why I think it is not running

Many thanks

John