ispCP - Board - Support
Install Mailgraph and Couriergraph ?? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: Install Mailgraph and Couriergraph ?? (/thread-410.html)



Install Mailgraph and Couriergraph ?? - BeNe - 04-19-2007 09:54 PM

Hello everybody,

i woud like to install mailgraph and couriergraph on my ispCP Server.
The installation it self is no Problem on Debian Etch:

Code:
apt-get install couriergraph mailgraph

The .cgi scripts installed under:
Code:
:/usr/lib/cgi-bin/

How can i make them access able?
A symbol link to the cgi-bin home of the user won´t work.
Also a copy of mailgraph.cgi & couriergraph.cg into the users cgi-bin won´t work.

Has anybody a solution ?


RE: Install Mailgraph and Couriergraph ?? - trex2000 - 10-11-2008 11:26 PM

(04-19-2007 09:54 PM)BeNe Wrote:  How can i make them access able?
A symbol link to the cgi-bin home of the user won´t work.
Also a copy of mailgraph.cgi & couriergraph.cg into the users cgi-bin won´t work.

Has anybody a solution ?

just copy the two scripts to your site's cgi-bin, e.g.

cp -p /usr/lib/cgi-bin/*graph.cgi /var/www/virtual/<domain.tld>/cgi-bin/

then change the owner and group for these files to the owner from <domain.tld>, e.g.

chown vu2001:vu2001 *graph.cgi

this is necessary for the use with suexec..

the go to your site, e.g.

http://<www.domain.tld>/cgi-bin/mailgraph.cgi or
http://<www.domain.tld>/cgi-bin/couriergraph.cgi

voila...

regards martin


RE: Install Mailgraph and Couriergraph ?? - ZooL - 10-11-2008 11:27 PM

hehe Wink


RE: Install Mailgraph and Couriergraph ?? - victor531 - 10-13-2008 09:15 AM

Nice, it looks pretty good, but I've got a problem again, I can't see the images and the links , when I go to
http://<www.domain.tld>/cgi-bin/couriergraph.cgi , it shows me

Courier Login Statistics for "myserver"
Day Graphs ( without images)

Week Graphs ( without images)

Month Graphs ( without images)

Year Graphs ( without images)
------------------------------------------
the other one, http://<www.domain.tld>/cgi-bin/mailgraph.cgi just shows me

Mail Statistics for "myserver"
Day Graphs

Week Graphs

Month Graphs

Year Graphs
__________________

for both, there are no Images and No links..... could you give me a hand?
I was looking for it in google , but nobody has a similar problem, this appears so easy, however this is a mountain to me now.

could you help me ..... ? Sad


saludos cordiales

Victor

BTW,IMHO all this extra little things are so fun and usefull....... please, keep up the good job.... thanks


RE: Install Mailgraph and Couriergraph ?? - joximu - 10-13-2008 10:30 PM

Check permissions/owner of /var/lib/mailgraph/ (and the courier pendant)

/J


RE: Install Mailgraph and Couriergraph ?? - victor531 - 10-14-2008 10:40 AM

(10-13-2008 10:30 PM)joximu Wrote:  Check permissions/owner of /var/lib/mailgraph/ (and the courier pendant)

/J

Thanks, Big Grin
to thinks that I've tried it a lot of times yesterday, i think it was the drowsiness......... thanks again joximu.



Victor


RE: Install Mailgraph and Couriergraph ?? - sakal - 05-02-2010 03:42 AM

SIMPLE ToDo::::::::::

cp -p /usr/lib/cgi-bin/*graph.cgi /var/www/virtual/YOUR_DOMAIN/cgi-bin/
chown vu200x:vu200x /var/www/virtual/YOUR_DOMAIN/cgi-bin/*
chown vu200x:vu200x /var/lib/mailgraph/*
chmod 755 /var/lib/couriergraph/*
chmod 777 /var/cache/couriergraph/

REPLACE : vu200x , YOUR_DOMAIN


RE: Install Mailgraph and Couriergraph ?? - pgentoo - 05-02-2010 04:47 AM

DNSGraph is also a nice derivation of the tool that you might be interested in.

http://dnsgraph.sourceforge.net/