I try to install cacti 1.21 on a centos6 server which doesn't have sendmail installed (it uses exim). During the install, the installation stalls on page 5 when no sendmail path is available. This path cannot be left blanc, even when sendmail is not mandatory.
Is there a way to disable sendmail berfore installation?
Or, is there a way to install cacti with exim as mail agent?
Many thanks,
Wilco
How to install cacti without sendmail
Moderators: Developers, Moderators
Re: How to install cacti without sendmail
tbh, as long as you reference a valid file, I don't think it actually checks that sendmail is really the sendmail executable.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: How to install cacti without sendmail
Thanks netniV,
Sure I tried that (see screenshots).
When using a fake sendmail path, the check is green, but when clicking Next, the error remains and nothing happens. So I guess there is a real check.
Thanks,
Wilco
Sure I tried that (see screenshots).
When using a fake sendmail path, the check is green, but when clicking Next, the error remains and nothing happens. So I guess there is a real check.
Thanks,
Wilco
- Attachments
-
- With fake sendmail path
- screenshot-cacti-121-02.png (67.14 KiB) Viewed 837 times
-
- With wrong sendmail path
- screenshot-cacti-121-01.png (67.18 KiB) Viewed 837 times
Re: How to install cacti without sendmail
OK, when I had this issue, I had to make sendmail optional. To do that, edit include/global_settings.php and then locate path_sendmail. add a subentry for optional and set it to true.
see this commit for more info:
https://github.com/Cacti/cacti/commit/6 ... f328b6f200
see this commit for more info:
https://github.com/Cacti/cacti/commit/6 ... f328b6f200
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: How to install cacti without sendmail
Thank you netniV,
In include/global_settings.php I added one line in array 'settings_sendmail_path':
'install_optional' => true,
And the installation went on. Problem solved.
Best regards,
Wilco
In include/global_settings.php I added one line in array 'settings_sendmail_path':
'install_optional' => true,
And the installation went on. Problem solved.
Best regards,
Wilco
Who is online
Users browsing this forum: No registered users and 2 guests