Language:
switch to room list switch to menu My folders
Go to page: First ... 6 7 8 9 [10] 11 12 13 14 ... Last
[#] Tue Jan 11 2022 11:26:54 EST from tonyg

Subject: easy-install of citidel on CentOS7 errors

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

hi, i am new to citidel...i am trying to use the easy-install on a CentOS7 server.  at some point in the process, i get this:

 

crypto.o: In function `bind_to_key_and_certificate':
/tmp/citadel-build.8827/webcit/crypto.c:39: undefined reference to `TLS_server_method'
collect2: error: ld returned 1 exit status
gmake: *** [webcit] Error 1
 Citadel Easy Install is aborting.
 The last few lines above this message may indicate what went wrong.
 Linux RedHat 7.9.2009(Core 3.10.0-1160.49.1.el7.x86_64 x86_64)

 

can some one give me a hand with this, not sure where to go from here..

 

 

thanks in advance...  here is a longer log paste

 

Compiler: gcc -I/usr/local/ctdlsupport/include -g -Wall -DHAVE_CONFIG_H -D_REENTRANT -c -o buildinfo
Linker: gcc -L/usr/local/ctdlsupport/lib -Wl,--rpath -Wl,/usr/local/ctdlsupport/lib -lssl -lcrypto -lexpat -lcitadel -lical -lz -lpthread

CC webserver.c
CC context_loop.c
CC ical_dezonify.c
CC cookie_conversion.c
CC locate_host.c
CC summary.c
CC webcit.c
CC auth.c
CC sockets.c
CC mainmenu.c
CC serv_func.c
CC who.c
CC marchlist.c
CC roomops.c
CC roomlist.c
CC roomtokens.c
CC roomviews.c
CC blogview_renderer.c
CC msg_renderers.c
CC jsonview_renderer.c
CC mailview_renderer.c
CC bbsview_renderer.c
CC messages.c
CC paging.c
CC sysmsgs.c
CC useredit.c
CC vcard_edit.c
vcard_edit.c: In function 'parse_vcard':
vcard_edit.c:424:6: warning: variable 'is_b64' set but not used [-Wunused-but-set-variable]
  int is_b64 = 0;
      ^
CC preferences.c
CC html2html.c
CC listsub.c
CC roomchat.c
CC graphics.c
CC netconf.c
CC siteconfig.c
CC subst.c
CC calendar.c
CC calendar_tools.c
calendar_tools.c: In function 'partstat_as_string':
calendar_tools.c:195:2: warning: enumeration value 'ICAL_PARTSTAT_FAILED' not handled in switch [-Wswitch]
  switch(partstat) {
  ^
CC calendar_view.c
CC tasks.c
CC event.c
CC smtpqueue.c
CC availability.c
CC iconbar.c
CC icontheme.c
CC crypto.c
crypto.c: In function 'bind_to_key_and_certificate':
crypto.c:39:2: warning: implicit declaration of function 'TLS_server_method' [-Wimplicit-function-declaration]
  if (!(new_ctx = SSL_CTX_new(TLS_server_method()))) {
  ^
crypto.c:39:2: warning: passing argument 1 of 'SSL_CTX_new' makes pointer from integer without a cast [enabled by default]
In file included from webcit.h:95:0,
                 from crypto.c:14:
/usr/include/openssl/ssl.h:2087:10: note: expected 'const struct SSL_METHOD *' but argument is of type 'int'
 SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
          ^
CC inetconf.c
CC notes.c
CC wiki.c
CC dav_main.c
CC dav_get.c
CC dav_propfind.c
CC dav_report.c
CC fmt_date.c
CC dav_options.c
CC autocompletion.c
CC gettext.c
CC tabs.c
CC sieve.c
CC sitemap.c
CC dav_delete.c
CC dav_put.c
CC http_datestring.c
CC downloads.c
CC addressbook_popup.c
CC pushemail.c
CC sysdep.c
CC openid.c
CC decode.c
CC modules_init.c
CC paramhandling.c
CC utils.c
Running scripts/get_ical_data.sh
CC ical_maps.c
CC ical_subst.c
CC static.c
CC feed_generator.c
LD: webcit
crypto.o: In function `bind_to_key_and_certificate':
/tmp/citadel-build.8827/webcit/crypto.c:39: undefined reference to `TLS_server_method'
collect2: error: ld returned 1 exit status
gmake: *** [webcit] Error 1
 Citadel Easy Install is aborting.
 The last few lines above this message may indicate what went wrong.
 Linux RedHat 7.9.2009(Core 3.10.0-1160.49.1.el7.x86_64 x86_64)
[root@ffc-p-mail-1 ~]#



[#] Tue Jan 11 2022 23:56:32 EST from mpbowling831

Subject: changing server storage location

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

So I just got my server installed with the easyinstaller, and I want to know if its possible to change the server storage location or do I have to reinstall the whole process.  If I run the setup command with the -hHome option will it just move the data storage location or will it do a new install and map to that location?



[#] Wed Jan 12 2022 14:31:55 EST from IGnatius T Foobar

Subject: Re: easy-install of citidel on CentOS7 errors

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

/tmp/citadel-build.8827/webcit/crypto.c:39: undefined reference to
`TLS_server_method'
collect2: error: ld returned 1 exit status
gmake: *** [webcit] Error 1

Geez. Ok, I've just pushed an update to Easy Install to fix this, so you should be able to try again.

TLS_server_method() is supposed to be the replacement for SSLv23_server_method() but apparently CentOS 7 still has the old name and not the new one. They both do the same thing. Try it now.

[#] Wed Jan 12 2022 14:33:45 EST from IGnatius T Foobar

Subject: Re: changing server storage location

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

So I just got my server installed with the easyinstaller, and I want
to know if its possible to change the server storage location or do I
have to reinstall the whole process.  If I run the setup command
with the -hHome option will it just move the data storage location or
will it do a new install and map to that location?

The build you get with Easy Install really wants to use /usr/local/citadel, but if you specify another location it should work... just keep in mind that you'll need to move your data files there manually if you want to keep them.

Honestly though, you're probably better off symlinking /usr/local/citadel/data to the place where you want your data.

[#] Wed Jan 12 2022 18:16:51 EST from tonyg

Subject: Re: easy-install of citidel on CentOS7 errors

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

 

Wed Jan 12 2022 14:31:55 EST from IGnatius T Foobar Subject: Re: easy-install of citidel on CentOS7 errors
/tmp/citadel-build.8827/webcit/crypto.c:39: undefined reference to
`TLS_server_method'
collect2: error: ld returned 1 exit status
gmake: *** [webcit] Error 1

Geez. Ok, I've just pushed an update to Easy Install to fix this, so you should be able to try again.

TLS_server_method() is supposed to be the replacement for SSLv23_server_method() but apparently CentOS 7 still has the old name and not the new one. They both do the same thing. Try it now.

hey, that did it....i was able to install and get into the gui...i did see some warnings in the install like this:

vcard_edit.c: In function 'parse_vcard':
vcard_edit.c:424:6: warning: variable 'is_b64' set but not used [-Wunused-but-set-variable]
  int is_b64 = 0;
      ^

but since the install was successful...i guess i can ignore?

 

thanks again!



[#] Wed Jan 12 2022 18:28:02 EST from tonyg

Subject: how do i upgrade Citadel?

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

sorry for such a noob question, but i have looked at the faq and documentation...i don't see any mention of upgrades...so how do i do it?

 

thanks



[#] Thu Jan 13 2022 18:05:31 EST from IGnatius T Foobar

Subject: Re: how do i upgrade Citadel?

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

sorry for such a noob question, but i have looked at the faq and
documentation...i don't see any mention of upgrades...so how do i do
it?

Depends on how you initially installed it.

If you originally used Easy Install, just run Easy Install again and it will do the right thing.

If you have the Docker image, just erase it and install the new image, and point it at your existing data directory.

Or if you used the Debian packages ... you've got some work to do because they're no longer maintained.

[#] Mon Jan 17 2022 14:37:39 EST from Nurb432

Subject: Proxies

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

Ok so starting back up on trying to get a reverse proxy running here so i can everything on port 80 ( and 443 ), and just use DNS names to redirect internally.

For the most part its all setup again and was going down the list of apps to change over to 80. Got to citadel and i did a easy install/upgrade ( needed it anyway ) and switched it native from 8080 to 80.   Works fine locally, or if change my router to not use the proxy and just redirect 8080 to 80. But if i hit it from the via proxy i get the below mess instead.  ( and this worked last time i tried, but script kiddies were pounding my ports and killing the proxy )

Something obvious i'm missing before i waste a lot of time beating my head against the desk?

 

ya, i know, url is in the image, i dont care now, its public. . and no, not tackled ssl yet. I wanted to get everything running "regular" first.  

 

 

 

 



[#] Tue Jan 18 2022 11:12:05 EST from IGnatius T Foobar

Subject: Re: Proxies

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

That looks like your browser failed to load the stylesheet. How are you proxying the traffic?

[#] Tue Jan 18 2022 18:09:14 EST from Nurb432

Subject: Re: Proxies

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

Tinyproxy, configured to be a reverse proxy only.  Stock config other than disabling forward proxy, adding the redirects, and adding a few extra threads. My other 3 apps, plus a extra 'test' one that was just listing the calling URL, are working at this point.

It worked last time i tried this, other than script kiddies flooding my port 80 and causing the proxy to die after about 10 minutes so i gave up at the time.   But it was a good year or 2 ago, so an older version of citadel. 



[#] Wed Jan 19 2022 09:32:57 EST from IGnatius T Foobar

Subject: Re: Proxies

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

I'm more interested in what conditions are configured to cause an HTTP connection to be forwarded to WebCit. Are you doing it by name, by path, by port, something else...?

[#] Wed Jan 19 2022 13:06:50 EST from platonov

Subject: User SYS_Citadel is not getting autopurged

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

SYS_Citadel used to get autopurged during the daily run.
 
As Aide room message shows:
 
The following users have been auto-purged:
SYS_Citadel
 
But a few days ago it stopped getting autopurged. Is it a problem that needs to be taken care of or is it just a mild obscurity?

Syslog has this when it works correctly.:

Jan  9 03:00:05 serv citserver[645]: Auto-purger: starting.
Jan  9 03:00:05 serv citserver[645]: citserver[645]: user_ops: <SYS_Citadel> is logged in; not deleting
Jan  9 03:00:05 serv citserver[645]: user_ops: <SYS_Citadel> is logged in; not deleting
Jan  9 03:00:05 serv citserver[645]: citserver[645]: Purged 1 users.
Jan  9 03:00:05 serv citserver[645]: Purged 1 users.
Jan  9 03:00:06 serv citserver[645]: citserver[645]: Expired 645 messages
 
and here is when SYS_Citadel is not getting autopurged.
 
Jan 19 03:00:57 server citserver[15494]: citserver[15494]: Auto-purger: starting.
Jan 19 03:00:57 server citserver[15494]: citserver[15494]: Purged 0 users.
Jan 19 03:00:57 server citserver[15494]: context: scheduled 1 idle sessions for termination
Jan 19 03:00:57 server citserver[15494]: Auto-purger: starting.
Jan 19 03:00:57 server citserver[15494]: Purged 0 users.
Jan 19 03:00:57 server citserver[15494]: citserver[15494]: context: [18720]SRV[SMTP-MTA] Session ended.
Jan 19 03:00:57 server citserver[15494]: context: [18720]SRV[SMTP-MTA] Session ended.
Jan 19 03:00:59 server citserver[15494]: citserver[15494]: Expired 1011 messages.
 
What is the meaning of  SYS_Citadel user and why does it or does it not autopurged.
 


[#] Wed Jan 19 2022 16:49:49 EST from Nurb432

Subject: Re: Proxies

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

it forwards external name to internal IP.   Retains the same port.

 

However it may be moot, tinyproxy is crashing again after too many sessions. Bumped up resources and ti runs about 3 hours then poof it dies. I'm thinking i'm going to read up on ngnix, set that up and see if it can handle the flood better.

Wed Jan 19 2022 09:32:57 AM EST from IGnatius T Foobar Subject: Re: Proxies
I'm more interested in what conditions are configured to cause an HTTP connection to be forwarded to WebCit. Are you doing it by name, by path, by port, something else...?

 



[#] Thu Jan 20 2022 18:47:40 EST from UnexampledSalt

Subject: Easy Install of fresh Ubuntu server ONLY listens on IPv6

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

Hello all,

I just stumbled upon this tool and love what it appears to do, so I thought I would give it a shot!

I spun up a new Ubuntu VPS, ran all my updates and upgrades, then ran the Easy Install!

I went through all the setup steps and selected '*' to listen on both IPv4 and IPv6 interfaces. When Citadel started I was not able to access it. I checked my netstat and all of the cit services are ONLY listening on IPv6. I know this server has an IPv4 interface, as that is the address I am using to SSH to it. Any ideas why it would only be using IPv6?



[#] Thu Jan 20 2022 19:39:58 EST from IGnatius T Foobar

Subject: Re: User SYS_Citadel is not getting autopurged

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

and here is when SYS_Citadel is not getting autopurged.

For now, don't worry about it. We're actually trying to get rid of SYS_Citadel so you don't see it anymore.

[#] Thu Jan 20 2022 19:43:02 EST from IGnatius T Foobar

Subject: Re: Easy Install of fresh Ubuntu server ONLY listens on IPv6

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

I went through all the setup steps and selected '*' to listen on both
IPv4 and IPv6 interfaces. When Citadel started I was not able to
access it. I checked my netstat and all of the cit services are ONLY
listening on IPv6. I know this server has an IPv4 interface, as that
is the address I am using to SSH to it. Any ideas why it would only
be using IPv6?

That may be misleading. On a Linux system (unlike, say, OpenBSD) listening on IPv6 with an address like "*" will also make it listen on IPv4. Can you post the output of "ss -lt" so we can see where it thinks it's listening?

I suspect the problem might be somewhere else.

[#] Thu Jan 20 2022 19:47:04 EST from UnexampledSalt

Subject: Re: Easy Install of fresh Ubuntu server ONLY listens on IPv6

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

It does appear to be listening on all interfaces...hmm...

Found it. It was UFW. That is usually disabled on Ubuntu installs by default.

I allowed 80 and 443 through the firewall and we are all good! Thanks!



[#] Fri Jan 21 2022 19:51:43 EST from IGnatius T Foobar

Subject: Re: Easy Install of fresh Ubuntu server ONLY listens on IPv6

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

Glad to hear you got it working. And I'm somewhat alarmed that UFW didn't protect IPv6!

[#] Sun Jan 23 2022 10:35:30 EST from Nurb432

Subject: Proxies redux

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

For what its worth, i switched to using Apache as the reverse proxy, things are ok now. 

Tried to use Pound after Tinyproxy, and while i think it woudl work ( and is small, etc ) but it does a https redirect on every call, and it seems you cant turn it off.   Sure, that might be the 'best' way these days, and one should never do anything that isn't SSL, but until i have certs on everything that breaks me.

 



[#] Wed Jan 26 2022 11:28:56 EST from jcolson

Subject: docker installf

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

So I quickly followed the directions in the docs in regards to the docker install (which there are no -p docs for it seems?) and I have the server up and running, but logging into it interactively and trying to run setup results in an error that 'setup could not connect to a running citadel server.: No such file or directory citadel-admin.socket'.  How does one 'setup' the docker container install?

sorry if  I missed the docs on this somewhere!

 

 



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