Advertisement
Ekke42

SMBfail

Nov 3rd, 2017
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.11 KB | None | 0 0
  1. root@omnios:~# cat /var/svc/log/system-filesystem-local:default.log
  2. [ Jul 17 21:04:51 Enabled. ]
  3. [ Jul 17 21:04:58 Executing start method ("/lib/svc/method/fs-local"). ]
  4. [ Jul 17 21:04:58 Method "start" exited with status 0. ]
  5. [ Jul 17 23:20:06 Enabled. ]
  6. [ Jul 17 23:20:10 Executing start method ("/lib/svc/method/fs-local"). ]
  7. [ Jul 17 23:20:10 Method "start" exited with status 0. ]
  8. [ Jul 18 00:29:20 Enabled. ]
  9. [ Jul 18 00:29:24 Executing start method ("/lib/svc/method/fs-local"). ]
  10. [ Jul 18 00:29:24 Method "start" exited with status 0. ]
  11. [ Jul 18 00:39:41 Enabled. ]
  12. [ Jul 18 00:39:46 Executing start method ("/lib/svc/method/fs-local"). ]
  13. [ Jul 18 00:39:46 Method "start" exited with status 0. ]
  14. [ Jul 18 02:08:46 Enabled. ]
  15. [ Jul 18 02:08:50 Executing start method ("/lib/svc/method/fs-local"). ]
  16. [ Jul 18 02:08:50 Method "start" exited with status 0. ]
  17. [ Sep 15 20:54:42 Enabled. ]
  18. [ Sep 15 20:55:19 Executing start method ("/lib/svc/method/fs-local"). ]
  19. [ Sep 15 20:55:20 Method "start" exited with status 0. ]
  20. [ Sep 26 21:21:03 Stopping because service disabled. ]
  21. [ Sep 26 21:21:03 Executing stop method (null). ]
  22. [ Sep 26 21:58:32 Enabled. ]
  23. [ Sep 26 21:58:37 Executing start method ("/lib/svc/method/fs-local"). ]
  24. [ Sep 26 21:58:37 Method "start" exited with status 0. ]
  25. [ Oct 30 00:13:00 Enabled. ]
  26. [ Oct 30 00:13:04 Executing start method ("/lib/svc/method/fs-local"). ]
  27. WARNING: /usr/sbin/zfs mount -a failed: exit status 1
  28. [ Oct 30 00:13:05 Method "start" exited with status 95. ]
  29. [ Nov 2 23:37:12 Enabled. ]
  30. [ Nov 2 23:37:17 Executing start method ("/lib/svc/method/fs-local"). ]
  31. WARNING: /usr/sbin/zfs mount -a failed: exit status 1
  32. [ Nov 2 23:37:17 Method "start" exited with status 95. ]
  33.  
  34. root@omnios:~# svcs -l smb/server
  35. fmri svc:/network/smb/server:default
  36. name smbd daemon
  37. enabled true
  38. state offline
  39. next_state none
  40. state_time Thu Nov 2 23:37:12 2017
  41. restarter svc:/system/svc/restarter:default
  42. dependency require_any/error svc:/milestone/network (online)
  43. dependency require_all/error svc:/system/filesystem/local (maintenance)
  44. dependency require_all/none svc:/system/idmap:default (online)
  45. dependency require_all/none svc:/network/smb/client:default (offline)
  46. root@omnios:~# sharemgr start -P smb zfs
  47. SMB: Unable to enable service
  48. SMB: Unable to enable service
  49. SMB: Unable to enable service
  50. ^C
  51. root@omnios:~# svcs -l smb/server
  52. fmri svc:/network/smb/server:default
  53. name smbd daemon
  54. enabled true
  55. state offline
  56. next_state none
  57. state_time Thu Nov 2 23:37:12 2017
  58. restarter svc:/system/svc/restarter:default
  59. dependency require_any/error svc:/milestone/network (online)
  60. dependency require_all/error svc:/system/filesystem/local (maintenance)
  61. dependency require_all/none svc:/system/idmap:default (online)
  62. dependency require_all/none svc:/network/smb/client:default (offline)
  63. root@omnios:~# cat /var/svc/log/system-filesystem-local:default.log
  64. [ Jul 17 21:04:51 Enabled. ]
  65. [ Jul 17 21:04:58 Executing start method ("/lib/svc/method/fs-local"). ]
  66. [ Jul 17 21:04:58 Method "start" exited with status 0. ]
  67. [ Jul 17 23:20:06 Enabled. ]
  68. [ Jul 17 23:20:10 Executing start method ("/lib/svc/method/fs-local"). ]
  69. [ Jul 17 23:20:10 Method "start" exited with status 0. ]
  70. [ Jul 18 00:29:20 Enabled. ]
  71. [ Jul 18 00:29:24 Executing start method ("/lib/svc/method/fs-local"). ]
  72. [ Jul 18 00:29:24 Method "start" exited with status 0. ]
  73. [ Jul 18 00:39:41 Enabled. ]
  74. [ Jul 18 00:39:46 Executing start method ("/lib/svc/method/fs-local"). ]
  75. [ Jul 18 00:39:46 Method "start" exited with status 0. ]
  76. [ Jul 18 02:08:46 Enabled. ]
  77. [ Jul 18 02:08:50 Executing start method ("/lib/svc/method/fs-local"). ]
  78. [ Jul 18 02:08:50 Method "start" exited with status 0. ]
  79. [ Sep 15 20:54:42 Enabled. ]
  80. [ Sep 15 20:55:19 Executing start method ("/lib/svc/method/fs-local"). ]
  81. [ Sep 15 20:55:20 Method "start" exited with status 0. ]
  82. [ Sep 26 21:21:03 Stopping because service disabled. ]
  83. [ Sep 26 21:21:03 Executing stop method (null). ]
  84. [ Sep 26 21:58:32 Enabled. ]
  85. [ Sep 26 21:58:37 Executing start method ("/lib/svc/method/fs-local"). ]
  86. [ Sep 26 21:58:37 Method "start" exited with status 0. ]
  87. [ Oct 30 00:13:00 Enabled. ]
  88. [ Oct 30 00:13:04 Executing start method ("/lib/svc/method/fs-local"). ]
  89. WARNING: /usr/sbin/zfs mount -a failed: exit status 1
  90. [ Oct 30 00:13:05 Method "start" exited with status 95. ]
  91. [ Nov 2 23:37:12 Enabled. ]
  92. [ Nov 2 23:37:17 Executing start method ("/lib/svc/method/fs-local"). ]
  93. WARNING: /usr/sbin/zfs mount -a failed: exit status 1
  94. [ Nov 2 23:37:17 Method "start" exited with status 95. ]
  95. [ Nov 3 23:03:02 Leaving maintenance because clear requested. ]
  96. [ Nov 3 23:03:02 Enabled. ]
  97. [ Nov 3 23:03:02 Executing start method ("/lib/svc/method/fs-local"). ]
  98. WARNING: /usr/sbin/zfs mount -a failed: exit status 1
  99. [ Nov 3 23:03:02 Method "start" exited with status 95. ]
  100. root@omnios:~#
  101.  
  102. root@omnios:~# zfs get all | grep mounted
  103. data mounted yes -
  104. data/temp mounted yes -
  105. data/zone mounted yes -
  106. data/zone/eveNG mounted yes -
  107. data/zone/ipadm mounted yes -
  108. data/zone/openVAS mounted yes -
  109. data/zone/pihole mounted yes -
  110. data/zone/splunk mounted yes -
  111. data/zone/test0 mounted yes -
  112. data/zone/trisul mounted yes -
  113. data/zones mounted no -
  114. rpool mounted yes -
  115. rpool/ROOT mounted no -
  116. rpool/ROOT/omnios mounted no -
  117. rpool/ROOT/omnios-1 mounted no -
  118. rpool/ROOT/omnios-1-backup-1 mounted no -
  119. rpool/ROOT/omnios-1-backup-2 mounted no -
  120. rpool/ROOT/omnios-1-backup-3 mounted no -
  121. rpool/ROOT/omnios-1-backup-4 mounted no -
  122. rpool/ROOT/omnios-2 mounted no -
  123. rpool/ROOT/omnios-3 mounted no -
  124. rpool/ROOT/omnios-4 mounted no -
  125. rpool/ROOT/omnios-4-backup-1 mounted no -
  126. rpool/ROOT/omnios-5 mounted no -
  127. rpool/ROOT/omnios-backup-1 mounted no -
  128. rpool/ROOT/omnios-backup-2 mounted no -
  129. rpool/ROOT/pre_activate_17.06free_1509575701 mounted yes -
  130. rpool/ROOT/pre_napp-it-17.06free mounted no -
  131. tank mounted yes -
  132. tank/.system mounted no -
  133. tank/.system/configs-66311c036e824820af44b2dbf4c55f10 mounted no -
  134. tank/.system/cores mounted no -
  135. tank/.system/rrd-66311c036e824820af44b2dbf4c55f10 mounted no -
  136. tank/.system/samba4 mounted no -
  137. tank/.system/syslog-66311c036e824820af44b2dbf4c55f10 mounted no -
  138. tank/backup mounted yes -
  139. tank/incomming mounted yes -
  140. tank/media mounted yes -
  141. tank/qbvolumes mounted yes -
  142. tank/zones mounted yes -
  143. tank/zones/qb0 mounted yes -
  144. tank/zones/test1 mounted yes -
  145. tank/zones/uni0 mounted yes -
  146. root@omnios:~#
  147.  
  148. root@omnios:~# cat /var/svc/log/system-filesystem-local:default.log
  149. [ Jul 17 21:04:51 Enabled. ]
  150. [ Jul 17 21:04:58 Executing start method ("/lib/svc/method/fs-local"). ]
  151. [ Jul 17 21:04:58 Method "start" exited with status 0. ]
  152. [ Jul 17 23:20:06 Enabled. ]
  153. [ Jul 17 23:20:10 Executing start method ("/lib/svc/method/fs-local"). ]
  154. [ Jul 17 23:20:10 Method "start" exited with status 0. ]
  155. [ Jul 18 00:29:20 Enabled. ]
  156. [ Jul 18 00:29:24 Executing start method ("/lib/svc/method/fs-local"). ]
  157. [ Jul 18 00:29:24 Method "start" exited with status 0. ]
  158. [ Jul 18 00:39:41 Enabled. ]
  159. [ Jul 18 00:39:46 Executing start method ("/lib/svc/method/fs-local"). ]
  160. [ Jul 18 00:39:46 Method "start" exited with status 0. ]
  161. [ Jul 18 02:08:46 Enabled. ]
  162. [ Jul 18 02:08:50 Executing start method ("/lib/svc/method/fs-local"). ]
  163. [ Jul 18 02:08:50 Method "start" exited with status 0. ]
  164. [ Sep 15 20:54:42 Enabled. ]
  165. [ Sep 15 20:55:19 Executing start method ("/lib/svc/method/fs-local"). ]
  166. [ Sep 15 20:55:20 Method "start" exited with status 0. ]
  167. [ Sep 26 21:21:03 Stopping because service disabled. ]
  168. [ Sep 26 21:21:03 Executing stop method (null). ]
  169. [ Sep 26 21:58:32 Enabled. ]
  170. [ Sep 26 21:58:37 Executing start method ("/lib/svc/method/fs-local"). ]
  171. [ Sep 26 21:58:37 Method "start" exited with status 0. ]
  172. [ Oct 30 00:13:00 Enabled. ]
  173. [ Oct 30 00:13:04 Executing start method ("/lib/svc/method/fs-local"). ]
  174. WARNING: /usr/sbin/zfs mount -a failed: exit status 1
  175. [ Oct 30 00:13:05 Method "start" exited with status 95. ]
  176. [ Nov 2 23:37:12 Enabled. ]
  177. [ Nov 2 23:37:17 Executing start method ("/lib/svc/method/fs-local"). ]
  178. WARNING: /usr/sbin/zfs mount -a failed: exit status 1
  179. [ Nov 2 23:37:17 Method "start" exited with status 95. ]
  180. [ Nov 3 23:03:02 Leaving maintenance because clear requested. ]
  181. [ Nov 3 23:03:02 Enabled. ]
  182. [ Nov 3 23:03:02 Executing start method ("/lib/svc/method/fs-local"). ]
  183. WARNING: /usr/sbin/zfs mount -a failed: exit status 1
  184. [ Nov 3 23:03:02 Method "start" exited with status 95. ]
  185. root@omnios:~# svcadm -v clear svc:/system/filesystem/local:default
  186. Action maint_off set for svc:/system/filesystem/local:default.
  187. root@omnios:~# svcadm -v enable svc:/system/filesystem/local:default
  188. svc:/system/filesystem/local:default enabled.
  189. root@omnios:~# svcs -l smb/server
  190. fmri svc:/network/smb/server:default
  191. name smbd daemon
  192. enabled true
  193. state offline
  194. next_state none
  195. state_time Thu Nov 2 23:37:12 2017
  196. restarter svc:/system/svc/restarter:default
  197. dependency require_any/error svc:/milestone/network (online)
  198. dependency require_all/error svc:/system/filesystem/local (maintenance)
  199. dependency require_all/none svc:/system/idmap:default (online)
  200. dependency require_all/none svc:/network/smb/client:default (offline)
  201. root@omnios:~# svcadm enable -r smb/server
  202. svcadm: svc:/milestone/network depends on svc:/network/physical, which has multiple instances.
  203. root@omnios:~# sharemgr start -P smb zfs
  204. SMB: Unable to enable service
  205. SMB: Unable to enable service
  206. SMB: Unable to enable service
  207. ^C
  208. root@omnios:~#
  209.  
  210. >>>>>>>>>>>>>>>>>>>> Interesting finding:
  211.  
  212. root@omnios:~# pkg verify
  213. PACKAGE STATUS
  214. pkg://omnios/SUNWcs ERROR
  215. file: lib/svc/manifest/system/keymap.xml
  216. ERROR: Size: 4832 bytes should be 4835
  217. ERROR: Hash: c4ab64884fe769201c498813cd44660b2e9773c3 should be bac5dc062bb31b946dc03342f88cca4bdea89351
  218. file: usr/bin/which
  219. ERROR: Mode: 0700 should be 0555
  220. pkg://omnios/SUNWcsd ERROR
  221. dir: dev/zcons
  222. ERROR: Group: 'root (0)' should be 'sys (3)'
  223. pkg://omnios/security/sudo ERROR
  224. file: etc/sudoers
  225. ERROR: Mode: 0640 should be 0440
  226. pkg://omnios/system/boot/real-mode ERROR
  227. file: boot/solaris/bootenv.rc
  228. ERROR: Group: 'root (0)' should be 'sys (3)'
  229. pkg://omnios/web/ca-bundle ERROR
  230. dir: etc/ssl/certs
  231. ERROR: Mode: 0700 should be 0755
  232.  
  233. root@omnios:~# zpool status rpool
  234. pool: rpool
  235. state: ONLINE
  236. scan: scrub repaired 0 in 0h2m with 0 errors on Fri Nov 3 23:34:42 2017
  237. config:
  238.  
  239. NAME STATE READ WRITE CKSUM
  240. rpool ONLINE 0 0 0
  241. c3t5d0 ONLINE 0 0 0
  242.  
  243. errors: No known data errors
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement