Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Trouble with Scheduler

emails

I've just installed Gemini 3.1.2 and finally got it working. I'm looking to use the scheduler service so that I can send emails to a pop3 mailbox and generate tickets. Is that the main purpose of the Scheduler? can the default install do something similar?

Anyways, I've tried installing the scheduler and I get an error saying it can't find the GeminiSMTPlog.txt file. I can't find it anywhere either. Any help is appreciated.

Thanks

KPaxton1182
· 1
KPaxton1182
Replies (17)
helpful
0
not helpful

Are you running under debug mode (config file)? If so, then please set debug to false.

Also, please make sure that you have Microsoft's WSE 3.0 installed on the web server.

 


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

No I'm not under debug mode. I'll install the WSE real quick and let you know if that fixed it. Thanks.


KPaxton1182
· 1
KPaxton1182
helpful
0
not helpful

Nope, still didn't work.

Access to the path 'C:\GeminiSMTPLog.txt' is denied. 5/4/2009 4:07:33 PM at System.IO._Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITYATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter.CreateFile(String path, Boolean append) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) at MailBee.Logger.a(Boolean A_0) at MailBee.Logger.Clear() at CounterSoft.Gemini.Mail.Emailer.SendEmail(GeminiConfigurationEN config, EmailAlert alertMessage, IssueWatcherEN recipient) at CounterSoft.Gemini.Mail.Emailer.SendEmail(GeminiConfigurationEN config, String strTo, String s Testing SMTP Settings

Just installed the Scheduler again with default settings except I modified the url and username and password of course.


KPaxton1182
· 1
KPaxton1182
helpful
0
not helpful

Is this error coming from the Gemini log? (looks like it).

If so, please set verbose mode to off.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

ok, set verbose mode to off and no error and the email sent. Now I'm assuming that means that the Scheduler is working now?

How do I set it up to create a ticket from a mailbox? And can it only read a pop3 mailbox? Or can it work with an Exchange server mailbox?


KPaxton1182
· 1
KPaxton1182
helpful
0
not helpful

That is correct only if you have the alert engine set to "Scheduler".

The scheduler can only use POP3 at the moment (you can configure Exchange to accept POP3 as well). You will need to uncomment the mailbox section in the scheduler config file and set the values to your server, email etc...


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Alright, I'll give it a shot. Thanks for your help! So far it's a wonderful tool. Much faster and easier than our last solution.


KPaxton1182
· 1
KPaxton1182
helpful
0
not helpful

OK, I'm still having trouble. I've set the values in the scheduler config to an exchange server accepting pop3 and nothing is creating an issue. I see no errors in the application log, I've checked that components, projects, visibility, risk, and all other attributes are pointing to real things.

Here's the config.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="Gemini" type="CounterSoft.Gemini.Scheduler.ServiceConfigSection, CounterSoft.Gemini.Scheduler" />
  </configSections>
  <Gemini>
    <Clients>
      <Client WebServicesURL="http://gemini.genphysics.com/webservices" AuthenticationUsername="**" AuthenticationPassword="*"> (edited)
        <MailboxProcessors>
          <!-- Sample mailbox processor setup -->
          <MailboxProcessor
            Name="ISWebProjects"
            POPServer="
**"(edited)
            POPServerPort="110"
            AuthenticationMethod="AUTO"
            UseSSL="false"
            POPMailbox="ISWe*@hysics.com"(edited)
            POPUsername="
\isw" (edited)
            POPPassword="
**"(edited)
            DeleteMessages="false"
            SubjectLikeRegExp=""
            SubjectNOTLikeRegExp=""
            ProjectID="1"
            UserID="2"
            ComponentID="3"
            IssueType="4"
            IssuePriority="1"
            IssueSeverity="2"
            Visiblity="1"
            VisiblityMemberType="2"
            RiskLevel="1"
            DebugFile = "c:\GeminiPOP3log.txt"
            DebugMode = "false"
            />
         
          <!-- Authentication methods: AUTO, APOP, REGULAR, NONE  -->
          <!-- POP Server Port: usually 110 or 995 (secure) -->
        </MailboxProcessors>
        </Client>
    </Clients>
  </Gemini>
</configuration>.


I'm still able to send emails but it won't create an issue from an email.


KPaxton1182
· 1
KPaxton1182
helpful
0
not helpful

Is "application log" the windows event viewer log? If so, please check the Gemini error log, if nothing is in there please check to see if a record is created in the gemini_issues table. It might be that you can not "see" it for security issues.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

nothing in the Windows Event Viewer Application logs, Gemini Error logs or in the gemini_issues table on the db. I've checked the connectivity between the application server and the exchange server and all is well on the specified port. Are there any other settings that need to be set to tell the application when to check the mailbox?


KPaxton1182
· 1
KPaxton1182
helpful
0
not helpful

I presume you have checked the event viewer on the box that the scheduler is installed.

Also, stpuid question but just to make sure, there are emails in mailbox (ISWe*@*hysics.com), correct?

Can you please set DebugMode to true?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

yes, the event viewer I'm checking is on the box that the service is installed. the mailbox has my test emails in it.

I just restarted the service and found an error saying:

"Error testing connectivity/authentication to client http://gemini.genphysics.com/webservices/."

I've added NETWORK SERVICE with read&execute rights on the webservices directory and tried it again and still the same issue.

I'm assuming that is what is causing the trouble.

I'll turn DebugMode on as well. Where will it write it's error messages?


KPaxton1182
· 1
KPaxton1182
helpful
0
not helpful

Ok, this can be because the user you are using in the config file is not a valid Gemini admin user or because WSE 3.0 is not installed on the web server.

 


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

WSE 3.0 is installed on the web server and the user that I am connecting with has no problem connecting to the Gemini Application in a web browser.

However, one thing that is baffling me and my manager is this:
In IIS 6.0 when I go to Directory Security > Authentication and access control and I turn off anonymous access and only allow Integrated Windows Authentication I am able to view it from an external machine but not the same machine that gemini is installed on. It will open up and give me a windows based log-in form and will deny me access. I have admin permission on this box as well. If I turn off Integrated Windows Authentication and leave anonymous access enabled, no one can access it. IIS comes back saying that we aren't in the ACL for the website.

I think this is the underlying issue but we have no idea what is going on to create this issue. Any ideas? Could that be the problem?


KPaxton1182
· 1
KPaxton1182
helpful
0
not helpful

Looks like that is the issue. Can you try setting the service to run under your user name?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

just tried it. Still nothing. Same error.


KPaxton1182
· 1
KPaxton1182
helpful
0
not helpful

Ok we figured it out. For some ungodly known reason the machine won't authenticate us while on the same box trying to access the website. We created it's own internal IP for the site and CNamed it and gave it a hostname on DNS. We then went into the config file for the scheduler service and set the webserviceurl to http://IPADDRESS/webservices. I restarted the service and all of a sudden I had issues in the application. HOORAY!!! 2 days after I started and I got it figured out.

Thanks for all of your help. The customer service here is wonderful. I normally don't get responses to forum support for days/weeks. You guys are excellent. Thanks.


KPaxton1182
· 1
KPaxton1182