Linux: SocketManager: Error while loading server on port xxx: Invalid argument

Asked by T3rminator

Hey guys,

I downloaded the latest build of ADCH++ off launchpad and compiled on Ubuntu 9.10 Karmic. Upon first launch everything worked fine but I then started configuring to get Scripting and Bloom enabled. In any case, when I then started server:

./adchppd -c /home/pathtoconfig

 I received this error:

SocketManager: Starting
SocketManager: Error while loading server on port xxxx: Invalid argument

I tried various port and sudo configurations without success.

This is my config:

<Server Port="2780" TLS="1" Certificate="certs/cacert.pem" PrivateKey="certs/privkey.pem" TrustedPath="certs/trusted/" DHParams="certs/dhparam.pem"/>

Question information

Language:
English Edit question
Status:
Solved
For:
ADCH++ Edit question
Assignee:
No assignee Edit question
Solved by:
Toast
Solved:
Last query:
Last reply:
Revision history for this message
Lazy Badger (lazybadger) said :
#1

Quote from config/adchpp.xml

"To create secure connections, set TLS="1" and define the following (preferably absolute) paths"

Do it in preferably way - it will eliminate problems

Revision history for this message
Best Toast (swetoast-deactivatedaccount) said :
#2

on linux use absolute paths for everything this thats in the user guide wrote

Revision history for this message
T3rminator (t3rminatr) said :
#3

Thanks guys, been staring at the code for too long to notice the small details -.-

Revision history for this message
T3rminator (t3rminatr) said :
#4

Thanks Toast, that solved my question.