Bug#862297: Install fails if SMTP server is running on port 25, rendering console unuseable

2017-05-23 Thread Michael Meskes
On Wed, May 10, 2017 at 03:36:21PM -0500, John Goerzen wrote:
>   
> If you don't want citadel to provide these 
> services, turn them off in WebCit via: "Admin->System Preferences->Network".

It appears this is now the only way to make it not listen on port 25, meaning
it cannot be done during install. I'm not sure what the best way is to handle
this situation. Merging citadel-mta with citadel-server and make it conflict
with other mtas? And assume that people who want to run citadel with for
instance postfix need to manually change things and know how to handle with it?

Michael

-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL



Bug#862297: [Pkg-citadel-devel] Bug#862297: Install fails if SMTP server is running on port 25, rendering console unuseable

2017-05-18 Thread Michael Meskes
On Wed, May 10, 2017 at 03:36:21PM -0500, John Goerzen wrote:
> I attempted to install citadel-server on a system that already had an MTA 
> installed,
> using the same command as I showed in #862296.  When doing so, my console -- 
> and every
> ssh session to root -- became nearly unuseable as it was flooded with 
> continuous complaints
> about the port 25 already being in use, at such a rate that I couldn't see 
> anything I
> was typing.  I was eventually able to blindly type "killall citserver" to get 
> rid of
> this problem.

It seems something changed on the upstream side since I think this used to
work. But it definitely is an upstream bug imo because the installation
explicitely sets ACT_AS_MTA to no.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL



Bug#862297: Install fails if SMTP server is running on port 25, rendering console unuseable

2017-05-10 Thread John Goerzen
Package: citadel-server
Version: 902-3
Severity: grave

Hi,

I installed citadel-server (but not citadel-mta).  I will note that 
citadel-server
does not conflict with mail-transport-agent (citadel-mta does, but not citadel 
server).

I attempted to install citadel-server on a system that already had an MTA 
installed,
using the same command as I showed in #862296.  When doing so, my console -- 
and every
ssh session to root -- became nearly unuseable as it was flooded with 
continuous complaints
about the port 25 already being in use, at such a rate that I couldn't see 
anything I
was typing.  I was eventually able to blindly type "killall citserver" to get 
rid of
this problem.

The messages looked like this:

Broadcast message from systemd-journald@sid (Wed 2017-05-10 14:54:20 CDT):

citserver[16663]: WX Modules: Citadel had trouble on starting up. We couldn't 
bind all ports you configured to be provided by citadel server.
This means, citadel won't be the service provider for a 
specific service you configured it to.


  If you don't want citadel to provide these 
services, turn them off in WebCit via: "Admin->System Preferences->Network".


   The failed ports and sockets are: TCP port 0.0.0.0:25: 
(SMTP-MTA) 

   If you want citadel to provide you 
with that functionality, check the output of "netstat -lnp" on linux Servers or 
"netstat -na" on *BSD and stop the program that binds these ports.

   You should eventually remove  their initscripts in 
/etc/init.d so that you won't get this trouble once more.

  After that goto "Administration -> Shutdown Citadel" to make Citadel restart 
& retry to bind this port.


   To make both ways 
actualy take place restart the citserver with "sendcommand down"

   The errors returned by the system were:
  Can't bind: Address 
already in use


You can recheck the above if you follow this faq item:

http://www.citadel.org/doku.php?id=faq:mastering_your_os:net#netstat



-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64
 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages citadel-server depends on:
ii  adduser3.115
ii  debconf [debconf-2.0]  1.5.60
iu  libc-ares2 1.12.0-2
ii  libc6  2.24-10
iu  libcitadel4902-1
ii  libcurl3   7.52.1-5
ii  libdb5.3   5.3.28-12+b1
iu  libev4 1:4.22-1+b1
ii  libexpat1  2.2.0-2
iu  libical2   2.0.0-0.5+b1
ii  libldap-2.4-2  2.4.44+dfsg-4+b1
ii  libpam0g   1.1.8-3.5
iu  libsieve2-12.2.6-1.3
ii  libssl1.0.21.0.2k-1
ii  lsb-base   9.20161125
ii  openssl1.1.0e-2
ii  patch  2.7.5-1+b2
ii  zlib1g 1:1.2.8.dfsg-5

Versions of packages citadel-server recommends:
pn  db4.6-util
ii  shared-mime-info  1.8-1

Versions of packages citadel-server suggests:
ii  exim4-daemon-light [mail-transport-agent]  4.89-2

-- Configuration Files:
/etc/citadel/messages/aideopt [Errno 13] Permission denied: 
'/etc/citadel/messages/aideopt'
/etc/citadel/messages/changepw [Errno 13] Permission denied: 
'/etc/citadel/messages/changepw'
/etc/citadel/messages/dotopt [Errno 13] Permission denied: 
'/etc/citadel/messages/dotopt'
/etc/citadel/messages/entermsg [Errno 13] Permission denied: 
'/etc/citadel/messages/entermsg'
/etc/citadel/messages/entopt [Errno 13] Permission denied: 
'/etc/citadel/messages/entopt'
/etc/citadel/messages/goodbye [Errno 13] Permission denied: 
'/etc/citadel/messages/goodbye'
/etc/citadel/messages/hello [Errno 13] Permission denied: 
'/etc/citadel/messages/hello'
/etc/citadel/messages/help [Errno 13] Permission denied: 
'/etc/citadel/messages/help'
/etc/citadel/messages/mainmenu [Errno 13] Permission denied: 
'/etc/citadel/messages/mainmenu'
/etc/citadel/messages/newuser [Errno 13] Permission denied: 
'/etc/citadel/messages/newuser'
/etc/citadel/messages/readopt [Errno 13] Permission denied: 
'/etc/citadel/messages/readopt'
/etc/citadel/messages/register [Errno 13] Permission denied: 
'/etc/citadel/messages/register'