Language:
switch to room list switch to menu My folders
Go to page: First ... 13 14 15 16 [17] 18 19 20 21 ... Last
[#] Fri Jul 29 2016 03:41:50 EDT from lodger @ Uncensored

Subject: Re: Latest citadel easyinstall do not work

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

 

Thu Jul 28 2016 22:08:41 EDT from IGnatius T Foobar @ Uncensored Subject: Re: Latest citadel easyinstall do not work

Unfortunately your strace only showed citserver going into the background and then dying. But I see in your message that you had a segfault.  Since you seem to know how to strace, is it a good guess that you know how to run gdb as well?  If so, please run citserver in the foreground, in the debugger, and print out a stack trace when it crashes during setup.

If we can nail it down to a specific bug in the code (looks like something related to vcard parsing) I can push a fix to Easy Install pretty quickly.

 



No problem at all. I'll run it in gdb and send you the information requested. I just need a little more time to set up my environment, probably will provide the information you requested over the weekend. Stay tuned and thank you for your support so far.



[#] Fri Jul 29 2016 04:22:44 EDT from lodger @ Uncensored

Subject: Re: Latest citadel easyinstall do not work

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

 

Thu Jul 28 2016 22:08:41 EDT from IGnatius T Foobar @ Uncensored Subject: Re: Latest citadel easyinstall do not work

Unfortunately your strace only showed citserver going into the background and then dying. But I see in your message that you had a segfault.  Since you seem to know how to strace, is it a good guess that you know how to run gdb as well?  If so, please run citserver in the foreground, in the debugger, and print out a stack trace when it crashes during setup.

If we can nail it down to a specific bug in the code (looks like something related to vcard parsing) I can push a fix to Easy Install pretty quickly.

 



Okay, so here's the backtrace I ran in gdb (see attached file). Please let me know if you need mor / detailed output from me.

 



citserver_backtrace.gdb.txt (text/plain, 3492 bytes) [View| Download]
[#] Fri Jul 29 2016 10:29:49 EDT from the_mgt @ Uncensored

Subject: Re: Enabling LDAP Authentication

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

 

Tue Jul 05 2016 05:36:53 EDTfrom lodger @ Uncensored Subject: Enabling LDAP Authentication

Hello everyone,

I've set up and configured my Citadel server to do LDAP authentication. Logging in with regular users works pretty fine but somehow, the LDAP account I want to use as Citadel aide (administrator) will not show the Administration menu.

Do you use plain LDAP or an Active Directory variety? Like Microsoft Server or Samba4 running as AD? Because the section below only counts for AD. I wrote that howto, but it was a few years ago.

I have set the CN and SN and GECOS attributes according to this statement in the Citadel documentation:

  • If Full Name of the user is set to Edward Xavier Ample, use that Full Name as System Admnistrator name.
  • If First Name is Edward and Last Name is Ample, use both, as in “Edward Ample”.
  • If and only if you did not set the above fields for any reason, then and only then use User Logon Name, such as example for the System Administrator name!

but still no cigar. Can someone help me sort this out?

You need to run the citadel setup command and provide the Aide username there. Only if you did that will the user become aide.

What is the username you want to use as aide? And does it exist in the LDAP? You can't just make up a username in the ldap/ad scenario, it has to exist.



[#] Fri Jul 29 2016 10:33:55 EDT from the_mgt @ Uncensored

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

First world problems and I am partly responsible for fixing them, just wanted to write them down here:

Starting this week, I can no longer access uncensored with the latest version of Opera on OSX 10.10.

Also, Safari (latest verstion for OSX 10.10) does not want to connect for security reasons.

Firefox, also latest version, does connect and works rather fast. Which makes me realise that I connected to the non-ssl site. Gnarf...



[#] Fri Jul 29 2016 10:35:06 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Latest citadel easyinstall do not work

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

Thanks for sending the backtrace.  It looks like a null pointer comparison in the new config system.  I've fixed the issue and uploaded the fixed version to Easy Install.  Please try it again and let us know if it worked!

 



[#] Fri Jul 29 2016 11:03:42 EDT from the_mgt @ Uncensored

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

Ok, it seems that only the SSL part does not work for me in all of my browsers. Opera, Safari and Firefox.

The non-ssl version loads flawlessly. So it is not an HTML issue I need to fix.

Speaking of HTML: Since there is some delay at the university, my final exams are not yet finished and so the html rework has not begun. I expect that I have finally passed all exams by the end of coming august.



[#] Fri Jul 29 2016 15:21:54 EDT from IGnatius T Foobar @ Uncensored

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

No worries on that, the_mgt. That's going to work out fine. You'll want to work in the webcit-ng branch and I'm going to have a fabulous base platform for you to build on.

[#] Sat Jul 30 2016 02:48:51 EDT from Veraendert @ Uncensored

Subject: Thanks

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

I just wanted to say thanks for this beautiful software, running without problems for a year now. 



[#] Mon Aug 01 2016 11:19:54 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Thanks

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

Nice!  Thanks for the kind words.  That makes it all worth it.



[#] Tue Aug 02 2016 15:10:53 EDT from nutbeam @ Uncensored

Subject: Mailing list that has users who are not in Citadel?

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

I want to setup a room as a mailing list with users that are not just in Citadel (e.g. gmail users). I tried but am getting errors. I am using Postfix for SMTP.

I setup a private room (because not everyone on the server should be able to access the room). Then in mailing lists I allowed anonymous mailing to the room, and added a couple of users, one in Citadel, the other a gmail email address.

The Citadel user receives email fine. When I check /var/log/maillog I get this error (real user, domain name and host removed in message below):

Aug  2 13:56:51 mailmachine citserver[11984]: SMTPC:IO[14]CC[733]S[1284678][13] Delivery failed temporarily; will retry later. Time[0.267352s] Recipient <fakeuser> @ <gmail.com> (fakeuser) Status message: 4.1.8 <room_aide@mailmachine.fakedomain.com>: Sender address rejected: Domain not found

Any help would be appreciated.

Thanks.



[#] Tue Aug 02 2016 15:23:02 EDT from nutbeam @ Uncensored

Subject: Migrating from 32 bit CentOS to 64bit CentOS

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

Hi.

I tried to move from a 32bit CentOS 5 box to a 64bit CentOS 5 box (it's a temporary host). My databases were trashed after moving though.

I installed using the RPM repos. The old system is 8.24-7.2 (i386) and the new system was 8.24.10.2. I then moved the databases over, made sure my config files were the same, and fired up Citadel. Databases trashed. Couldn't log in, etc.

So I probably screwed up. Do I need to upgrade on the old system to 8.24.10.2 before moving stuff. I'm assuming shutdown the servers, yum update, and then start the servers again? Then move the databases to the new machine with the same version? I can move from 32bit to 64bit without an issue right?

Help much appreciated. Thanks.



[#] Tue Aug 02 2016 15:25:13 EDT from nutbeam @ Uncensored

Subject: Re: Migrating from 32 bit CentOS to 64bit CentOS

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

P.S. I am shutting down Citadel before attempting to move the files. I'm using rsync over ssh to move the files.



[#] Tue Aug 02 2016 15:36:43 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Migrating from 32 bit CentOS to 64bit CentOS

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

32 bit database is not compatible with a 64 bit system. You have to export your database into an XML file (using the 'MIGR export') server command, and then import that into an empty (64-bit) Citadel server (using the 'MIGR import') server command.

The 'ctdlmigrate' utility is capable of using these commands to orchestrate an over-the-wire migration if you want to do it that way.

[#] Wed Aug 03 2016 01:46:57 EDT from goldcoastau @ Uncensored

Subject: compile error webcit easyinstall debian 8

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

Compiler: gcc -g -O2 -Wall -DHAVE_CONFIG_H -D_REENTRANT -c -o buildinfo
Linker: gcc -lssl -lcrypto -lexpat -lcitadel -lical -lz -lpthread

CC webserver.c
In file included from webserver.c:13:0:
webcit.h:324:1: error: expected identifier or ‘(’ before ‘<<’ token
 <<<<<<< HEAD
 ^
webcit.h:338:28: error: ‘eNONE’ undeclared here (not in a function)
 extern const char *ReqStrs[eNONE];
                            ^
webcit.h:731:1: error: expected identifier or ‘(’ before ‘==’ token
 =======
 ^
webcit.h:734:0: warning: "MAX_WORKER_THREADS" redefined
 #define MAX_WORKER_THREADS 32  // Maximum number of worker threads permitted to exist
 ^
In file included from webserver.c:13:0:
webcit.h:137:0: note: this is the location of the previous definition
 #define MAX_WORKER_THREADS 250
 ^
In file included from webserver.c:13:0:
webcit.h:742:1: error: expected identifier or ‘(’ before ‘>>’ token
 >>>>>>> af64ffb... textclient: don't try to stat citadel.config; it doesn't exist anymore.
 ^
webcit.h:742:35: warning: character constant too long for its type
 >>>>>>> af64ffb... textclient: don't try to stat citadel.config; it doesn't exist anymore.
                                   ^
webserver.c:28:12: error: conflicting types for ‘webcit_tcp_server’
 extern int webcit_tcp_server(char *ip_addr, int port_number, int queue_len);
            ^
In file included from webserver.c:13:0:
webcit.h:737:5: note: previous declaration of ‘webcit_tcp_server’ was here
 int webcit_tcp_server(const char *ip_addr, int port_number, int queue_len);
     ^
webserver.c:34:13: error: conflicting types for ‘worker_entry’
 extern void worker_entry(void);
             ^
In file included from webserver.c:13:0:
webcit.h:741:6: note: previous declaration of ‘worker_entry’ was here
 void worker_entry(int *pointer_to_master_socket);
      ^
webserver.c: In function ‘main’:
webserver.c:275:2: error: ‘icalerror_errors_are_fatal’ undeclared (first use in this function)
  icalerror_errors_are_fatal = 0;
  ^
webserver.c:275:2: note: each undeclared identifier is reported only once for each function it appears in
Makefile:91: recipe for target 'webserver.o' failed
make: *** [webserver.o] Error 1



[#] Wed Aug 03 2016 04:54:53 EDT from kryten @ Uncensored

Subject: import v7.37 data to v8.14

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

Hi,
Hoping someone can help me,
I have a tarball of a v7.37 /etc/citadel directory from a Debian 6? OS containing the following:

drwxr-xr-x citadel/citadel   0 2009-10-08 13:05 citadel/
drwx------ citadel/citadel   0 2008-11-30 15:56 citadel/bio/
drwx------ citadel/citadel   0 2008-11-30 15:56 citadel/bitbucket/
drwx------ citadel/citadel   0 2008-11-30 15:56 citadel/images/
drwx------ citadel/citadel   0 2012-04-18 20:21 citadel/userpics/
-rw-rw-rw- citadel/citadel 16917 2012-04-18 20:21 citadel/userpics/4.gif
drwx------ citadel/citadel     0 2009-10-09 14:54 citadel/files/
drwxr-xr-x citadel/citadel     0 2009-10-09 14:54 citadel/files/directory/
drwx------ citadel/citadel     0 2009-12-16 19:32 citadel/info/
-rw-rw-rw- citadel/citadel    71 2009-12-16 19:32 citadel/info/72
drwxr-xr-x citadel/citadel     0 2009-10-08 13:05 citadel/keys/
drwx------ citadel/citadel     0 2016-05-26 07:52 citadel/data/
-rw------- citadel/citadel 14987264 2010-11-17 03:00 citadel/data/cdb.07
-rw------- citadel/citadel 10485760 2016-07-21 09:38 citadel/data/log.0000006032
-rw------- citadel/citadel    45056 2016-06-16 16:35 citadel/data/cdb.05
-rw------- citadel/citadel    53248 2016-07-21 09:38 citadel/data/cdb.02
-rw------- citadel/citadel   630784 2016-06-16 15:52 citadel/data/cdb.04
-rw------- citadel/citadel     8192 2016-06-16 16:35 citadel/data/cdb.01
-rw------- citadel/citadel    32768 2016-02-21 20:22 citadel/data/cdb.0a
-rw------- citadel/citadel     8192 2012-06-19 20:14 citadel/data/cdb.0b
-rw------- citadel/citadel     8192 2009-10-08 12:45 citadel/data/cdb.0c
-rw------- citadel/citadel    16384 2016-07-21 09:31 citadel/data/cdb.03
-rw------- citadel/citadel 85778432 2016-06-16 15:52 citadel/data/cdb.00
-rw------- citadel/citadel     8192 2015-11-11 14:49 citadel/data/cdb.06
-rw------- citadel/citadel     8192 2009-10-08 12:45 citadel/data/cdb.09
-rw------- citadel/citadel 1023479808 2016-06-16 15:52 citadel/data/cdb.08

Is it possible to import the user data from this into a v8.14 instalation of Citadel?

I have extracted the archive into the citadel directoty but I'm not sure how I could import the data, or indeed if its possible.

Any help apriciated, 



[#] Wed Aug 03 2016 05:38:47 EDT from the_mgt @ Uncensored

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

Thanks for fixing SSL Handshake!



[#] Wed Aug 03 2016 09:44:08 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: import v7.37 data to v8.14

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

I have a tarball of a v7.37 /etc/citadel directory from a Debian 6?
OS containing the following:

You need the "citadel.config" and "citadel.control" files from your Citadel 7.37 installation in order for the database to be usable.

Assuming you can get those, the easiest way to make that data usable is to put the files in place and then install the newer version of Citadel on top of that. It will see your existing data and upgrade it forward.

[#] Wed Aug 03 2016 10:03:24 EDT from kryten @ Uncensored

Subject: Re: import v7.37 data to v8.14

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

Thanks for the reply, I guess I have an incomplete backup, I should have /var/lib/citadel, is well is there any data that can be salvaged or is it effectively gone?

 

 



[#] Wed Aug 03 2016 12:56:39 EDT from nutbeam @ Uncensored

Subject: Re: Migrating from 32 bit CentOS to 64bit CentOS

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

Thank you. Much appreciated.

Tue Aug 02 2016 15:36:43 EDT from IGnatius T Foobar @ Uncensored Subject: Re: Migrating from 32 bit CentOS to 64bit CentOS
32 bit database is not compatible with a 64 bit system. You have to export your database into an XML file (using the 'MIGR export') server command, and then import that into an empty (64-bit) Citadel server (using the 'MIGR import') server command.

The 'ctdlmigrate' utility is capable of using these commands to orchestrate an over-the-wire migration if you want to do it that way.

 



[#] Wed Aug 03 2016 22:46:20 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: import v7.37 data to v8.14

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

Thanks for the reply, I guess I have an incomplete backup, I should
have /var/lib/citadel, is well is there any data that can be salvaged
or is it effectively gone?

Unfortunately without those other files, the ones you have aren't much use.
Sorry to be the bearer of bad news.

In an Easy Install installation we put everything under /usr/local/citadel so you can just back that up, but in the .deb everything is spread out all over the filesystem to comply with DFSG and LFSH and whatever.

It's worth noting that we just completed a very big change in this exact area. In the *very* latest version of Citadel Server, the server configuration and control records are kept in the database, so those other files are now gone. We removed the "dump a data structure to disk" configuration file and replaced it with a key/value configuration database to modernize things a bit. That doesn't help you now but if we had this discussion again in a couple of years... :)

Go to page: First ... 13 14 15 16 [17] 18 19 20 21 ... Last