https://bugs.contribs.org/show_bug.cgi?id=10525
--- Comment #5 from Kevin L. Shelton <[email protected]> ---
(In reply to John Crisp from comment #4)
> Can you advise what errors you found in your logs?
Which other log(s) do I need to look at?
The messages log contains these entries from the time I installed
Sendmail-Wrapper until I removed it once I discovered mail wasn't being sent.
Feb 23 11:57:53 www yum[5515]: Installed:
smeserver-sendmail-wrapper-0.1-1.el6.sme.noarch
Feb 23 11:57:54 www /sbin/e-smith/db[5546]: /home/e-smith/db/configuration: OLD
UnsavedChanges=no
Feb 23 11:57:54 www /sbin/e-smith/db[5546]: /home/e-smith/db/configuration: NEW
UnsavedChanges=yes
Feb 23 11:59:57 www /sbin/e-smith/db[5645]: /home/e-smith/db/configuration: OLD
UnsavedChanges=yes
Feb 23 11:59:57 www /sbin/e-smith/db[5645]: /home/e-smith/db/configuration: NEW
UnsavedChanges=no
Feb 23 12:01:45 www httpd: PHP Warning: mail(/var/log/httpd/mail.log) [<a
href='function.mail'>function.mail</a>]: failed to open stream: Permission
denied in /home/e-smith/files/ibays/Primary/html/includes/classes/email.php on
line 523
Feb 23 12:10:02 www esmith::event[6106]: Processing event: pre-backup
Feb 23 12:10:02 www esmith::event[6106]: Running event handler:
/etc/e-smith/events/actions/generic_template_expand
Feb 23 12:10:02 www esmith::event[6106]: expanding /etc/dar/DailyBackup.dcf
Feb 23 12:10:03 www esmith::event[6106]:
generic_template_expand=action|Event|pre-backup|Action|generic_template_expand|Start|1519416602
795269|End|1519416603 43737|Elapsed|0.248468
Feb 23 12:10:03 www esmith::event[6106]: Running event handler:
/etc/e-smith/events/pre-backup/S10mysql-delete-dumped-tables
Feb 23 12:10:03 www esmith::event[6106]:
S10mysql-delete-dumped-tables=action|Event|pre-backup|Action|S10mysql-delete-dumped-tables|Start|1519416603
44161|End|1519416603 49490|Elapsed|0.005329
Feb 23 12:10:03 www esmith::event[6106]: Running event handler:
/etc/e-smith/events/pre-backup/S20mysql-dump-tables
Feb 23 12:10:06 www esmith::event[6106]:
S20mysql-dump-tables=action|Event|pre-backup|Action|S20mysql-dump-tables|Start|1519416603
50282|End|1519416606 495490|Elapsed|3.445208
Feb 23 12:10:06 www esmith::event[6106]: Running event handler:
/etc/e-smith/events/pre-backup/S30ldap-dump
Feb 23 12:10:06 www esmith::event[6106]: 5a90751e bdb_monitor_db_open:
monitoring disabled; configure monitor database to enable
Feb 23 12:10:06 www esmith::event[6106]:
S30ldap-dump=action|Event|pre-backup|Action|S30ldap-dump|Start|1519416606
496307|End|1519416606 670653|Elapsed|0.174346
Feb 23 12:10:06 www esmith::event[6106]: Running event handler:
/etc/e-smith/events/pre-backup/S50rewind-tape
Feb 23 12:10:06 www esmith::event[6106]:
S50rewind-tape=action|Event|pre-backup|Action|S50rewind-tape|Start|1519416606
671216|End|1519416606 769625|Elapsed|0.098409
Feb 23 12:39:08 www httpd: PHP Warning: mail(/var/log/httpd/mail.log) [<a
href='function.mail'>function.mail</a>]: failed to open stream: Permission
denied in
/home/e-smith/files/ibays/Primary/html/catalog/admin/includes/classes/email.php
on line 523
Feb 23 12:44:42 www yum[7414]: Erased: smeserver-sendmail-wrapper
Line 523 of the email class is the call to the PHP mail function as follows:
return mail($to, $subject, $this->output, 'From: ' . $from . $this->lf
. implode($this->lf, $this->headers) . $return_path . $this->lf .
implode($this->lf, $xtra_headers));
I suppose Permission Denied means that the contribution failed to set
permissions on the sendmail script to something that PHP can access.
--
You are receiving this mail because:
You are the QA Contact for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/