Ubuntu Servers :: Result From Mailgraph And Pflogsumm Different?
Jun 7, 2011
I have installed postfix with amavisd, spamassassin, and clamav on ubuntu 10.04 server, all works as well. But, when I test to send 2 messages from outside to my server, the report from mailgraph and pflogsumm is different. To avoid pflogsumm count twice from amavis, I have combine pflogsumm with preflog. And the result like this .
Quote:
root@mail:/home/venol# /usr/sbin/prepflog.pl -d today /var/log/mail.log | pflogsumm | more
Grand Totals
messages
2 received
2 delivered
Host/Domain Summary: Message Delivery
[Code]...
View 2 Replies
ADVERTISEMENT
May 16, 2011
I already install mailgraph in ubuntu 10.04. but now I got problem with mailgraph in ubuntu 10.04. No graph appear in the graphic created by mailgraph.I know mailgraph consist of perl and cgi script.If I have postfix log, how to test mailgraph manually to create the graphic using its perl script from existing postfix log. Just to see whether the graph created or not in the graphic
View 1 Replies
View Related
Jun 17, 2010
I am setting a Lucid mail server, and got dspam and mailgraph installed. dspam requires suexec module for apache, but it breaks mailgraph with "500 Internal Server Error":
[Code].....
View 1 Replies
View Related
Nov 5, 2010
Im using this script to save a backup to a NAS, however i want to print the result to a file that later can be mailed to me.
Code:
tar --totals -czf - /var/www | ssh user@host "cat > /backup_path/`date "+%Y-%m-%d"`.tar.gz"
i have tried just adding ">> logfile.txt" at the end of the command, but that obviously does not work. How should i do this?
View 2 Replies
View Related
Jul 6, 2010
After I use the 'find' command line tool to find a file, how can I redirect the result to another tool?
Example:
> find . -name blah.txt
Result: ./SomeDirectory/blah.txt
I would like to send that result to vim so I wouldn't have to type out "vim ./SomeDirectory/blah.txt"
View 7 Replies
View Related
Feb 2, 2010
I would like to take a file looking like...
uid=user1,ou=People,dc=company,dc=com
uid=user2,ou=People,dc=company,dc=com
uid=user3,ou=People,dc=company,dc=com
[Code]...
View 5 Replies
View Related
May 11, 2010
I get ubuntu 10.04 LTS installed on my PC and laptop , and I tried ubuntu one.It worked and I want to have a test, so I removed the two devices that already subscribed to my ubuntu one account, after that, I found I can't get them subscribed back.Everytime I start ubuntu one preference , I'll get the error message: got empty result for devices list.How can I add my two devices back to my ubuntu one account (I googled a lot and found that someone pointed that delete the ubuntu one's key will work, so if this is the right solution, how to delete it?
View 5 Replies
View Related
Oct 15, 2010
Have been using Ubuntu for 18 months now - its great.Just added a second PC - both hard wired to a wireless router.Have been trying to use NFS to share files with no result.I want to share all files in "home" on PC called "Dimension".
View 4 Replies
View Related
Jan 2, 2011
I scanned pen drive using clamscan and I closed the terminal after scanning without reading the result. Now one of my folder is missing in pen drive. I wanted to know if clamav deleted it. So I want to view the last scan result.
View 3 Replies
View Related
Apr 27, 2011
How to wipe this hard drive clean like new, formated #4 linux when finished.W/D 500 GB
View 10 Replies
View Related
Feb 17, 2010
I've never seen this before, but for the past few days whatever I'm working on has had a tendency to close out with no warning. Just in the last two days evince, empathy, and eclipse have closed randomly. Since I use eclipse constantly and as a result it's been crashing the most I went ahead and started it from the command line. Here's the output I get when eclipse closes:
[code]...
it appears to have something to do with the "decorator," but disabling compiz all together doesn't fix it. I'm running Ubuntu 9.10 64-bit. The issue seems to have started shortly after installing a triple-core processor - but I'm not sure that's related.
View 9 Replies
View Related
Feb 23, 2010
Can't mount or read ddrescue result file
View 1 Replies
View Related
Mar 3, 2010
I have installed snort + mysql + acid base, I add some rules into /etc/snort/rules/local.rules to test the alert:
alert icmp 192.168.1.20 any -> 192.16.1.21 any (flags:A;ack:0;msg:"NMap icmp ping")
alert icmp 192.168.1.20 any -> 192.16.1.21 any (content:"abcdefgh";;msg:"ping de windows")
alert icmp 192.168.1.20 any <> 192.16.1.21 any (flags: S; msg: "HOULA SYN Packet!"
After I restart snort and I tied 2 pc by cross cable (192.168.1.20 for windows and the victim is 192.168.1.21 for Linux where the snort is installed), my HOME_NET 192.168.1.21 and the EXTEREL_NET !$HOME_NET. The problem is when I run:
snort -dvi eth0 -c /etc/snort/snort.conf
I see the packet transmitted and received (the received conten "abcdefgh" ), when I stopped snort CTRL+C I don't found any alert in the result!!! Run time prior to being shutdown was 218.523030 seconds.
Packet Wire Totals:
Received: 1346
Analyzed: 1342 (99.703%)
Dropped: 0 (0.000%)
Outstanding: 4 (0.297%) .....
dcerpc2 Preprocessor Statistics
Total sessions: 0
database: Closing connection to database "snort"
database: Closing connection to database "snort"
Snort exiting
View 4 Replies
View Related
Aug 14, 2010
taking out the windows master drive while installing ubuntu on the slave drive as i'm not entirely sure about the reasoning -- something to do with a GRUB confliction.
View 3 Replies
View Related
Mar 28, 2011
im trying to ping from a specific interface, I have a wired and a wireless connection both going into my laptop.
My wired adaptor eth0 is on the ip 172.16.109.75 my wifi adaptor wlan0 is on the ip 192.168.1.69
when I ping google with my eth0 unplugged with the following command
Code:
conneco@mcr-pc-29334:~$ ping -I wlan0 www.google.co.uk
PING www.l.google.com (74.125.230.115) from 192.168.1.69 wlan0: 56(84) bytes of data.
64 bytes from 74.125.230.115: icmp_seq=1 ttl=51 time=32.7 ms
[Code].....
View 1 Replies
View Related
Dec 2, 2014
How do I generate sql result into xml ? Tried this way (shown below), but it generates all data into single column.
Code: Select allgenerate_xml()
{
f1=_tmp1
f2=_tmp2
cat $SQL_QUERY_OUT |sed -e 's/^"//g;s/"$//g;s/","/|/g'|tr '|' ' ' > $f1
[ -e $SQL_QUERY_OUT ] && rm $SQL_QUERY_OUT
[code]....
View 2 Replies
View Related
Jul 3, 2010
I have an Ubuntu Linux on a VMWare running and I've installed RPM Package Manager. However when I try to query all packages using the rpm -qa command, I don't get any results returned.
View 2 Replies
View Related
Oct 21, 2010
#!/bin/shLOOK_FOR="NTLMAuthenticationFilter"for i in `find ./ -name "*jar"`doecho "Looking in $i ..."grepjar -e $LOOK_FOR $idoneI wrote the script above, and try to find if there any file name LOOK_FOR exist in those jar,my quest is: grepjar -e $LOOK_FOR $ihere how can I check if there are any successful result , and output them ?
View 2 Replies
View Related
Mar 25, 2011
any1 have simple program which run avgstats.awk succuessfully? coz i cannot obtain any result when i run avgstats.awk. it shows
####################################################################
# Warning: no packets were received, simulation may be too short #
####################################################################
flowID: 0
flowType:
srcNode1: 0
srcNode2: 0
[Code].....
View 13 Replies
View Related
Jul 31, 2011
Dear Linux/c++/g++ programmers: the run result on my system, ubuntuLinux10.04(kernel2.6.35-25), gcc4.5.2 is not what book predict
source code
http://examples.oreilly.com/9780596007614/
11-28
11-29
11-24
#include "matrix.hpp"
[Code]...
View 13 Replies
View Related
Aug 5, 2010
I wanted to get the ORACLE_HOME of the listener's running on the server.I have been using the following to get the reult. /opt/oracle/admin/PHYPE/bdump> ps -ef|grep /bin/tnslsnr|grep -v grep|awk '{print $9}'
Result is as follows
/opt/oracle/product/10.2/bin/tnslsnr
/opt/oracle/product/9.2.0/bin/tnslsnr
/opt/oracle/product/10.2/bin/tnslsnr
/opt/oracle/product/10.2/bin/tnslsnr
/opt/oracle/product/9.2.0/bin/tnslsnr
/opt/oracle/product/10.2/bin/tnslsnr
Now i wanted to cut the /bin/tnslsnr part and the remaining should write to the file.
View 4 Replies
View Related
May 18, 2010
I have a variable (call it $valAS) that gets calculated . Also, i have a files Bassu3. if $valAS= 45368 (2nd part of 2nd line in Bassu3) after calculation, then $result=45368, but if $valAS != 45368 then $result= $valAS
Bassu3:
Quote:
name.srv
name 45368 (value always changing)
name 99999
name 88888
how can i do this in Bash?
View 14 Replies
View Related
Jan 24, 2010
I'm using the following awk command to find out the users home directory from /etc/passwd file.#grep jeesun /etc/passwd |awk 'BEGIN {FS=":"};{print $6}'But problem is when there are two name like "jeesun" and "jeesunadm" exist the script shows both result not specific one.
View 3 Replies
View Related
Jan 6, 2010
I really am a great fan of Songbird, but there's one thing that keeps annoying me: searching my music collection. I have about 12k songs (67GB) in my library, and using the search bar is pretty much a disaster: whatever I type it takes ages to come up with something, and if I delete any of the written to enter something new it hangs for like five minutes. This sort of forced me to look for specific songs myself or just keep it going on shuffle, none of which is a good solution.
I believe the problem is that songbird searches after every single typed character instead of waiting until I'm finished, which is a cool feature with smaller amounts of data to look through, but in my case it's just annoying and pointless. How to disable this feature? I am using Songbird 1.2.0, Build 1146.
View 6 Replies
View Related
Apr 16, 2010
On both Karmic Koala as well as Lucid Lynx, I am having massive problems getting my nvidia card to register properly. I am on an Acer Aspire 5953 laptop pc with a Gt130m discrete GPU in a hybrid installation with an onboard GPU.Freshly installed, both 9.10 and 10.04 runs smoothly, I can enable desktop effects, I can even see the screensavers that run openGL - although they run laggily in fullscreen, since they're obviously using the onboard, and very weak, GPU.The problem however, appears whenever I install the suggested NVIDIA drivers that Ubuntu finds for me - after doing this, I am asked to reboot the system and on both systems, I am treated to a black screen, instead of a login-screen. The only way to get the system up and running again, I have found, is boot in fail safe mode and edit /etc/X11/xorg.conf, erasing everything. This lets me boot back up in a regular mode.
When I check the logs, both the onboard GPU and the gt130m GPU is located, the onboard as PCI:0:0:2:0 and the nvidia gt130m discrete gpu as PCI:0:1:0:0 - I have tried adding BusID: ("PCI:0:1:0:0") to the xorg.conf, too, to no avail. I am continously treated to the black screen (a flicker at most) and the logs always tells me that no xserver could find no screens.So far, I have only been installing Ubuntu inside windows - I am hesitating to install on a fresh drive, since I am afraid of the nvidia black screen putting me in a position where I can't access the system. Is it possible that the fact that I install ubuntu inside windows might somehow affect Linux's capability of accessing my discrete GPU?
View 2 Replies
View Related
Oct 3, 2010
I have 3 old video capture cards which I would like to use for CCTV. Each card supports 1 camera. So I would like to have 3 cameras setup in the end and monitor them with zoneminder. When each card is plugged in on it's own, it works fine. Video comes through clearly with xawtv and zoneminder. However as soon as I plug in a 2nd card (with or without a camera connected) the output in xawtv and zoneminder goes haywire. It looks like the 2nd card takes over the first card, resulting in majority of the picture coming from the 2nd card, and some (if any) from the 1st card. When viewing either of the two cards /dev/video0 or /dev/video1 in xawtv the output is identical. I've tried this on a fresh 10.04 Ubuntu install, and on an older MythTV debian computer, the same results. Here are lspci -vv outputs with 2 combinations of cards (same fuzzy output):
[URL]
My thoughts are because the capture cards are cheap (similar to winmodems), the problem may be in the software kernel modules not allowing room for other similar capture cards to run at the same time. Can anyone suggest me in the right direction? Do I need to setup some sort of memory allocation for each card manually? Something in the BIOS? An extra option when the card modules are loaded?
View 1 Replies
View Related
Jun 22, 2009
I have installed the rkhunter , but it does not work i kept on trying to open the programe but no result come out
View 2 Replies
View Related
Oct 5, 2010
In Add/Remove package utility, after click the categories, like Program, office, there is no result.Is it correct? Or how to fix it?
View 2 Replies
View Related
Sep 28, 2010
I'm running 11.3 with KDE. I'm not sure when this happened, but I can no longer run firefox. If I click on the firefox icon, the bouncing icon appears, runs for a minute and then disappears. If I actually type in /usr/bin/firefox, nothing happens, and I get the prompt back in a fraction of a second.
I note that /usr/bin/firefox is a softlink to /usr/lib/firefox/firefox.sh which apparently runs the _actual_ executable: /usr/lib/firefox/firefox. I tried running that directly with exactly the same result.
I can run firefox normally if logged in as root. I can also run it via /usr/bin/firefox and /usr/lib/firefox/firefox. I tried uninstalling, reinstalling firefox. No change. I'm running 3.10.xxxx and the problem _may_ have started with a recent update to 3.10 , but I can't be certain. I downloaded firefox 4.0 beta and it works, but it doesn't support many addons (like flash), so it's not very useful to me.
View 8 Replies
View Related
Nov 10, 2010
Every time I need to find a file and then open it, I have to use :
find ./ -name **.properties. , then copy the result, and then vi "paste the result here" .
If I need to use a mouse, it can be a little trouble. So is there any better way to do this?
View 6 Replies
View Related