• error.log entry

    From Charles Stephenson@VERT to All on Wednesday, November 14, 2018 18:00:37
    My error log file keeps getting bigger and bigger, but there is only one error in it. This error is:

    srvc 0000 IRC !JavaScript /var/opt/SBBS/exec/ircd.js line 857 Error: can't convert port to an integer

    I never messaged with that *.js file and my IRC stuff works fine on my BBS. I looked at the line with a editor just to see if it was something I could fix or figure out.

    Here's the line in the ircd.js that's in the error log:

    if(!newsock.bind(port,server.interface_ip_address)) {
    log(LOG_ERR,"!Error "+newsock.error + " binding socket to TCP port "
    + port);
    return 0;

    Any ideas?

    Thanks
    Regards,
    KrUpTiOn
    --- SBBSecho 3.04-Linux
    * Origin: The New Frontier 2: thenewfrontier2.hopto.org (OH) (1:226/17)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Charles Stephenson on Wednesday, November 14, 2018 21:03:50
    Re: error.log entry
    By: Charles Stephenson to All on Wed Nov 14 2018 06:00 pm

    My error log file keeps getting bigger and bigger, but there is only one error in it. This error is:

    srvc 0000 IRC !JavaScript /var/opt/SBBS/exec/ircd.js line 857 Error: can't convert port to an integer

    I never messaged with that *.js file and my IRC stuff works fine on my BBS. I looked at the line with a editor just to see if it was something I could fix or figure out.

    Here's the line in the ircd.js that's in the error log:

    if(!newsock.bind(port,server.interface_ip_address)) {
    log(LOG_ERR,"!Error "+newsock.error + " binding socket to TCP port "
    + port);
    return 0;

    Any ideas?

    Looks like a problem with one of your P:Lines in your ctrl/ircd.conf file. It needs to be a decimal integer number.

    digital man

    This Is Spinal Tap quote #18:
    Sustain, listen to it. Don't hear anything. You would though were it playing. Norco, CA WX: 66.3øF, 15.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to Charles Stephenson on Thursday, November 15, 2018 08:33:44
    On 2018 Nov 14 18:00:36, you wrote to All:

    I never messaged with that *.js file and my IRC stuff works fine on my
    BBS.
    I looked at the line with a editor just to see if it was something I could fix or figure out.

    Here's the line in the ircd.js that's in the error log:

    you'd do better to look in your services.ini in the [IRC] section or possibly in your ircd.conf if you are running ircd standalone via jsexec...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... We would know today who invented the wheel if they'd had a spokesperson. ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to Charles Stephenson on Thursday, November 15, 2018 08:41:30
    On 2018 Nov 14 21:03:50, Digital Man wrote to you:

    Here's the line in the ircd.js that's in the error log:

    if(!newsock.bind(port,server.interface_ip_address)) {
    log(LOG_ERR,"!Error "+newsock.error + " binding socket to TCP port
    "
    + port);
    return 0;

    Any ideas?

    Looks like a problem with one of your P:Lines in your ctrl/ircd.conf
    file. It needs to be a decimal integer number.

    FWIW: the P lines are commented out in the default ircd.conf... i've not uncommented them preferring to work with just the one default 6667 port... the P lines are used to define additional ports your ircd is listening on... if you
    only use port 6667 for ircd, then you don't need to uncomment them at all...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... We must laugh at man, to avoid crying for him. - Napoleon
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT/ECBBS to Charles Stephenson on Thursday, November 15, 2018 10:21:08
    Re: error.log entry
    By: Charles Stephenson to All on Wed Nov 14 2018 18:00:37

    srvc 0000 IRC !JavaScript /var/opt/SBBS/exec/ircd.js line 857 Error: can't convert port to an integer

    BBS. I looked at the line with a editor just to see if it was something I could fix or figure out.

    Line 857 is part of the create_new_socket function, which is called from two other places in that script.

    The most likely cause is a bad M line near the top of your ircd.conf. You must have one (and only one) uncommented M line. Here's the default line that you should have:

    M:SYSTEM_QWKID.synchro.net:*:SYSTEM_NAME:6667

    Or you've uncommented one of the P lines and there's a problem with that.

    Or you're running the ircd from jsexec and providing an invalid -p argument.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From Charles Stephenson@VERT to Digital Man on Thursday, November 15, 2018 08:40:11
    Re: error.log entry
    By: Digital Man to Charles Stephenson on Wed Nov 14 2018 09:03 pm

    By: Charles Stephenson to All on Wed Nov 14 2018 06:00 pm

    Looks like a problem with one of your P:Lines in your ctrl/ircd.conf file. It needs to be a decimal integer number.


    Thanks, I'll take a look at it. I don't think I messed with that file at all. I just used the default.


    Thank you for the help
    Regards,
    KrUpTiOn
    --- SBBSecho 3.04-Linux
    * Origin: The New Frontier 2: thenewfrontier2.hopto.org (OH) (1:226/17)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Charles Stephenson@VERT to echicken on Friday, November 16, 2018 00:07:30
    Re: error.log entry
    By: echicken to Charles Stephenson on Thu Nov 15 2018 10:21 am

    Re: error.log entry
    By: Charles Stephenson to All on Wed Nov 14 2018 18:00:37

    Or you've uncommented one of the P lines and there's a problem with that.

    Or you're running the ircd from jsexec and providing an invalid -p argument.

    I don't remember messing with that file, but the M line was good. the P lines had 3 things uncommented. the one that was uncomment was like P:*:*:*:port I commented that line. I wonder if I did that my mistake. the other 2 lines have actual ports listed.
    Regards,
    KrUpTiOn
    --- SBBSecho 3.04-Linux
    * Origin: The New Frontier 2: thenewfrontier2.hopto.org (OH) (1:226/17)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Charles Stephenson@VERT to mark lewis on Friday, November 16, 2018 00:12:10
    Re: error.log entry
    By: mark lewis to Charles Stephenson on Thu Nov 15 2018 08:33 am


    On 2018 Nov 14 18:00:36, you wrote to All:

    you'd do better to look in your services.ini in the [IRC] section or possibly in your ircd.conf if you are running ircd standalone via jsexec...

    I was thinking it was my services.ini file too. I looked there before I asked for help, and that looked good. I think I found the problem. there was a "P" that was uncommented that I think should have been commented. I'll know here in a few. I JUST fixed it, now I'm gonna re-roll Synchronet to see if it adds any more entries into the error.log

    thanks!
    Regards,
    KrUpTiOn
    --- SBBSecho 3.04-Linux
    * Origin: The New Frontier 2: thenewfrontier2.hopto.org (OH) (1:226/17)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Charles Stephenson on Saturday, November 17, 2018 05:31:05
    Re: error.log entry
    By: Charles Stephenson to Digital Man on Thu Nov 15 2018 08:40 am

    Re: error.log entry
    By: Digital Man to Charles Stephenson on Wed Nov 14 2018 09:03 pm

    By: Charles Stephenson to All on Wed Nov 14 2018 06:00 pm

    Looks like a problem with one of your P:Lines in your ctrl/ircd.conf file. It needs to be a decimal integer number.


    Thanks, I'll take a look at it. I don't think I messed with that file at all. I just used the default.

    The ircd isn't normally enabled by default. You did something to enable it?

    digital man

    Synchronet/BBS Terminology Definition #4:
    ATASCII = ATARI Standard Code for Information Interchange
    Norco, CA WX: 54.9øF, 54.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Charles Stephenson@VERT to Digital Man on Sunday, November 18, 2018 13:14:40
    Re: error.log entry
    By: Digital Man to Charles Stephenson on Sat Nov 17 2018 05:31 am

    Re: error.log entry
    By: Charles Stephenson to Digital Man on Thu Nov 15 2018 08:40 am
    The ircd isn't normally enabled by default. You did something to enable it?

    I must have, and have NO idea why or when, but since I unconmented the line that didn't have a actual number, the error is gone. :)

    I am having a file-listing issue now. I'll post more about it after I try a few more things to see if I can fix it myself. Been having a issue with Synchro showing whole areas as being offline in the file list (has the '-' next to the file). even though the file is in the directory, and in scfg points to the right folder. which I don't get. it imports the files.bbs in that folder, so I don't get how it's showing the entire file area as being offline.
    Regards,
    KrUpTiOn
    --- SBBSecho 3.04-Linux
    * Origin: The New Frontier 2: thenewfrontier2.hopto.org (OH) (1:226/17)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net