This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

listen-addr suddenly not working!

General support and discussion of Eggdrop bots.
Post Reply
L
Landslyde
Halfop
Posts: 46
Joined: Thu May 01, 2014 6:01 pm

listen-addr suddenly not working!

Post by Landslyde »

v1.8 eggdrop

I just added a small script, restarted my bot and got this:

Code: Select all

[15:25:12] Couldn't listen on port '7032' on the given address. Please make sure 'listen-addr' is set properly or try choosing a different port.
    while executing
"listen 7032 all"
She's been using that port for a long time. So I thought it might be some kind of conflict from the new script. I commented it out and tried again. Same thing. So i ran netstat -nlp and it shows nothing using that port.

Code: Select all

 root@landslyde:~# netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      421/sshd
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      6478/exim4
tcp6       0      0 :::80                   :::*                    LISTEN      458/apache2
tcp6       0      0 :::22                   :::*                    LISTEN      421/sshd
tcp6       0      0 ::1:25                  :::*                    LISTEN      6478/exim4
tcp6       0      0 2604:180:0:c62:21::7033 :::*                    LISTEN      547/eggdrop
udp        0      0 0.0.0.0:55620           0.0.0.0:*                           547/eggdrop
udp        0      0 0.0.0.0:45766           0.0.0.0:*                           547/eggdrop
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path
unix  2      [ ACC ]     STREAM     LISTENING     2643881473 1/init              /run/systemd/private
unix  2      [ ACC ]     SEQPACKET  LISTENING     2643881497 1/init              /run/udev/control
unix  2      [ ACC ]     STREAM     LISTENING     2643881500 1/init              /run/systemd/journal/stdout
This is my vps and i'm the only one on it.

I've also tried rebooting with no success.

Please help me fix this. I don't have any understand beyond what I've done to try to fix it.
Last edited by Landslyde on Wed Aug 10, 2016 6:00 pm, edited 1 time in total.
User avatar
Madalin
Master
Posts: 310
Joined: Fri Jun 24, 2005 11:36 am
Location: Constanta, Romania
Contact:

Post by Madalin »

Try move the listen adresse line... to be the first line from the file
User avatar
Fire-Fox
Master
Posts: 289
Joined: Sat Sep 23, 2006 9:01 pm
Location: /dev/null

Post by Fire-Fox »

What is

Code: Select all

listen-addr
set to?
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
Post Reply