Displaying 20 results from an estimated 3000 matches similar to: "Advise on recovering 2TB RAID1"
2010 Nov 08
11
Default ownership for static files
Hi,
I try to serve a file
file { "/root/test3.txt":
ensure => file,
source => "puppet:///yum/test.txt",
}
On the puppetmaster this files look like this
#$ ls -n test.txt
-rw-r--r-- 1 502 301 4 8 Nov 16:25 test.txt
Finally, here is my question: What ownership may I expect on the
resulting file ?
Actually this is the result for me:
#$ ls -l
2012 May 25
4
rspec first steps troubles
I try do implement tests for my puppet code and was playing with
rspec-puppet but the following code gives me errors
require ''spec_helper''
describe ''irqbalance'' do
it { should include_class(''irqbalance'') }
it { should include_class(''irqbalance::data'') }
it { should
2013 Mar 29
3
ovf conversion
I try do use one of the images available from [1]
These images comes in two flavors, one vmx, one ovf.
I do not know how to convert one of these to centos6-libvirt-kvm
virt-convert gives me an error
$ virt-convert -i ovf -o virt-image path_to_image.ovf
ERROR Couldn't convert disks: Disk conversion failed with exit status
1: qemu-img: Could not open 'path_to_image.vmdk'
The vmdk
2019 Oct 12
2
easy way to stop old ssl's
On 11.10.19 22:40, Warren Young wrote:
> On Oct 11, 2019, at 12:12 PM, Jerry Geis <jerry.geis at gmail.com> wrote:
>>
>> is there a script that is available that can be ran to bring
>> a box up to current "accepted" levels ?
>
> I don?t know why you?d use a script for this at all. Just ship a new HTTPS configuration to each server. Apache loads all
2012 Jun 03
3
rspec spec_helper
Hi,
I was playing with rspec and every time I find a possible improvement
that could be made in spec_helper or rakefile I have to change it in
every module that is using rspec tests. So maybe these things could be
centralized, I thought to myself.
I found the following module, actually.
https://github.com/puppetlabs/puppetlabs-module_spec_helper
But I am at a lost how to use it.
Is it supposed
2012 May 21
2
rpm user and groups
Hi!
This is a rpm question.
For example, mysql-server is adding mysql user with uid 27
Is this something I can ask the rpm db?
It seems not, because something like the following seems to give me no
useful information regarding users or uids
$ rpm -qa --provides|grep mysql
I would like to ask: what package would install uid XXX. How? Not possible?
--
Kind Regards, Markus Falb
--------------
2009 Dec 08
2
virt-install failed while install windows2003 guest
Here's the procedure:
# qemu-img -f qcow2 /vm/win2k3.img 8G
# virt-install --connect qemu:///system -n win2k3 -r 512 --vcpus=1 -c /home/temp/win2003sp2ins.iso -f /vm/win2k3.img -s 4
--network=bridge:br0 --mac=00:ff:ff:ff:58:58 --noautoconsole --vnc --os-type=windows --os-variant=win2k3 --hvm --accelerate
And I get error as below:
Starting install...
internal error unable to start guest: qemu:
2012 Mar 14
2
hiera on puppet 2.6.12
Hi,
I''m trying to use standard hiera on puppet (gentoo). I simply did
# gem install hiera
Then setup /etc/hiera.yaml
When i call the hiera() function in puppet i get
"Error 400 on SERVER: Unknown function hiera at /data/puppet/manifests/
site.pp:27"
Is there a step that I''m missing?
BTW. standalone hiera works fine.
--
You received this message because you
2014 Aug 07
1
kickstart - dont wipe data
Hi,
I am struggling with kickstart.
What I want to achieve is a reinstall, but some data partitions should
survive the install, i.e. they should not be formatted.
With a single disk this works, here is the relevant part from the
kickstart file (I shortened the name of the volume group)
...
zerombr
clearpart --none --initlabel
part /boot --fstype="xfs" --label=boot --onpart=vda1
part
2012 Apr 10
2
yum priorities and obsoleting...
Hey,
I ran into a yum conflict regarding an repoforge extra package obsoleting a base package.
The thing is that I set a lower priority to repoforge extra...
Any idea how come I ran into this issue...?
The question is more about the yum priorities than repoforge.
...
1743 packages excluded due to repository priority protections
...
--> Running transaction check
---> Package
2012 Apr 14
5
Changing Python Version
Hi;
I am trying to change the default version of python on my centos 5.7 box and leave the old installation. Frustrated by not finding any help online, I went ahead and installed Python 2.6 from the source. It appears to be my default, but when I fire up mod_wsgi, it complains that it can't import os. Please advise.
TIA,
Quincey?
2012 Jul 21
1
top on host and guest
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have a 6.3 guest running on a 6.3 host and the output from top seems
strange to me. At least I did not expect this.
While in the guest on core is busy with i/o the host seems idle.
Does anyone know why it is this way?
See the output from top below, first the one from guest, then host.
top - 14:12:35 up 12 min, 1 user, load average: 2.76,
2011 Jul 20
3
MySQL ERROR - UNKNOWN_MYSQL_USER
This is strange behavior because as soon as I start mysqld
with a clean error log, I get the following messages:
110720 21:38:47 [Note] /usr/libexec/mysqld: ready for
connections.
Version: '5.5.14-log' socket: '/var/lib/mysql/mysql.sock'
port: 2500 MySQL Community Server (GPL) by Remi
110720 21:38:48 [Warning] Access denied for user
2019 Oct 15
1
easy way to stop old ssl's
On 12.10.19 19:33, Warren Young wrote:
> On Oct 12, 2019, at 4:06 AM, Markus Falb <markus.falb at fasel.at> wrote:
>>
>> On 11.10.19 22:40, Warren Young wrote:
>>> Just ship a new HTTPS configuration to each server.
>>
>> Instead of configuring every application separataly it would be nice if
>> "accepted levels of security" could be set
2019 Apr 24
2
Systemd, PHP-FPM, and /cgi-bin scripts
On Wednesday, April 24, 2019 3:44:04 AM PDT Leon Fauster via CentOS wrote:
> > Am 24.04.2019 um 08:37 schrieb Benjamin Smith <lists at benjamindsmith.com>:
> >
> > CentOS 7 server and Fedora 29 dev workstation, both with PHP 7.2, Apache
> > 2.4, php-fpm, all updated.
> >
> > I have a web-based app I've been developing for some time, and recently
>
2012 Aug 28
5
Cut command behaviour - bug or feature
Greetings,
I have a CSV file with three fields.
eg.
a1,b1,c1
a2,b2,c2
....
I wanted the output to be:
b1,c1,a1
b2,c2,a2
....
the command
cut -d, -f2,3,1 <file>
returns
a1,b1,c1
cut -d, -f2,3 <file>
works as advertised.
Is it specific to linux?
In that case how do I go about swapping two columns? I do not think a
gazzillion byte gui is required.
The file size is about 43Megs.
2012 Jun 04
2
Windows architecture fact
We recently fixed the hardwaremodel and architecture facts on Windows
as they were always returning i386[1]. The change will be in the
upcoming 1.6.10 release of Facter[2]. The new behavior is that
hardwaremodel will return something like i686, ia64, x64, etc, while
the architecture fact will return either x86 or x64.
Since the new behavior will likely affect puppet users that are trying
to write
2019 May 08
5
kickstart compat C7 -> C8
Hi all,
I still use the following kickstart partition scheme for C7 installations (via virt-install):
Briefly, fixed size for /root and /boot, and the rest is filled up for /srv.
The same kickstart (despite that c7 uses vda, f29 uses sda) doesn't work with Fedora29 (EL8).
I get a "device is too small for new format" error. Any hints?
part /RESCUE --fstype="ext4"
2013 Dec 04
2
Found duplicate PV
Hey,
(sorry for cross-posting, you will find this message also in centos-virt, maybe, but this was not intended and a mistake)
I have a system with a mdraid 1
...
md1 : active raid1 sdb2[1] sda2[0]
1465031488 blocks [2/2] [UU]
...
this raid partition has a lvm physical volume with one volume group and several logical volumes. This machine is running since years and I seldom touch the lvm
2012 Apr 11
5
URGENT -- pseudo network interface creating problem with dhcp-- centos 5.5
Group,
My linux box, running with Centos-5.5, is showing up (??) a pseudo
network interface for Eth0.
On Switch where my Eth0 is connected, observed 2 MAC-Addresses.
If a DHCP server present in LAN, the second pseudo interface is
picking up a DHCP IP Address too.
Furthermore you can ping both Eth0 ip and Psedo Eth0 IP from the switch.
The intensity of the problem is more when port-security is