Re: [Dspace-tech] Error with email registration - Solution
I have finally determined the problem. When I initiate the registration process, DSpace is not recognizing the email address as an email address. To describe the situation: If I go to our Test DSpace site and request to register and then type random letters in the email dialog, I get the same error message I have encountered before - Unable to Send Email to this Address. If I do the same in our production site, I get the same response. If I type a legitimate e-mail address in the production site, I also get the same response. This is probably why there were no error statements in the logs. So, now it feels like I have a bad build and need to rebuild DSpace on my system. Thanks for the help and assistance. And just for being there. Dale On Fri, Sep 18, 2009 at 2:44 PM, Dale Patterson gcaharchiv...@gmail.comwrote: Thanks for the advice. First, I tried using the 'mail' command and everything worked just fine. I then took a close look at the following logs: dspace.log, catalina.out, messages, and even maillog on by our Test machine, which works just fine, and our would-be production site, which does not. I discovered that the action of registering is recorded in all of the appropriate logs on the Test site, but not recorded on the production site. All steps I take up to the act of registering (such as viewing items and doing a search) are recorded, but nothing is recorded for registration. It is as if it is not happening on the production system - no errors and no record of actions. So, I took a closer look at the two dspace.cfg files and found one difference (other than the dspace.url) between the two sites: authentication.shib.autoregister = false on the production site and it is set to true on the Test site. Could this be the problem? But when I changed it to 'true' from 'false' and restarted the system nothing changed. I am baffled at this point. On Sat, Sep 12, 2009 at 1:47 PM, Vishal Kakapuri vishalm...@gmail.comwrote: Have you tried to send a mail using the systems mail command to the id, you are trying to send mail through your application. does that work without any issues. unable to send email to this address (when using Manakin) or internal error (when using jspui). -- means something is wrong with some configuration on your system. you should atleast see an error in the logs. check the ourput of /var/log/messages too if possible. regards. On Fri, Sep 11, 2009 at 1:36 AM, Dale Patterson gcaharchiv...@gmail.com wrote: Good afternoon - I am having an odd problem with our DSpace installation on what will be our production machine. The entire installation went like a dream on our test bed machine and now I've hit this snag. The problem is that when someone attempts to register we get an unable to send email to this address (when using Manakin) or internal error (when using jspui).I have looked at the /usr/local/dspace/log/dspace.log file and there is nothing in the log that resembles this error (there are precious few errors) and I've looked at /usr/share/tomcat5/log/catalina.out and there are no reports there either. Should I be looking in a different file? Finally here is our setup. RedHat Linux 5 using Tomcat 5.5 with a standard install of Dspace. We have it loaded on two identical machines with the same version of RedHat, Tomcat and Dspace. In both cases sendmail is running on both machines because I get nightly reports from the crontab emailed to me. One setup on our internal or Intranet machine works just fine. I register and get the email no problem. The other machine, our production website machine, gives the above mentioned errors. We are using the most recent version of Dspace. We also have Apache running on both machines. Any suggestions on where to look for problems would be most helpful. Oh, I've looked through the sendmail logs (maillog) and could not find any reference to an error. But sendmail is a bit of mystery at times. So, again, any suggestions would be most appreciated. Thank you. -- Dale Patterson -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Dale Patterson -- Dale Patterson -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry
Re: [Dspace-tech] Error with email registration
Thanks for the advice. First, I tried using the 'mail' command and everything worked just fine. I then took a close look at the following logs: dspace.log, catalina.out, messages, and even maillog on by our Test machine, which works just fine, and our would-be production site, which does not. I discovered that the action of registering is recorded in all of the appropriate logs on the Test site, but not recorded on the production site. All steps I take up to the act of registering (such as viewing items and doing a search) are recorded, but nothing is recorded for registration. It is as if it is not happening on the production system - no errors and no record of actions. So, I took a closer look at the two dspace.cfg files and found one difference (other than the dspace.url) between the two sites: authentication.shib.autoregister = false on the production site and it is set to true on the Test site. Could this be the problem? But when I changed it to 'true' from 'false' and restarted the system nothing changed. I am baffled at this point. On Sat, Sep 12, 2009 at 1:47 PM, Vishal Kakapuri vishalm...@gmail.comwrote: Have you tried to send a mail using the systems mail command to the id, you are trying to send mail through your application. does that work without any issues. unable to send email to this address (when using Manakin) or internal error (when using jspui). -- means something is wrong with some configuration on your system. you should atleast see an error in the logs. check the ourput of /var/log/messages too if possible. regards. On Fri, Sep 11, 2009 at 1:36 AM, Dale Patterson gcaharchiv...@gmail.com wrote: Good afternoon - I am having an odd problem with our DSpace installation on what will be our production machine. The entire installation went like a dream on our test bed machine and now I've hit this snag. The problem is that when someone attempts to register we get an unable to send email to this address (when using Manakin) or internal error (when using jspui).I have looked at the /usr/local/dspace/log/dspace.log file and there is nothing in the log that resembles this error (there are precious few errors) and I've looked at /usr/share/tomcat5/log/catalina.out and there are no reports there either. Should I be looking in a different file? Finally here is our setup. RedHat Linux 5 using Tomcat 5.5 with a standard install of Dspace. We have it loaded on two identical machines with the same version of RedHat, Tomcat and Dspace. In both cases sendmail is running on both machines because I get nightly reports from the crontab emailed to me. One setup on our internal or Intranet machine works just fine. I register and get the email no problem. The other machine, our production website machine, gives the above mentioned errors. We are using the most recent version of Dspace. We also have Apache running on both machines. Any suggestions on where to look for problems would be most helpful. Oh, I've looked through the sendmail logs (maillog) and could not find any reference to an error. But sendmail is a bit of mystery at times. So, again, any suggestions would be most appreciated. Thank you. -- Dale Patterson -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Dale Patterson -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Error with email registration
Have you tried to send a mail using the systems mail command to the id, you are trying to send mail through your application. does that work without any issues. unable to send email to this address (when using Manakin) or internal error (when using jspui). -- means something is wrong with some configuration on your system. you should atleast see an error in the logs. check the ourput of /var/log/messages too if possible. regards. On Fri, Sep 11, 2009 at 1:36 AM, Dale Patterson gcaharchiv...@gmail.com wrote: Good afternoon - I am having an odd problem with our DSpace installation on what will be our production machine. The entire installation went like a dream on our test bed machine and now I've hit this snag. The problem is that when someone attempts to register we get an unable to send email to this address (when using Manakin) or internal error (when using jspui). I have looked at the /usr/local/dspace/log/dspace.log file and there is nothing in the log that resembles this error (there are precious few errors) and I've looked at /usr/share/tomcat5/log/catalina.out and there are no reports there either. Should I be looking in a different file? Finally here is our setup. RedHat Linux 5 using Tomcat 5.5 with a standard install of Dspace. We have it loaded on two identical machines with the same version of RedHat, Tomcat and Dspace. In both cases sendmail is running on both machines because I get nightly reports from the crontab emailed to me. One setup on our internal or Intranet machine works just fine. I register and get the email no problem. The other machine, our production website machine, gives the above mentioned errors. We are using the most recent version of Dspace. We also have Apache running on both machines. Any suggestions on where to look for problems would be most helpful. Oh, I've looked through the sendmail logs (maillog) and could not find any reference to an error. But sendmail is a bit of mystery at times. So, again, any suggestions would be most appreciated. Thank you. -- Dale Patterson -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Error with email registration
Good afternoon - I am having an odd problem with our DSpace installation on what will be our production machine. The entire installation went like a dream on our test bed machine and now I've hit this snag. The problem is that when someone attempts to register we get an unable to send email to this address (when using Manakin) or internal error (when using jspui).I have looked at the /usr/local/dspace/log/dspace.log file and there is nothing in the log that resembles this error (there are precious few errors) and I've looked at /usr/share/tomcat5/log/catalina.out and there are no reports there either. Should I be looking in a different file? Finally here is our setup. RedHat Linux 5 using Tomcat 5.5 with a standard install of Dspace. We have it loaded on two identical machines with the same version of RedHat, Tomcat and Dspace. In both cases sendmail is running on both machines because I get nightly reports from the crontab emailed to me. One setup on our internal or Intranet machine works just fine. I register and get the email no problem. The other machine, our production website machine, gives the above mentioned errors. We are using the most recent version of Dspace. We also have Apache running on both machines. Any suggestions on where to look for problems would be most helpful. Oh, I've looked through the sendmail logs (maillog) and could not find any reference to an error. But sendmail is a bit of mystery at times. So, again, any suggestions would be most appreciated. Thank you. -- Dale Patterson -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech