Problem with PsyBNC

Irc, Eggdrop, BNC problems and discusion.

Moderator: Moderators

Postby Vron » Thu May 06, 2004 9:35 pm

I have compiled a psyBNC, but i cannot start it, it says:

Configuration File: bnc.conf
Language File: psyBNC Language File - English
No logfile specified, logging to log/psybnc.log
Cannot create listening port .. aborting

config file contains:
PSYBNC.SYSTEM.PORT1=9431
PSYBNC.SYSTEM.HOST1=redhat.polarhome.com
PSYBNC.HOSTALLOWS.ENTRY0=*;*

I have tried various ports, but why i'm unable to crate listening port. My shell is running on redhat, so direct access ports are 5000-9999. So, wat is wrong with this?

Thank you.
Vron
 

Postby DenisF » Thu May 06, 2004 10:21 pm

Try to change HOST1 to 192.168.10.5

Might do it, not sure.
Image
[ FAQ ] :: [ Policy ] :: [ Port Forwarding Guide ] :: [ Search ]
User avatar
DenisF
Forum Admin
Forum Admin
 
Posts: 679
Joined: Mon Dec 16, 2002 9:09 pm
Location: Israhell

Postby SiNGLeLord » Thu May 06, 2004 11:23 pm

PSYBNC.SYSTEM.HOST1=*

I am using this setting, and everything is fine.

BTW try using menuconfig for configuration its more confortable.
-- Tebunie sviesa! - pasake Bushas ir paspaude raudona mygtuka. (It's some kind of joke)
SiNGLeLord
Advanced Member
 
Posts: 72
Joined: Sun Apr 11, 2004 2:31 am
Location: Lithuania

Postby DenisF » Thu May 06, 2004 11:30 pm

Yeah that's an option too, should work nevertheless.
Image
[ FAQ ] :: [ Policy ] :: [ Port Forwarding Guide ] :: [ Search ]
User avatar
DenisF
Forum Admin
Forum Admin
 
Posts: 679
Joined: Mon Dec 16, 2002 9:09 pm
Location: Israhell

Postby Vron » Sat May 08, 2004 10:53 pm

i used PSYBNC.SYSTEM.HOST1=* earlier but it didn't work, so why i tried to change it to redhat.polarhome.com. I haven't tried to use 192.168.10.5, because redhat is down at a time. But i don't think it will help. I have tried using meniu config also, but i got the same result. There is something wrong with those ports.
Vron
 

Postby sjaz » Sun May 09, 2004 3:38 am

Hi, make sure port is not in use. :)
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby Vron » Sun May 09, 2004 2:44 pm

How to do that? I tried tu telnet to those ports and i got message that "connection refused". So, i think the port is free.
Can you show yours psybnc config. I do not understand what is wrong here, why it is impossible to create listening port. (I tried with eggdrop and it could create a port.)
Vron
 

Postby sjaz » Sun May 09, 2004 4:34 pm

I dont use psybnc on any polarhome host... Denis or Matej might ... (actually Matej does).
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby SiNGLeLord » Sun May 09, 2004 6:16 pm

