Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Synchronet Synchronet
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 186
    • Issues 186
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Main
  • SynchronetSynchronet
  • Issues
  • #402

Closed
Open
Created Apr 28, 2022 by Nigel Reed@nelginDeveloper

ircd "address in use" via systemd up on crash, fills log file

I have the following systemd service file for my ircd

[Unit]
Description=Synchronet ircd
After=syslog.target network.target

[Service]
Type=simple
User=bbs
Group=bbs
#ExecStart=/sbbs/exec/jsexec -L0 -a -c /sbbs/ctrl -l -o/var/log/sbbs/ircd.log -e/var/log/sbbs/ircd.err ircd
ExecStart=/sbbs/exec/jsexec -L7 -l /sbbs/exec/ircd.js
#StandardOutput=syslog
#StandardError=syslog
SyslogIdentifier=ircd


[Install]
WantedBy=multi-user.target

If the ircd crashes for some reason, it will spam the log files with:

Apr 26 01:51:05 bbs ircd[922629]: Re-running: /sbbs/exec/ircd.js
Apr 26 01:51:05 bbs ircd[922629]: SynchronetIRCd-1.9 started.
Apr 26 01:51:05 bbs ircd[922629]: Trying to read configuration from: /sbbs/ctrl/ircd.conf
Apr 26 01:51:05 bbs ircd[922629]: Creating new socket object on port 6667
Apr 26 01:51:05 bbs ircd[922629]: 0009 !ERROR 98 binding IRCd socket to port 6667: Address already in use
Apr 26 01:51:05 bbs ircd[922629]: !Error Error: Unable to add host to socket set creating listening socket on port 6667
Apr 26 01:51:05 bbs ircd[922629]: !Module (/sbbs/exec/ircd.js) set exit_code: 1

This messages repeats 5-7 times per second. Left unchecked it will fill up a log in pretty short order.

REUSEADDR = TRUE in sockopts.ini

Need a fix so that the ircd will respawn.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking