Displaying 20 results from an estimated 5000 matches similar to: "Could not evaluate: No ability to determine if ... exists"
2011 Jun 30
4
using memorysize fact in manifests
Hi,
I want some config depending on memorysize.
What I tried was
if ($memorysize >= 256 * 1024*1024) {
...
}
But this fails because $memorysize is a string (and contains a "G") and can''t be
compared to an int.
Are all facts strings? How do I work with numbers?
regards, Andreas
--
Andreas Kuntzagk
SystemAdministrator
MDC Berlin / BIMSB
Tel.: +49 30 9406 2997
--
2010 Sep 07
5
Module availability, loading order
Hi,
I have create the following module:
modules/foo
`-- manifests
|-- definitions
| `-- line.pp
`-- init.pp
$ cat modules/foo/manifests/init.pp
import "definitions/*.pp"
$ cat modules/foo/manifests/definitions/line.pp
define myline($file, $line, $ensure = ''present'') {
....
}
I try to use the definition in a class:
class testfile {
file {
2012 Mar 28
4
Hash iteration order in a template not consistent
Hi,
I did some basic googling, but didn''t find an answer yet. I am sorry if
this is a FAQ.
In a manifest for creating an Apache config file, I define a hash like this:
$aliases = {
''/foo/'' => ''/home/foo/www/'',
''/bar/'' => ''/home/bar/www/'',
''/baz/'' =>
2010 Aug 31
23
Puppet + APT, I am lost...
Hi,
For the past week, I have been trying to figure out the best way to do
package management with Puppet on an Ubuntu system. I have studied many
solutons I found on the web, but none of them seem to do exactly what I want.
Among other things, I have tried everything that is discussed here:
http://groups.google.com/group/puppet-users/browse_thread/thread/af7349171a5821a4/db96b809c97f6006
but
2011 Mar 11
9
Why is it so hard to make a sane nagios server config?
I''ve tried to achieve my overall goals with several different features
of Puppet, but I''ve hit a bit of a wall here. I think it''s time for me
to explain what I''m trying to accomplish:
I want the enabling of a service in my manifests to configure
the monitoring of that service by a nagios server, without
needless repetition.
Let me explain how my
2016 Feb 17
2
Kernel parameters ignored -
On 17/02/16 14:32, Michael H wrote:
> Hi, re-posting this with a more appropriate subject for my reply;
>
>> The easy answer is yes .. glibc requires so many things to be restarted,
>> that is the best bet. Or certainly the easiest.
>>
>> Note: in CentOS 7, there is also a kernel update which is rated as
>> Important .. so you should boot to that anyway:
2011 Oct 04
2
CentOS 6: Increase shared memory limits permanently
Hello again,
on CentOS 6 / 64 bit what is please the best way
to permanently increase the shared memory?
I'd like to give shared_buffers = 4096MB
to PostgreSQL 8.4 on my machine with
16 GB RAM, but I currently only have:
# sysctl -A|grep shm
kernel.shmmax = 33554432
kernel.shmall = 2097152
kernel.shmmni = 4096
and this produces the error in
/var/lib/pgsql/pgstartup.log:
2011 Jan 27
9
CIDR-matching in puppet manifests?
I have a few settings that change based on the network that a system is
in, and I have a heterogeneous collection of networks (a few /24s, some
/25s, a /29 and a couple /27s, and hey look a /16 in rfc1918 space
and...). So I can''t do simple regex matches on dotted-quad IP notation
and expect to get a complete story.
What I''d like is something like, I dunno...
$nameserver =
2006 Mar 22
1
How do I change kern.ipc.shmmax in FreeBSD 5.x automatically after reboot?
Hello,
I have the following entries in /boot/loader.conf:
kern.ipc.shm_use_phys="1"
kern.ipc.semmns="500"
kern.ipc.semmni="40"
kern.ipc.semmap="500"
which are set correctly. Unfortunately, the following
two entries
kern.ipc.shmmax="512000000"
kern.ipc.shmall="65526"
do not change the corresponding values according
to
2016 Feb 17
2
New glibc for CentOS-6 and CentOS-7 and CVE-2015-7547
On 02/17/2016 08:10 AM, Michael H wrote:
>> The easy answer is yes .. glibc requires so many things to be restarted,
>> that is the best bet. Or certainly the easiest.
>>
>> Note: in CentOS 7, there is also a kernel update which is rated as
>> Important .. so you should boot to that anyway:
>>
2016 Feb 17
1
New glibc for CentOS-6 and CentOS-7 and CVE-2015-7547
> The easy answer is yes .. glibc requires so many things to be restarted,
> that is the best bet. Or certainly the easiest.
>
> Note: in CentOS 7, there is also a kernel update which is rated as
> Important .. so you should boot to that anyway:
> https://lists.centos.org/pipermail/centos-announce/2016-February/021705.html
>
> Here is a good link to figure out what to
2016 Jan 22
1
Error starting tinc
Executing:
ip tuntap add vpndrif mode tun
return Keepalived errors show when tincd start:
Jan 22 23:41:19 Keepalived_vrrp[1999]: Netlink: filter function error
Jan 22 23:41:19 Keepalived_healthcheckers[1998]: Netlink: filter function error
Jan 22 23:41:19 systemd-sysctl[23246]: Overwriting earlier assignment of kernel/shmmax in file '/etc/sysctl.d/99-sysctl.conf'.
Jan 22 23:41:19
2006 Mar 02
2
[slightly-OT] postgresql 8.1.3 on intel OS X problems
Hi,
Anybody have success with postgresql 8.1.3 on a new Intel OS X box? All
hints welcome, please!
I installed postgres 8.1.3 via darwinports, and everything is great
until the initdb step.
Initdb fails on shmget saying it couldn''t allocate enough memory (see
below). So, I edited /etc/rc and increased kern.sysv.shmmax from
4194304 to 41943040 (4MB to 40MB)
After reboot and
2015 Aug 24
1
abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected
Hi All,
I've been tuning a server recently and just today this has started to
appear in my top/htop output.
[root at db1 ~]# ps -aux | grep kernel
root 1011 0.0 0.0 212048 4532 ? Ss 13:34 0:00 /usr/bin/abrt-watch-log -F
BUG: WARNING: at WARNING: CPU: INFO: possible recursive locking detected
ernel BUG at list_del corruption list_add corruption do_IRQ: stack
overflow: ear stack overflow
2016 Feb 17
0
Kernel parameters ignored -
On 2/17/2016 6:39 AM, Michael H wrote:
> Some additional information;
>
> sysctl -a | grep kernel.shm
> kernel.shmall = 8650752
> kernel.shmmax = 35433480192
> kernel.shmmni = 4096
>
> which corresponds to my /etc/sysctl.conf
> kernel.shmmax=35433480192
> kernel.shmall=8650752
>
> but contradicts;
> ulimit -a
> [...]
> stack size (kbytes,
2016 Dec 13
1
virsh not detecting hugepage mount; disabled by config?
Hi,
I’m struggling with virsh not detecting my hugepage mount.
I have the following kernel command line:
BOOT_IMAGE=/vmlinuz-4.8.13-gentoo root=/dev/mapper/gensd-gentoo ro quiet
splash intel_iommu=on video=efifb:off,vesafb:off,simplefb:off
splash=verbose,theme:livedvd-aurora kvm.ignore_msrs=1
transparent_hugepage=never hugepages=3072 softlevel=qemuvm
My startup script outputs the following:
2015 Aug 19
0
shared memory - shmmax - shmall - page_size
Hi List,
I'm tuning up a new database server and I'm finding very mixed
information online.
Here are the default shmmax and shmall from my new system
cat /proc/sys/kernel/shmmax
4294967295
cat /proc/sys/kernel/shmall
268435456
SHMALL is close enough to being SHMMAX / 16.
Now, everything I'm finding online tells me that SHMALL = SHMMAX /
PAGE_SIZE. default page size is 4096.
2016 May 28
2
[LibFuzzer] Recent performance regression due to r270942
Hi,
This started as an off hand comment in [1] but this appears to be a
real issue so I'm moving the discussion to the mailing list.
In r270942 the time taken to run LibFuzzer's test became noticeably
longer. I am building on
* Arch Linux (4.5.4-1-ARCH #1 SMP PREEMPT Wed May 11 22:21:28 CEST
2016 x86_64 GNU/Linux)
* I am building libFuzzer and running its tests like so
```
1999 Jul 15
3
"shared mem size" parameter and smbstatus
I am trying to use the "shared mem size" parameter in Samba 2.0.4b, but
the size reported by smbstatus does not match the value I am using.
Without the parameter, the default is 1MB, and the size reported by
smbstatus is indeed 1048576. However, when I set the value of "shared
mem size" to 5242880 (5MB), smbstatus says 879608. Is smbstatus not
reporting the actual size, or
2013 Jun 04
3
Centos6.4 routing problem
dear All,
I'm facing this routing problem, the setup is actualy part of ltsp, but
I think this problem is Centos-specific.
The server is a Dell Poweredge R210. The install is standard 6.4, updated.
I have one nic facing the public internet:
vi /etc/sysconfig/network-scripts/ifcfg-em1
DEVICE=em1
BOOTPROTO=none
HWADDR=d4:ae:52:c1:28:2b
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet