Advertisement
Guest User

Untitled

a guest
Nov 30th, 2020
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. sh -x /opt/etc/init.d/S09ZyXELSambaReplacement start
  2. + prgmname1=/opt/sbin/nmbd
  3. + prgmname2=/opt/sbin/smbd
  4. + configfile=/opt/etc/samba/ZyXELSambaReplacement.conf
  5. + nmbdpid=/opt/var/run/nmbd-ZyXELSambaReplacement.conf.pid
  6. + smbdpid=/opt/var/run/smbd-ZyXELSambaReplacement.conf.pid
  7. + basename /opt/etc/init.d/S09ZyXELSambaReplacement
  8. + [ S09ZyXELSambaReplacement = samba.sh ]
  9. + startreplacement
  10. + [ -f /etc/init.d/samba.replaced.sh ]
  11. + sh /etc/init.d/samba.sh stop
  12. Stopping Samba daemons: /sbin/start-stop-daemon: warning: failed to kill 3125: Operation not permitted
  13. ps: invalid option -- 'h'
  14. BusyBox v1.19.4 (2020-06-04 10:24:09 CST) multi-call binary.
  15.  
  16. Usage: ps
  17.  
  18. rm: can't remove '/var/run/nmbd.pid': Permission denied
  19. nmbd/sbin/start-stop-daemon: warning: failed to kill 3121: Operation not permitted
  20. ps: invalid option -- 'h'
  21. BusyBox v1.19.4 (2020-06-04 10:24:09 CST) multi-call binary.
  22.  
  23. Usage: ps
  24.  
  25. rm: can't remove '/var/run/smbd.pid': Permission denied
  26. smbd.
  27. + mv /etc/init.d/samba.sh /etc/init.d/samba.replaced.sh
  28. mv: can't rename '/etc/init.d/samba.sh': Permission denied
  29. + basename /opt/etc/init.d/S09ZyXELSambaReplacement
  30. + ln -s /opt/etc/init.d/S09ZyXELSambaReplacement /etc/init.d/samba.sh
  31. ln: /etc/init.d/samba.sh: File exists
  32. + [ -f /var/run/smbd.pid ]
  33. + rm /var/run/smbd.pid
  34. rm: remove '/var/run/smbd.pid'? n
  35. + ln -s /opt/var/run/smbd-ZyXELSambaReplacement.conf.pid /var/run/smbd.pid
  36. ln: /var/run/smbd.pid: File exists
  37. + [ -f /var/run/nmbd.pid ]
  38. + rm /var/run/nmbd.pid
  39. rm: remove '/var/run/nmbd.pid'? n
  40. + ln -s /opt/var/run/nmbd-ZyXELSambaReplacement.conf.pid /var/run/nmbd.pid
  41. ln: /var/run/nmbd.pid: File exists
  42. + [ ! -h /opt/var/lock ]
  43. + sh /etc/init.d/samba.sh start
  44. Starting Samba daemons: nmbdUnable to setup corepath for nmbd: Operation not permitted
  45. [2020/11/30 17:03:42, 0] ../lib/util/debug.c:595(reopen_logs_internal)
  46. Unable to open new log file '/var/log/samba/log.nmbd': Permission denied
  47. [2020/11/30 17:03:42, 0] ../lib/util/debug.c:595(reopen_logs_internal)
  48. Unable to open new log file '/var/log/samba/log.nmbd': Permission denied
  49. [2020/11/30 17:03:42, 0] ../source3/nmbd/nmbd.c:902(main)
  50. nmbd version 4.1.7 started.
  51. Copyright Andrew Tridgell and the Samba Team 1992-2013
  52. smbd[2020/11/30 17:03:42, 0] ../lib/util/debug.c:595(reopen_logs_internal)
  53. Unable to open new log file '/var/log/samba/log.smbd': Permission denied
  54. [2020/11/30 17:03:42, 0] ../source3/lib/dumpcore.c:249(dump_core_setup)
  55. Unable to setup corepath for smbd: Operation not permitted
  56. [2020/11/30 17:03:42, 0] ../lib/util/debug.c:595(reopen_logs_internal)
  57. Unable to open new log file '/var/log/samba/log.smbd': Permission denied
  58. [2020/11/30 17:03:42, 0] ../source3/smbd/server.c:1205(main)
  59. smbd version 4.1.7 started.
  60. Copyright Andrew Tridgell and the Samba Team 1992-2013
  61. .
  62. + exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement