Page 1 of 2

Connectionless Loop - Looking/Found Hostname

Posted: Sun Dec 05, 2010 4:33 am
by jonbeard
Hey everyone, I just finished configuring and installing a new setup of IRCD on my CentOS Server. I installed a few of these months ago, but never had this problem. UnrealIRCD boots fine, however I am getting the following lines in my IRC when trying to connect:

* Connecting to xx.xx.xx.xxx (3281)
-
-server.xxxxxxxxxxx.com- *** Looking up your hostname...
-
-server.xxxxxxxxxxx.com- *** Found your hostname
-
* Disconnected

(I added x's to prevent information from being shared).

This will continuously loop over and over and over again, and I have reviewed my conf file with no luck of finding any issues. Nothing shows in the log file either. Please let me know on what I need to try to get this to work.

Regard,s

Jon Beard

Re: Connectionless Loop - Looking/Found Hostname

Posted: Sun Dec 05, 2010 5:03 am
by katsklaw
There isn't enough information to troubleshoot. "disconnected" tells us nothing.

You could try restarting the ircd to see if that fixes it.

Re: Connectionless Loop - Looking/Found Hostname

Posted: Sun Dec 05, 2010 5:12 am
by jonbeard
katsklaw wrote:There isn't enough information to troubleshoot. "disconnected" tells us nothing.

You could try restarting the ircd to see if that fixes it.
Ive restarted the service a few times, Ill go ahead and try rebooting the whole server and letting you know how that goes.

And thats exactly what I was thinking, but thats as it shows on my computer here. Doesnt seem to make much sense though o_O

-Jon

Re: Connectionless Loop - Looking/Found Hostname

Posted: Sun Dec 05, 2010 5:16 am
by jonbeard
Restarting whole server does not change outcome. When starting the service, it displays:

[root@server Unreal3.2]# ./unreal start
Starting UnrealIRCd
_ _ _ ___________ _____ _
| | | | | |_ _| ___ \/ __ \ | |
| | | |_ __ _ __ ___ __ _| | | | | |_/ /| / \/ __| |
| | | | '_ \| '__/ _ \/ _` | | | | | / | | / _` |
| |_| | | | | | | __/ (_| | |_| |_| |\ \ | \__/\ (_| |
\___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_|
v3.2.8.1
using TRE 0.7.5 (LGPL)

* Loading IRCd configuration ..
* unrealircd.conf:102: illegal link::class, unknown class 'servers' using default of class 'default'
* Configuration loaded without any problems ..
* Loading tunefile..
* Dynamic configuration initialized .. booting IRCd.
---------------------------------------------------------------------


Maybe if I can get in touch with someone over instant messenger or PM, I can give them the server information to where they can logon and see what I am seeing.

Re: Connectionless Loop - Looking/Found Hostname

Posted: Sun Dec 05, 2010 2:47 pm
by katsklaw

Code: Select all

* unrealircd.conf:102: illegal link::class, unknown class 'servers' using default of class 'default'
You might want to fix the errors first. In order to have a link::class, you have to have a class block defining the class. What's odd is by default there is servers class. Perhaps you deleted it?

Re: Connectionless Loop - Looking/Found Hostname

Posted: Sun Dec 05, 2010 3:15 pm
by jonbeard
katsklaw wrote:

Code: Select all

* unrealircd.conf:102: illegal link::class, unknown class 'servers' using default of class 'default'
You might want to fix the errors first. In order to have a link::class, you have to have a class block defining the class. What's odd is by default there is servers class. Perhaps you deleted it?
Could you possibly tell me about which line I should be looking at? Ill stare at it for a while to see if I can find anything :P

-Jon

Re: Connectionless Loop - Looking/Found Hostname

Posted: Sun Dec 05, 2010 3:18 pm
by jonbeard
Okay, I added this block for the classes:

class <name> {
pingfreq <ping-frequency>;
connfreq <connect-frequency>;
maxclients <maximum-clients>;
sendq <send-queue>;
recvq <recv-queue>;
};

And then it brought up more errors, which I will shuffle through right now.

Ill keep everyone posted.

Re: Connectionless Loop - Looking/Found Hostname

Posted: Sun Dec 05, 2010 3:37 pm
by jonbeard
I am now getting this error while it is completing the memory map:

Code: Select all

bfe4e000-bfe63000 rw-p 7ffffffea000 00:00 0                              [stack]
./unreal: line 136: 11572 Aborted                 (core dumped) /var/ircd/Unreal3.2/src/ircd
Possible error encountered (IRCd seemingly not started)
Please dont give up on me yet.. *facepalm*

Re: Connectionless Loop - Looking/Found Hostname

Posted: Sun Dec 05, 2010 5:01 pm
by katsklaw
Looks like it dumped a core file, which is a good thing.

Try:

Code: Select all

cd /var/ircd/Unreal3.2/src
Look for the corefile which will have the word "core" attached to it or simply be named core. Then type: gdb ircd <corefile> When you get to the gdb prompt type: bt full and paste that info in reply.

Re: Connectionless Loop - Looking/Found Hostname

Posted: Sun Dec 05, 2010 5:10 pm
by jonbeard
Well, it doesnt appear to have one apparently.

See: http://blackopscenter.com/nocore.JPG

I really do appreciate the continuous help, I'll vouch for you any day <3 :D

Re: Connectionless Loop - Looking/Found Hostname

Posted: Sun Dec 05, 2010 5:15 pm
by Stealth
The core file won't be in the src folder.

From the same place you do "./unreal start", do "./unreal backtrace" and paste what it says to paste here.

Re: Connectionless Loop - Looking/Found Hostname

Posted: Sun Dec 05, 2010 5:49 pm
by jonbeard

Code: Select all

(gdb) bt full
#0  0xb7f0e7f2 in ?? ()
No symbol table info available.
(gdb)
Had to yum install gdb :)

Whats the suggestions from here? >_<

-Jon

Re: Connectionless Loop - Looking/Found Hostname

Posted: Sun Dec 05, 2010 5:51 pm
by jonbeard
Stealth wrote:The core file won't be in the src folder.

From the same place you do "./unreal start", do "./unreal backtrace" and paste what it says to paste here.

Code: Select all

=================== START HERE ======================
BACKTRACE:
Core was generated by `/var/ircd/Unreal3.2/src/ircd'.
Program terminated with signal 6, Aborted.
#0  0xb7f0e7f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#0  0xb7f0e7f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0xb7d7fdf0 in raise () from /lib/libc.so.6
#2  0xb7d81701 in abort () from /lib/libc.so.6
#3  0xb7db828b in __libc_message () from /lib/libc.so.6
#4  0xb7dc0b18 in free () from /lib/libc.so.6
#5  0x0806ef16 in _conf_class (conf=0x8aa3470, ce=0x8aa3660) at s_conf.c:3594
#6  0x0806d1f2 in config_run () at s_conf.c:2316
#7  0x0806e50a in init_conf (rootconf=0x80a2460 "unrealircd.conf", rehash=0)
    at s_conf.c:1762
#8  0x08060d2c in main (argc=0, argv=<value optimized out>) at ircd.c:1447

#0  0xb7f0e7f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2

0x820a5e0 <backupbuf>:   ""

#0  0xb7f0e7f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0xb7d7fdf0 in raise () from /lib/libc.so.6
No symbol table info available.
#2  0xb7d81701 in abort () from /lib/libc.so.6
No symbol table info available.
GCC: gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
UNAME: Linux server.blackopscenter.com 2.6.18-194.8.1.el5.028stab070.5 #1 SMP Fri Sep 17 19:10:36 MSD 2010 i686 i686 i386 GNU/Linux
UNREAL: Unreal3.2.8.1 build 1.1.1.1.2.26 2009/04/13 11:03:55
CORE: -rw------- 1 root root 2088960 Dec  5 18:32 core
===================  STOP HERE ======================

Re: Connectionless Loop - Looking/Found Hostname

Posted: Mon Dec 06, 2010 3:59 am
by katsklaw
Please paste the exact class block you added to unrealircd.conf

Re: Connectionless Loop - Looking/Found Hostname

Posted: Mon Dec 06, 2010 6:45 am
by jonbeard
katsklaw wrote:Please paste the exact class block you added to unrealircd.conf
class default {
pingfreq 60;
connfreq 5000;
maxclients 30000;
sendq <send-queue>;
recvq 2000;
};