EPrints Technical Mailing List Archive

Message: #00197


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Can't send account activation mail and test mail


Sir,

while installing the Eprints 3.2.8  on centos 6
platform i encoutered a problem. There is a module for new user
registration which is followed by approval through link in the mail. But
the system is showing the error:

"The system is currently unable to send email. Please try again later. If
this problem persists, please contact the administrator with details."

here's is the apache error_log (192.168.x.x is our internal mails server)
[Sat Mar 17 15:02:58 2012] [error] Exception KeyError:
KeyError(-1216817328,) in <module 'threading' from
'/usr/lib/python2.6/threading.pyc'> ignored
[Sat Mar 17 15:02:58 2012] [error] Exception KeyError:
KeyError(-1216817328,) in <module 'threading' from
'/usr/lib/python2.6/threading.pyc'> ignored
[Sat Mar 17 15:02:58 2012] [error] Exception KeyError:
KeyError(-1216817328,) in <module 'threading' from
'/usr/lib/python2.6/threading.pyc'> ignored
[Sat Mar 17 15:02:58 2012] [error] Exception KeyError:
KeyError(-1216817328,) in <module 'threading' from
'/usr/lib/python2.6/threading.pyc'> ignored
[Sat Mar 17 15:02:58 2012] [error] Exception KeyError:
KeyError(-1216817328,) in <module 'threading' from
'/usr/lib/python2.6/threading.pyc'> ignored
[Sat Mar 17 15:02:58 2012] [error] Exception KeyError:
KeyError(-1216817328,) in <module 'threading' from
'/usr/lib/python2.6/threading.pyc'> ignored
[Sat Mar 17 15:02:58 2012] [error] Exception KeyError:
KeyError(-1216817328,) in <module 'threading' from
'/usr/lib/python2.6/threading.pyc'> ignored
[Sat Mar 17 15:02:58 2012] [error] Exception KeyError:
KeyError(-1216817328,) in <module 'threading' from
'/usr/lib/python2.6/threading.pyc'> ignored
[Sat Mar 17 15:02:58 2012] [notice] caught SIGTERM, shutting down
[Sat Mar 17 15:02:59 2012] [notice] SELinux policy enabled; httpd running
as context unconfined_u:system_r:httpd_t:s0
[Sat Mar 17 15:03:00 2012] [warn] EPrints Warning! 'eprintsceeri' is
configured for port 80 but Apache does not have NameVirtualHosts
configured for that port. This may cause the wrong repository to respond
to 'eprints.ceeri.res.in:80'. To fix this add to your main Apache
configuration file: NameVirtualHost *:80
[Sat Mar 17 15:03:00 2012] [notice] EPrints archives loaded: eprintsceeri
[Sat Mar 17 15:03:00 2012] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Sat Mar 17 15:03:01 2012] [warn] EPrints Warning! 'eprintsceeri' is
configured for port 80 but Apache does not have NameVirtualHosts
configured for that port. This may cause the wrong repository to respond
to 'eprints.ceeri.res.in:80'. To fix this add to your main Apache
configuration file: NameVirtualHost *:80
[Sat Mar 17 15:03:01 2012] [notice] EPrints archives loaded: eprintsceeri
[Sat Mar 17 15:03:01 2012] [notice] Digest: generating secret for digest
authentication ...
[Sat Mar 17 15:03:01 2012] [notice] Digest: done
[Sat Mar 17 15:03:01 2012] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Sat Mar 17 15:03:01 2012] [warn] mod_wsgi: Runtime using Python/2.6.5.
[Sat Mar 17 15:03:01 2012] [notice] Apache/2.2.15 (Unix) DAV/2
mod_auth_kerb/5.4 mod_auth_pgsql/2.0.3 mod_nss/2.2.15 NSS/3.12.6.2
PHP/5.3.2 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.5
mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Sat Mar 17 15:04:28 2012] [error] Exception KeyError:
KeyError(-1217075376,) in <module 'threading' from
'/usr/lib/python2.6/threading.pyc'> ignored
[Sat Mar 17 15:04:28 2012] [error] Exception KeyError:
KeyError(-1217075376,) in <module 'threading' from
'/usr/lib/python2.6/threading.pyc'> ignored
[Sat Mar 17 15:04:28 2012] [error] Exception KeyError:
KeyError(-1217075376,) in <module 'threading' from
'/usr/lib/python2.6/threading.pyc'> ignored
[Sat Mar 17 15:04:28 2012] [error] Exception KeyError:
KeyError(-1217075376,) in <module 'threading' from
'/usr/lib/python2.6/threading.pyc'> ignored
[Sat Mar 17 15:04:28 2012] [error] Exception KeyError:
KeyError(-1217075376,) in <module 'threading' from
'/usr/lib/python2.6/threading.pyc'> ignored
[Sat Mar 17 15:04:28 2012] [error] Exception KeyError:
KeyError(-1217075376,) in <module 'threading' from
'/usr/lib/python2.6/threading.pyc'> ignored
[Sat Mar 17 15:04:28 2012] [error] Exception KeyError:
KeyError(-1217075376,) in <module 'threading' from
'/usr/lib/python2.6/threading.pyc'> ignored
[Sat Mar 17 15:04:28 2012] [error] Exception KeyError:
KeyError(-1217075376,) in <module 'threading' from
'/usr/lib/python2.6/threading.pyc'> ignored
[Sat Mar 17 15:04:28 2012] [notice] caught SIGTERM, shutting down
[Sat Mar 17 15:04:29 2012] [notice] SELinux policy enabled; httpd running
as context unconfined_u:system_r:httpd_t:s0
[Sat Mar 17 15:04:30 2012] [warn] EPrints Warning! 'eprintsceeri' is
configured for port 80 but Apache does not have NameVirtualHosts
configured for that port. This may cause the wrong repository to respond
to 'eprints.ceeri.res.in:80'. To fix this add to your main Apache
configuration file: NameVirtualHost *:80
[Sat Mar 17 15:04:30 2012] [notice] EPrints archives loaded: eprintsceeri
[Sat Mar 17 15:04:30 2012] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Sat Mar 17 15:04:31 2012] [warn] EPrints Warning! 'eprintsceeri' is
configured for port 80 but Apache does not have NameVirtualHosts
configured for that port. This may cause the wrong repository to respond
to 'eprints.ceeri.res.in:80'. To fix this add to your main Apache
configuration file: NameVirtualHost *:80
[Sat Mar 17 15:04:30 2012] [notice] EPrints archives loaded: eprintsceeri
[Sat Mar 17 15:04:30 2012] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Sat Mar 17 15:04:31 2012] [warn] EPrints Warning! 'eprintsceeri' is
configured for port 80 but Apache does not have NameVirtualHosts
configured for that port. This may cause the wrong repository to respond
to 'eprints.ceeri.res.in:80'. To fix this add to your main Apache
configuration file: NameVirtualHost *:80
[Sat Mar 17 15:04:31 2012] [notice] EPrints archives loaded: eprintsceeri
[Sat Mar 17 15:04:31 2012] [notice] Digest: generating secret for digest
authentication ...
[Sat Mar 17 15:04:31 2012] [notice] Digest: done
[Sat Mar 17 15:04:31 2012] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Sat Mar 17 15:04:31 2012] [warn] mod_wsgi: Runtime using Python/2.6.5.
[Sat Mar 17 15:04:31 2012] [notice] Apache/2.2.15 (Unix) DAV/2
mod_auth_kerb/5.4 mod_auth_pgsql/2.0.3 mod_nss/2.2.15 NSS/3.12.6.2
PHP/5.3.2 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.5
mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
Failed to create smtp connection to 192.168.x.x
Failed to send mail.
To: css@ceeri.ernet.in <>
Subject: Test email from http://eprints.ceeri.res.in/



but its (system) establishing the smtp connection via telnet on port 25 to
192.168.x.x from the shell, and infact can send the mail.

Please suggest and help.



-- 
chander shekhar
Technical Assistant
Network Management Cell
CSIR-CEERI
Pilani, Rajasthan-333031