[GH-ISSUE #17] Troubleshooting improvement #11

Closed
opened 2026-05-05 14:58:23 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @neagix on GitHub (Mar 15, 2014).
Original GitHub issue: https://github.com/darold/sendmailanalyzer/issues/17

If no "host" is specified in querystring, the sa_report.cgi output tells little about what's going wrong and shows an empty page.

I suggest that there is somewhere (footer?) a line saying: "HOST is $HOST" or something along those lines to give a clue.

Maybe even better show an error saying "No host provided"

This would save some time to the next newbie trying to troubleshoot what's wrong :)

Originally created by @neagix on GitHub (Mar 15, 2014). Original GitHub issue: https://github.com/darold/sendmailanalyzer/issues/17 If no "host" is specified in querystring, the sa_report.cgi output tells little about what's going wrong and shows an empty page. I suggest that there is somewhere (footer?) a line saying: "HOST is $HOST" or something along those lines to give a clue. Maybe even better show an error saying "No host provided" This would save some time to the next newbie trying to troubleshoot what's wrong :)
Author
Owner

@darold commented on GitHub (Mar 16, 2014):

What version are you using ? If you remove the host value you should go directly to the front page to choose the host in multihost report or directly to the main page in a single host environment.

If you try to specify a wrong hostname you will have this kind of error:

ERROR: Can't open directory /usr/local/sendmailanalyzer/data/bah: No such file or directory

I suppose that you are using an old release.

<!-- gh-comment-id:37753796 --> @darold commented on GitHub (Mar 16, 2014): What version are you using ? If you remove the host value you should go directly to the front page to choose the host in multihost report or directly to the main page in a single host environment. If you try to specify a wrong hostname you will have this kind of error: ``` ERROR: Can't open directory /usr/local/sendmailanalyzer/data/bah: No such file or directory ``` I suppose that you are using an old release.
Author
Owner

@darold commented on GitHub (Mar 16, 2014):

Oups forgot to ask you to post here the query you are using.

<!-- gh-comment-id:37753821 --> @darold commented on GitHub (Mar 16, 2014): Oups forgot to ask you to post here the query you are using.
Author
Owner

@neagix commented on GitHub (Mar 18, 2014):

I am using version 9.0 and no querystring at all. I have to say that now for some reason the home page is not empty anymore, it behaves precisely as when specifying ?host=mydomain.com

Is something stored somewhere when that querystring is accessed the 1st time? Because as far as I recall it has worked fine only after the 1st time I accessed it with querystring, while instead right after setup (and after creating cache and data directories) it was blank.

I have no proxies and were using Ctrl+Shift+R to reload

<!-- gh-comment-id:37905293 --> @neagix commented on GitHub (Mar 18, 2014): I am using version 9.0 and no querystring at all. I have to say that now for some reason the home page is not empty anymore, it behaves precisely as when specifying ?host=mydomain.com Is something stored somewhere when that querystring is accessed the 1st time? Because as far as I recall it has worked fine only after the 1st time I accessed it with querystring, while instead right after setup (and after creating cache and data directories) it was blank. I have no proxies and were using Ctrl+Shift+R to reload
Author
Owner

@darold commented on GitHub (Mar 19, 2014):

Maybe a special case, let me know if it occurs again.

<!-- gh-comment-id:38026505 --> @darold commented on GitHub (Mar 19, 2014): Maybe a special case, let me know if it occurs again.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/sendmailanalyzer#11
No description provided.