procmail log question

7 posts / 0 new
Last post
#1 Fri, 01/13/2012 - 12:38
kappler0

procmail log question

Hi,

I am hoping someone may know what the following logs mean, especially the excessive resource part and a fix? Thanks!

Subject: lfd on targetmyad.net: Excessive resource usage: postfix (3062)
  Folder: /root/Maildir/new/1326479537.4795_0.targetmyad.net     662
Time:1326479537 From:root@targetmyad.net To:root@targetmyad.net User:root Size:714 Dest:/root/Maildir/new/1326479537.4795_0.targetmyad.net Mode:None



Subject: lfd on targetmyad.net: Excessive resource usage: apache (18677)
  Folder: /root/Maildir/new/1326477798.3528_0.targetmyad.net     646
Time:1326477798 From:root@targetmyad.net To:root@targetmyad.net User:root Size:698 Dest:/root/Maildir/new/1326477798.3528_0.targetmyad.net Mode:None
Fri, 01/13/2012 - 13:17
andreychek

Howdy,

Well, that's the subject of an email that was sent to the root user.

What does the message body look like for that email?

-Eric

Fri, 01/13/2012 - 13:49
kappler0

I havent a clue unfortunately.. I thought there was a place in vmin to view users mail but i cant seem to find it!! argh!

Scott Kappler

Fri, 01/13/2012 - 16:37
andreychek

You can view a users mail by going into Edit Users -> USERNAME -> Login to Usermin.

-Eric

Fri, 01/13/2012 - 16:55
kappler0

ahhh...

Well, apparently its a cron error mssg... (a couple) I am used to cpanel so maybe i am calling the files incorrectly? The folder structure with vmin is completely different... but i would think these would be correct?

Subject  Cron <target@targetmyad> /usr/local/bin/php /home/target/public_html/adserver/maintenance/maintenance.php
Message contents    
/bin/sh: /usr/local/bin/php: No such file or directory
 
 
 
Subject Cron <target@targetmyad> php /home/target/public_html/marketer/admin/cron.php #Marketer Scheduled Tasks
Message contents    
<a href="javascript:void(0)" onclick="var x = document.getElementById('6a158emain');
x.style.display = (x.style.display=='none' ? 'block' : 'none')" style="font-size:10px;
color:#FF9900; text-decoration:none;">[&nbsp;+&nbsp;]</a>
<div class="trapperr" style="border: 2px dashed #800000; background-color: #C0C0C0;
padding: 4px; margin: 10px; display: none;" id="6a158emain">
    <i>File Location:</i> <b>Unknown</b><br />
    <i>Line:</i> <b>0</b><br />
    <i>Message:</i> <b>Unknown: open(/var/lib/php/session/sess_3hmg1cdqgkh3gljgnfpa2074i4,
O_RDWR) failed: Permission denied (13)</b><br />
    <i>Error Type:</i> <b>Warning</b>, <i>Error Number:</i> <b>2</b><br />
    <i>Address:</i> <b></b><br />
    <i>Session:</i> <b>3hmg1cdqgkh3gljgnfpa2074i4</b><br />
    <i>User:</i> <b>1</b><br />
    <i>Host:</i> <b>localhost</b>, <i>IP:</i> <b>127.0.0.1</b><br />
    <i>Date:</i> <b>17:50:02, 13. 1. 2012. (EST)</b><br />
    <a href="javascript:void(0)" onclick="var x = document.getElementById('6a158evars');
x.style.display = (x.style.display=='none' ? 'block' : 'none')">Vars</a> &middot;
    <a href="javascript:void(0)" onclick="var x = document.getElementById('6a158etrace');
x.style.display = (x.style.display=='none' ? 'block' : 'none')">Trace</a><br />
    <div class="trapperr_vars" id="6a158evars" style="display: none; border: 1px solid
Black;">
        <i>Vars:</i><br />
        <pre></pre>
    </div>
    <div class="trapperr_trace" id="6a158etrace" style="display: none; border: 1px solid
Black;">
        <i>Backtrace:</i><br />
        <pre></pre>
    </div>
</div>
<a href="javascript:void(0)" onclick="var x = document.getElementById('14e4a6main');
x.style.display = (x.style.display=='none' ? 'block' : 'none')" style="font-size:10px;
color:#FF9900; text-decoration:none;">[&nbsp;+&nbsp;]</a>
<div class="trapperr" style="border: 2px dashed #800000; background-color: #C0C0C0;
padding: 4px; margin: 10px; display: none;" id="14e4a6main">
    <i>File Location:</i> <b>Unknown</b><br />
    <i>Line:</i> <b>0</b><br />
    <i>Message:</i> <b>Unknown: Failed to write session data (files). Please verify
that the current setting of session.save_path is correct (/var/lib/php/session)</b><br
/>
    <i>Error Type:</i> <b>Warning</b>, <i>Error Number:</i> <b>2</b><br />
    <i>Address:</i> <b></b><br />
    <i>Session:</i> <b>3hmg1cdqgkh3gljgnfpa2074i4</b><br />
    <i>User:</i> <b>1</b><br />
    <i>Host:</i> <b>localhost</b>, <i>IP:</i> <b>127.0.0.1</b><br />
    <i>Date:</i> <b>17:50:02, 13. 1. 2012. (EST)</b><br />
    <a href="javascript:void(0)" onclick="var x = document.getElementById('14e4a6vars');
x.style.display = (x.style.display=='none' ? 'block' : 'none')">Vars</a> &middot;
    <a href="javascript:void(0)" onclick="var x = document.getElementById('14e4a6trace');
x.style.display = (x.style.display=='none' ? 'block' : 'none')">Trace</a><br />
    <div class="trapperr_vars" id="14e4a6vars" style="display: none; border: 1px solid
Black;">
        <i>Vars:</i><br />
        <pre></pre>
    </div>
    <div class="trapperr_trace" id="14e4a6trace" style="display: none; border: 1px solid
Black;">
        <i>Backtrace:</i><br />
        <pre></pre>
    </div>
</div>
<code>

Scott Kappler

Fri, 01/13/2012 - 17:15
kappler0

So i am looking at the files permissions as it isnt working due to this message: OR am i reading the last lines incorrectly? The perms are 755 for the cron.php file...

--2012-01-13 18:15:16-- http://targetmyad.com/marketer/admin/cron.php Resolving targetmyad.com... 98.142.218.10 Connecting to targetmyad.com|98.142.218.10|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 0 [text/html] cron.php: Permission denied

Cannot write to `cron.php' (Permission denied).

Scott Kappler

Fri, 01/13/2012 - 17:25
kappler0

got it figured out - this was a migrated server - and was trying to run the cron job as "user" not "root"... changed to root and works. :)

Scott Kappler

Topic locked