Just check used ports-netstat from statistics page.
-- Tebunie sviesa! - pasake Bushas ir paspaude raudona mygtuka. (It's some kind of joke)
SiNGLeLord
Advanced Member
 
Posts: 72
Joined: Sun Apr 11, 2004 2:31 am
Location: Lithuania

Postby Vron » Sun May 09, 2004 8:04 pm

Could you write a full command to check if port is in use, because i don't know linux well.
Thanx.
Vron
 

Postby SiNGLeLord » Sun May 09, 2004 9:49 pm

It isn't linux command ;) . Go to www.polarhome.com. In the left is "service" menu. Click statistics. Then select your host and "used ports net-stat" from another dropdown box. Then use your browsers search to find unused ports. ;)

BTW maybe there is linux command, but I don't know it.
-- Tebunie sviesa! - pasake Bushas ir paspaude raudona mygtuka. (It's some kind of joke)
SiNGLeLord
Advanced Member
 
Posts: 72
Joined: Sun Apr 11, 2004 2:31 am
Location: Lithuania

Postby sjaz » Sun May 09, 2004 10:05 pm

You can use netstat on the prompt but its prettier on the instructions you gave.
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby Vron » Sun May 09, 2004 10:22 pm

It is possible to get that list in the shell, when you type "netstat". I think, that port i am using is free, bet still i get that damn error.
Any ideas?
Vron
 

Postby DenisF » Sun May 09, 2004 10:48 pm

Out of curiousity, what version of psy are you using?
Image
[ FAQ ] :: [ Policy ] :: [ Port Forwarding Guide ] :: [ Search ]
User avatar
DenisF
Forum Admin
Forum Admin
 
Posts: 679
Joined: Mon Dec 16, 2002 9:09 pm
Location: Israhell

Postby DenisF » Sun May 09, 2004 10:55 pm

This is why i'm asking
V
V
V
psyBNC2.3.2-4-Linux ready. Please read the README before you run psybnc.
make[1]: Leaving directory `/home/d/denisf/psybnc'
-rwxr-xr-x    1 denisf  users      214312 May  9 22:52 psybnc
done.
denisf@redhat~/psybnc$ ./psybnc
.-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
,----.,----.,-.  ,-.,---.,--. ,-.,----.
|  O ||  ,-' \ \/ / | o ||  \| || ,--'
|  _/ _\  \  \  /  | o< | |\  || |__
|_|  |____/  |__|  |___||_|  \_| \___|
      Version 2.3.2-4 © 1999-2003
              the most psychoid
      and  the cool lam3rz Group IRCnet

`-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=tCl=-'
Configuration File: psybnc.conf
Language File: psyBNC Language File - English
No logfile specified, logging to log/psybnc.log
Listening on: 0.0.0.0 port 9431
psyBNC2.3.2-4-cBtITLdDMSoNp started (PID 25346)
denisf@redhat~/psybnc$ telnet localhost 9431
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
:Welcome!psyBNC@lam3rz.de NOTICE * :psyBNC2.3.2-4
^]

telnet> quit
Connection closed.
denisf@redhat~/psybnc$


Hmmm..
Image
[ FAQ ] :: [ Policy ] :: [ Port Forwarding Guide ] :: [ Search ]
User avatar
DenisF
Forum Admin
Forum Admin
 
Posts: 679
Joined: Mon Dec 16, 2002 9:09 pm
Location: Israhell

Postby Vron » Sat May 15, 2004 10:43 pm

That's what i get:

vectron@redhat~/psybnc$ ./psybnc
.-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
,----.,----.,-.  ,-.,---.,--. ,-.,----.
|  O ||  ,-' \ \/ / | o ||  \| || ,--'
|  _/ _\  \  \  /  | o< | |\  || |__
|_|  |____/  |__|  |___||_|  \_| \___|
      Version 2.3.1 © 1999-2002
              the most psychoid
      and  the cool lam3rz Group IRCnet

`-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=tCl=-'
Configuration File: psybnc.conf
Language File: psyBNC Language File - English
No logfile specified, logging to log/psybnc.log
Cannot create listening port .. aborting
vectron@redhat~/psybnc$
Vron
 

Postby DenisF » Sat May 15, 2004 10:55 pm

ugh

hokay, PM me your username and password, i'll fix it
Image
[ FAQ ] :: [ Policy ] :: [ Port Forwarding Guide ] :: [ Search ]
User avatar
DenisF
Forum Admin
Forum Admin
 
Posts: 679
Joined: Mon Dec 16, 2002 9:09 pm
Location: Israhell

Postby thorem » Thu Jun 24, 2004 1:22 pm

hi!

i get the same problem on debian (using port 32693 wich is free according to the statistics page). if anyone can guide me in the right direction i would be greatfull.

/thorem
thorem
Junior Member
 
Posts: 16
Joined: Thu Jun 10, 2004 12:08 am

Postby DenisF » Thu Jun 24, 2004 3:09 pm

Vron's problem was that he was using a very old build of psyBNC.

all i had to do is compile the latest and greatest, and it worked out fine.

id'e suggest you do the same :)
Image
[ FAQ ] :: [ Policy ] :: [ Port Forwarding Guide ] :: [ Search ]
User avatar
DenisF
Forum Admin
Forum Admin
 
Posts: 679
Joined: Mon Dec 16, 2002 9:09 pm
Location: Israhell

Postby thorem » Thu Jun 24, 2004 3:16 pm

well, im using psyBNC2.3.2-4 wich is the latest version. so i really dont know what to do. maybe if you have some spare time you could see the details i sent to you in pm.

thanks in advance!

/thorem
thorem
Junior Member
 
Posts: 16
Joined: Thu Jun 10, 2004 12:08 am

Next

Return to Polarhome IRC

Who is online

Users browsing this forum: No registered users and 9 guests