1 |
On Mon, Jun 21, 2010 at 04:44:58 -0500, Michael Sullivan wrote: |
2 |
> I just rebooted the computer to make sure this wasn't some weird RAM |
3 |
> remnant, but the computer booted up: |
4 |
> |
5 |
> carter ~ # /etc/init.d/samba status |
6 |
> * status: started |
7 |
> carter ~ # cat /etc/samba/smb.conf |
8 |
> [global] |
9 |
> workgroup = MYGROUP |
10 |
> security = user |
11 |
> encrypt passwords = yes |
12 |
> guest account = guest |
13 |
> wins support = yes |
14 |
> local master = yes |
15 |
> os level = 99 |
16 |
> domain master = yes |
17 |
> preferred master = yes |
18 |
> hosts allow = 192.168.1. 127. |
19 |
> interfaces = eth0 |
20 |
> |
21 |
> [tmp] |
22 |
> path=/tmp |
23 |
> writeable=yes |
24 |
> |
25 |
> [homes] |
26 |
> path=/samba/michael |
27 |
> valid users=michael |
28 |
> writable=yes |
29 |
> carter ~ # testparm |
30 |
> Load smb config files from /etc/samba/smb.conf |
31 |
> rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) |
32 |
> Processing section "[tmp]" |
33 |
> Processing section "[homes]" |
34 |
> Loaded services file OK. |
35 |
> Server role: ROLE_STANDALONE |
36 |
> Press enter to see a dump of your service definitions |
37 |
> |
38 |
> [global] |
39 |
> workgroup = MYGROUP |
40 |
> interfaces = eth0 |
41 |
> guest account = guest |
42 |
> os level = 99 |
43 |
> preferred master = Yes |
44 |
> domain master = Yes |
45 |
> wins support = Yes |
46 |
> hosts allow = 192.168.1., 127. |
47 |
> |
48 |
> [tmp] |
49 |
> path = /tmp |
50 |
> read only = No |
51 |
> |
52 |
> [homes] |
53 |
> path = /samba/michael |
54 |
> valid users = michael |
55 |
> read only = No |
56 |
> |
57 |
> At the top there you see that Samba IS started. Under that you see MY |
58 |
> smb.conf, and at the bottom you see the smb.conf that's being loaded. |
59 |
> Nothing really in the logs that would suggest what's going on here: |
60 |
> |
61 |
> carter ~ # cat /var/log/samba/* |
62 |
> cat: /var/log/samba/cores: Is a directory |
63 |
> [2010/06/21 16:39:34, 0] nmbd/nmbd.c:854(main) |
64 |
> nmbd version 3.4.6 started. |
65 |
> Copyright Andrew Tridgell and the Samba Team 1992-2009 |
66 |
> [2010/06/21 16:39:34, 0] nmbd/asyncdns.c:155(start_async_dns) |
67 |
> started asyncdns process 20980 |
68 |
> [2010/06/21 16:39:34, 0] |
69 |
> nmbd/nmbd_become_dmb.c:337(become_domain_master_browser_wins) |
70 |
> become_domain_master_browser_wins: |
71 |
> Attempting to become domain master browser on workgroup MYGROUP, |
72 |
> subnet UNICAST_SUBNET. |
73 |
> [2010/06/21 16:39:34, 0] |
74 |
> nmbd/nmbd_become_dmb.c:351(become_domain_master_browser_wins) |
75 |
> become_domain_master_browser_wins: querying WINS server from IP |
76 |
> 192.168.1.2 for domain master browser name MYGROUP<1b> on workgroup |
77 |
> MYGROUP |
78 |
> [2010/06/21 16:39:40, 0] |
79 |
> nmbd/nmbd_become_dmb.c:110(become_domain_master_stage2) |
80 |
> ***** |
81 |
> |
82 |
> Samba server CARTER is now a domain master browser for workgroup |
83 |
> MYGROUP on subnet UNICAST_SUBNET |
84 |
> |
85 |
> ***** |
86 |
> [2010/06/21 16:39:40, 0] |
87 |
> nmbd/nmbd_become_dmb.c:292(become_domain_master_browser_bcast) |
88 |
> become_domain_master_browser_bcast: |
89 |
> Attempting to become domain master browser on workgroup MYGROUP on |
90 |
> subnet 192.168.1.2 |
91 |
> [2010/06/21 16:39:40, 0] |
92 |
> nmbd/nmbd_become_dmb.c:305(become_domain_master_browser_bcast) |
93 |
> become_domain_master_browser_bcast: querying subnet 192.168.1.2 for |
94 |
> domain master browser on workgroup MYGROUP |
95 |
> [2010/06/21 16:39:48, 0] |
96 |
> nmbd/nmbd_become_dmb.c:110(become_domain_master_stage2) |
97 |
> ***** |
98 |
> |
99 |
> Samba server CARTER is now a domain master browser for workgroup |
100 |
> MYGROUP on subnet 192.168.1.2 |
101 |
> |
102 |
> ***** |
103 |
> [2010/06/21 16:39:56, 0] |
104 |
> nmbd/nmbd_become_lmb.c:395(become_local_master_stage2) |
105 |
> ***** |
106 |
> |
107 |
> Samba name server CARTER is now a local master browser for workgroup |
108 |
> MYGROUP on subnet 192.168.1.2 |
109 |
> |
110 |
> ***** |
111 |
> [2010/06/21 16:39:33, 0] smbd/server.c:1073(main) |
112 |
> smbd version 3.4.6 started. |
113 |
> Copyright Andrew Tridgell and the Samba Team 1992-2009 |
114 |
> [2010/06/21 16:39:33, 0] printing/print_cups.c:103(cups_connect) |
115 |
> Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such |
116 |
> file or directory |
117 |
> [2010/06/21 16:39:33, 0] printing/print_cups.c:103(cups_connect) |
118 |
> Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such |
119 |
> file or directory |
120 |
> [2010/06/21 16:39:34, 0] smbd/server.c:457(smbd_open_one_socket) |
121 |
> smbd_open_once_socket: open_socket_in: Address already in use |
122 |
> [2010/06/21 16:39:34, 0] smbd/server.c:457(smbd_open_one_socket) |
123 |
> smbd_open_once_socket: open_socket_in: Address already in use |
124 |
> |
125 |
> |
126 |
> |
127 |
|
128 |
I recently ran into what appears to be the same issue on OpenBSD. For |
129 |
some reason commenting out the interfaces setting did it for me. I got a |
130 |
feeling there maybe a bug, but I haven't had time to look into it more. |
131 |
|
132 |
-- |
133 |
Best Regards, |
134 |
Greg Fitzgerald |