Language:
switch to room list switch to menu My folders
Go to page: First ... 12 13 14 15 [16] 17 18 19
[#] Thu Aug 29 2019 08:17:13 EDT from MunichMan @ Uncensored

Subject: DB-problem after migrating to newest Debian-Buster with Citadel 927

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

After setting up the new 927-version of citadel with easy-install on a debian-buster (Raspebrry-Pi4) I get a working, blank citadel sytem.

My old server was a citadel v8.14 (build 53381be) and when I try to copy or migrate (export and import manually) the database-files and start the new server I get error-messages

-> citserver[4157]: db: cursor still in progress on cdb 02: attempt to write during r/o cursor

 

The migrate-Tool doesn't work either, because the old server seems to miss some executables and the remote-commands fail.

 

Trying to recover with option -c results in:

BDB1514 Recovery starting from [1][28]

db_recover: BDB0110 Log sequence error: page LSN 1 388891; previous LSN 1 398749

db_recover: BDB1520 Recovery function for LSN 1 398817 failed on forward pass

db_recover: BDB0061 PANIC: Invalid argument

db_recover: BDB0060 PANIC: fatal region error detected; run recovery

db_recover: BDB3015 cdb.02: write failed for page 11

db_recover: BDB3027 cdb.02: unable to flush page: 11

 

Any advice?

 

 



[#] Fri Aug 30 2019 01:20:12 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: DB-problem after migrating to newest Debian-Buster with Citadel 927

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

Have you tried running database_cleanup.sh ?

[#] Fri Aug 30 2019 10:03:14 EDT from NorthernScrub @ Uncensored

Subject: Citadel alongside Apache, no local network access

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

I'm trying to install Citadel alongside Apache2 on a Raspberry Pi running Raspbian Buster. Apache works, browsing to the local IP points me to the default Apache page.

I configured Citadel during installation to use 8080 and 4434, but could not access the configuration web page. I discovered that the netconfigs folder had not been created, so I created it and placed the citadel user as the owner, as well as restarting the citadel service. However, now I can no longer run the citadel setup. The resultant error is displayed here:

https://i.imgur.com/L038BHG.png

Where have I gone wrong? Is this a result of setting a custom admin name the first time around?



[#] Fri Aug 30 2019 14:29:24 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Citadel alongside Apache, no local network access

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

Do a "ps ax" and see if there is a citserver process running. If not, start the service.

Also be aware that the Debian packages are very out of date. Use the Easy Install build if you can.

[#] Sat Aug 31 2019 06:43:56 EDT from NorthernScrub @ Uncensored

Subject: Re: Citadel alongside Apache, no local network access

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

 

Fri Aug 30 2019 14:29:24 EDT from IGnatius T Foobar @ Uncensored Subject: Re: Citadel alongside Apache, no local network access
Do a "ps ax" and see if there is a citserver process running. If not, start the service.

Also be aware that the Debian packages are very out of date. Use the Easy Install build if you can.

"Easy Install" build? I assume that's the one with the in-terminal graphics? I pulled from apt, since this is on a Raspberry Pi.

Anyway, ps shows four webcit processes, none of them are specifically called "citserver" though. Using `sudo service citserver start` doesn't change that, so I'm assuming this is correct? Looks like the following:

https://i.imgur.com/q8v3tB8.png

Interestingly enough, when I restart citadel, Apache seems to restart too. Is this normal?



[#] Sun Sep 01 2019 12:14:02 EDT from MunichMan @ Uncensored

Subject: Re: DB-problem after migrating to newest Debian-Buster with Citadel 927

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

Yes, I already tried database_Cleanup.sh

Finshed without errors, but as soon as I call db_recover I get the error messages about cdb.02 and write cursors



[#] Mon Sep 02 2019 08:35:23 EDT from Paul @ Uncensored

Subject: SPAM is not tagged

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

Hi,

 

I've setup Citadel with Internet mail. Its working fine. Sending and receving mail from the Internet is working good.

I then installed Spamassin on the same server and configured it to rewrite the header. I then told citadel is was running at 127.0.0.1. to flag the messages instead of rejecting.

In the syslog en mail.log I can see that its running. One problem however, its not recognizing spam. Test spam email just arrive without an updated subject.

What am I mssing here?

 



[#] Wed Sep 04 2019 22:17:46 EDT from gll @ Uncensored

Subject: Upgrade from a deb 917 deb install to 927 easy install

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

Is it possible to upgrade from a deb install to an easy install by copying the DBs and restoring them after the easy install?  Noticed that easy install uses '/usr/local' now. Thanks for all the great work, Citadel is the best!



[#] Thu Sep 05 2019 09:45:02 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Upgrade from a deb 917 deb install to 927 easy install

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

Is it possible to upgrade from a deb install to an easy install by
copying the DBs and restoring them after the easy install?  Noticed
that easy install uses '/usr/local' now. Thanks for all the great
work, Citadel is the best!

Thanks for the kudos! Yes, you can move all of your data files to /usr/local/citadel and then run Easy Install, and it will pick up those data files and upgrade your installation.

1. After moving the data files you will of course want to remove the .deb installation of the program
2. Naturally, BACK UP EVERYTHING, preferably a snapshot of the whole machine, so you can go back if it doesn't work!

[#] Thu Sep 05 2019 15:01:36 EDT from gll @ Uncensored

Subject: Re: Upgrade from a deb 917 deb install to 927 easy install

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

Outstanding!  Thanks.



[#] Thu Sep 05 2019 20:44:07 EDT from gll @ Uncensored

Subject: Re: Upgrade from a deb 917 deb install to 927 easy install

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

Tried easy install with curl, wget and downloaded the install script and ran it, but every effort gave a connection refused.  Also I stopped apache and ufw/iptables to eliminate any interference.

"/home# curl http://easyinstall.citadel.org/install | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to easyinstall.citadel.org port 80: Connection refused
"

Thanks

 



[#] Fri Sep 06 2019 10:17:23 EDT from nc8q @ Uncensored

Subject: Re: Upgrade from a deb 917 deb install to 927 easy install

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

Me too:

sudo apt-get install build-essential curl g++ gettext shared-mime-info libssl-dev zlib1g-dev

Then:

curl http://easyinstall.citadel.org/install | bash

Returns:

curl: (7) Failed to connect to easyinstall.citadel.org port 80: Connection timed out

 



[#] Fri Sep 06 2019 10:33:37 EDT from nc8q @ Uncensored

Subject: Re: Upgrade from a deb 917 deb install to 927 easy install

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

gelmce@bpq:~ $ sudo curl http://easyinstall.citadel.org/install | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0mkdir: cannot create directory ‘/usr/local/ctdltest.30080’: Permission denied
 Easy Install is unable to create subdirectories in /usr/local.
 Did you forget to run the install command as the root user?
 Please become root (with a command like "su" or "sudo -s") and
 try again.
 64 26687   64 17120    0     0   117k      0 --:--:-- --:--:-- --:--:--  118k
curl: (23) Failed writing body (712 != 1448)
gelmce@bpq:~ $

 

Do I need "|sudo bash" ?

 



[#] Fri Sep 06 2019 12:56:15 EDT from gll @ Uncensored

Subject: Re: Upgrade from a deb 917 deb install to 927 easy install

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

 

Thu Sep 05 2019 20:44:07 EDT from gll @ Uncensored Subject: Re: Upgrade from a deb 917 deb install to 927 easy install

If it's any help, using ' curl http://easyinstall.citadel.org/install | sh'  from my home box works, but doesn't work on my remote linode server.

 

 

 

Tried easy install with curl, wget and downloaded the install script and ran it, but every effort gave a connection refused.  Also I stopped apache and ufw/iptables to eliminate any interference.

"/home# curl http://easyinstall.citadel.org/install | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to easyinstall.citadel.org port 80: Connection refused
"

Thanks

 



 



[#] Fri Sep 06 2019 12:56:51 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Upgrade from a deb 917 deb install to 927 easy install

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

Do I need "|sudo bash" ?

I would do "sudo -s" to get a root prompt, and then do "curl http://easyinstall.citadel.org/install | bash" from that prompt.

[#] Fri Sep 06 2019 12:57:16 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Upgrade from a deb 917 deb install to 927 easy install

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

curl: (7) Failed to connect to easyinstall.citadel.org port 80:
Connection timed out

Not sure what to tell you here ... the server is up and running. Can you curl to any other site?

[#] Fri Sep 06 2019 14:05:04 EDT from gll @ Uncensored

Subject: Re: Upgrade from a deb 917 deb install to 927 easy install

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

Yes, no problem with other sites, both with wget and curl.

"Connecting to easyinstall.citadel.org (easyinstall.citadel.org)|216.150.130.112|:80... failed: Connection refused."

Since it's refusing a connection, I wonder if my linode ip is in a banned range on your server? 23.239.7.24  Probably going to get a million attacks from posting the ip.

 



[#] Fri Sep 06 2019 17:30:58 EDT from gll @ Uncensored

Subject: Re: Upgrade from a deb 917 deb install to 927 easy install

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

Finally!  Not only did I need to stop ufw/iptables, but had to 'iptables --flush'.  To clear memory I assume. Found that out by pinging the Citadel site, even that was rejected. So I figured it had to be on my end.

Thanks for your help!



[#] Fri Sep 06 2019 20:29:15 EDT from gll @ Uncensored

Subject: Re: Upgrade from a deb 917 deb install to 927 easy install

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

Just a note:  also had to run /usr/local/webcit# ./setup  . Looks like this:

"WebCit already appears to be configured to start at boot.
Would you like to keep your boot configuration as is?"

Yes/No [Yes] --> No
Would you like to automatically start WebCit at boot?
Yes/No [Yes] --> Yes

After that I set the http and https request ports and voila, 927!  It's working again.

Also, for anyone on the same path as I, had to run "/usr/local/citadel/citserver -x9 " and "/usr/local/citadel./setup" to get the sockets in order.

Many thanks to the Citadel Team!

It's a great way to setup a mail server.

 



[#] Mon Sep 09 2019 10:15:56 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Upgrade from a deb 917 deb install to 927 easy install

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

Happy to hear it's working. Enjoy your Citadel installation! And no, we don't normally ban IP addresses unless there's a *really* hostile attack coming in.

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