Subject: Re: EasyInstall aborting with Updated/Upgrading Rasbian OS
Mon Jul 10 2023 18:40:31 EDT from chernobyl Subject: Re: EasyInstall aborting with Updated/Upgrading Rasbian OSJust thought I would provide an update. After upgrading my Raspbian distribution from 9(stretch) to 10 (Buster) and re-installing docker, I was able to successfully get Citadel working via the Docker installation method.
However, the "easyinstall" method still gives the same undefined reference errors that it was before.
Looks like the "easyinstall" method is deprecated....
I'm having easy install issues too. Literally a week ago it worked perfectly on my RPi with stretch. I've not changed the OS but now I get lots of...
In file included from server/modules/imap/imap_metadata.c:39:0:
server/modules/imap/../../citadel_defs.h:15:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas]
#pragma GCC diagnostic ignored "-Wformat-truncation"
^~~~~~~~~~~~~~~~~~~~~
In file included from server/modules/imap/imap_misc.c:31:0:
server/modules/imap/../../citadel_defs.h:15:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas]
#pragma GCC diagnostic ignored "-Wformat-truncation"
Customer reported an issue with MS OL2013 where they selected several emails from inbos and pasted them into another folder under the MS OL Inbox then changed to that folder and the emails disappeared. Then also, the email is not found anywhere.
has anyone experienced this rather bizarre occurence and where does The email go?
I am also curious how one could get a list of emails as admin slated for auto purge and if possible to reset some for restore to user access.
Subject: Problems installing on Raspberry Pi 4B (Bullseye)
Hello, i'm trying to get Citadel running on my Pi and tried various methods (each from a clean install of Raspian) and get the same error each time.
(full dump here: https://pastebin.com/1LcdxxKw)
Can anyone offer a suggestion to what i'm doing wrong or is Bullseye not yet supported? I've heard from others that it worked on Debian Buster but i'd rather stick with Bullseye if possible.
i'm using citadel now for several months. and i'like it. but, the most bad problem is. the server is runing some time, later crash always the db. i'dont know why.
today i'will try a upgrade to the new version, and i'hope this worst case will gone.
i'm happy, for taht i'do every night a full backup, so if this happen i'can restore the last backup. but it is only a workaround.
target system, current update and upgraded debian bullseye
older version of citadel was runing
easyinstell output:
2023-07-19 15:29:54 (266 KB/s) - 'citadel-easyinstall.tar.gz' saved [463266/463266]
Installing Citadel...
Running the configure script to create config.mk
Testing for OpenSSL...
Testing for iconv...
iconv.h is present and requires no additional libraries
# config.mk is generated by configure
CTDLDIR := /usr/local/citadel
CFLAGS := -I/usr/local/ctdlsupport/include -g -DHAVE_OPENSSL -DBUILD_ID=\"23200\" -DCTDLDIR=\"/usr/local/citadel\"
LDFLAGS := -L/usr/local/ctdlsupport/lib -Wl,--rpath -Wl,/usr/local/ctdlsupport/lib -lssl -lcrypto -lz
cc -I/usr/local/ctdlsupport/include -g -DHAVE_OPENSSL -DBUILD_ID=\"23200\" -DCTDLDIR=\"/usr/local/citadel\" \
server/*.c server/modules/*/*.c \
-L/usr/local/ctdlsupport/lib -Wl,--rpath -Wl,/usr/local/ctdlsupport/lib -lssl -lcrypto -lz -lresolv -lcitadel -lpthread -lz -lical -lldap -lcrypt -lexpat -lcurl -ldb \
-o citserver
cc -I/usr/local/ctdlsupport/include -g -DHAVE_OPENSSL -DBUILD_ID=\"23200\" -DCTDLDIR=\"/usr/local/citadel\" -L/usr/local/ctdlsupport/lib -Wl,--rpath -Wl,/usr/local/ctdlsupport/lib -lssl -lcrypto -lz utils/setup.c -lcitadel -o setup
cc -I/usr/local/ctdlsupport/include -g -DHAVE_OPENSSL -DBUILD_ID=\"23200\" -DCTDLDIR=\"/usr/local/citadel\" -L/usr/local/ctdlsupport/lib -Wl,--rpath -Wl,/usr/local/ctdlsupport/lib -lssl -lcrypto -lz utils/ctdlmigrate.c -lcitadel -lreadline -o ctdlmigrate
cc -I/usr/local/ctdlsupport/include -g -DHAVE_OPENSSL -DBUILD_ID=\"23200\" -DCTDLDIR=\"/usr/local/citadel\" -L/usr/local/ctdlsupport/lib -Wl,--rpath -Wl,/usr/local/ctdlsupport/lib -lssl -lcrypto -lz utils/sendcommand.c -lcitadel -o sendcommand
cc -I/usr/local/ctdlsupport/include -g -DHAVE_OPENSSL -DBUILD_ID=\"23200\" -DCTDLDIR=\"/usr/local/citadel\" -L/usr/local/ctdlsupport/lib -Wl,--rpath -Wl,/usr/local/ctdlsupport/lib -lssl -lcrypto -lz utils/citmail.c -lcitadel -o citmail
cc -I/usr/local/ctdlsupport/include -g -DHAVE_OPENSSL -DBUILD_ID=\"23200\" -DCTDLDIR=\"/usr/local/citadel\" -L/usr/local/ctdlsupport/lib -Wl,--rpath -Wl,/usr/local/ctdlsupport/lib -lssl -lcrypto -lz utils/chkpw.c -o chkpw
cc -I/usr/local/ctdlsupport/include -g -DHAVE_OPENSSL -DBUILD_ID=\"23200\" -DCTDLDIR=\"/usr/local/citadel\" -L/usr/local/ctdlsupport/lib -Wl,--rpath -Wl,/usr/local/ctdlsupport/lib -lssl -lcrypto -lz utils/chkpwd.c utils/auth.c -lcrypt -o chkpwd
utils/ctdl3264_prep.sh
cc -I/usr/local/ctdlsupport/include -g -DHAVE_OPENSSL -DBUILD_ID=\"23200\" -DCTDLDIR=\"/usr/local/citadel\" -L/usr/local/ctdlsupport/lib -Wl,--rpath -Wl,/usr/local/ctdlsupport/lib -lssl -lcrypto -lz utils/ctdl3264.c -lcitadel -lz -ldb -o ctdl3264
/usr/bin/ld: /usr/local/ctdlsupport/lib/libdb.a(os_yield.o): in function `__os_yield_ctdl':
os_yield.c:(.text+0x94): undefined reference to `pthread_yield'
/usr/bin/ld: /usr/local/ctdlsupport/lib/libdb.a(mut_pthread.o): in function `__db_pthread_mutex_prep.constprop.0.isra.0':
mut_pthread.c:(.text+0x29): undefined reference to `pthread_mutex_trylock'
/usr/bin/ld: /usr/local/ctdlsupport/lib/libdb.a(mut_pthread.o): in function `__db_pthread_mutex_init_ctdl':
mut_pthread.c:(.text+0xc5): undefined reference to `pthread_mutexattr_init'
/usr/bin/ld: mut_pthread.c:(.text+0xe6): undefined reference to `pthread_mutexattr_setpshared'
/usr/bin/ld: mut_pthread.c:(.text+0x148): undefined reference to `pthread_mutexattr_destroy'
/usr/bin/ld: mut_pthread.c:(.text+0x19e): undefined reference to `pthread_condattr_setpshared'
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:41: ctdl3264] Error 1
Citadel Easy Install is aborting.
The last few lines above this message may indicate what went wrong.
Linux Debian 11.7( 5.10.0-23-amd64 x86_64)
root@mail:~# apt-get dist-upgrade
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paketaktualisierung (Upgrade) wird berechnet… Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
root@mail:~#
Subject: what are the hardware and System requirements to deploy Citadel?
might be a silly question but have to spare systems
1) and old Raspberry PI i believe the 1GB model
2) have a small intel i7 desktop 4"x4"x2" block i think it has 16GB ram and SSD drive not sure how big haven't used both in a while.
I want to install on Debian Linux on the PI preferred
The system is going to operating mainly on x.25 over ham radio on a public IP with ssh / telnet (BBS) about 1200 baud.
i'm using citadel now for several months. and i'like it. but, the most bad
problem is. the server is runing some time, later crash always the db. i'dont
know why.
You're not the only one getting a bit tired of Berkeley DB. We're beginning some efforts to eventually replace it.
Subject: Re: EasyInstall aborting with Updated/Upgrading Rasbian OS
I'm having easy install issues too. Literally a week ago it worked
perfectly on my RPi with stretch. I've not changed the OS but now I
get lots of...
I think it's time for us to push an update to Easy Install. Stay tuned.
Subject: Re: error current easyinstall, some idea?
mut_pthread.c:(.text+0xc5): undefined reference to `pthread_mutexattr_init'
Something might be wonky with the latest Debian. I haven't tried it yet, but it looks like we have to get on that.
In the mean time, you might want to try the containerized distribution of Citadel using Docker. It's already built for you.
Subject: Re: what are the hardware and System requirements to deploy Citadel?
might be a silly question but have to spare systems
1) and old Raspberry PI i believe the 1GB model
2) have a small intel i7 desktop 4"x4"x2" block i think it has 16GB
ram and SSD drive not sure how big haven't used both in a while.
Which generation Raspberry Pi? If it's a 3 or 4, you should be able to run Citadel on it, no problem. However I don't recommend putting Citadel on an SD card, as it is write intensive. Connect a "real" disk drive using USB.
thanks for your Feedback. Citadel runs here in a proxmox server as container. container in a container ... there a also hardenig this mashine to prevent hacking and other bad stuff. the upgrade runs fine, stop only at this point ...
better to fix this ...
Wed Jul 19 2023 13:03:16 EDT from IGnatius T Foobar Subject: Re: error current easyinstall, some idea?mut_pthread.c:(.text+0xc5): undefined reference to `pthread_mutexattr_init'
Something might be wonky with the latest Debian. I haven't tried it yet, but it looks like we have to get on that.
In the mean time, you might want to try the containerized distribution of Citadel using Docker. It's already built for you.
Hi,
Hoping someone can help and that I am posting to the correct place.
I am attempting to install Citadel on a Raspberry Pi 4 running Rasperian (Debian) Version 10 aka "Buster"
I am executing the citadel install script "curl http://easyinstall.citadel.org/install | sudo bash"
when I get the error "undefined reference to symbol 'pthread_rwlock_trywrlock@@GLIBC_2.4'"
Would appreciate any help on this.
Thanks
SteveD430
Thank you to everyone who reported trouble installing the latest Citadel on a Raspberry Pi. That build included an experimental migration utility that was only problematic on a Pi. It has been removed.
Furthermore, I am in agreement with those who are saying that Berkeley DB has become more of a liability lately. I myself had some trouble today. We're going to accelerate a strategy to replace it.
Hi,
I have some trouble with adding/modifying and deleting users. It seems that the accounts and internet address are kept in some kind of chache. After deleting and trying to reuse them, I get messages that the account already exits. But I can't select/find them in the "Edit or Delete users" section on the right side
Or creating a completely different account and try to add the primary internet address to it results in a blank field.
Is there some kind of purging I can do?
Rob
Webcit caches a lot of stuff. Try restarting webcit. I have run into slimilar issues and restarting webcit did the trick.
Hi,
I have some trouble with adding/modifying and deleting users. It seems that the accounts and internet address are kept in some kind of chache. After deleting and trying to reuse them, I get messages that the account already exits. But I can't select/find them in the "Edit or Delete users" section on the right side
Or creating a completely different account and try to add the primary internet address to it results in a blank field.
Is there some kind of purging I can do?
Rob
How can I restart webcit? And what exactly is webcit?
Rob
Hi,
I don't really understand the concept of Citadel. When I send a mail to a Citadel account, that mail arrives in the tab "Mail". But under the tab "Rooms" I see all the traditional mail folders. And I read somewhere the Thunderbird read this "Room" tab. So how...?
Another thing is that I can't connect to Citadel with Thunderbird. Even when i connect locally (192.168.1.202) with port 993. I get a connection timeout.
Username in Thunderbird = User Name in Citadel with @suffix?
STARTTLS and Normal Password?
The "Fully qualified domain name" is everthing behind the "@" of my mail address?
Rob
My Citadel is on the web at https://ladyserenakitty.com/ and it's behind the almighty CloudFlare. The actual server is over at DigitalOcean and the real hostname of the server is citadel.ladyserenakitty.com. My MX record for "ladyserenakitty.com" points to "citadel.ladyserenakitty.com". Therefore, my email address is "@ladyserenakitty.com". The MX record is what matters here.
As far as mail clients go, both Evolution (what I use) and Thunderbird are able to auto-detect the correct authentication method.
According to Evolution:
Encryption method: TLS on a dedicated port
Authentication: Password
Of course, these must be enabled in your Citadel server. Using WebCit: Administration -> Edit Site-wide configuration, and then check the settings in each of the tabs. Also make sure Citadel is able to use these ports, if a port fails to bind, you'll get a startup error message in the Aides room.
- Jessica
Hi,
I don't really understand the concept of Citadel. When I send a mail to a Citadel account, that mail arrives in the tab "Mail". But under the tab "Rooms" I see all the traditional mail folders. And I read somewhere the Thunderbird read this "Room" tab. So how...?
Another thing is that I can't connect to Citadel with Thunderbird. Even when i connect locally (192.168.1.202) with port 993. I get a connection timeout.
Username in Thunderbird = User Name in Citadel with @suffix?
STARTTLS and Normal Password?
The "Fully qualified domain name" is everthing behind the "@" of my mail address?
Rob
Thanks for yuor answer.
There are no messages in de Aided room about ports
There is e difference between the users in "Administration/User account management" and the available users in "Rooms/Main floor/Global Address Book" Some exist in the one and some in the other.
And when I check account 5 under Ädministration" I see: "005@mysite.nl" and when I look into the "Global Address book" i see: "mve@mysite.nl" as the primary internet address. When I edit account 5 in Administration to "mve@mysite.nl" then the field is emptied by the system.
Hey all,
I just installed Citadel on my RPI400 using easyinstall. I created a LetsEncrypt cert using certbot and symlinked that and the key to /usr/local/citadel/keys but Citadel is not offering TLS in the handshake.
This is what I see from MXTools -
Connecting to 14.201.148.236
220 mail.my.domain ESMTP Citadel server ready. [451 ms]
EHLO keeper-us-east-1d.mxtoolbox.com
250-Hello keeper-us-east-1d.mxtoolbox.com (keeper-us-east-1d.mxtoolbox.com [18.209.86.113])
250-HELP
250-SIZE 10485760
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250 8BITMIME [736 ms]
MAIL FROM:<supertool@mxtoolboxsmtpdiag.com>
250 Sender ok [415 ms]
RCPT TO:<test@mxtoolboxsmtpdiag.com>
551 <test@mxtoolboxsmtpdiag.com> - relaying denied [402 ms]
LookupServer 3893ms
Have I missed anything in the setup?
Thanks,
Allan