[Koha] Email message sending error in koha

Javed Sahil sahil.ke.paas at gmail.com
Fri Dec 1 03:37:34 NZDT 2017


Hi everyone!

I have set postfix with gmail to send Email Notices for  Check In, Check
Out, and every transaction made in Circulation Module,

But in user accounts Notices tab Email status is pending.
I want koha to send email notices immediately.
 But it is not sending emails.

I have installed "mailutils" using command below:
*        #  sudo apt-get install mailutils*
Everything is ok,
I can send emails using the command below:

*# mail -s "This is the subject" javedshoukat900 at gmail.com
<javedshoukat900 at gmail.com> <<< 'This is the message'*
But notifications emails by koha are not sent,

I have tried




*# PERL5LIB="/usr/share/koha/lib"#
KOHA_CONF="/etc/koha/sites/library/koha-conf.xml"# cd
/usr/share/koha/bin/cronjobs# ./process_message_queue.pl
<http://process_message_queue.pl>*

it returns

root at iolhost:/usr/share/koha/bin/cronjobs# ./process_message_queue.pl
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
Use of uninitialized value in concatenation (.) or string at
/usr/share/koha/lib/C4/Templates.pm line 153.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
Use of uninitialized value in concatenation (.) or string at
/usr/share/koha/lib/C4/Auth_with_cas.pm line 42.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
unable to locate Koha configuration file koha-conf.xml at
/usr/share/koha/lib/C4/Context.pm line 242.
Can't call method "config" on unblessed reference at
/usr/share/koha/lib/Koha/Database.pm line 56.

*i tried rebuilding zebra*

*# koha-rebuild-zebra -v -f library*

Can't locate Authen/CAS/Client/Response/Failure.pm:
./Authen/CAS/Client/Response/Failure.pm: Permission denied at
/usr/share/perl/5.22/base.pm line 97.
    ...propagated at /usr/share/perl/5.22/base.pm line 106.
BEGIN failed--compilation aborted at
/usr/share/perl5/Authen/CAS/Client/Response.pm line 68.
Compilation failed in require at /usr/share/perl5/Authen/CAS/Client.pm line
8.
BEGIN failed--compilation aborted at /usr/share/perl5/Authen/CAS/Client.pm
line 8.
Compilation failed in require at /usr/share/koha/lib/C4/Auth_with_cas.pm
line 26.
BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/Auth_with_cas.pm line 26.
Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 65.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 92.
Compilation failed in require at /usr/share/koha/lib/Koha/Virtualshelf.pm
line 22.
BEGIN failed--compilation aborted at
/usr/share/koha/lib/Koha/Virtualshelf.pm line 22.
Compilation failed in require at /usr/share/koha/lib/Koha/Virtualshelves.pm
line 24.
BEGIN failed--compilation aborted at
/usr/share/koha/lib/Koha/Virtualshelves.pm line 24.
Compilation failed in require at /usr/share/koha/lib/Koha/Patron.pm line 37.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Patron.pm
line 37.
Compilation failed in require at /usr/share/koha/lib/Koha/Patrons.pm line
28.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Patrons.pm
line 28.
Compilation failed in require at /usr/share/koha/lib/Koha/Item.pm line 29.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Item.pm line
29.
Compilation failed in require at /usr/share/koha/lib/Koha/Items.pm line 26.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Items.pm line
26.
Compilation failed in require at /usr/share/koha/lib/C4/Items.pm line 43.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Items.pm line
43.
Compilation failed in require at /usr/share/koha/lib/C4/Reserves.pm line 29.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Reserves.pm
line 29.
Compilation failed in require at /usr/share/koha/lib/C4/Circulation.pm line
28.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Circulation.pm
line 28.
Compilation failed in require at /usr/share/koha/lib/C4/Overdues.pm line 31.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Overdues.pm
line 31.
Compilation failed in require at /usr/share/koha/lib/C4/Members.pm line 30.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Members.pm line
30.
Compilation failed in require at /usr/share/koha/lib/C4/Search.pm line 29.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Search.pm line
29.
Compilation failed in require at /usr/share/koha/lib/C4/AuthoritiesMarc.pm
line 24.
BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/AuthoritiesMarc.pm line 24.
Compilation failed in require at /usr/share/koha/bin/migration_tools/
rebuild_zebra.pl line 26.
BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/
rebuild_zebra.pl line 26.
Something went wrong rebuilding biblio indexes for library
Can't locate Authen/CAS/Client/Response/Failure.pm:
./Authen/CAS/Client/Response/Failure.pm: Permission denied at
/usr/share/perl/5.22/base.pm line 97.
    ...propagated at /usr/share/perl/5.22/base.pm line 106.
BEGIN failed--compilation aborted at
/usr/share/perl5/Authen/CAS/Client/Response.pm line 68.
Compilation failed in require at /usr/share/perl5/Authen/CAS/Client.pm line
8.
BEGIN failed--compilation aborted at /usr/share/perl5/Authen/CAS/Client.pm
line 8.
Compilation failed in require at /usr/share/koha/lib/C4/Auth_with_cas.pm
line 26.
BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/Auth_with_cas.pm line 26.
Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 65.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 92.
Compilation failed in require at /usr/share/koha/lib/Koha/Virtualshelf.pm
line 22.
BEGIN failed--compilation aborted at
/usr/share/koha/lib/Koha/Virtualshelf.pm line 22.
Compilation failed in require at /usr/share/koha/lib/Koha/Virtualshelves.pm
line 24.
BEGIN failed--compilation aborted at
/usr/share/koha/lib/Koha/Virtualshelves.pm line 24.
Compilation failed in require at /usr/share/koha/lib/Koha/Patron.pm line 37.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Patron.pm
line 37.
Compilation failed in require at /usr/share/koha/lib/Koha/Patrons.pm line
28.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Patrons.pm
line 28.
Compilation failed in require at /usr/share/koha/lib/Koha/Item.pm line 29.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Item.pm line
29.
Compilation failed in require at /usr/share/koha/lib/Koha/Items.pm line 26.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Items.pm line
26.
Compilation failed in require at /usr/share/koha/lib/C4/Items.pm line 43.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Items.pm line
43.
Compilation failed in require at /usr/share/koha/lib/C4/Reserves.pm line 29.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Reserves.pm
line 29.
Compilation failed in require at /usr/share/koha/lib/C4/Circulation.pm line
28.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Circulation.pm
line 28.
Compilation failed in require at /usr/share/koha/lib/C4/Overdues.pm line 31.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Overdues.pm
line 31.
Compilation failed in require at /usr/share/koha/lib/C4/Members.pm line 30.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Members.pm line
30.
Compilation failed in require at /usr/share/koha/lib/C4/Search.pm line 29.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Search.pm line
29.
Compilation failed in require at /usr/share/koha/lib/C4/AuthoritiesMarc.pm
line 24.
BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/AuthoritiesMarc.pm line 24.
Compilation failed in require at /usr/share/koha/bin/migration_tools/
rebuild_zebra.pl line 26.
BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/
rebuild_zebra.pl line 26.
Something went wrong rebuilding authority indexes for library

Help Plz

I want koha to send emails immediately.



-- 
Regards,

Javed Shoukat

Management Trainee Officer (MTO)
Lahore University of
Management Sciences (LUMS),
Lahore.

Contact #: +92 300 6548748 <+92%20300%206548748>
Email: javedshoukat900 at gmail.com


More information about the Koha mailing list