cron30min scripts not completing

Help
lvorthma
2009-03-13
2013-03-06
  • lvorthma

    lvorthma - 2009-03-13

    I've searched through the past posts for a solution to this and have seen similar problems, but no real solution. I am using a 32bit Fedora Core 8 server running ipaudit. I have gnuplot 4.2 patch level 2, tcpdump version 3.9.7, libpcap version 0.9.7 and gzip version 1.3.12.

    I am having a problem with the cron30min scripts completing. Essentially, the 30min script runs and collects data, but it doesn't finish until the next 30min script comes along and kills it. I've added debugging to the cron30min script and the Graffic* scripts to produce the following output. It looks like the script is getting to the end and is gzipping up the .txt files, but it just isn't finishing for some reason. I thought it might be from the errors in the output below, but it seems to be getting past that.

    Has anyone else had the same problem? To clarify: Ipaudit is working, but the problem is that because the 30min script hangs, by the time the graphs and reports are generated they are 30minutes old. Any help or suggestions would be appreciated.

    Thanks,

    Lee

    Auto-Submitted: auto-generated
    X-Cron-Env: <SHELL=/bin/sh>
    X-Cron-Env: <HOME=/home/ipaudit>
    X-Cron-Env: <PATH=/usr/bin:/bin>
    X-Cron-Env: <LOGNAME=ipaudit>
    X-Cron-Env: <USER=ipaudit>

    + IP_DIR=/home/ipaudit
    + IP_DATA=/home/ipaudit/data/30min
    + IP_RAW=/home/ipaudit/raw/30min
    + IP_REPORT=/home/ipaudit/reports/30min/traffic
    + . /home/ipaudit/ipaudit-web.conf
    ++ LOCALRANGE=192.168.11
    ++ INTERFACE=eth1
    ++ AWK=/bin/gawk
    ++ GZIP=/bin/gzip
    ++ ZCAT=/bin/zcat
    ++ ZGREP=/usr/bin/zgrep
    ++ GNUPLOT='nice -19 /usr/bin/gnuplot'
    ++ CGI_BIN=/~ipaudit/cgi-bin
    ++ IP_DIR=/home/ipaudit
    ++ HostPortLimit=500000,100000
    ++ RAW_DAY=7
    ++ DATA_DAY=10
    ++ HTML_DAY=180
    ++ PidFile=run/ipaudit.pid
    ++ WriteTime=yes
    ++ IcmpType=yes
    ++ PacketLen=128
    ++ WritePacketLimit=500000
    ++ DAILY_TRAFFIC_REMOTEHOST_MIN=1024
    ++ DAILY_TRAFFIC_HOSTPAIR_MIN=1024
    ++ MAX_REMOTE_HOST_CNT=500000
    ++ MAX_LOCAL_HOST_CNT=100000
    ++ MAX_HOST_PAIR_CNT=1000000
    ++ OTHERRANGE=224.0.0.0/8
    ++ /home/ipaudit/bin/pdate -r 30m
    + CURDATE=2009-03-13-11:00
    + '[' -f /home/ipaudit/run/ipaudit.pid ']'
    ++ cat /home/ipaudit/run/ipaudit.pid
    + oldpid=25224
    + ps aux
    + grep -v grep
    + grep 25224
    + '[' 0 -ne 0 ']'
    + kill -2 25224
    + rm -f /home/ipaudit/run/ipaudit.pid
    + '[' . '!=' . ']'
    + WRITE_OPT=
    + /home/ipaudit/bin/ipaudit -S -g /home/ipaudit/ipaudit-web.conf -o /home/ipaudit/data/30min/2009-03-13-11:00.txt
    + for dir in '$IP_DIR/reports/30min/*' '$IP_DIR/reports/30min/local/*'
    + '[' -d /home/ipaudit/reports/30min/0traffic -a -f /home/ipaudit/reports/30min/0traffic/runcron ']'
    + cd /home/ipaudit/reports/30min/0traffic
    + ./runcron /home/ipaudit 2009-03-13-11:00
    + IP_DIR=/home/ipaudit
    + DATE=2009-03-13-11:00
    + . /home/ipaudit/ipaudit-web.conf
    ++ LOCALRANGE=192.168.11
    ++ INTERFACE=eth1
    ++ AWK=/bin/gawk
    ++ GZIP=/bin/gzip
    ++ ZCAT=/bin/zcat
    ++ ZGREP=/usr/bin/zgrep
    ++ GNUPLOT='nice -19 /usr/bin/gnuplot'
    ++ CGI_BIN=/~ipaudit/cgi-bin
    ++ IP_DIR=/home/ipaudit
    ++ HostPortLimit=500000,100000
    ++ RAW_DAY=7
    ++ DATA_DAY=10
    ++ HTML_DAY=180
    ++ PidFile=run/ipaudit.pid
    ++ WriteTime=yes
    ++ IcmpType=yes
    ++ PacketLen=128
    ++ WritePacketLimit=500000
    ++ DAILY_TRAFFIC_REMOTEHOST_MIN=1024
    ++ DAILY_TRAFFIC_HOSTPAIR_MIN=1024
    ++ MAX_REMOTE_HOST_CNT=500000
    ++ MAX_LOCAL_HOST_CNT=100000
    ++ MAX_HOST_PAIR_CNT=1000000
    ++ OTHERRANGE=224.0.0.0/8
    + '[' -f /home/ipaudit/data/30min/2009-03-13-11:00.txt ']'
    + ./MakeReport30 2009-03-13-11:00 html/2009-03-13-11:00.html
    + cat /home/ipaudit/data/30min/2009-03-13-11:00.txt
    + for dir in '$IP_DIR/reports/30min/*' '$IP_DIR/reports/30min/local/*'
    + '[' -d /home/ipaudit/reports/30min/graphic -a -f /home/ipaudit/reports/30min/graphic/runcron ']'
    + cd /home/ipaudit/reports/30min/graphic
    + ./runcron /home/ipaudit 2009-03-13-11:00
    + IP_DIR=/home/ipaudit
    + DATE=2009-03-13-11:00
    + '[' ./home/ipaudit = . ']'
    + '[' .2009-03-13-11:00 = . ']'
    + . /home/ipaudit/ipaudit-web.conf
    ++ LOCALRANGE=192.168.11
    ++ INTERFACE=eth1
    ++ AWK=/bin/gawk
    ++ GZIP=/bin/gzip
    ++ ZCAT=/bin/zcat
    ++ ZGREP=/usr/bin/zgrep
    ++ GNUPLOT='nice -19 /usr/bin/gnuplot'
    ++ CGI_BIN=/~ipaudit/cgi-bin
    ++ IP_DIR=/home/ipaudit
    ++ HostPortLimit=500000,100000
    ++ RAW_DAY=7
    ++ DATA_DAY=10
    ++ HTML_DAY=180
    ++ PidFile=run/ipaudit.pid
    ++ WriteTime=yes
    ++ IcmpType=yes
    ++ PacketLen=128
    ++ WritePacketLimit=500000
    ++ DAILY_TRAFFIC_REMOTEHOST_MIN=1024
    ++ DAILY_TRAFFIC_HOSTPAIR_MIN=1024
    ++ MAX_REMOTE_HOST_CNT=500000
    ++ MAX_LOCAL_HOST_CNT=100000
    ++ MAX_HOST_PAIR_CNT=1000000
    ++ OTHERRANGE=224.0.0.0/8
    + export GNUPLOT
    + HDIR=../0traffic/html
    + TLOG=ReportTraffic.log
    + ELOG=ReportExternal.log
    + LLOG=ReportLocalHost.log
    + RLOG=ReportRemoteHost.log
    + LBLOG=ReportLocalBusy.log
    + RBLOG=ReportRemoteBusy.log
    + TIMG=/home/ipaudit/public_html/images/ReportTraffic.png
    + EIMG=/home/ipaudit/public_html/images/ReportExternal.png
    + LIMG=/home/ipaudit/public_html/images/ReportLocalHost.png
    + RIMG=/home/ipaudit/public_html/images/ReportRemoteHost.png
    + LBIMG=/home/ipaudit/public_html/images/ReportLocalBusy.png
    + RBIMG=/home/ipaudit/public_html/images/ReportRemoteBusy.png
    + ./ReportLog ../0traffic/html ReportTraffic.log Traffic 3 '/\[\s*([0-9,]+)\s*\]/g'
    + ./ReportLog ../0traffic/html ReportExternal.log Internal 3 '/\[\s*([0-9,]+)\s*\]/g'
    + ./ReportLog ../0traffic/html ReportLocalHost.log LocalHost 3 '/\[\s*([0-9,]+)\s*\]/g'
    + ./ReportLog ../0traffic/html ReportRemoteHost.log RemoteHost 3 '/\[\s*([0-9,]+)\s*\]/g'
    + ./ReportLog ../0traffic/html ReportLocalBusy.log 'Busiest Local/Busiest Remote' 5,2,2 '/>([0-9,]+)</g'
    + ./ReportLog ../0traffic/html ReportRemoteBusy.log 'Busiest Remote/Busiest Host' 5,2,2 '/>([0-9,]+)</g'
    + ./GraphTraffic ReportTraffic.log /home/ipaudit/public_html/images/ReportTraffic.png 2009-03-13-11:00 ''
    Use of uninitialized value in pattern match (m//) at ./GraphTraffic line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphTraffic line 113.
    Use of uninitialized value in pattern match (m//) at ./GraphTraffic line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphTraffic line 113.
    Use of uninitialized value in pattern match (m//) at ./GraphTraffic line 97.
    Use of uninitialized value in pattern match (m//) at ./GraphTraffic line 97.
    Use of uninitialized value in pattern match (m//) at ./GraphTraffic line 107.
    Use of uninitialized value in multiplication (*) at ./GraphTraffic line 109.
    Use of uninitialized value in multiplication (*) at ./GraphTraffic line 109.
    Use of uninitialized value in pattern match (m//) at ./GraphTraffic line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphTraffic line 113.
    Use of uninitialized value in string eq at ./GraphTraffic line 37.
    Use of uninitialized value in concatenation (.) or string at ./GraphTraffic line 58.
    Use of uninitialized value in pattern match (m//) at ./GraphTraffic line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphTraffic line 113.
    Use of uninitialized value in pattern match (m//) at ./GraphTraffic line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphTraffic line 113.
    Use of uninitialized value in pattern match (m//) at ./GraphTraffic line 97.
    Use of uninitialized value in pattern match (m//) at ./GraphTraffic line 97.
    Use of uninitialized value in pattern match (m//) at ./GraphTraffic line 107.
    Use of uninitialized value in multiplication (*) at ./GraphTraffic line 109.
    Use of uninitialized value in multiplication (*) at ./GraphTraffic line 109.
    Use of uninitialized value in pattern match (m//) at ./GraphTraffic line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphTraffic line 113.
    Use of uninitialized value in concatenation (.) or string at ./GraphTraffic line 58.
    + ./GraphExternal ReportExternal.log /home/ipaudit/public_html/images/ReportExternal.png 2009-03-13-11:00 ''
    Use of uninitialized value in string eq at ./GraphExternal line 31.
    Use of uninitialized value in pattern match (m//) at ./GraphExternal line 113.
    Use of uninitialized value in numeric gt (>) at ./GraphExternal line 114.
    Use of uninitialized value in pattern match (m//) at ./GraphExternal line 113.
    Use of uninitialized value in numeric gt (>) at ./GraphExternal line 114.
    Use of uninitialized value in pattern match (m//) at ./GraphExternal line 98.
    Use of uninitialized value in pattern match (m//) at ./GraphExternal line 98.
    Use of uninitialized value in pattern match (m//) at ./GraphExternal line 108.
    Use of uninitialized value in multiplication (*) at ./GraphExternal line 110.
    Use of uninitialized value in multiplication (*) at ./GraphExternal line 110.
    Use of uninitialized value in pattern match (m//) at ./GraphExternal line 113.
    Use of uninitialized value in numeric gt (>) at ./GraphExternal line 114.
    Use of uninitialized value in concatenation (.) or string at ./GraphExternal line 59.
    Use of uninitialized value in pattern match (m//) at ./GraphExternal line 113.
    Use of uninitialized value in numeric gt (>) at ./GraphExternal line 114.
    Use of uninitialized value in pattern match (m//) at ./GraphExternal line 113.
    Use of uninitialized value in numeric gt (>) at ./GraphExternal line 114.
    Use of uninitialized value in pattern match (m//) at ./GraphExternal line 98.
    Use of uninitialized value in pattern match (m//) at ./GraphExternal line 98.
    Use of uninitialized value in pattern match (m//) at ./GraphExternal line 108.
    Use of uninitialized value in multiplication (*) at ./GraphExternal line 110.
    Use of uninitialized value in multiplication (*) at ./GraphExternal line 110.
    Use of uninitialized value in pattern match (m//) at ./GraphExternal line 113.
    Use of uninitialized value in numeric gt (>) at ./GraphExternal line 114.
    Use of uninitialized value in concatenation (.) or string at ./GraphExternal line 59.
    + ./GraphHost ReportLocalHost.log /home/ipaudit/public_html/images/ReportLocalHost.png 2009-03-13-11:00 '' 'Local Host Count'
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 100.
    Use of uninitialized value in numeric gt (>) at ./GraphHost line 101.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 100.
    Use of uninitialized value in numeric gt (>) at ./GraphHost line 101.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 85.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 85.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 95.
    Use of uninitialized value in multiplication (*) at ./GraphHost line 97.
    Use of uninitialized value in multiplication (*) at ./GraphHost line 97.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 100.
    Use of uninitialized value in numeric gt (>) at ./GraphHost line 101.
    Use of uninitialized value in string eq at ./GraphHost line 34.
    Use of uninitialized value in concatenation (.) or string at ./GraphHost line 46.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 100.
    Use of uninitialized value in numeric gt (>) at ./GraphHost line 101.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 100.
    Use of uninitialized value in numeric gt (>) at ./GraphHost line 101.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 85.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 85.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 95.
    Use of uninitialized value in multiplication (*) at ./GraphHost line 97.
    Use of uninitialized value in multiplication (*) at ./GraphHost line 97.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 100.
    Use of uninitialized value in numeric gt (>) at ./GraphHost line 101.
    Use of uninitialized value in concatenation (.) or string at ./GraphHost line 46.
    + ./GraphHost ReportRemoteHost.log /home/ipaudit/public_html/images/ReportRemoteHost.png 2009-03-13-11:00 '' 'Remote Host Count'
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 100.
    Use of uninitialized value in numeric gt (>) at ./GraphHost line 101.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 100.
    Use of uninitialized value in numeric gt (>) at ./GraphHost line 101.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 85.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 85.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 95.
    Use of uninitialized value in multiplication (*) at ./GraphHost line 97.
    Use of uninitialized value in multiplication (*) at ./GraphHost line 97.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 100.
    Use of uninitialized value in numeric gt (>) at ./GraphHost line 101.
    Use of uninitialized value in string eq at ./GraphHost line 34.
    Use of uninitialized value in concatenation (.) or string at ./GraphHost line 46.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 100.
    Use of uninitialized value in numeric gt (>) at ./GraphHost line 101.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 100.
    Use of uninitialized value in numeric gt (>) at ./GraphHost line 101.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 85.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 85.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 95.
    Use of uninitialized value in multiplication (*) at ./GraphHost line 97.
    Use of uninitialized value in multiplication (*) at ./GraphHost line 97.
    Use of uninitialized value in pattern match (m//) at ./GraphHost line 100.
    Use of uninitialized value in numeric gt (>) at ./GraphHost line 101.
    Use of uninitialized value in concatenation (.) or string at ./GraphHost line 46.
    + ./GraphBusy ReportLocalBusy.log /home/ipaudit/public_html/images/ReportLocalBusy.png 2009-03-13-11:00 '' 'Local Busiest Hosts'
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphBusy line 113.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphBusy line 113.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 97.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 97.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 107.
    Use of uninitialized value in multiplication (*) at ./GraphBusy line 109.
    Use of uninitialized value in multiplication (*) at ./GraphBusy line 109.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphBusy line 113.
    Use of uninitialized value in string eq at ./GraphBusy line 37.
    Use of uninitialized value in concatenation (.) or string at ./GraphBusy line 55.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphBusy line 113.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphBusy line 113.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 97.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 97.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 107.
    Use of uninitialized value in multiplication (*) at ./GraphBusy line 109.
    Use of uninitialized value in multiplication (*) at ./GraphBusy line 109.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphBusy line 113.
    Use of uninitialized value in concatenation (.) or string at ./GraphBusy line 55.
    + ./GraphBusy ReportRemoteBusy.log /home/ipaudit/public_html/images/ReportRemoteBusy.png 2009-03-13-11:00 '' 'Remote Busiest Hosts'
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphBusy line 113.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphBusy line 113.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 97.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 97.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 107.
    Use of uninitialized value in multiplication (*) at ./GraphBusy line 109.
    Use of uninitialized value in multiplication (*) at ./GraphBusy line 109.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphBusy line 113.
    Use of uninitialized value in string eq at ./GraphBusy line 37.
    Use of uninitialized value in concatenation (.) or string at ./GraphBusy line 55.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphBusy line 113.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphBusy line 113.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 97.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 97.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 107.
    Use of uninitialized value in multiplication (*) at ./GraphBusy line 109.
    Use of uninitialized value in multiplication (*) at ./GraphBusy line 109.
    Use of uninitialized value in pattern match (m//) at ./GraphBusy line 112.
    Use of uninitialized value in numeric gt (>) at ./GraphBusy line 113.
    Use of uninitialized value in concatenation (.) or string at ./GraphBusy line 55.
    + for dir in '$IP_DIR/reports/30min/*' '$IP_DIR/reports/30min/local/*'
    + '[' -d '/home/ipaudit/reports/30min/local/*' -a -f '/home/ipaudit/reports/30min/local/*/runcron' ']'
    + '[' -w /home/ipaudit/raw/30min/2009-03-13-11:00.raw ']'
    + /bin/gzip /home/ipaudit/data/30min/2009-03-13-11:00.txt

     
    • Jon Rifkin

      Jon Rifkin - 2009-03-15

      My first guess is that the ipaudit binary is not producing output, which might be because it doesn't have root permission, or there is no traffic on the network (maybe ipaudit is listening to the wrong port).

      Could you check the files in the directory data3/30min, maybe run this command in that directory and report the output:

         ls -lt | head -10

      Thanks.

      - Jon
         

       
    • lvorthma

      lvorthma - 2009-03-16

      [root@monitor 30min]# pwd
      /home/ipaudit/data/30min
      [root@monitor 30min]# ls -lt | head -10
      total 126000
      -rw-r--r-- 1 ipaudit ipaudit   40406 2009-03-16 11:35 2009-03-16-11:30.txt.gz
      -rw-r--r-- 1 root    ipaudit  931927 2009-03-16 11:30 2009-03-16-11:00.txt
      -rw-r--r-- 1 ipaudit ipaudit   45523 2009-03-16 11:05 2009-03-16-11:00.txt.gz
      -rw-r--r-- 1 root    ipaudit  907670 2009-03-16 11:00 2009-03-16-10:30.txt
      -rw-r--r-- 1 ipaudit ipaudit   31797 2009-03-16 10:35 2009-03-16-10:30.txt.gz
      -rw-r--r-- 1 root    ipaudit  638880 2009-03-16 10:30 2009-03-16-10:00.txt
      -rw-r--r-- 1 ipaudit ipaudit   25809 2009-03-16 10:05 2009-03-16-10:00.txt.gz
      -rw-r--r-- 1 root    ipaudit  583195 2009-03-16 10:00 2009-03-16-09:30.txt
      -rw-r--r-- 1 ipaudit ipaudit   25209 2009-03-16 09:35 2009-03-16-09:30.txt.gz
      [root@monitor 30min]#

       
    • Jon Rifkin

      Jon Rifkin - 2009-03-17

      The file times look strange to me, but I'm not exactly sure what to make of it.

      The *.gz file times seem off, because the 2009-03-16-09:30.txt.gz file should be older than its unzipped counterpart, but it's not.  Futhermore, its time steps is 9:35, 25 minutes before ipaudit finishes writing the 9:30 data.   I wonder if this might be caused by the recent change in Daylight Saving Time: did your system undergo that change?

      I'm going to set up a test version of ipaudit-web-1.0BETA9 to get a closer look at the file times (I'll assume that's the version you are using).

       
    • Jon Rifkin

      Jon Rifkin - 2009-03-17

      Is is possible that you have *two* instances of ipaudit running? 

      I'm thinking that the zipped data files were created by one ipaudit instance, while the unzipped data files were created later, and cannot be zipped because of the previous files?

      Maybe you do a
         ps -ef | grep ipaudit
      to see how many ipaudit instances there are.

       
    • lvorthma

      lvorthma - 2009-03-18

      Yes the gz file times are off because I ended up putting in another cron entry to re-run the cron30min script to force the first cron30min script to end. that way I get something generated in a timely manner.

      Here is the output of ps -ef | grep ipaudit

      [root@monitor ~]# ps -ef | grep ipaudit
      root       682   653  0 08:15 pts/1    00:00:00 grep ipaudit
      ipaudit  32343  2312  0 08:05 ?        00:00:00 CROND
      ipaudit  32344 32343  0 08:05 ?        00:00:00 /bin/sh -x cron/cron30min
      ipaudit  32347 32343  0 08:05 ?        00:00:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
      ipaudit  32353 32344  0 08:05 ?        00:00:00 /bin/sh -x cron/cron30min
      root     32354 32353  0 08:05 ?        00:00:00 /home/ipaudit/bin/ipaudit -g /home/ipaudit/ipaudit-web.conf -o /home/ipaudit/data/30min/2009-03-18-08:00.txt
      [root@monitor ~]#

       
    • lvorthma

      lvorthma - 2009-03-18

      Yes the gz file times are off because I ended up putting in another cron entry to re-run the cron30min script to force the first cron30min script to end. that way I get something generated in a timely manner.

      Here is the output of ps -ef | grep ipaudit

      [root@monitor ~]# ps -ef | grep ipaudit
      root       682   653  0 08:15 pts/1    00:00:00 grep ipaudit
      ipaudit  32343  2312  0 08:05 ?        00:00:00 CROND
      ipaudit  32344 32343  0 08:05 ?        00:00:00 /bin/sh -x cron/cron30min
      ipaudit  32347 32343  0 08:05 ?        00:00:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
      ipaudit  32353 32344  0 08:05 ?        00:00:00 /bin/sh -x cron/cron30min
      root     32354 32353  0 08:05 ?        00:00:00 /home/ipaudit/bin/ipaudit -g /home/ipaudit/ipaudit-web.conf -o /home/ipaudit/data/30min/2009-03-18-08:00.txt
      [root@monitor ~]#

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks