[CentOS] return code of 127 is out of bounds - plugin may be missing

2013-07-13 Thread Rolly Aquino
hi sir / maam

   can you help me on this *return code of 127 is out of bounds - plugin
may be missing* in centos configuration in nagios

thank you
rolly aquino

-- 
Rolly Aquino | I.T. Support
 
 www.xend.com.ph

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are
addressed. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your
system. Please note that any views or opinions presented in this email are
solely those of the author and do not necessarily represent those of the
company. E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore does
not accept liability for any errors or omissions in the contents of this
message, which arise as a result of e-mail transmission.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] return code of 127 is out of bounds - plugin may be missing

2013-07-13 Thread Eero Volotinen
Plugin is missing from directory, simple as that?


2013/7/13 Rolly Aquino 

> hi sir / maam
>
>can you help me on this *return code of 127 is out of bounds - plugin
> may be missing* in centos configuration in nagios
>
> thank you
> rolly aquino
>
> --
> Rolly Aquino | I.T. Support
>  
>  www.xend.com.ph
>
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are
> addressed. Please notify the sender immediately by e-mail if you have
> received this e-mail by mistake and delete this e-mail from your
> system. Please note that any views or opinions presented in this email are
> solely those of the author and do not necessarily represent those of the
> company. E-mail transmission cannot be guaranteed to be secure or
> error-free as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses. The sender therefore does
> not accept liability for any errors or omissions in the contents of this
> message, which arise as a result of e-mail transmission.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SpamAssassin under CentOS-6.4

2013-07-13 Thread Timothy Murphy
John Hinton wrote:

>> I wonder if anyone is actually running SpamAssassin
>> with Postfix/Amavisd-new under CentOS-6.4 .
>> I have followed the instructions in
>> 
>> but as far as I can see SpamAssassin is not working.
>>
>> I should say that I do not understand from this document
>> what is meant to happen to spam.
>> I understand that a Spam header is added,
>> but what actually happens to email considered to be spam?

Thanks for your response.

Just to add to my remark above,
I realize now that I should have made the change
--
# $QUARANTINEDIR = undef;  # -Q
$QUARANTINEDIR = "$MYHOME/quarantine";  # -Q
--
in /etc/amavisd/amavisd.conf ,
after which spam should go to this directory.
However, this change did not affect the fact that
email does not appear to be being processed by SpamAssassin.

> IIRC, SpamAssassin is run from Amavisd-new so the regular SA daemon does
> not run on its own.

I realize that, but I don't see any entry in amavisd.conf
that will start spamd running.
The only relevant entries in amavisd.conf as far as I can see are

[tim@alfred amavisd]$ grep \$sa amavisd.conf
$sa_tag_level_deflt  = 2.0;  # add spam info headers if at, or above that 
level
$sa_tag2_level_deflt = 6.2;  # add 'spam detected' headers at that level
$sa_kill_level_deflt = 6.9;  # triggers spam evasive actions (e.g. blocks 
mail)
$sa_dsn_cutoff_level = 10;   # spam level beyond which a DSN is not sent
$sa_crediblefrom_dsn_cutoff_level = 18; # likewise, but for a likely valid 
From
# $sa_quarantine_cutoff_level = 25; # spam level beyond which quarantine is 
off
$penpals_threshold_high = $sa_kill_level_deflt;  # don't waste time on hi 
spam
$sa_mail_body_size_limit = 400*1024; # don't waste time on SA if mail is 
larger
$sa_local_tests_only = 0;# only tests which do not require internet 
access?
$sa_spam_subject_tag = '***Spam*** ';

These seem to be the only lines in this file involving SpamAssassin.

However, stopping SpamAssassin and then re-starting amavisd 
does not re-start SpamAssassin:
---
[tim@alfred amavisd]$ sudo service spamassassin stop
Stopping spamd:[  OK  ]
[tim@alfred amavisd]$ ps aux | grep spamd
tim   4706  0.0  0.0 103244   840 pts/2S+   11:43   0:00 grep spamd
[tim@alfred amavisd]$ sudo service amavisd restart
Shutting down amavisd: Daemon [4651] terminated by SIGTERM
   [  OK  ]
amavisd stopped
Starting amavisd:  [  OK  ]

[tim@alfred amavisd]$ ps aux | grep spamd
tim   4734  0.0  0.0 103244   840 pts/2S+   11:43   0:00 grep spamd
[tim@alfred amavisd]$
---


