SSL Compile

These are old archives. They are kept for historic purposes only.
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

Have you tried
make clean && make
?
-- codemastr
ronrudman
Posts: 14
Joined: Fri Apr 09, 2004 2:49 am

Post by ronrudman »

I just did make clean && make.....same result after stopping then starting the server.
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Post by jewles »

Well if you aren't root, you wouldn't have access to run make && make install... Try gmake && gmake install... if that doesn't work... than I'll shut up... :)
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
ronrudman
Posts: 14
Joined: Fri Apr 09, 2004 2:49 am

Post by ronrudman »

jewles wrote:Well if you aren't root, you wouldn't have access to run make && make install... Try gmake && gmake install... if that doesn't work... than I'll shut up... :)
I *am* root!

PROGRESS! This time, using gmake && gmake install:

Code: Select all

                     using OpenSSL 0.9.6b [engine] 9 Jul 2001

* Loading IRCd configuration ..
* Configuration loaded without any problems ..
* Loading tunefile..
* Initializing SSL.
Possible error encountered (IRCd seemily not started)
But there was nothing at all in the log.[/code]
ronrudman
Posts: 14
Joined: Fri Apr 09, 2004 2:49 am

Post by ronrudman »

After the almost success of gmake && gmake install, I tried something: I blew away everything and started from scratch with the tar file. I did ./Config, then the normal make. Dang if it didn't "work" this time. In other words, doing nothing unusual, I *do* get the ssl support. I'd started from scratch like this before several times, never getting this far.

So now it seems to be just the unknown error that won't let the server start (although I sure as heck would love to know why ssl support works now but didn't before).
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Post by jewles »

Okay
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

There should have been something unless you didn't enable error logging. I think your .pem files were missing, that was why your IRCd didn't want to run.
ronrudman
Posts: 14
Joined: Fri Apr 09, 2004 2:49 am

Post by ronrudman »

Turns out I was looking at the wrong log file. The error was that it couldn't load the SSL cert. I didn't realize I had to copy it from the install directory to where the configuration files were. Well, maybe I didn't, but I did - and now it loads fine

Thanks to everyone for their help on this.
SidV
Posts: 3
Joined: Tue Mar 09, 2004 4:47 am

Same Probelm

Post by SidV »

Unrealv3.2-RC2fix

Code: Select all

* Loading IRCd configuration ..
* unrealircd.conf:227: listen with SSL flag enabled on a non SSL compile
* Configuration loaded without any problems ..
Ok after reading this post three time and trying everything it says ssl suport still will not work.

First durring ./Config I get :

Code: Select all

mkdir: cannot create directory `/home/sidv/Unreal3.2/tmp': File exists
checking for openssl... not found
configure: WARNING: disabling ssl support
Next here is operating system and version:

Code: Select all

sidv@Looonie:~> uname -a
Linux Looonie 2.4.21-202-athlon #1 Fri Apr 2 21:22:14 UTC 2004 i686 athlon i386 GNU/Linux
sidv@Looonie:~> openssl version 
OpenSSL 0.9.7b 10 Apr 2003
And last out put to the config.log:

Code: Select all

configure:2153: checking for openssl
configure:2171: found /usr/bin/openssl
configure:2183: result: /usr/bin/openssl

configure:9509: checking for openssl
configure:9533: result: not found 
configure:9535: WARNING: disabling ssl support
ac_cv_path_OPENSSLPATH=/usr/bin/openssl
That seems to be it. Unreal seems to find openssl but then it suddenly can't find it.

I have ran make clean then started over, I have even rm -rf Unreal3.2 and started new. I know ssl is working because I can get to it from:

Code: Select all

sidv@Looonie:~> openssl
OpenSSL> 
 
Sid_V
Post Reply