Hello, Im having a bit of an issue connecting two servers.
This is my main server(s1) ngircd.conf
[server] #S2 name = secondserver.net host = 192.168.1.102 port = 6667 MyPassword = <scrubbed> PeerPassword = <scrubbed> Group = 4 [server]#S3 name = backupmain.net host = 192.168.1.103 port = 6667 MyPassword = <scrubbed> PeerPassword = <scrubbed> Group = 4
This is the ngircd from my backup server (s3)
[Server] #S1 name = mainservername.net host = 192.168.1.101 port = 6667 MyPassword = <scrubbed> PeerPassword = <scrubbed> Group = 4
The connection to s2 works fine. No issues there. When I start up the backup server with ngircd -n, I get the "backupmain.net" is not configured here." Have I missed something?
wally neuman1812@gmail.com wrote:
Hello, Im having a bit of an issue connecting two servers.
This is my main server(s1) ngircd.conf
[server] #S2 name = secondserver.net host = 192.168.1.102 port = 6667 MyPassword = <scrubbed> PeerPassword = <scrubbed> Group = 4 [server]#S3
My guess would be that you need to remove the trailing #S3.
You can use "ngircd --configtest -f <configfile>" to find out what ngircd _thinks_ the settings are.
Hi Wally!
Am 09.03.2015 um 12:56 schrieb wally neuman1812@gmail.com:
Hello, Im having a bit of an issue connecting two servers.
This is my main server(s1) ngircd.conf
[server] #S2 name = secondserver.net host = 192.168.1.102 port = 6667 MyPassword = <scrubbed> PeerPassword = <scrubbed> Group = 4 [server]#S3 name = backupmain.net host = 192.168.1.103 port = 6667 MyPassword = <scrubbed> PeerPassword = <scrubbed> Group = 4
This is the ngircd from my backup server (s3)
[Server] #S1 name = mainservername.net host = 192.168.1.101 port = 6667 MyPassword = <scrubbed> PeerPassword = <scrubbed> Group = 4
The connection to s2 works fine. No issues there. When I start up the backup server with ngircd -n, I get the "backupmain.net" is not configured here." Have I missed something?
Try using "ngircd --configtest" to make sure ngIRCd parses your configuration as expected. Wild guess -- without testing anything -- "[server]#S3" isn't parsed as you expect it ... (comments can't start in the middle of a line?)
Regards Alex
Ah.. sorry that line "[server]#S3" is a formatting error in the email. not the conf.
It is actually
[server] #S3 name = backupmain.net host = 192.168.1.103 port = 6667 MyPassword = <scrubbed> PeerPassword = <scrubbed> Group = 4 On 03/09/2015 09:15 AM, Alexander Barton wrote:
Hi Wally!
Am 09.03.2015 um 12:56 schrieb wally neuman1812@gmail.com:
Hello, Im having a bit of an issue connecting two servers.
This is my main server(s1) ngircd.conf
[server] #S2 name = secondserver.net host = 192.168.1.102 port = 6667 MyPassword = <scrubbed> PeerPassword = <scrubbed> Group = 4 [server]#S3 name = backupmain.net host = 192.168.1.103 port = 6667 MyPassword = <scrubbed> PeerPassword = <scrubbed> Group = 4
This is the ngircd from my backup server (s3)
[Server] #S1 name = mainservername.net host = 192.168.1.101 port = 6667 MyPassword = <scrubbed> PeerPassword = <scrubbed> Group = 4
The connection to s2 works fine. No issues there. When I start up the backup server with ngircd -n, I get the "backupmain.net" is not configured here." Have I missed something?
Try using "ngircd --configtest" to make sure ngIRCd parses your configuration as expected. Wild guess -- without testing anything -- "[server]#S3" isn't parsed as you expect it ... (comments can't start in the middle of a line?)
Regards Alex