[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mailgraph] Re: MailGraph failing


Your apache configuration looks alright at a glance anyway.  Since you 
have the DirectoryIndex line, I'd try going to just http://xxx.xxx/ and 
see what that says.

I'd also try putting in an index.html file in the directory to make sure 
that you are getting to the right directory.

The mailgraph daemon is unrelated to the .cgi file in that the daemon 
doesn't have to be running for the graphs to be displayed.

I have a slightly modified version of mailgraph.pl (for graylisting, I 
think), so I can't compare my line numbers to yours - what is the code on 
lines 883 and 884 of your mailgraph.pl?


On Mon, 28 Mar 2011, kibirango moses wrote:
> Hullo Everbody
> I have installed mailgraph  and configured it with apache and my config are
> below:
>
> <VirtualHost xxx.xxx.xxx.xxx:80>
>        DocumentRoot "/var/www/htdocs/vhosts/mailgraph/cgi-bin/"
>        ServerName mxxx.ayy.tx.zy
>        ServerAlias http://www.mxxx.ayy.tx.zy
>        ErrorLog "/var/log/httpd/mailgraph/error-log"
>        CustomLog "/var/log/httpd/mailgraph/access-log" common
>        <Directory "/var/www/htdocs/vhosts/mailgraph/cgi-bin/">
>                DirectoryIndex mailgraph.cgi
>                Options FollowSymLinks Indexes +ExecCGI
>                AddHandler cgi-script .cgi .pl
>                AllowOverride None
>                Order allow,deny
>                Allow from all
>        </Directory>
> </VirtualHost>
> When i start mailgraph it gives me the error below
>
> root@mxxx:/etc/rc.d# ./rc.mailgraph start
> Starting mail statistics grapher: mailgraph
> Useless use of string in void context at /usr/local/bin/mailgraph.pl line
> 883.
> Useless use of string in void context at /usr/local/bin/mailgraph.pl line
> 884.
> Useless use of string in void context at /usr/local/bin/mailgraph.pl line
> 878.
> Useless use of string in void context at /usr/local/bin/mailgraph.pl line
> 879
> Useless use of string in void context at /usr/local/bin/mailgraph.pl line
> 883
>
> On testing with the url  as below :
>
> http://xxx.xxx.xxx.xxx/mailgraph.cgi, it gives me the error below
>
> Not Found
>
> The requested URL /mailgraph.cgi was not found on this server.
> And yet it looks like the mailgraph daemon is running
>
> How can i fix this problem
>
> Thanx
>
>
>

-- 
Jon Daley
http://jon.limedaley.com
~~
Every 18 months, the speed of software halves.
-- Gates' Law

--
Unsubscribe mailto:mailgraph-request@list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mailgraph-request@list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/mailgraph
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi