Language:
switch to room list switch to menu My folders
Go to page: First ... 10 11 12 13 [14] 15 16 17 18 19
[#] Fri Jul 26 2019 23:08:48 EDT from davidabcdy @ Uncensored

Subject: Re: Try this version of Easy Install if you have systemd - it may fixthe citadel-admin.socket issue

[Reply] [ReplyQuoted] [Headers] [Print]

Tried the new Easy Install script but still problems, installing on RPi 3B+ with new Raspbian Buster.

Here are the last few lines of the Citadel install:

Configuring your system ... 

 This is a new Citadel installation. 

 Trying to stop citserver ... 

 Attempting to stop citserver using systemd 

 systemd detected - automatic installation will proceed 

Created symlink /etc/systemd/system/multi-user.target.wants/citadel.service → /etc/systemd/system/citadel.service.

 Stopping all WebCit instances 

 WebCit is a built-in Web service for the Citadel system. 

 If you are NOT running any other web server on this host, 

 you can run WebCit on ports 80 and 443. Otherwise you must 

 select other ports, such as 8080, 8443, etc. 

 What HTTP port do you want to use for WebCit? 80

 What HTTPS port do you want to use for WebCit? 443

Created symlink /etc/systemd/system/multi-user.target.wants/webcit-http.service → /etc/systemd/system/webcit-http.service.

Created symlink /etc/systemd/system/multi-user.target.wants/webcit-https.service → /etc/systemd/system/webcit-https.service.

 1569 ?        Ssl    0:00 /usr/local/webcit/webcit -p80 uds /usr/local/citadel

 1587 ?        Rs     0:00 /usr/local/webcit/webcit -s -p443 uds /usr/local/citadel

 All finished! You are ready to log in. 

 

Then tried to login on Chromium using localhost and got the following message:

This program was unable to connect or stay connected to the Citadel server. Please report this problem to your system administrator.

 

Did the recommended check to see running services:

root@raspberrypi:/# ps -eaf |grep cit

root      1569     1  0 12:22 ?        00:00:00 /usr/local/webcit/webcit -p80 uds /usr/local/citadel

root      1587     1  0 12:22 ?        00:00:00 /usr/local/webcit/webcit -s -p443 uds /usr/local/citadel

root      3173  2614  0 12:27 pts/0    00:00:00 grep cit

root@raspberrypi:/#

Looks like webcit is running but not citserver??

What am I doing wrong?



[#] Sat Jul 27 2019 11:02:35 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Try this version of Easy Install if you have systemd - it may fixthe citadel-admin.socket issue

[Reply] [ReplyQuoted] [Headers] [Print]

wtf? I tried this on a Debian system and it ran perfectly. Ok, please run the Citadel server in the foreground. Just type:

/usr/local/citadel/citserver -x9

If it runs, try to log in, and we'll figure out why setup isn't keeping it running. If it exits, post the last few lines of output from the server.

[#] Sat Jul 27 2019 15:42:37 EDT from davidabcdy @ Uncensored

Subject: Re: Try this version of Easy Install if you have systemd - it may fixthe citadel-admin.socket issue

[Reply] [ReplyQuoted] [Headers] [Print]

OK, I ran /usr/local/citadel/citserver -x9, see error at bottom of page.

 

root@raspberrypi:~# /usr/local/citadel/citserver -x9 

citserver[2040]:  

citserver[2040]:  

citserver[2040]: *** Citadel server engine ***

citserver[2040]: Version 925 (build cb5275786) ***

citserver[2040]: Copyright (C) 1987-2019 by the Citadel development team.

citserver[2040]:  

citserver[2040]: This program is open source software: you can redistribute it and/or

citserver[2040]: modify it under the terms of the GNU General Public License, version 3.

citserver[2040]:  

citserver[2040]: This program is distributed in the hope that it will be useful,

citserver[2040]: but WITHOUT ANY WARRANTY; without even the implied warranty of

citserver[2040]: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

citserver[2040]: GNU General Public License for more details.

citserver[2040]:  

citserver[2040]: libcitadel(unnumbered)

citserver[2040]: main: creating lockfile

citserver[2040]: extensions: registered server command STLS (Start SSL/TLS session)

citserver[2040]: extensions: registered server command GTLS (Get SSL/TLS session status)

citserver[2040]: extensions: registered a new session function (type 0 Priority 30010)

citserver[2040]: master_startup() started

citserver[2040]: Checking directory access

citserver[2040]: Opening databases

citserver[2040]: db: open_databases() starting

citserver[2040]: db: Compiled libdb: Berkeley DB 6.2.32: (April  5, 2017)

citserver[2040]: db:   Linked libdb: Berkeley DB 6.2.32: (April  5, 2017)

citserver[2040]: db:    Linked zlib: 1.2.11

citserver[2040]: db: Setting up DB environment

citserver[2040]: db: dbenv->open(dbenv, /usr/local/citadel/data/, 75553, 0)

citserver[2040]: db: mounting databases

citserver[2040]: Initializing configuration system

citserver[2040]: db: cursor still in progress on cdb 00: attempt to write during r/o cursor

citserver[2040]: db: citserver is stopping in order to prevent data loss. uid=0 gid=0 euid=0 egid=0

root@raspberrypi:~# 

 


[#] Sat Jul 27 2019 15:48:45 EDT from davidabcdy @ Uncensored

Subject: Re: Try this version of Easy Install if you have systemd - it may fixthe citadel-admin.socket issue

[Reply] [ReplyQuoted] [Headers] [Print]

Also tried to stop citserver with, citserver service stop, and got (last few lines):
 
citserver[3781]: libcitadel(unnumbered)
citserver[3781]: crypto: generating RSA key pair
citserver[3781]: crypto: generating a generic certificate signing request.
citserver[3781]: crypto: generating a generic self-signed certificate.
citserver[3781]: Checking directory access
citserver[3781]: Opening databases
citserver[3781]: db: mounting databases
citserver[3781]: Initializing configuration system
citserver[3781]: db: cursor still in progress on cdb 00: attempt to write during r/o cursor
 


[#] Sat Jul 27 2019 16:45:49 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Try this version of Easy Install if you have systemd - it may fixthe citadel-admin.socket issue

[Reply] [ReplyQuoted] [Headers] [Print]

Corrupt database on a brand new installation? This may indicate a race condition or locking problem. I think I'm going to have to set up a Raspberry Pi and try it myself.

[#] Sun Jul 28 2019 07:29:39 EDT from davidabcdy @ Uncensored

Subject: Re: Try this version of Easy Install if you have systemd - it may fixthe citadel-admin.socket issue

[Reply] [ReplyQuoted] [Headers] [Print]

Citadel (with spamassassin and clamav) installed correctly on RPi3B+ running Ubuntu server OS (18.04.2 arm64 for raspi3) with LXDE desktop (low resorce use).

So the Citadel installation problem seems to be about Raspbian Buster.

Tried setting up Citadel with Ubuntu Mate on RPi but it was impossibly slow (not enough ram).



[#] Mon Jul 29 2019 10:49:59 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Try this version of Easy Install if you have systemd - it may fixthe citadel-admin.socket issue

[Reply] [ReplyQuoted] [Headers] [Print]

Confirmed. I was able to reproduce the problem on Buster. I'll try to fix it.

[#] Wed Jul 31 2019 11:50:38 EDT from Cyberdox @ Uncensored

Subject: Raspberry 4

[Reply] [ReplyQuoted] [Headers] [Print]

Has anyone been able to install Citadel on a Raspberry pi 4?    Have tried every possible install I could find, but none of them succeeded.   

 

Thanks in advance,

 

Leo



[#] Wed Jul 31 2019 14:12:34 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Raspberry 4

[Reply] [ReplyQuoted] [Headers] [Print]

Has anyone been able to install Citadel on a Raspberry pi 4?   
Have tried every possible install I could find, but none of them
succeeded.   

It has been confirmed that there's something about recent Raspbian versions that is making Citadel fail. We are researching this and will publish a fix as soon as we figure it out.

In the meantime, there are reports of success on Ubuntu server OS (18.04.2 arm64 for raspi3), if you can install that on your Pi.

[#] Fri Aug 02 2019 04:54:12 EDT from toner @ Uncensored

Subject: Very long email address

[Reply] [ReplyQuoted] [Headers] [Print]

Please tell me if I use your webmail gui client, could I make my mailbox local address or username about 91 characters long (the domain name is going to be about 95 characters? The total global address is 187 characters long).



[#] Fri Aug 02 2019 12:46:55 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Very long email address

[Reply] [ReplyQuoted] [Headers] [Print]

I believe it maxes out at 64 characters. Why would you have such an extraordinarily long domain name? Are you a spammer?

[#] Mon Aug 05 2019 01:11:17 EDT from msh @ Uncensored

Subject: Re: Raspberry 4

[Reply] [ReplyQuoted] [Headers] [Print]

The newest raspbian is a derivative of Buster if I'm not mistaken.  Could this be a problem with Buster in general, not just Rasbian?

I just had a long running Citadel install crash hard after an upgrade to Buster.  when the Citadel server tries to start I get syslog lines like this:

 

kernel: [  817.489783] citserver[4560]: segfault at 10000014c ip 00007f90668a0198 sp 00007ffc77f1a940 error 4 in libdb-5.3.so[7f90667ce000+142000]
Aug  5 04:49:27 garage kernel: [  817.494860] Code: a5 4d 85 e4 74 bc 4c 39 f0 74 a0 31 c0 48 8d 35 96 31 08 00 48 89 ef e8 46 e6 f2 ff b8 16 00 00 00 eb a1 0f 1f 80 00 00 00 00 <41> 8b 94 24 4c 01 00 00 e9 d4 fe ff ff 0f 1f 00 f6 83 ac 05 00 00

 

It is on a KVM virtual machine.  To eliminate the possibility of something specific to my database or config I tried setting up a completely fresh stock install of Debian Buster and it does the exact same thing with a brand new database and config.  It doesn't matter if I use the Debian Citadel packages or the current easy install, they both segfault in libdb (at least as of this past week).  Now I've got to try reverting back to old-stable (stretch) to try and get things set right again.

 

All and all I'm a bit concerned.  The Debian packages were recently orphaned and I'm seeing scant information on current Debian support.  Is there another distro of choice that y'all have moved on to?



[#] Mon Aug 05 2019 01:42:02 EDT from msh @ Uncensored

Subject: Re: Try this version of Easy Install if you have systemd - it may fix the citadel-admin.socket issue

[Reply] [ReplyQuoted] [Headers] [Print]

Just noticed the suggestion to try easy install with the special systemd version of the script.  Seems I get the same result with the citserver segfaulting immediately after install (and thus the citadel-admin.socket never happening).

This was done on an X86-64 KVM virtual machine with a fresh, stock install of Debian Buster.  The syslog entries where things start to go south are as follows:

Aug  5 05:23:16 garage citserver[30991]: Checking directory access
Aug  5 05:23:16 garage citserver[30991]: Opening databases
Aug  5 05:23:16 garage citserver[30991]: db: mounting databases
Aug  5 05:23:16 garage citserver[30991]: Initializing configuration system
Aug  5 05:23:16 garage kernel: [ 2847.295776] citserver[30991]: segfault at 100000154 ip 00007fbb9208ddb6 sp 00007ffffd77bfc0 error 4 in libdb-6.2.so[7fbb91fa4000+15f000]
Aug  5 05:23:16 garage kernel: [ 2847.299581] Code: 64 06 00 00 a9 00 00 80 00 0f 85 05 01 00 00 41 89 ce 49 89 d5 48 89 f5 48 89 fb 48 85 f6 0f 84 b0 00 00 00 8b 8f 94 00 00 00 <8b> 96 54 01 00 00 85 c9 0f 85 ec 00 00 00 45 85 f6 75 09 f6 c6 08
Aug  5 05:23:16 garage systemd[1]: citadel.service: Main process exited, code=dumped, status=11/SEGV
Aug  5 05:23:16 garage systemd[1]: citadel.service: Failed with result 'core-dump'.
Aug  5 05:23:16 garage systemd[1]: citadel.service: Service RestartSec=100ms expired, scheduling restart.
Aug  5 05:23:16 garage systemd[1]: citadel.service: Scheduled restart job, restart counter is at 5.
Aug  5 05:23:16 garage systemd[1]: Stopped Citadel Server.
Aug  5 05:23:16 garage systemd[1]: citadel.service: Start request repeated too quickly.
Aug  5 05:23:16 garage systemd[1]: citadel.service: Failed with result 'core-dump'.
Aug  5 05:23:16 garage systemd[1]: Failed to start Citadel Server.

Very similar to what happens when installing the citadel-server package from the Debian repos, except libdb is newer in this case.

If there is anything else I could try or share here to help solve the issue that would be super!



[#] Mon Aug 05 2019 06:08:48 EDT from davidabcdy @ Uncensored

Subject: citadel-admin.socket missing issue

[Reply] [ReplyQuoted] [Headers] [Print]

Looking through the Citadel source code I found this reference in clientsocket.c:

"does _not_ handle client sockets for the Citadel client; for that you must look in ipc_c_tcp.c"

I have not been able to find ipc_c_tcp.c in the citadel.tar directories.

Could the absence of this file be causing the citadel-admin.socket missing error?

 



[#] Mon Aug 05 2019 12:16:50 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Raspberry 4

[Reply] [ReplyQuoted] [Headers] [Print]

All and all I'm a bit concerned.  The Debian packages were recently
orphaned and I'm seeing scant information on current Debian
support.  Is there another distro of choice that y'all have moved on
to?

Actually the software is developed *on* Debian.

Looks like it's time to set up a Buster and see what's going on.

[#] Mon Aug 05 2019 15:03:31 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Raspberry 4

[Reply] [ReplyQuoted] [Headers] [Print]


Confirmed! I tried it on a Buster system and it crashed in the exact same place that it does on Raspbian. It throws a different error -- on Raspbian it stops with a Berkeley DB error, but on Buster on x64 it segfaults.

Either way, it's a good indicator that the Debian developers broke something and we need to figure out what. I'll upgrade my development system to Buster and we'll see what's up.

[#] Tue Aug 06 2019 09:01:01 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Raspberry 4

[Reply] [ReplyQuoted] [Headers] [Print]

After an upgrade of my primary development machine, I'm getting the crashes in that exact same spot too. That means nothing else can happen until I figure out what they changed and work around it :)

[#] Wed Aug 07 2019 13:55:37 EDT from msh @ Uncensored

Subject: Re: Raspberry 4

[Reply] [ReplyQuoted] [Headers] [Print]

 

Mon Aug 05 2019 12:16:50 EDT from IGnatius T Foobar @ Uncensored Subject: Re: Raspberry 4
All and all I'm a bit concerned.  The Debian packages were recently
orphaned and I'm seeing scant information on current Debian
support.  Is there another distro of choice that y'all have moved on
to?

Actually the software is developed *on* Debian.

Looks like it's time to set up a Buster and see what's going on.

Ah that's comforting...thank you for letting me know :)



[#] Wed Aug 07 2019 14:01:41 EDT from msh @ Uncensored

Subject: Re: Raspberry 4

[Reply] [ReplyQuoted] [Headers] [Print]

 

Tue Aug 06 2019 09:01:01 EDT from IGnatius T Foobar @ Uncensored Subject: Re: Raspberry 4
After an upgrade of my primary development machine, I'm getting the crashes in that exact same spot too. That means nothing else can happen until I figure out what they changed and work around it :)

Hope it doesn't cause too much brain hurt! Seems to involve a libdb call, but not something with libdb directly because the error happens with packaged libdb and the easyinstall-built one at the same point. So...something libdb depends on? Probably kernel differences.



[#] Wed Aug 07 2019 14:03:45 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Raspberry 4

[Reply] [ReplyQuoted] [Headers] [Print]

Ah that's comforting...thank you for letting me know :)

My primary development machine is now upgraded to the latest Debian, and Citadel Server is now crashing on startup, just like y'all are seeing on Raspberry Pi and on the latest Debian release.

So now there's no getting around it -- this bug is now blocking ALL further development. It has to get fixed before we can do anything else.

Go to page: First ... 10 11 12 13 [14] 15 16 17 18 19