无法启动 LSB:SANE 网络扫描仪服务器

无法启动 LSB:SANE 网络扫描仪服务器

因此,我的打印扫描仪 Samsung SCX-4300 可以通过 USB 正常工作,相反,我将其连接到“网络 USB 服务器”,如以下链接所示:

https://es.aliexpress.com/item/Wavlink-USB-2-0-red-LRP-servidor-de-impresi-n-USB-Hub-100-Mbps-compartir-una/32933067390.html

通过服务器,打印工作正常,但扫描仪不工作,我按照 Ubuntu 教程的指示进行操作:

https://help.ubuntu.com/community/SaneDaemonTutorial?action=show&redirect=sane.d+tutorial

1.所以我在终端上写道sudo service saned restart

Failed to restart saned.service: unit saned.service is masked

2.之后,sudo service saned status

● saned.service
   Active: inactive (dead)
   Loaded: masked (/dev/null; bad)

然后,我上网查了一下,找到了这个网站:systemctl,如何揭露

3. file /lib/systemd/system/saned.service

/lib/systemd/system/saned.service: symbolic lik to /dev/null

4.我打字检查了一下sudo nano /run/systemd/generator.late/saned.service,发现那里完全是空的。

5. sudo rm /lib/systemd/system/saned.service然后,后来,sudo systemctl daemon-reload

7.最后systemctl status saned

● saned.service - LSB: SANE network scanner server
 Loaded: loaded (/etc/init.d/saned; generated)
 Active: failed (Result: exit-code) since Sun 2019-06-16 13:19:23 -05; 9min ago
 Docs: man:systemd-sysv-generator(8)
 Process: 923 ExecStart=/etc/init.d/saned start (code=exited, status=1/FAILURE)

jun 16 13:19:22 MS-7529 saned[923]:  * Starting SANE network scanner server saned
jun 16 13:19:23 MS-7529 saned[944]: saned (AF-indep+IPv6) from sane-backends 1.0.27 starting up
jun 16 13:19:23 MS-7529 saned[944]: do_bindings: [1] bind failed: Address already in use
jun 16 13:19:23 MS-7529 saned[944]: do_bindings: [0] bind failed: Address already in use
jun 16 13:19:23 MS-7529 saned[944]: do_bindings: couldn't bind an address. Exiting.
jun 16 13:19:23 MS-7529 saned[944]: FATAL ERROR; bailing out, waiting for children...
jun 16 13:19:23 MS-7529 saned[944]: bail_out: all children exited
jun 16 13:19:23 MS-7529 systemd[1]: saned.service: Control process exited, code=exited status=1
jun 16 13:19:23 MS-7529 systemd[1]: saned.service: Failed with result 'exit-code'.
jun 16 13:19:23 MS-7529 systemd[1]: Failed to start LSB: SANE network scanner server.

8:于是我又去检查了sudo nano /run/systemd/generator.late/saned.service

# Automatically generated by systemd-sysv-generator

[Unit]
Documentation=man:systemd-sysv-generator(8)
SourcePath=/etc/init.d/saned
Description=LSB: SANE network scanner server
Before=multi-user.target
Before=multi-user.target
Before=multi-user.target
Before=graphical.target
After=remote-fs.target
After=dbus.service
After=avahi-daemon.service

[Service]
Type=forking
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
SuccessExitStatus=5 6
ExecStart=/etc/init.d/saned start
ExecStop=/etc/init.d/saned stop

9.我再次输入sudo service saned status

● saned.service - LSB: SANE network scanner server
Loaded: loaded (/etc/init.d/saned; generated)
Active: failed (Result: exit-code) since Sun 2019-06-16 13:19:23 -05; 1h 20min ago
Docs: man:systemd-sysv-generator(8)
Process: 923 ExecStart=/etc/init.d/saned start (code=exited, status=1/FAILURE)

jun 16 13:19:22 MS-7529 saned[923]:  * Starting SANE network scanner server saned
jun 16 13:19:23 MS-7529 saned[944]: saned (AF-indep+IPv6) from sane-backends 1.0.27 starting up
jun 16 13:19:23 MS-7529 saned[944]: do_bindings: [1] bind failed: Address already in use
jun 16 13:19:23 MS-7529 saned[944]: do_bindings: [0] bind failed: Address already in use
jun 16 13:19:23 MS-7529 saned[944]: do_bindings: couldn't bind an address. Exiting.
jun 16 13:19:23 MS-7529 saned[944]: FATAL ERROR; bailing out, waiting for children...
jun 16 13:19:23 MS-7529 saned[944]: bail_out: all children exited
jun 16 13:19:23 MS-7529 systemd[1]: saned.service: Control process exited, code=exited status=1
jun 16 13:19:23 MS-7529 systemd[1]: saned.service: Failed with result 'exit-code'.
jun 16 13:19:23 MS-7529 systemd[1]: Failed to start LSB: SANE network scanner server.

我找不到如何修复通过服务器连接扫描仪的方法。

那么有人知道如何解决这个故障吗?

相关内容