-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
School of Mathematics, Trinity College, Dublin 2, Ireland


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SpamAssassin under CentOS-6.4

2013-07-13 Thread Timothy Murphy
Frank Cox wrote:

>> I wonder if anyone is actually running SpamAssassin
>> with Postfix/Amavisd-new under CentOS-6.4 .
>> I have followed the instructions in
>> 
>> but as far as I can see SpamAssassin is not working.
> 
> I run spamassassin and postfix on my mailserver, but don't run amavisd.

Thanks for your response.
If I can't get SpamAssassin working with amavisd I'll do that.
But I assume someone must have it working
since it is referred to in the CentOS wiki.centos.org
in various Howto's.
 
> spamassassin adds a header to incoming email that looks something like
> this:
> 
> X-Spam-Status: No, score=-103.5 required=5.0
> tests=AWL,BAYES_00,HTML_MESSAGE,
> RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,USER_IN_WHITELIST autolearn=ham
> version=3.3.1

Yes, I realise that, and SpamAssassin on my system works fine
if run with sample email
spamassassin -D < spammail > spammail.out
But as far as I can see, amavisd is not starting spamd running.

> You can then configure your mail client to trash or sort email based on
> the presence or absence of the [SPAM] tag in the subject line.

Unfortunately, as I said, SA does not appear to be processing any email.
Amavisd is setup to send any spam to ~/quarantine/
but sadly this directory remains empty.

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
School of Mathematics, Trinity College, Dublin 2, Ireland


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-announce Digest, Vol 101, Issue 9

2013-07-13 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."


Today's Topics:

   1. CESA-2013:1049 Critical CentOS 5 php Update (Johnny Hughes)
   2. CESA-2013:1050 Critical CentOS 5 php53 Update (Johnny Hughes)
   3. CESA-2013:1049 Critical CentOS 6 php Update (Johnny Hughes)


--

Message: 1
Date: Fri, 12 Jul 2013 21:32:43 +
From: Johnny Hughes 
Subject: [CentOS-announce] CESA-2013:1049 Critical CentOS 5 php Update
To: centos-annou...@centos.org
Message-ID: <20130712213243.ga29...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2013:1049 Critical

Upstream details at : https://rhn.redhat.com/errata/RHSA-2013-1049.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

i386:
590fb8fcdb6b0fd88d6a8cc54b650ee7562add8012983ecfc64e60156e8c7bad  
php-5.1.6-40.el5_9.i386.rpm
d1bab1437356de3fd195376ab79872da5cdc051f9f4166197c6bd4de4ab72a98  
php-bcmath-5.1.6-40.el5_9.i386.rpm
4e95df302211de14395d9b0bffb5bfef7742a9ae52b86ee71c3570bfcb09c663  
php-cli-5.1.6-40.el5_9.i386.rpm
fd3ec537541ad651762d303fa1f2fee875483a26404f32fa41dae75aea874a25  
php-common-5.1.6-40.el5_9.i386.rpm
206c9170884aaffe95c0d9bddcc74bb59591ae5f66549d5c07d4b48fb6702d61  
php-dba-5.1.6-40.el5_9.i386.rpm
e78e5498f0512c8d43e4e515842f88e521406105502d081e3cf0e557aa276f72  
php-devel-5.1.6-40.el5_9.i386.rpm
91b51580c553dd19dc1c44bc4eb711268bab1d10a2ead32e7e3d78ab2fbc8e81  
php-gd-5.1.6-40.el5_9.i386.rpm
89696fdf8ed27e649536df244e5d508f2807781d56d39c600f317774d3a343e6  
php-imap-5.1.6-40.el5_9.i386.rpm
145d5e2e2cd10f454531735be4850264106211a094c07ac49597bfa439c7669c  
php-ldap-5.1.6-40.el5_9.i386.rpm
f85384413e547b7bd5767ea5bbd6f945315f98c8b615f7cf924a7465acd9f8d2  
php-mbstring-5.1.6-40.el5_9.i386.rpm
af213fe0b0ae08fb1ebf1ec75621877fb214bc7f8c7428017b3e46239d52e21e  
php-mysql-5.1.6-40.el5_9.i386.rpm
895834c2ba8a33856ffd95ab9b22d06182c1c18156c516e07f3976d73db13b44  
php-ncurses-5.1.6-40.el5_9.i386.rpm
8ead7b3c610001c6aaf53bd4913527b7951ab0756bfff666d113d3391d84d2c0  
php-odbc-5.1.6-40.el5_9.i386.rpm
798517a0c112b1e21c1992d7731b198d0e3caa9b4a5a5b34d81f41c10b6a4251  
php-pdo-5.1.6-40.el5_9.i386.rpm
4b5f7ab49172c4fcebdd309f9b3322f11f9987f657bd7ef0a29953b165fc1d21  
php-pgsql-5.1.6-40.el5_9.i386.rpm
534d509656c49c5567182efec056bb2122dafc20012efbed0663fa4f060bab65  
php-snmp-5.1.6-40.el5_9.i386.rpm
b3dd8b9adb02e9fa003bea3ad33bfd93020c43547b7618b806b0038e86662e84  
php-soap-5.1.6-40.el5_9.i386.rpm
ffdb67ee815e346d81dfbe7160e55b2c0f535f96f507c9f52989f3c67b301ef7  
php-xml-5.1.6-40.el5_9.i386.rpm
ec514c335ccc3775a112df41f248a7d9f2e78b12b737cc53d6dfb641d7c84238  
php-xmlrpc-5.1.6-40.el5_9.i386.rpm

x86_64:
229e19e850e0aa46dc08ff023d9b750b7f4a079af338b459e8324bc900198b42  
php-5.1.6-40.el5_9.x86_64.rpm
7912f70e28ffcc0b4082732149a409bf6b0fc91b895dc8aeeb4c45858283d58c  
php-bcmath-5.1.6-40.el5_9.x86_64.rpm
232ef8c2afac39ac11c6fe998fc3f7de45079ed68b4ff6159e924350bcc8826b  
php-cli-5.1.6-40.el5_9.x86_64.rpm
a88c8e47dba9c931f70efc91faae9d193b317ee00516a4dd7d2af2295f564e22  
php-common-5.1.6-40.el5_9.x86_64.rpm
0dcf7fc57c298bfe77e2007ac4028fa8eb5afa46651da11aff848e9f92de6c1d  
php-dba-5.1.6-40.el5_9.x86_64.rpm
535c8199521b2a835100479cf8156e5511af3d20ee6f1dbf635174efda564c71  
php-devel-5.1.6-40.el5_9.x86_64.rpm
9b12ad9cfaf1bb5b73b9b6c1b67892e22aab2b6d105fb63b342b31a9d78445ea  
php-gd-5.1.6-40.el5_9.x86_64.rpm
3240dd3df75b32c281aa3e0fbbb1864324caaf89207eab05dd127e6c09d29ceb  
php-imap-5.1.6-40.el5_9.x86_64.rpm
f84af700cfd9318c6cc9946b6a43862dadb7f7e0824b55156d4d3d162c2fbc17  
php-ldap-5.1.6-40.el5_9.x86_64.rpm
9bef8ef4576460a273c76942d07ae17b8d06e6b466202aad09aed844f1f927dc  
php-mbstring-5.1.6-40.el5_9.x86_64.rpm
ebf463172c2424d703104f5c03da202d38d8bb82ba7b33f943154d9218a48895  
php-mysql-5.1.6-40.el5_9.x86_64.rpm
e455987565a99df8e8a728754d0746720cdb742754fa6885734173030cb7c32e  
php-ncurses-5.1.6-40.el5_9.x86_64.rpm
508510b4d3684cc542f5a5c0d998a6243a795cafb2246670056f2e391379060f  
php-odbc-5.1.6-40.el5_9.x86_64.rpm
c89678d8ff57055e67eae552de7a01ec4b092294768808225f4cb387eb681f70  
php-pdo-5.1.6-40.el5_9.x86_64.rpm
ab384ddb2647cc3572923d75d18d4d16a0f8720ef46ba6e1ed0ba627732882a7  
php-pgsql-5.1.6-40.el5_9.x86_64.rpm
a652a67430e910b78470db43df6f8cf72abcecf630e21e07ff0749e7f2146ce8  
php-snmp-5.1.6-40.el5_9.x86_64.rpm
b57771c3c5875c6e1fe35bf35c9c69bf88a6ea4b20d115bbb360faa4b3789e16  
php-soap-5.1.6-40.el5_9.x86_64.rpm
eb05a0e7bf98908

Re: [CentOS] port for rpc.statd occupied rsync port

2013-07-13 Thread Leon Fauster
Am 12.07.2013 um 23:47 schrieb Helmut Drodofsky :
> Hello,
> 
> booting starts /etc/init.d/nfslock. today, rpc.statd used port 873.
> 
> later starting xinetd finds port used and disabled rsync daemon.
> 
> So its more or less a lucky break, to boot CentOS and have rsync running?
> 
> In /etc/rc3.d is
> S14nfslock
> S56xinetd
> 
> so by design xinetd starts always after nfslock



