Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-105184

proftpd not starting (again) "unable to open syslog"

    XMLWordPrintable

    Details

      Description

      When starting proftpd in freeNAS 11.3-U1 I get an error message just saying "FTP service failed to start".

      In middleware.log there is a message saying that the operation on line 12 of the proftpd.conf file is not valid, "unable to open syslog".

      That line says the "syslogfacility" is "ftp". Service will not start.

       

      [2020/02/25 12:04:40] (DEBUG) ServiceService._simplecmd():287 - Calling: start(ftp)
      [2020/02/25 12:04:40] (DEBUG) EtcService.generate():274 - No new changes for /etc/local/proftpd.conf
      [2020/02/25 12:04:43] (WARNING) ServiceService._system():309 - Command '/usr/sbin/service proftpd onestart ' failed with code 1: b"Starting proftpd.\n2020-02-25 12:04:43,790 freenas.local proftpd[8115]: mod_ctrls/0.9.5: error: unable to bind to local socket: Address already in use\n2020-02-25 12:04:43,790 freenas.local proftpd[8115]: fatal: SyslogFacility: unable to open syslog: Connection refused on line 12 of '/usr/local/etc/proftpd.conf'\n/usr/local/etc/rc.d/proftpd: WARNING: failed to start proftpd\n"
      [2020/02/25 12:04:47] (WARNING) middlewared._loop_monitor_thread():1272 - Task seems blocked:
        File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1077, in _call
          return await methodobj(*args)
        File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/etc.py", line 235, in generate
          rendered = await renderer.render(path)
        File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/etc.py", line 51, in render
          mod = imp.load_module(name, *find)
        File "/usr/local/lib/python3.7/imp.py", line 234, in load_module
          return load_source(name, filename, file)
        File "/usr/local/lib/python3.7/imp.py", line 169, in load_source
          module = _exec(spec, sys.modules[name])
        File "<frozen importlib._bootstrap>", line 630, in _exec
        File "<frozen importlib._bootstrap_external>", line 724, in exec_module
        File "<frozen importlib._bootstrap_external>", line 818, in get_code
        File "/usr/local/lib/python3.7/imp.py", line 157, in get_data
          return super().get_data(path)
        File "<frozen importlib._bootstrap_external>", line 917, in get_data

       

      This is (again and again) the same problem from here.

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Release Council
                Reporter:
                QCO RogoTe
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: