Config Issues

Jon Lusky lusky at blown.net
Sun Oct 29 18:10:33 EST 2006


If you're running the default FC5 iptables rules, you probably need to add a
rule to allow inbound connections to 6667/tcp.


  _____  

From: hybrid-bounces at lists.ircd-hybrid.org
[mailto:hybrid-bounces at lists.ircd-hybrid.org] On Behalf Of ryan m
Sent: Friday, October 27, 2006 12:39 PM
To: General IRCD-Hybrid Discussion
Subject: Re: Config Issues


I get :
telnet localhost 6667
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
:basin.cse.lehigh.edu  <http://basin.cse.lehigh.edu> NOTICE AUTH :***
Looking up your hostname...
:basin.cse.lehigh.edu NOTICE AUTH :*** Checking Ident
:basin.cse.lehigh.edu NOTICE AUTH :*** No Ident response 
:basin.cse.lehigh.edu NOTICE AUTH :*** Couldn't look up your hostname

but I definatly can't connect remotely and I /think/ I set it to listen on
0.0.0.0 at least i set that in what I though was the relevant section of the
config.

again thank you everyone for being so patient with me


On 10/25/06, Hong-Gunn Chew <hgchew at gmail.com> wrote: 

Looks like the ircd has IPv6 compiled in, so it is trying to listen on both
IPv4 and IPv6.  You should be able to telnet in via 'telnet 127.0.0.1 6667'.
If that works, then it means it is listening properly on the IPv4 port. 

HG 



On 10/26/06, ryan m < smarts40 at gmail.com <mailto:smarts40 at gmail.com> >
wrote: 

so thank you VERY much for the help so far(i found the log in
/var/log/ircd/ircd.log), so I had an illegally formated SID, so now the
server starts, but I get this in the log

binding listener socket [0::/6667]:Address already in use 

when starting via /etc/init.d/ircd start under fc5 and I can't seem to get
it to start any other way, running ircd as root displays an error saying to
not do that, and running it as non-root does nothing.

netstat -tl says that before starting the server nothing is using 6667 and
after 6667 is listening, but when I try to telnet to it, it can't connect,
so its like the port is listening but noone's home. 


On 10/25/06, hybrid-request at lists.ircd-hybrid.org
<mailto:hybrid-request at lists.ircd-hybrid.org> <
<mailto:hybrid-request at lists.ircd-hybrid.org>
hybrid-request at lists.ircd-hybrid.org> wrote: 

Send hybrid mailing list submissions to 
        hybrid at lists.ircd-hybrid.org

To subscribe or unsubscribe via the World Wide Web, visit 
          <https://lists.ircd-hybrid.org/mailman/listinfo/hybrid>
https://lists.ircd-hybrid.org/mailman/listinfo/hybrid
or, via email, send a message with subject or body 'help' to
          <mailto:hybrid-request at lists.ircd-hybrid.org>
hybrid-request at lists.ircd-hybrid.org 

You can reach the person managing the list at
        hybrid-owner at lists.ircd-hybrid.org
<mailto:hybrid-owner at lists.ircd-hybrid.org> 

When replying, please edit your Subject line so it is more specific 
than "Re: Contents of hybrid digest..."


Today's Topics:

   1. Re: config issues (ryan m)
   2. Re: config issues (Peter Pentchev)


---------------------------------------------------------------------- 

Message: 1
Date: Tue, 24 Oct 2006 12:11:54 -0400
From: "ryan m" <smarts40 at gmail.com >
Subject: Re: config issues
To: hybrid at lists.ircd-hybrid.org
Message-ID:
        <d35f8e370610240911y51861d62r23df32db2ec54e53 at mail.gmail.com
<mailto:d35f8e370610240911y51861d62r23df32db2ec54e53 at mail.gmail.com> >
Content-Type: text/plain; charset="iso-8859-1" 

/var/log/messaged doesn't have any irc messages, is there another log i
should be looking at?

I don't see anything of use in here, do you?

strace /usr/bin/ircd
execve("/usr/bin/ircd", ["/usr/bin/ircd"], [/* 22 vars */]) = 0 
brk(0)                                  = 0x91db000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f52000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or 
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=44443, ...}) = 0
mmap2(NULL, 44443, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f47000
close(3)                                = 0 
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P|r\000"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=16436, ...}) = 0
mmap2(0x727000, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)

= 0x727000
mmap2(0x729000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x729000
close(3)                                = 0
open("/lib/libcrypt.so.1", O_RDONLY)    = 3 
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\367"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=27716, ...}) = 0
mmap2(0x465f000, 184636, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0x465f000
mmap2(0x4664000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4) = 0x4664000
mmap2(0x4666000, 155964, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4666000 
close(3)                                = 0
open("/lib/libssl.so.6", O_RDONLY)      = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\371"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=281244, ...}) = 0 
mmap2(0xd44000, 282396, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xd44000
mmap2(0xd85000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x40) = 0xd85000
close(3)                                = 0 
open("/lib/libcrypto.so.6", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0!\23\000"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1249612, ...}) = 0 
mmap2(0x101000, 1264856, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x101000
mmap2(0x220000, 77824, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11e) = 0x220000
mmap2(0x233000, 11480, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x233000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\n\6^\000"..., 512) 
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1532528, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f46000
mmap2(0x5cb000, 1254812, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0x5cb000
mmap2(0x6f8000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12d) = 0x6f8000
mmap2(0x6fb000, 9628, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x6fb000 
close(3)                                = 0
open("/usr/lib/libgssapi_krb5.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P#\254\000"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=100240, ...}) = 0 
mmap2(0xabe000, 101360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xabe000
mmap2(0xad6000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17) = 0xad6000
close(3)                                = 0 
open("/usr/lib/libkrb5.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\206\256"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=481440, ...}) = 0
mmap2(0xad9000, 478556, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xad9000
mmap2(0xb4c000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x73) = 0xb4c000
close(3)                                = 0 
open("/lib/libcom_err.so.2", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\251v\000"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=7972, ...}) = 0
mmap2(0x76a000, 9484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0x76a000
mmap2(0x76c000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x76c000
close(3)                                = 0 
open("/usr/lib/libk5crypto.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\246"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=152868, ...}) = 0 
mmap2(0xa97000, 150752, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xa97000
mmap2(0xabb000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24) = 0xabb000
close(3)                                = 0 
open("/lib/libresolv.so.2", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\324\231"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=76296, ...}) = 0
mmap2(0x99b000, 75976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0x99b000
mmap2(0x9aa000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0x9aa000
mmap2(0x9ac000, 6344, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x9ac000
close(3)                                = 0
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\347r\000"..., 512)

= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=75632, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f45000
mmap2(0x72d000, 77008, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)

= 0x72d000
mmap2(0x73f000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11) = 0x73f000
close(3)                                = 0
open("/usr/lib/libkrb5support.so.0", O_RDONLY) = 3 
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\312\272"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=11840, ...}) = 0
mmap2(0xbac000, 13120, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)

= 0xbac000
mmap2(0xbaf000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xbaf000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f44000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f449a0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
mprotect(0x729000, 4096, PROT_READ)     = 0 
mprotect(0x4664000, 4096, PROT_READ)    = 0
mprotect(0x6f8000, 8192, PROT_READ)     = 0
mprotect(0x5c7000, 4096, PROT_READ)     = 0
mprotect(0x9aa000, 4096, PROT_READ)     = 0
munmap(0xb7f47000, 44443)               = 0 
geteuid32()                             = 500
getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0
setrlimit(RLIMIT_CORE, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
brk(0)                                  = 0x91db000 
gettimeofday({1161706150, 971660}, NULL) = 0
getpid()                                = 4218
umask(077)                              = 02
chdir("/usr/lib/ircd")                  = 0
brk(0x91fc000)                          = 0x91fc000 
open("/dev/null", O_RDONLY)             = 3
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7f449e8) = 4219
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0 
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f51000
write(1, "ircd: version hybrid-7.2.2\n", 27ircd: version hybrid-7.2.2
) = 27
write(1, "ircd: pid 4219\n", 15ircd: pid 4219 
)        = 15
write(1, "ircd: running in background mode"..., 52ircd: running in
background mode from /usr/lib/ircd
) = 52
exit_group(0)                           = ?
Process 4218 detached

thank you for the help


On 10/24/06, hybrid-request at lists.ircd-hybrid.org < 
hybrid-request at lists.ircd-hybrid.org
<mailto:hybrid-request at lists.ircd-hybrid.org> > wrote:
>
> Send hybrid mailing list submissions to
>         hybrid at lists.ircd-hybrid.org
<mailto:hybrid at lists.ircd-hybrid.org> 
>
> To subscribe or unsubscribe via the World Wide Web, visit 
>         https://lists.ircd-hybrid.org/mailman/listinfo/hybrid
> or, via email, send a message with subject or body 'help' to 
>         hybrid-request at lists.ircd-hybrid.org
>
> You can reach the person managing the list at 
>         hybrid-owner at lists.ircd-hybrid.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of hybrid digest..."
>
>
> Today's Topics: 
>
>    1. config issues (ryan m)
>    2. Re: config issues (Pi)
>    3. Re: config issues (Peter Pentchev)
>
>
> ---------------------------------------------------------------------- 
>
> Message: 1
> Date: Mon, 23 Oct 2006 19:20:00 -0400
> From: "ryan m" <smarts40 at gmail.com  <mailto:smarts40 at gmail.com> >
> Subject: config issues
> To: hybrid at lists.ircd-hybrid.org
> Message-ID:
>         <
<mailto:d35f8e370610231620q6dfb3a79p61ef5026c0e15995 at mail.gmail.com>
d35f8e370610231620q6dfb3a79p61ef5026c0e15995 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Skipped content of type multipart/alternative-------------- next part
> --------------
> A non-text attachment was scrubbed...
> Name: ircd.conf
> Type: application/octet-stream
> Size: 35868 bytes
> Desc: not available
> Url :
>
http://lists.ircd-hybrid.org/pipermail/hybrid/attachments/20061023/891ea4b6/
ircd-0001.obj
>
> ------------------------------
>
> Message: 2
> Date: Mon, 23 Oct 2006 19:35:13 -0600
> From: Pi < pi at pihost.us>
> Subject: Re: config issues
> To: General IRCD-Hybrid Discussion <
<mailto:hybrid at lists.ircd-hybrid.org> hybrid at lists.ircd-hybrid.org>
> Message-ID: < 453D6DD1.5010000 at pihost.us>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> ryan m wrote:
> > I'm using hybrid under FC 5 installed via yum from the default 
> > repositories.  I configured everything the best I could and removed the
> > line that said remove me, but when I do /etc/init.d/ircd start .  it
> > looks like it starts normally, but then immediately dies silently, 
> > attached is my config file.  Any help with this is greatly appreciated.
> >
>
> try running strace /path/to/ircd and seeing where it dies.
>
> -- Pi
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 24 Oct 2006 09:34:30 +0300
> From: Peter Pentchev <  <mailto:roam at ringlet.net> roam at ringlet.net>
> Subject: Re: config issues 
> To: General IRCD-Hybrid Discussion <hybrid at lists.ircd-hybrid.org>
> Message-ID: < 20061024063430.GA1247 at straylight.m.ringlet.net
<mailto:20061024063430.GA1247 at straylight.m.ringlet.net> >
> Content-Type: text/plain; charset="us-ascii"
>
> On Mon, Oct 23, 2006 at 07:35:13PM -0600, Pi wrote:
> > ryan m wrote:
> > >I'm using hybrid under FC 5 installed via yum from the default 
> > >repositories.  I configured everything the best I could and removed the
> > >line that said remove me, but when I do /etc/init.d/ircd start .  it
> > >looks like it starts normally, but then immediately dies silently, 
> > >attached is my config file.  Any help with this is greatly appreciated.
> > >
> >
> > try running strace /path/to/ircd and seeing where it dies.
>
> That is, if there is nothing in the logfiles, of course :) 
>
> G'luck,
> Peter
>
> --
> Peter Pentchev  roam at ringlet.net      <mailto:roam at cnsys.bg> roam at cnsys.bg
<mailto:roam at FreeBSD.org> roam at FreeBSD.org
> PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
<http://people.FreeBSD.org/%7Eroam/roam.key.asc>  
> Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553 
> If I had finished this sentence,
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 187 bytes 
> Desc: not available
> Url :
>
http://lists.ircd-hybrid.org/pipermail/hybrid/attachments/20061024/a3104d98/
attachment-0001.bin
<http://lists.ircd-hybrid.org/pipermail/hybrid/attachments/20061024/a3104d98
/attachment-0001.bin> 
>
> End of hybrid Digest, Vol 29, Issue 5
> *************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.ircd-hybrid.org/pipermail/hybrid/attachments/20061024/2c8922f7/
attachment-0001.htm

------------------------------

Message: 2
Date: Wed, 25 Oct 2006 14:00:10 +0300
From: Peter Pentchev < roam at ringlet.net>
Subject: Re: config issues
To: General IRCD-Hybrid Discussion <  <mailto:hybrid at lists.ircd-hybrid.org>
hybrid at lists.ircd-hybrid.org>
Message-ID: < 20061025110010.GA3782 at straylight.m.ringlet.net>
Content-Type: text/plain; charset="us-ascii" 

On Tue, Oct 24, 2006 at 12:11:54PM -0400, ryan m wrote: 
> /var/log/messaged doesn't have any irc messages, is there another log i
> should be looking at?

Well, there is a log { ... } section in your config file, isn't there? :)
The paths to the logfiles there are probably relative to /usr/local/ircd. 

G'luck,
Peter

--
Peter Pentchev  roam at ringlet.net      <mailto:roam at cnsys.bg> roam at cnsys.bg
roam at FreeBSD.org
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
<http://people.FreeBSD.org/%7Eroam/roam.key.asc> 
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553 
This inert sentence is my body, but my soul is alive, dancing in the sparks
of your brain. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :
http://lists.ircd-hybrid.org/pipermail/hybrid/attachments/20061025/7aa07b65/
attachment-0001.bin

End of hybrid Digest, Vol 29, Issue 6
*************************************





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ircd-hybrid.org/pipermail/hybrid/attachments/20061029/0e61f8ff/attachment.html>


More information about the hybrid mailing list