It is possible to set a dedicated port for lockd / statd in /etc/sysconfig/nfs.

--
LF




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Runaway rpm process?

2013-07-13 Thread James B. Byrne

On Fri, July 12, 2013 13:34, Alexander Dalloz wrote:
> Am 12.07.2013 16:06, schrieb James B. Byrne:
>>
>> CentOS-6.4_x86_64
>>
>> I have a KVM virtual machine (several actually) which acts as a warm
>> spare for another kvm instance running on a different physical host.
>> Each hour it backs up the live system using rsync.  This morning I
>> discovered that the backup instance was running at 99% utilisation
>> and that the process consuming the entire virtual cpu was this:
>>
>> sh -c rpm -q -a --queryformat
>> "%{NAME}\n%{VERSION}-%{RELEASE}\n%{EPOCH}\n%{GROUP}\n%{SUMMARY}\n\n"
>> 2>/dev/null
>>
>> In fact there were two identical instances of these processes, one
. . .
>> Where is this process started from?  What does it do?  And why is it
>> consuming so much cpu.?
>>
>> Does anyone here have any ideas?
>
> rpm-cron-4.8.0-32.el6.noarch
>
> which contains
>
> /etc/cron.daily/rpm
>
> It writes a file which contains a list of installed RPM packages on
> the system.

Does anyone have any suggestion as why this process would get hung up
like this?


-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Runaway rpm process?

2013-07-13 Thread Alexander Dalloz
Am 13.07.2013 17:02, schrieb James B. Byrne:
> 
> On Fri, July 12, 2013 13:34, Alexander Dalloz wrote:
>> Am 12.07.2013 16:06, schrieb James B. Byrne:
>>>
>>> CentOS-6.4_x86_64
>>>
>>> I have a KVM virtual machine (several actually) which acts as a warm
>>> spare for another kvm instance running on a different physical host.
>>> Each hour it backs up the live system using rsync.  This morning I
>>> discovered that the backup instance was running at 99% utilisation
>>> and that the process consuming the entire virtual cpu was this:
>>>
>>> sh -c rpm -q -a --queryformat
>>> "%{NAME}\n%{VERSION}-%{RELEASE}\n%{EPOCH}\n%{GROUP}\n%{SUMMARY}\n\n"
>>> 2>/dev/null

[ ... ]

> Does anyone have any suggestion as why this process would get hung up
> like this?

Probably you had updates installed on the primary VM, then your rsync
job did the syncronization while at the same time the rpm job had
started on the secondary system, thus the database query (rpm_db is in
fact a database) got confused and failed to operate properly. That's to
be expected if you work with a database and inject changes to its files
with something like rsync.

Alexander

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SpamAssassin under CentOS-6.4

2013-07-13 Thread Rob Kampen

On 07/13/2013 10:44 PM, Timothy Murphy wrote:

Frank Cox wrote:


I wonder if anyone is actually running SpamAssassin
with Postfix/Amavisd-new under CentOS-6.4 .
I have followed the instructions in

but as far as I can see SpamAssassin is not working.

I run spamassassin and postfix on my mailserver, but don't run amavisd.

Thanks for your response.
If I can't get SpamAssassin working with amavisd I'll do that.
But I assume someone must have it working
since it is referred to in the CentOS wiki.centos.org
in various Howto's.
I just checked on my server - no process for spam* but there are 3 for 
amavis and I get emails into my client with the "***SPAM*** " heading, 
thus spamassassin is running and doing the task, called and managed by 
amavisd. I have never done an autopsy on the whole mix as it just worked 
when I followed the recipe.
  

spamassassin adds a header to incoming email that looks something like
this:

X-Spam-Status: No, score=-103.5 required=5.0
tests=AWL,BAYES_00,HTML_MESSAGE,
RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,USER_IN_WHITELIST autolearn=ham
version=3.3.1

Yes, I realise that, and SpamAssassin on my system works fine
if run with sample email
spamassassin -D < spammail > spammail.out
But as far as I can see, amavisd is not starting spamd running.


You can then configure your mail client to trash or sort email based on
the presence or absence of the [SPAM] tag in the subject line.

Unfortunately, as I said, SA does not appear to be processing any email.
Amavisd is setup to send any spam to ~/quarantine/
but sadly this directory remains empty.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos