Displaying 20 results from an estimated 2000 matches similar to: "L9 - what is a value"
2011 Oct 19
1
L9 - what is true?
This code:
boolean(null); ', ';
boolean(string); ', ';
boolean(integer);', ';
boolean(array); ', ';
boolean(map); ', ';
gives:
false, false, false, true, true
This is different from L8. Is this intentional? If so, why?
This has consequences which I think are counterintuitive:
if(array(1) -> find('whatever'));
This evaluates as true.
2010 Jan 04
2
Sendmail error: auxpropfunc error invalid parameter supplied
I just noticed this error in my messages log after restarting sendmail.
The only change I have made is
1) manual fix in /usr/share/spamassassin/72_active.conf
2) sa-update (several times)
Now the mail is not running ok, my mail queue keeps growing.
Regards,
Jussi Hirvi
2009 Dec 16
5
Old hd, new machine
What should I do to make an existing CentOS (5.4) disc boot up on a new
computer?
I just made on CentOS 5.3 installation on that machine, so I know the
hardware is compatible.
Would it be enough to boot with a DVD in rescue mode, or boot with
another hd, and install grub?
- Jussi
--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358
2010 Jul 21
4
Fsck on mdraid array
Something seems to be wrong with my file systems, and I want to fsck
everything. But I cannot.
The setup consists of 2 hds, carrying 3 raid1 (ext3) file systems (boot,
/, swap). OS is up-to-date CentOS 5.
So I boot from CentOS 5.3 dvd in rescue mode, do not mount the file
systems, and try to run
fsck -y /dev/md0
fsck -y /dev/md1
fsck -y /dev/md2
For each try I get an error message:
2008 Aug 21
3
Disk quotas for Sendmail
Hi,
CentOS 5.x, Sendmail 8.13.8.
I would like to start using disk quotas on my Sendmail server, and optimally
they should be configurable by user or group. How can this be done? (I tried
to google, but no success.)
- Jussi
--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. & fax +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hirvi at greenspot.fi *
2007 Jan 19
2
Installing 4.4 - problem on 386
I tried installing with several options (noacpi noapm; noprobe; noprobe
skipddc noacpi noapm nodma). Always I get the same error.
BUT this is not in fac a CentOS problem at all, because I get the same error
always when I boot from hd (Fedora Core), IF there is a CD in the CD-ROM
drive. (I tried with CentOS 1/4, CentOS 2/4 and a HP printer software CD.)
It must be something with the CD drive!
2008 Aug 15
1
Hard disk, format, filesystem
Ok, I give up... I have to ask. This is CentOS 5.
I switched one of my raid1 disks, and I already thought I had succeeded. But
now it seems that something is very wrong with the first partition on the
new disk. Luckily my system is fully bootable with the other disk.
Here's some info. The new disk is sdb.
// I removed all partitions with parted, and created the first one again.
// parted
2010 Oct 12
2
Openwebmail emergency (Perl)
After system update yesterday, Openwebmail now gives an error:
> Undefined subroutine &Compress::Zlib::memGzip called at /var/www/cgi-bin/openwebmail/shares/ow-shared.pl line 1175.
I tried to do
perl -MCPAN -e shell
install Compress::Zlib
But it says Compress::Zlib is up-to-date. What do to?? I cannot find an
answer by googling.
- Jussi
--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15
2011 Apr 27
2
Where is my qemu command?
KVM virtualization is full of wonders. :-/
I would need to attach an USB disk to a vm, but how?
The command "qemu" would provide a way:
[root at a134-224 yum.repos.d]# man qemu-kvm
> QEMU(1)
> NAME
> qemu-doc - QEMU Emulator User Documentation
>
> SYNOPSIS
> usage: qemu [options] [disk_image]
(...)
> -usbdevice devname
> Add the
2008 Oct 30
3
[OT] List of all email users
This is not CentOS-specific, hence OT.
I need a list of all email users on my system (there are hundreds of them).
The list could be extracted from /etc/aliases and the virtusertable.
Does anyone know of a script that would do this automatically? It would have
to
- exclude commented-out lines (of course)
- exclude duplicates
- produce a list of usernames (or maybe unresolved email addresses for
2010 Sep 28
4
Mailman - searchable archive
Mailman works well for our mailing lists, but the archive is
unacceptable - the worst thing is lack of search function.
I got one tip for this:
1) emails converted to html format with mhonarc
2) search can be done with htdig
Opinions? Maybe there are better software solutions for this - I hope.
- Jussi
--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9
2011 Mar 29
4
VMware vSphere Hypervisor (free ESXi) and mdraid
Can I combine VMWare ESXi (free version) virtualization and CentOS
mdraid level 1? Any pointers how to do it? I never used VMWare before.
- Jussi
--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hirvi at greenspot.fi * http://www.greenspot.fi
2011 Apr 11
1
KVM resources?
Later this week I will have to install a serious KVM setup, and I am
looking for background material.
I found a nice how-to:
http://wiki.centos.org/HowTos/KVM
...but it is probably partly outdated by now.
Then there is a fine virtualization manual:
http://www.centos.org/docs/5/html/5.2/Virtualization/
...but it seems to be only for xen.
I plan to use either CentOS 5.6 or Scientific Linux
2010 Jul 02
1
File sharing solution
I would like to offer my isp clients a solution for sharing (big) files,
basically on one-to-one basis. This is how I imagine it:
- an anonymous or registered user can upload a file
- on response (s)he will get a file-specific (or batch-specific)
username/password
- (s)he can send a link and un/pw by email
- the receiver can download the file
- the file will be automatically deleted from the
2008 Aug 12
2
Sendmail with TLS, permission problem
Hello, list,
I have a problem with Sendmail configuration.
I'm building (on CentOS 5) a "dual-MTA" setup with amavisd-new (as specified
in amavisd-new documentation, file README.sendmail-dual).
So far so good. But when I tried to add server SMTP-AUTH and TLS, I get a
strange, permission-related error, and STARTTLS will not start.
In my .mc conf, the Sendmail user is now the usual
2008 Oct 17
7
ls and rm: "argument list too long"
Since when is there a limit in how long directory listings CentOS can show
(ls), or how large directories can be removed (rm). It is really annoying to
say, for example
rm -rf /var/amavis/tmp
and get only "argument list too long" as feedback.
Is there a way to go round this problem?
I have CentOS 5.2.
- Jussi
--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki *
2010 May 06
2
Not firewall, but what?
I have a strange problem, where some clients see the website on my
server and some do not. It is not about the iptables, and seems to be
not about tcp wrapper. Still it is something within the box.
More details:
- the problem is only with some clients, with no geographical connection
between them; other clients see the website just fine
- the problem-clients get timeout with their browser
-
2011 Apr 22
2
KVM, virsh attach-disk error
I try to add a fresh, unformatted disk partition to a KVM guest. I
follow the directions given here:
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html-single/Virtualization/index.html#proc-Virtualization-Adding_storage_devices_to_guests-Adding_physical_block_devices_to_virtualized_guests
First I check that the module acpiphp is present on the guest. It is.
On the host I write:
2011 Apr 23
1
KVM, virsh attach-disk problems
Greetings, list!
I hope you forgive cross-posting - I only now found this list.
I am in the process of configuring a KVM stack of about 8 vms. Mostly I
am concerned about performance, as there will be a lot of I/O.
My last problem is this: I try to add a fresh, unformatted disk
partition to a KVM guest. I follow the directions given here:
2011 Mar 31
3
Migrating standalone systems to KVM
A while ago I got great instructions from Pasi for migrating standalone
systems to *xen*. However, now I have decided to use KVM instead, which
raises a new question:
How to migrate a standalone system to *KVM*?
I know a two-step way to do it:
standalone system -> xen pv guest
xen pv guest -> KVM pv guest
I read that xen -> KVM migration is trivially easy.
But is there an easier