Problem with PsyBNC

Irc, Eggdrop, BNC problems and discusion.

Moderator: Moderators

Postby urber1_mandrake » Fri Jul 23, 2004 3:44 pm

urber1@redhat~/private/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
Listening on: 0.0.0.0 port 5521
psyBNC2.3.1-cBtITLdDMSNp started (PID 25887)
urber1@redhat~/private/psybnc$ kill -9 25887
-bash: kill: (25887) - No such process

I cannot start it!

Edit: Figured it out :D
urber1_mandrake
 

Postby k3no » Sun Oct 24, 2004 8:46 am

Complete shell/*nix newbie here. Shell activated today, trying to install psy.

Followed tutorial to the letter, went through this forum and other faqs on the web, but it will simply not connect! :(

EDIT: Only when Ive set the host to "debian" or "localhost" it seems to be able to listen for connections properly (thanks Zoltan). Leaving the host at *, which seems to work for everybody else, did not work.

Now, for some reason I keep getting connection refused or a timeout whenever I try to connect to the port it is supposed to be listening on.

debian.polarhome.com 31982 .. times out
81.216.198.11 31982 .. connection refused.

I *am* supposed to be connecting to debian.polarhome.com and the port the bouncer is listening on right?

:crybaby:

Please advise.

Thanks.
k3no
 

Postby sjaz » Sun Oct 24, 2004 1:12 pm

debian.polarhome.com only works internally for connections. Leave host as * and try from your client. gate.polarhome.com 31982

Pinging debian.polarhome.com [192.168.10.20] <= local internal IP address.
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby k3no » Sun Oct 24, 2004 2:38 pm

Got it working now, thanks sjaz and Z :wub:

When the host was * psybnc wasnt able to bind to anything (0.0.0.0). When I used "debian" as host, it binded ok but after much hassle I've found out it was binded to an ipv6 host while I was trying to connect on ipv4 :/

I tried using 192.168.10.20 instead and it workes just fine now via ipv4.

A lil question now if I may.. is it supposed to be this lagged (ping is around 5 seconds)? Right now I'm connecting to irc.efnet.org to get a random server.

Can anyone please recommend an efnet server that polarhome gets a low ping to? I cant ping from my shell (which is intentional to prevent abuse I imagine), but I checked the efnet server list for servers in sweden.

irc.dataphone.se tells me im not authorized and irc.du.se lets me connect just fine but is supper lagged :(

Any suggestions would be appreciated.

Thanks guys
k3no
 

Postby DenisF » Sun Oct 24, 2004 3:38 pm

Don't forget, the main polarhome node resides on a 1mbit upstream connection that's shared between 10 servers and god knows how many active users.

so it is rather obvious that the line itself is highly congested.

the lowest ping server(s) would be the ones in sweden. you can't get any better than that i'm afraid.

you could, if your shell was on mandrake, but that's a different story.
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 k3no » Sun Oct 24, 2004 3:54 pm

Well I'm not one to look a gift horse in the mouth. I'm happy with what I have.

Could you please elaborate about how a shell on mandrake would change things?

Also, I understand the policy is no vhosts whatsoever right?
k3no
 

Postby DenisF » Sun Oct 24, 2004 5:35 pm

A shell on mandrake would be different `cause mandrake is seperated from the main node in sweden.
the mandrake server resides about 1.5 meters from my left leg, and has a 1.5/96 connection [yeh i know the upload sucks, but it's the best i can get]

having that said, my ping to the israeli efnet server is about 40ms, and 100 to the swedish one you mentioned above.

and no, u can't get any vhosts.
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 luffarn » Tue Apr 07, 2009 5:27 pm

Hi,

I'm getting
"Cannot create listening port .. aborting"
when trying to start psyBNC. I have made sure that the port is not in use via Used ports-netstat page.
I'm trying to use port 13131 and I'm on FreeBSD.

Pls help!
Regards, Luffarn
luffarn
Newbie
 
Posts: 5
Joined: Tue Apr 07, 2009 4:53 pm

Postby zoli » Wed Apr 08, 2009 8:35 am

Hello,

the problem was that the netstat page was not upated on gateway after the crash.

Indeed there is a process running on the port:
Code: Select all
tcp4       0      0  freebsd.13131          nl117-191-163.st.49320 ESTABLISHED


It means your program is running well or somebody else took that port.
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 785
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden

Postby luffarn » Tue Jun 30, 2009 5:15 pm

Hi again,

I managed to get psybnc working, but now I'm trying to run a second psybnc, but get the same port error, I have set the port to 13138.

You have any idea how to solve it, if it's even possible to run multipl bnc´s?
luffarn
Newbie
 
Posts: 5
Joined: Tue Apr 07, 2009 4:53 pm

Postby zoli » Fri Jul 03, 2009 3:43 am

Hello,

it is allowed... there is just a number of background processes limit.
Please make sure that you bind every process on an unused port.
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 785
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden

Postby luffarn » Mon Jul 06, 2009 6:44 pm

Ok. I have tried several different ports, but none of them work. 13138 and 13140 for example.

I can remeber that I had to do some kind of uninstall before I got it to work the last time. But I cant remeber the command I used.

Do you have any idea why it's so difficult to get psybnc running?
luffarn
Newbie
 
Posts: 5
Joined: Tue Apr 07, 2009 4:53 pm

Postby zoli » Sat Jul 11, 2009 6:47 pm

Hello,

I have never run myself... but I guess you should read http://www.polarhome.com/service/ports.html specially the part about direct ports.

Otherwise you should wait until other, more experienced admins or users answer.
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 785
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden

Postby sjaz » Sun Jul 12, 2009 11:44 am

Hi,

I'll investigate shortly once I remember my freebsd account details :)
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby luffarn » Mon Jul 13, 2009 10:53 am

sjaz wrote:Hi,

I'll investigate shortly once I remember my freebsd account details :)


Thanks alot!
Do you need any more info from me?
luffarn
Newbie
 
Posts: 5
Joined: Tue Apr 07, 2009 4:53 pm

Postby sjaz » Mon Jul 13, 2009 10:16 pm

No not yet, I need to speak to Zoli to get my password reset though, seems it's been some years since I used the account!
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby sjaz » Sun Jul 26, 2009 3:20 pm

Hi there,

I'm in the process of performing some testing for you, I'll compile two psybnc's one into ~/psybnc1 and the other ~/psybnc2 using two ports from the freebsd port table and feed back shortly.

:)
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby sjaz » Sun Jul 26, 2009 3:31 pm

Hello,

I had no problems, see below.

psybnc1
bash-2.05b$ pwd
/home/c/chaz/psybnc1

bash-2.05b$ ./psybnc
.-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
,----.,----.,-. ,-.,---.,--. ,-.,----.
| O || ,-' \ \/ / | o || \| || ,--'
| _/ _\ \ \ / | o< | |\ || |__
|_| |____/ |__| |___||_| \_| \___|
Version 2.3.2-7 (c) 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 10000
Listening on: * port 10000
psyBNC2.3.2-7-cBtITLdDMSNpE started (PID 37125)


psybnc2

bash-2.05b$ pwd
/home/c/chaz/psybnc2
bash-2.05b$ ./psybnc
.-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
,----.,----.,-. ,-.,---.,--. ,-.,----.
| O || ,-' \ \/ / | o || \| || ,--'
| _/ _\ \ \ / | o< | |\ || |__
|_| |____/ |__| |___||_| \_| \___|
Version 2.3.2-7 (c) 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 10001
Listening on: * port 10001
psyBNC2.3.2-7-cBtITLdDMSNpE started (PID 37239)


Testing from the outside (my home)

moi@tar ~ $ telnet gate.polarhome.com 10000
Trying 84.218.23.128...
Connected to gate.polarhome.com.
Escape character is '^]'.
:Welcome!psyBNC@lam3rz.de NOTICE * :psyBNC2.3.2-7
^]
telnet> quit
Connection closed.
moi@tar ~ $ telnet gate.polarhome.com 10001
Trying 84.218.23.128...
Connected to gate.polarhome.com.
Escape character is '^]'.
:Welcome!psyBNC@lam3rz.de NOTICE * :psyBNC2.3.2-7
^]
telnet>


Please feel free to pm me your user details if you cannot make this function?
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Re: Problem with PsyBNC

Postby luffarn » Tue Nov 10, 2009 2:08 pm

Hi,

I forgot about this thread, sorry.
Anyway, I got it to work, I had to change listening host to 0.0.0.0.

Thanks you for your help!

Regards,
Luffarn
luffarn
Newbie
 
Posts: 5
Joined: Tue Apr 07, 2009 4:53 pm

Re: Problem with PsyBNC

Postby sjaz » Thu Nov 12, 2009 10:07 pm

No problem, glad it's sorted :)
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Previous

Return to Polarhome IRC

Who is online

Users browsing this forum: No registered users and 1 guest

cron