Server :: Can't Understand Logwatch Error

May 23, 2011

This problem is occurring on Red Hat EL 5 WS. However, I have two CentOS 5 systems, with similar configuration to RH EL 5, where this problem does not occur.

I am getting this error:

Can't exec "sendmail": No such file or directory at ./0logwatch line 1018, <TESTFILE> line 1.
Can't execute sendmail -t: No such file or directory

View 3 Replies


ADVERTISEMENT

Red Hat :: Logwatch Kernal Error Report RHEL 6

May 19, 2011

Logwatch has been showing me there is kernal errors present on my server.Below is the full report from logwatch, please let me know if there is anything I should be aware of and fix.

View 1 Replies View Related

Programming :: Cannot Understand Invalid Read Error

Aug 25, 2010

I have just started using Valgrind,which really is great. Most of the reported errors look kinda weird, though I can't really understand what's going on here, for example:

==00:00:02:52.033 7754== Invalid read of size 4
==00:00:02:52.033 7754== at 0x80B0987: MyCls::MyPrintf(long, char*, ...) (MyCls.cpp:270) ...
==00:00:02:52.033 7754== Address 0x47a5ee8 is 0 bytes after a block of size 296 alloc'd ...
==00:00:02:52.033 7754== by 0x809A6C1: ClsMain::taskRun(int, char**) (ClsMain.cpp:177)
==00:00:02:52.033 7754== by 0x816CFE8: main (main-C.cpp:2060)

==7754== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- Y
==00:00:02:57.410 7754== starting debugger with cmd: /usr/bin/gdb -nw /proc/7765/fd/1014 7765
GNU gdb Red Hat Linux (6.5-25.el5rh)
Copyright (C) 2006 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as
"i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

Attaching to program: /proc/7765/fd/1014, process 7765
MyCls::MyPrintf (this=0x47a5dc0, iPrm=3,
sMsg=0x6974320 "blablabla"...) at MyCls.cpp:270
270 cout<<endl<<"m_FilePtr="<<hex<<m_FilePtr<<dec<<endl;

Basically, Valgrind reported the "Invalid Read" error at line 270 of file MyCls.cpp, which is simply a cout of the m_FilePtr variable, which is a member variable of the MyCls class. It's a FILE* variable I use to write repeatedly on a text file. The address reported (0x47a5ee8) is 296 bytes after the "this" pointer (0x47a5dc0),as Valgrind correctly tells me but I honestly don't understand that. And of course, I need to read that variable, not only for the cout (indeed,the error is reported at every reading attempt). Besides, the application doesn't crash, but still I would like to understand if I really have to worry about this "error".

View 10 Replies View Related

Server :: How To Understand Different Timing Of CPU

Aug 23, 2010

I am anticipating that someone could give more further information about that, not only simple explanations. How to understand User Time, sys time, wait time, idle time of CPU

View 1 Replies View Related

Server :: Can't Get Logwatch To Email A Daily Summary?

Oct 12, 2010

I have a squid proxy server (which I am very new too) which all traffic from my office goes through. The proxy itself is working fine, but I can not get logwatch to email me a daily summary. logrotate seems to be throwing an error:

# logrotate /etc/logrotate.conf
error: squid:1 duplicate log entry for /var/log/squid/access.log

My /etc/logrotate.d/squid file is below... My access logs are in /logs/squid not in /var/log/squid.

[Code]...

View 1 Replies View Related

Server :: Getting Logwatch Working With Shorewall Logs?

Sep 9, 2010

How to get logwatch working with shorewall logs. I tried fwlogwatch but could not get that working.

View 1 Replies View Related

Ubuntu Servers :: Logwatch / Sendmail - Error (grandchild 27612 Failed With Exit Status 127)?

Dec 14, 2010

I am using ubuntu server 10.10. Tried to create a cronjob for logwatch/sendmail, but without sucess.
I followed the instructions : URL

When I type :

Quote:

sudo grep CRON /var/log/syslog

I get the result :

CRON[27611]: (CRON) error (grandchild #27612 failed with exit status 127)

View 4 Replies View Related

Server :: An Apache Tutorial Points To A Mistake But Could Not Understand It?

Jun 15, 2010

Here is a link to atutorial which mentions following use of ReWriteRule is wrong.

Code:
RewriteEngine On
RewriteBase /

[code]....

View 2 Replies View Related

Server :: Deferrals Appearing Frequently In Nightly Logwatch Report

Apr 14, 2010

i want to make sure my mail server is behaving as expected. the past two nights, i've received logwatch notices below. the section in question is the 20 or so deferrals from some .ru e-mail address. i've since removed the user that registered on my wordpress blog (wlvp@yandex.ru) and added the three IP address to iptables DROP, but these "e-mails" still look like they're in some queue unless i'm reading wrong. i've removed known usernames in case you find the numbers useful. why are all these deferred messages here? if they're stuck in a queue, can i remove them?

View 2 Replies View Related

Server :: Logwatch On Multiple Servers, Need Only Short/critical Output?

Apr 27, 2010

I have currently 7 servers that report logwatch every day.Fact is that it's lot of information to process every day, I would like to have as short as possible overview of events happened in last 24h is only critical/warning information . It would be + if all servers output could be gathered in 1 email

View 2 Replies View Related

CentOS 5 Server :: Read Sendmail Log In Logwatch (what Is Arg1 And Arg2)?

Jun 6, 2009

how do I decipher the following entries from sendmail log:ruleset=check_relay, arg1=[120.2.197.187], arg2=127.0.0.11, relay=[120.2.197.187], reject=553 5.3.0 Rejected - your IP is blacklisted by http://www.spamhaus.org: 1 Time(s)

View 3 Replies View Related

CentOS 5 Server :: Sending Logwatch To External Mail Address?

Nov 4, 2009

My ISP blocks outgoing email if it does not login properly with a valid account. I successfully configured sendmail to use SMART_HOST and confAUTH_OPTIONS with confAUTH_MECHANISM set to LOGIN PLAIN.

It successfully sends email because I tested it with evolution sending through 127.0.0.1, but I need to specify myacount@mydomain.com as the email address for root.

But it doesn't work for logwatch because it sends as from root@localhost.localdomain, and my ISP's smtp server rejects it. The message I get back in root@localhost account is the following:

----- Transcript of session follows -----
... while talking to smtp.mydomain.com.:
>>> MAIL From:<root@localhost.localdomain> SIZE=581 AUTH=<>
<<< 550 5.7.1 Client does not have permissions to send as this sender
554 5.0.0 Service unavailable

I thought that I should masquerade all emails from this domain, so I configured sendmail as specified in [1] section "24.3.1.4. Masquerading", but it doesn't work. It seems that masquerading in sendmail is broken or something is wrong in the documentation.

[1] [URL]

I have sendmail 8.13.8-2 and centos-release-5-4.el5.centos.1.

Is there a way to specify the "From:myacount@mydomain.com" in logwatch ? or Is there a way to make it work the masquerading in sendmail so I can masquerade everything as coming from a specific account?

View 4 Replies View Related

General :: Logwatch Configure To Use SSH Tunnel Into Mail Server To Send Log Reports

Feb 28, 2011

We have following setup,

1. Webserver (Centos 5.5)
2. Mail server (Centos 5.5)

We have configured autossh successfully to create/manage the ssh tunnel into mail server in order to dump all emails to localhost port.

To auto start autossh in boot time we have included following into /etc/rc.d/rc.local,

Quote:

So whenever our web application wants to send out emails it dump all emails to localhost:33465 port, easy piecy, all are working great

Now we have a requirement that logwatch reports should get delivered via the same ssh tunnel rather than installing postfix and configuring as a relay.

In logwatch is there a way to achieve that?

View 4 Replies View Related

Ubuntu :: Understand Hard Disk Diagnosis Result / "read Error " While Booting?

Apr 3, 2011

I face "read error " while booting. sometimes it start normally. someone told me to check hard disk for errors. i used gsmartcontrol for this. but from its result i am unable to decide is this hard disk failure or just minor errors. can somebody tell me do i require to change my hd or it just something else to cause such error.

View 5 Replies View Related

Server :: Like To Understand Linux 'free' Command With Respect To Cache And Free Memory

Mar 27, 2010

Was wondering if anyone can explain briefly the relationship of "cache" and free memory in the "free" memory command.

View 2 Replies View Related

CentOS 5 Server :: Samba Config Doesn't "understand" Smb.conf Lines About "recycle"

May 5, 2011

Samba is working fine, and I haven't used the config utility for some months now. but today, in trying to create another share, a warning dialog is displayed about lines that are not "understood". What is wrong and why is this happening now?Here are the lines from the warning dialog

297: recycle:repository = .deletedlou/%U
298: recycle:keeptree = Yes
299: recycle:touch = No
300: recycle:versions = Yes

[code]....

View 1 Replies View Related

Red Hat :: Cannot Understand Working Of Yum

Dec 2, 2010

I am a linux newbie (more so with using RedHat). I am trying to use yum to install packages, but have never really able to get this thing right. I want to install libXp-devel package. However, running yum install libXp-devel doesn't work.

When I downloaded the rpm for libXp-devel and tried to run yum install libXp-devel-1.0.0-8.1.el5.x86_64.rpm, I get the following:

Code:

Resolving Dependencies
--> Running transaction check
---> Package libXp-devel.x86_64 0:1.0.0-8.1.el5 set to be updated
--> Processing Dependency: libXp = 1.0.0-8.1.el5 for package: libXp-devel
--> Processing Dependency: libXau-devel for package: libXp-devel

[code]...

View 5 Replies View Related

Security :: How To Configure Logwatch

Mar 4, 2010

how to configure Logwatch? where can I find its config file? I never configure it but I received email everyday from Logwatch@mydomain.com..

View 1 Replies View Related

Software :: Does Logwatch Run Automatically?

Jun 16, 2009

Does logwatch run automatically, or do I need to make a cron entry for it? How can I reset logwatch? When I run logwatch from the command line twice, it sends the same email twice.

View 4 Replies View Related

Ubuntu Servers :: Logwatch On 10.04 Dhcp?

Jun 16, 2010

i was wondering if there is anybody out there who has logwatch running and configured to just grab dhcp leases only

View 3 Replies View Related

Red Hat / Fedora :: Logwatch Reports Are Nearly Empty

Apr 10, 2010

I've installed Logwatch 7.3.6 via the rpm on my CentOS 5.4 server. The issue is I'm getting basically empty reports from logwatch. The only two sections which have any information are samba and diskspace.

The only default options in the config file I've modified are: Code: print = No output = html I'm suspecting the issue has to do with the fact that the as-logged host name doesn't match my current host name. However, I've tried manually changing this on a few entries so they match but they didn't show up in the report. According to the config file, the default for option HostLimit is "No" -- so Logwatch should not care what hostname it sees in a log file, right?

View 1 Replies View Related

General :: E-mail Only Received From Logwatch

Aug 11, 2009

I am receving emails from logwatch but when I setup my own mail script using mutt, the script succeeds but no email is received.Any ideas what the difference is between the two mail methods?

View 14 Replies View Related

General :: What Is (1xx 0, 2xx 8, 3xx 0, 4xx 3, 5xx 0) In Logwatch Httpd Section

Nov 27, 2010

In this part of logwatch:

Code:
--------------------- httpd Begin ------------------------
0.12 MB transferred in 11 responses (1xx 0, 2xx 8, 3xx 0, 4xx 3, 5xx 0)

[code]....

View 2 Replies View Related

CentOS 5 :: Logwatch Not Sending Reports?

Aug 31, 2010

When I installed Cent before I got my logwatch messages sent to me. for somreason this new server I built I am not getting them. can mail off the server and there is no mail in the Q or in root. I also put in a .forward file in my root to mail to my external account and it works fine. I get mail from fail2ban and denyhosts but not the logwatch.Thoughts on what I could be missing? I check the link and the files are all there. I changed the config file to give me a High level of detail. Thats about it. If I use the command line for logwatch it sends mail fine. logwatch --detail high --logfile messages --mailto yourname@domain.com

View 6 Replies View Related

OpenSUSE :: How To Understand System.time

Mar 29, 2011

(inside R) I am using system.time function to measure the execution time of two functions

> system.time(lapply(seq(1:1000000),returni))
user system elapsed
0.982 0.100 1.057

[code]....

View 3 Replies View Related

Ubuntu :: Cant Understand Y There Is No Dock Option

Oct 19, 2010

I cant understand y there is no dock option in this

View 4 Replies View Related

Ubuntu :: LAMP: Don't Understand How To FTP Localhost

Apr 19, 2011

I'm in way over my head and have absolutely no idea what I am doing.I set up a lamp server earlier today on ubuntu 10.10 and I'm trying to upload files to wordpress which I installed at local host using vsftpd. I am so lost.Something about this entire process has not clicked in my head;

View 1 Replies View Related

General :: Trying To Understand Where Bootloaders Are Installed

Apr 28, 2011

In the beginning there is MBR. MBR looks for the active partition and tranfers control to the VBR of the active partition. MBR is where grub may be installed. which allows the user to choose an OS(a VBR) I am not sure what the program in the VBR does,but it manages to loads the OS. What am I trying to do: Backup. I ma tired of losign my partitions my bootloaders. I want to backup them all! partitions/MBR /VBR everything short of creating an disk image.

My questions:

1. say the ubuntu partition is formatted, will grub still load? if not is there a bootloader that would?am I making sense? i hope so...

2. what exactly does the VBR contain ?

2. How do I go about backing up? The mbr and the partiton table are backed up with a simple dd command. Then what else needs to be backed ? VBR's of every partition?

View 5 Replies View Related

General :: Not Able To Understand The Output Of W Command

Aug 9, 2011

I have taken putty session of a server from two separate machines namely HOST1(3 sessions) and HOST2(1 Session) . However w command says there are 5 users

Code:
# w
09:29:36 up 34 days, 15:48, 5 users, load average: 0.62, 4.33, 8.16
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/17 HOST1 09:18 4:26 0.01s 0.01s -bash
root pts/18 HOST1 09:27 1:21 0.00s 0.00s -bash
root pts/21 HOST2 09:29 0.00s 0.00s 0.00s w
root pts/20 HOST1 09:29 1:39 0.00s 0.00s -bash

View 3 Replies View Related

Programming :: Programmers And People That Understand The OS?

Apr 24, 2011

Well I get my other 2 questions answered , I have one last question that has been buggy me.Anyone know why windows use so many files just to keep the OS going and so bloated? The under line of files of windows is messy and loads self every where and very bloated with windows and windows vista and windows 7 very much so.I'm not sure if Linux /Mac OS X is like this or not .

I know windows needs to support alot more software and hardwar but is that not where drivers come in for the hardware.And programmers need to write the software for windows or Linux / Mac OS X.

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved