1

Topic: failed to start tcsd svnserv

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.0-beta1
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: FreeBSD 11.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I installed iRedMail-1.0-beta on a FreeBSD (FreeNAS) jail using the downloadable installer.  When I restart the jail I see these errors in the log (/var/log/messages):

root: /etc/rc: WARNING: failed to start tcsd
root: /etc/rc: WARNING: failed to start svnserve

I seem to be able to send an receive mail ok, but not sure if these services are needed or need to be fixed?

Thanks!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: failed to start tcsd svnserv

iRedMail doesn't use either tcsd or svnserve. I guess you have them enabled by default?

3

Re: failed to start tcsd svnserv

Yes, after the install script completed none of the iRedMail services were starting automatically. 

I had to do a 'service start iredapd' manually to get the services online, so without knowing exactly which service was missing,
I added all of the services listed in /usr/local/etc/rc.d to the /etc/rc.conf.local file.  After doing that, iRedMail worked correctly, but with these two errors now in the log on restart.

I'll remove those two from the rc.conf.local file now.  Are there other services I can disable/remove?  My /etc/rc.conf.local file is pasted below:

-----
growfs_enable="YES"
tcsd_enable="YES"
tpmd_enable="YES"
uuidd_enable="YES"
uwsgi_enable="YES"
svnserve_enable="YES"
spamd_enable="YES"
dccd_enable="YES"
dccgrey_enable="YES"
dccifd_enable="YES"
dccm_enable="YES"
p0f_enable="YES"
dbus_enable="YES"
avahi_daemon_enable="YES"
avahi_dnsconfd_enable="YES"
amavisd_snmp_enable="YES"
nginx_enable="YES"
php_fpm_enable="YES"
mysql_enable="YES"
mysql_optfile="/var/db/mysql/my.cnf"
postfix_enable="YES"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
daily_clean_hoststat_enable="NO"
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"
dovecot_enable="YES"
mlmmjadmin_enable="YES"
clamav_clamd_enable="YES"
clamav_freshclam_enable="YES"
amavisd_enable="YES"
amavisd_pidfile="/var/amavis/var/amavisd.pid"
amavis_milter_enable="NO"
amavis_p0fanalyzer_enable="NO"
iredapd_enable="YES"
opendmarc_enable="YES"
iredadmin_enable="YES"
memcached_enable="YES"
memcached_flags="-l 127.0.0.1"
sogod_enable="YES"
netdata_enable="YES"
-----

Thanks!

4

Re: failed to start tcsd svnserv

blacksteel1288 wrote:

Yes, after the install script completed none of the iRedMail services were starting automatically. 

The iRedMail installer prints info right after installation complete, and it tells you to reboot server to bring all mail services online, i guess you missed that info.

You should find the required service names in file iRedMail-1.0-beta1/iRedMail.tips (Search "Enabled services").

5

Re: failed to start tcsd svnserv

I searched the iRedMail.tips file, but there's no section on "Enabled services" in the text.

Could this be because I'm running on FreeBSD 11.2?

I had to run the iRedMail.sh install script as a background task because it took about 1 full day to compile everything from the  "ports" libraries -- very slow, so I never saw the script complete.

I'm still unsure which services to remove from the /etc/rc.conf.local file, other than trial & error?

6

Re: failed to start tcsd svnserv

All these services are not used by iRedMail:

growfs_enable="YES"
tcsd_enable="YES"
tpmd_enable="YES"
uuidd_enable="YES"
uwsgi_enable="YES"
svnserve_enable="YES"
spamd_enable="YES"
dccd_enable="YES"
dccgrey_enable="YES"
dccifd_enable="YES"
dccm_enable="YES"
p0f_enable="YES"
dbus_enable="YES"
avahi_daemon_enable="YES"
avahi_dnsconfd_enable="YES"