Re: [Users] Is this mkswap message from OpenVZ?

2020-01-08 Thread Jeffrey Walton
On Wed, Jan 8, 2020 at 3:01 PM Paulo Coghi - Coghi IT wrote: > > By default, OpenVZ doesn't allow swap creation inside containers. And this is > a good thing. I think that depends on the metric used. A small swapfile would be most useful and economical for us. I think the lack of a swapfile

[Users] Is this mkswap message from OpenVZ?

2020-01-08 Thread Jeffrey Walton
Hi Everyone, I'm trying to track down the cause of the error message below. It is encountered when we try to enable a swapfile for a low-end VM. The VPS provider uses OpenVZ. # ./vm-swapfile.sh Swapfile already allocated swapon: /swapfile: swapon failed: Operation not permitted

Re: [Users] OpenVZ,, CentOS SCL and failed cron jobs?

2018-12-21 Thread Jeffrey Walton
On Fri, Dec 21, 2018 at 5:03 AM Jeffrey Walton wrote: > > On Fri, Dec 21, 2018 at 4:18 AM Konstantin Khorenko > wrote: > > > > On 12/20/2018 07:39 PM, Jeffrey Walton wrote: > > > > > > I'm performing a post-mortem on our [failed] disaster recovery procedur

Re: [Users] OpenVZ,, CentOS SCL and failed cron jobs?

2018-12-21 Thread Jeffrey Walton
On Fri, Dec 21, 2018 at 4:18 AM Konstantin Khorenko wrote: > > On 12/20/2018 07:39 PM, Jeffrey Walton wrote: > > > > I'm performing a post-mortem on our [failed] disaster recovery procedures. > > > > We have an OpenVZ-based CentOS 7 VM. We use it for an open sourc

[Users] OpenVZ,, CentOS SCL and failed cron jobs?

2018-12-20 Thread Jeffrey Walton
Hi Everyone, I'm performing a post-mortem on our [failed] disaster recovery procedures. We have an OpenVZ-based CentOS 7 VM. We use it for an open source project website and wiki. Our backup job in /etc/cron.daily has not been executing (nor has other cron jobs, like yum-daily.cron). We cannot

[Users] OT: Meltdown and Spectre cpu bugs

2018-01-05 Thread Jeffrey Walton
Hi Everyone, It looks like PoCs are starting to be released for the CPU bugs. Or there's a PoC in the wild for ARM processors. Early reports: * https://amp.reddit.com/r/sysadmin/comments/7nl8r0/intel_bug_incoming/ * https://www.theregister.co.uk/2018/01/02/intel_cpu_design_flaw/ Latest news: *

Re: [Users] X86_BUG_CPU_INSECURE

2018-01-03 Thread Jeffrey Walton
On Wed, Jan 3, 2018 at 8:41 AM, Scott Dowdle wrote: > Greetings, > ... > I've also read that while some other CPU arches have hardware specifically to > avoid the issue, others may also have a similar issue. The fix is said to be > ported to aarch64 and at least one

Re: [Users] X86_BUG_CPU_INSECURE

2018-01-03 Thread Jeffrey Walton
On Wed, Jan 3, 2018 at 4:19 AM, Narcis Garcia wrote: > As I understand from dasunsrule32's post, affected CPUs show a flag > X86_BUG_CPU_INSECURE (?!). > Does this mean that Intel is distributing CPUs marking them as > defective?! ...or is this flag from kernel detection? >

[Users] Local VM for testing production VM

2017-12-20 Thread Jeffrey Walton
Hi Everyone, We are a free/open source project. We rent a OpenVZ-based CentOS 7 VM for a website and wiki. We need to get off PHP 5.4 and MediaWiki 1.26. I'm setting up a local VM to test the migration of the production VM. I have a few questions. 1. Is there a way to clone a rented VM over

Re: [Users] CentOS 7 image, ModSecurity and Fail2Ban?

2016-06-03 Thread Jeffrey Walton
> In brief: > * OpenVZ 6 (2.6.32-x kernels) does not allow to use ipset inside Containers > (it's just not virtualized) > * OpenVZ 7 (3.10.0-x kernels) does have ipset virtualized => it works inside > Containers. > > If you try fail2ban in OpenVZ 7, please post here the results. :) > > Hope that

[Users] CentOS 7 image, ModSecurity and Fail2Ban?

2016-06-01 Thread Jeffrey Walton
Hi Everyone, I'd like to install fail2ban to stop the unfettered: script '/var/www/html/wp-login.php' not found or unable to stat ... I'm OK with a fail2ban config, but I don't know about the OpenVZ container, CnetOS and other negative interatctions that may cause me to lose access to

[Users] "Start the VPS" frequently required from web admin page since CentOS 7.2 migration

2016-03-04 Thread Jeffrey Walton
Hi Everyone, We use a hosting provider to host a website and wiki. Last week we performed the CentOS 7.1 -> 7.2 migration. We issued 'sudo yum update' and everything migrated cleanly. The process seemed to go well. Since the upgrade it appears the VPS service frequently stops or crashes. We're

Re: [Users] Warnings treated as errors

2016-01-06 Thread Jeffrey Walton
> Could you please tell me what and in which version you use to build ploop, > vzctl, and vzquota? I am using GCC 5.3 and get a lot of warnings (Inline, …) > which are treated as errors according to -Werror in CFLAGS. > This does not answer your question on versioning, but it may help resolve

Re: [Users] CentOS 7.2 Upgrade with OpenVZ container and 2.6 kernel

2016-01-04 Thread Jeffrey Walton
> > $ uname -a > > Linux cryptopp 2.6.32-042stab112.15 #1 SMP Tue Oct 20 17:22:56 \ > > MSK 2015 x86_64 x86_64 x86_64 GNU > > ... > > > > Is it safe to perform the upgrade from 7.1 to 7.2 with the 2.6 kernel? > > That is, is this a supported configuration that will update as

[Users] CentOS 7.2 Upgrade with OpenVZ container and 2.6 kernel

2016-01-02 Thread Jeffrey Walton
Hello everyone, We rent a CentOS 7.1 VM: $ cat /etc/redhat-release CentOS Linux release 7.1.1503 (Core) CentOS 7.2 was released recently (http://wiki.centos.org/Manuals/ReleaseNotes/CentOS7) and yum is prompting us to upgrade. In addition, its not giving us 7.1 security updates. We