Mailgraph Installation with Debian 9 (Apache)

Discussion in 'General' started by bluethunder82, Dec 1, 2018.

  1. bluethunder82

    bluethunder82 Member

    Good morning,
    I've been trying to troubleshoot why Mailgraph is not working on my fresh install of Debian 9.

    What I've done:
    - Installed the software packages via the Perfect Setup (https://www.howtoforge.com/tutorial...-9-stretch-apache-bind-dovecot-ispconfig-3-1/).
    - Setup website with CGI and SuEXEC both checked.
    - Installed mailgraph using apt-get (essentially followed these steps: https://www.howtoforge.com/postfix-monitoring-with-mailgraph-and-pflogsumm-on-debian-lenny)
    - Moved mailgraph.cgi to the cgi-bin folder and changed ownership to match the site.
    * I did however learn that the default location has changed. (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865914)

    When I visit: www.mydomain.com/cgi-bin/mailgraph.cgi I get the HTML served with no graphs displayed. It appears as if the images are not being created in the temp directory in /var/lib/mailgraph. When I disable SuEXEC in the web interface and wait ~5 minutes I can reload the mailgraph.cgi and everything is displayed correctly.

    From what I can tell it is a permissions issue but not sure where it is: ISPConfig, SuExec, or mailgraph's install.

    There are no errors in suexec.log or access.log for apache2.

    Any troubleshooting thoughts would be appreciated.
     
  2. bluethunder82

    bluethunder82 Member

    I reposted this as early I created the thread in the wrong category. The other thread can be deleted. I could see an option to do this myself.
    Thank
     

Share This Page