Language:
switch to room list switch to menu My folders
Go to page: First ... 6 7 8 9 [10] 11 12 13 14 ... Last
[#] Thu Jul 18 2019 11:03:57 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: citadel-admin.socket missing

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

Setup could not connect to a running Citadel server.: No such file or
directory  /var/run/citadel/citadel-admin.socket

This usually means that the Citadel server is not running.

You can start it up manually, and then try running setup again.

What this means from a practical point of view is that the old sysvinit based startup scripts are starting to fail in many modern systems. It's probably time to assume that systemd is in place, and then use it, and if systemd isn't present then tell the user how to get things started.

[#] Thu Jul 18 2019 20:42:18 EDT from MAS3 @ Uncensored

Subject: Re: citadel-admin.socket missing

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

OK, moving again.

 

It's a bunch of missing permissions that's the cause of my trouble.
I'm working with a new Raspberry Pi 3 B+, and actual Raspbian distribution.
The trouble won't be prevented by being SU, you'll still have insufficient permissions (for whatever reason).

To solve all this, i had to chmod some directories and sometimes complete paths.

But i also had to manually install these packages (which was where the install failed last time, due to some error13 - no rights):

gir1.2-ical-3.0
icu-devtools
libdb-dev
libdb5.3-dev
libicu-dev

[code] sudo apt install libcurl4-doc libidn11-dev libkrb5-dev librtmp-dev libssh2-1-dev db5.3-doc[/code]

libcurl4-doc
libidn11-dev
libkrb5-dev
librtmp-dev
libssh2-1-dev
db5.3-doc

[code]sudo apt install  libcurl4-openssl-dev libical-dev libldap2-dev[/code]

After that, the curl installation method started the lengthy compilation, but the now the file citadel.rc can't be created because of: no rights (who'd have guessed..).
Off to find out where that file is supposed to go and check what permissions are set there.

Of course i'll need to reset all changed permissions once everything works (and see if it's still working after that).



[#] Fri Jul 19 2019 22:21:21 EDT from MAS3 @ Uncensored

Subject: Re: citadel-admin.socket missing

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

Citadel is now up and running.

I did another start from scratch by reflashing the SD card, and basic setup of my Raspberry Pi.
Then i performed the recommended update and upgrade.
Next step was to install dependencies the way i've shown in my previous post.
Final step was to do this:

 sudo -i curl http://easyinstall.citadel.org/install | sudo -i bash

 

The trick seems to be the -i option on sudo, don't ask me why; i'm still learning here.

For the rest of my spare time this weekend, i'll be playing and trying out Citadel before it's put online to the internet.

 



[#] Sat Jul 20 2019 08:19:10 EDT from bvrulez @ Uncensored

Subject: Easy installation skript on Rasperry Pi with Stretch fails

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

Hi, I am trying to use easy install on raspberry pi stretch. The skript aborts due to missing dependencies. I would expect this skript to install all the dependencies. Even if I install the missing one, which is LIBICAL I then get the next abortion on LDAP. So I was wondering if the skript is working at all or if I shout use a different installation on Pi.



[#] Sat Jul 20 2019 18:27:11 EDT from ParanoidDelusions @ Uncensored

Subject: Re: citadel-admin.socket missing

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

 

Mon Jul 15 2019 04:53:06 EDT from davidabcdy @ Uncensored Subject: Re: citadel-admin.socket missing

Tried using citadel easyinstall. When the citadel setup program runs then the same error comes up: Setup could not connect to a running Citadel server.: No such file   │     │ or directory /usr/local/citadel/citadel-admin.socket.

 



I uploaded a text document detailing how to run the easy install script on Pi running Rasbpian above - it is a few messages back. You may find helpful information there. 

 



[#] Sat Jul 20 2019 18:30:39 EDT from davidabcdy @ Uncensored

Subject: Re: Easy installation skript on Rasperry Pi with Stretch fails

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

Did you install the prerequisites?

http://citadel.org/doku.php?id=installation:easyinstall:prereq-debian.html

I had problems with Citadel under Stretch, was getting SMTP authentication errors for the client (i.e. Thunderfird). Finally solved it by setting the login name in SMTP to the full email address, not the user name. IMAP was fine.



[#] Sat Jul 20 2019 19:08:58 EDT from davidabcdy @ Uncensored

Subject: Re: citadel-admin.socket missing

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

Tried MAS3 solution, but didn't work for me. Still getting the same error: Could not connect to running Citadel server.: No such file .........citadel-admin.socket.



[#] Mon Jul 22 2019 15:22:27 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: citadel-admin.socket missing

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

The trick seems to be the -i option on sudo, don't ask me why; i'm
still learning here.

sudo -s is the recommended incantation. I believe it says something to that effect in the install instructions.

[#] Fri Jul 26 2019 17:21:09 EDT from IGnatius T Foobar @ Uncensored

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

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


We are ready to test a new version of Easy Install that is more comfortable on modern, systemd-based Linux systems.

If you want to test it, enter the following command (as root or superuser)

curl http://easyinstall.citadel.org/easyinstall-systemd | bash

This ought to take care of many of the problems people are having on Raspberry Pi and other hosts where the error "citadel-admin.socket is missing" and some other use cases. If you are using a modern RedHat/CentOS or Debian/Ubuntu distribution with systemd (and almost all of them have systemd these days), give this a try.

After a bit more testing, this will become the mainline Easy Install.

[#] Fri Jul 26 2019 17:51:30 EDT from "s3cr3to" <s3cr3to@uncensored.citadel.org> to Citadel_Support <room_Citadel_Support@uncensored.citadel.org>

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

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

Thank you!

On 7/26/19 3:21 PM, IGnatius T Foobar wrote:

We are ready to test a new version of Easy Install that is more comfortable
on modern, systemd-based Linux systems.

If you want to test it, enter the following command (as root or superuser)


curl http://easyinstall.citadel.org/easyinstall-systemd | bash

This ought to take care of many of the problems people are having on Raspberry
Pi and other hosts where the error "citadel-admin.socket is missing" and some
other use cases. If you are using a modern RedHat/CentOS or Debian/Ubuntu
distribution with systemd (and almost all of them have systemd these days),
give this a try.

After a bit more testing, this will become the mainline Easy Install.

[#] 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).



Go to page: First ... 6 7 8 9 [10] 11 12 13 14 ... Last