这篇文章给大家介绍树莓派3软件安装配置问题的解决方法,内容非常详细,感兴趣的小伙伴们可以参考借鉴,希望对大家能有所帮助。
系统相关信息
bysu@bysu:~ $ inxi CPU~Quad core ARMv7 rev 4 (v7l) (-MCP-) speed~1200 MHz Kernel~4.9.41-v7+ armv7l Up~14:21 Mem~102.5/927.3MB HDD~NA(-) Procs~291 Client~Shell inxi~2.3.5 bysu@bysu:~ $ uname -a Linux bysu 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux
执行重启服务命令报错。
bysu@bysu:~ $ sudo systemctl start samba Failed to restart samba.service: Unit samba.service is masked.
解决方案,参考here
bysu@bysu:~ $ sudo rm /lib/systemd/system/samba.service bysu@bysu:~ $ sudo systemctl enable samba samba.service is not a native service, redirecting to systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable samba update-rc.d: error: samba Default-Start contains no runlevels, aborting. bysu@bysu:~ $ sudo systemctl start samba bysu@bysu:~ $ sudo systemctl status samba ● samba.service - LSB: ensure Samba daemons are started (nmbd, smbd and samba) Loaded: loaded (/etc/init.d/samba; generated; vendor preset: enabled) Active: active (exited) since Sat 2017-12-02 15:28:45 UTC; 9s ago Docs: man:systemd-sysv-generator(8) Process: 2525 ExecStart=/etc/init.d/samba start (code=exited, status=0/SUCCESS) Dec 02 15:28:45 bysu systemd[1]: Starting LSB: ensure Samba daemons are started (nmbd, smbd and samba)... Dec 02 15:28:45 bysu samba[2525]: Starting nmbd (via systemctl): nmbd.service. Dec 02 15:28:45 bysu samba[2525]: Starting smbd (via systemctl): smbd.service. Dec 02 15:28:45 bysu systemd[1]: Started LSB: ensure Samba daemons are started (nmbd, smbd and samba).
关于树莓派3软件安装配置问题的解决方法就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。