|
Replies:
10
-
Last Post:
May 5, 2009 7:23 AM
by: wleonard
|
|
|
Posts:
38
From:
Registered:
3/28/08
|
|
|
|
Reboot needed after installing CIFS services
Posted:
Aug 22, 2008 5:15 PM
|
|
I was looking to amend the wiki for configuring CIFS to include a
need to reboot after installing the CIFS services (#pkg install
SUNWsmbs and #pkg install SUNWsmbskr) on opensolaris. (which happens to
me and every other person I discussed the issue with, although, that
was only 2 or 3 people). Without a reboot the services are simply not
found when attempting to enable (<code> </code><code># svcadm
enable -r smb/server)</code>, nor do they show up when you
list the services (they don't show up as enabled or as disabled, they
just don't show up).
After a reboot (# reboot, or a power cycle) the services show up and
can be enabled.
When I attempted to add that to the wiki, I was assured that it is not
the correct behavior,
that a reboot after installing them is not supposed to be necessary,
and to post this as a bug to this discussion group..
Well, it happens on any clean install of opensolaris 805 (official
release), as well as b95 of the 811 beta. Pretty easy to describe
considering osol only releases a build every 6 months<code> .
The wiki:
http://www.genunix.org/wiki/index.php/Getting_Started_With_the_Solaris_CIFS_Service
When I asked about this in IRC I was told that this is because those
are "kernel level services" and as such a reboot is needed.
Can anyone here say he/she did NOT need to reboot after installing
those services (thus, justifying not adding it to the wiki, at least as
a workaround...)
Can anyone confirm that they did need to reboot?
And can anyone please tell me if this is, or is not a bug?</code>
_______________________________________________
cifs-discuss mailing list
cifs-discuss at opensolaris dot org
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
|
|
|
Posts:
356
From:
CA
Registered:
2/26/07
|
|
|
|
Re: Reboot needed after installing CIFS services
Posted:
Aug 22, 2008 5:50 PM
in response to: taltamir
|
|
Tal Tamir wrote: > I was looking to amend the wiki for configuring CIFS to include a need > to reboot after installing the CIFS services (#pkg install SUNWsmbs and > #pkg install SUNWsmbskr) on opensolaris. (which happens to me and every > other person I discussed the issue with, although, that was only 2 or 3 > people). Without a reboot the services are simply not found when > attempting to enable (|**||# *svcadm enable -r smb/server)*|, nor do > they show up when you list the services (they don't show up as enabled > or as disabled, they just don't show up). > After a reboot (# reboot, or a power cycle) the services show up and can > be enabled.
The CIFS manifest is probably not being imported into SMF. Try this before enabling the service:
svccfg import /var/svc/manifest/network/smb/server.xml
> When I attempted to add that to the wiki, I was assured that it is not > the correct behavior, that a reboot after installing them is not > supposed to be necessary, and to post this as a bug to this discussion > group..
A reboot is not a requirement after installing the CIFS packages. Reporting bugs:
http://bugs.opensolaris.org/ > Well, it happens on any clean install of opensolaris 805 (official > release), as well as b95 of the 811 beta. Pretty easy to describe > considering osol only releases a build every 6 months|*.
Are you sure you are seeing the same thing with b95? OpenSolaris 2008.05 requires that the CIFS packages be downloaded and installed separately. A b95 install should include the CIFS service.
> The wiki: > http://www.genunix.org/wiki/index.php/Getting_Started_With_the_Solaris_CIFS_Service > > When I asked about this in IRC I was told that this is because those are > "kernel level services" and as such a reboot is needed. > > Can anyone here say he/she did NOT need to reboot after installing those > services (thus, justifying not adding it to the wiki, at least as a > workaround...) > Can anyone confirm that they did need to reboot? > > And can anyone please tell me if this is, or is not a bug?*|
This appears to be an OpenSolaris 2008.05 bug. We'll need to check if it's also a bug with non-IPS packages.
Alan _______________________________________________ cifs-discuss mailing list cifs-discuss at opensolaris dot org http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
|
|
|
|
Posts:
877
From:
GB
Registered:
10/24/07
|
|
|
|
Re: Reboot needed after installing CIFS services
Posted:
Aug 23, 2008 3:04 AM
in response to: taltamir
To: Projects » cifs » discuss
|
|
That's the behaviour I think I've seen too. I've got a new server to install at work next week, so I'll give it a try and let you know how it goes for me without a reboot.
|
|
|
|
Posts:
877
From:
GB
Registered:
10/24/07
|
|
|
|
Re: Reboot needed after installing CIFS services
Posted:
Aug 26, 2008 7:39 AM
in response to: myxiplx
To: Projects » cifs » discuss
|
|
I just checked on OpenSolaris 2008.11 (build 95) and didn't need a reboot at all.
The instructions I use are based on these: http://blogs.sun.com/timthomas/entry/configuring_the_opensolaris_cifs_server
Note that you need to restart the smb server after joining the domain. Once that's done shares appear on the server as soon as I set the appropriate sharesmb properties.
|
|
|
|
Posts:
877
From:
GB
Registered:
10/24/07
|
|
|
|
Re: Reboot needed after installing CIFS services
Posted:
Aug 26, 2008 7:40 AM
in response to: myxiplx
To: Projects » cifs » discuss
|
|
Sorry, bad info on my part. I did actually need to reboot to install the services, but not to configure them.
My previous testing had been with snv_95, which had the services included in the build I used so didn't need a reboot.
|
|
|
|
Posts:
356
From:
CA
Registered:
2/26/07
|
|
|
|
Re: Reboot needed after installing CIFS services
Posted:
Aug 26, 2008 12:04 PM
in response to: myxiplx
|
|
Ross wrote: > Sorry, bad info on my part. I did actually need to reboot to install the services, but not to configure them. > > My previous testing had been with snv_95, which had the services included in the build I used so didn't need a reboot. > --
There appear to be two issues, which are being investigated.
1. The SMF manifest is not being imported automatically, which, on Nevada, is done by i.manifest. Workaround:
svccfg import /var/svc/manifest/network/smb/server.xml
2. The smbsrv pseudo device is not accessible, which results in the following log message: smbd: kernel bind error: No such file or directory
I haven't tested this on OpenSolaris 2008.05 but I think the following should work:
rem_drv smbsrv add_drv smbsrv
I'll have more information soon.
Alan
_______________________________________________ cifs-discuss mailing list cifs-discuss at opensolaris dot org http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
|
|
|
|
Posts:
356
From:
CA
Registered:
2/26/07
|
|
|
|
Re: Reboot needed after installing CIFS services
Posted:
Aug 27, 2008 11:50 AM
in response to: wright
|
|
One of my colleagues reported the following this morning:
> An update on testing: > > I installed 2008.05 (snv_86) on an old Ferrari laptop, and > followed the steps (below) ... > > #pkg install SUNWsmbs > #pkg install SUNWsmbskr > #svccfg import /var/svc/manifest/network/smb/server.xml > #rem_drv smbsrv > #add_drv smbsrv > #svcadm enable -r smb/server > > I then successfully mapped a share in workgroup mode without having > to reboot. ...
He noted the following problem, which was due to 6671618 (smbstat: kstat lookups failed for smb) and was fixed in snv_88.
> The smbstat command failed however with "smbstat: kstat lookups failed for > smb. Your kernel module may > not be loaded." I checked in /devices/pseudo and smbsrv@0:smbsrv is there, > so I'm not sure what's causing > this error. The log no longer shows the smbd: kernel bind error.
Alan --
Alan M Wright wrote: > Ross wrote: >> Sorry, bad info on my part. I did actually need to reboot to install the services, but not to configure them. >> >> My previous testing had been with snv_95, which had the services included in the build I used so didn't need a reboot. >> -- > > There appear to be two issues, which are being investigated. > > 1. The SMF manifest is not being imported automatically, > which, on Nevada, is done by i.manifest. Workaround: > > svccfg import /var/svc/manifest/network/smb/server.xml > > 2. The smbsrv pseudo device is not accessible, which results in > the following log message: > smbd: kernel bind error: No such file or directory > > I haven't tested this on OpenSolaris 2008.05 but I think the > following should work: > > rem_drv smbsrv > add_drv smbsrv > > I'll have more information soon. > > Alan > > _______________________________________________ > cifs-discuss mailing list > cifs-discuss at opensolaris dot org > http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
_______________________________________________ cifs-discuss mailing list cifs-discuss at opensolaris dot org http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
|
|
|
|
Posts:
137
From:
US
Registered:
1/2/07
|
|
|
|
Re: Reboot needed after installing CIFS services
Posted:
Apr 30, 2009 2:08 PM
in response to: wright
To: Projects » cifs » discuss
|
|
Do we know if this issue of needing to reboot or reset the drivers has been addressed yet? I never saw that a bug was filed. If not, I'll go ahead and file one.
Thanks, Brian
|
|
|
|
Posts:
356
From:
CA
Registered:
2/26/07
|
|
|
|
Re: [cifs-discuss] Reboot needed after installing CIFS services
Posted:
Apr 30, 2009 3:02 PM
in response to: wleonard
|
|
Feel free to file the CR.
Alan
On 04/30/09 14:08, Brian Leonard wrote: > Do we know if this issue of needing to reboot or reset the drivers has been addressed yet? I never saw that a bug was filed. If not, I'll go ahead and file one. > > Thanks, > Brian
_______________________________________________ cifs-discuss mailing list cifs-discuss at opensolaris dot org http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
|
|
|
|
Posts:
137
From:
US
Registered:
1/2/07
|
|
|
|
|
Posts:
13
From:
Registered:
8/21/08
|
|
|
|
Re: Reboot needed after installing CIFS services
Posted:
Aug 23, 2008 9:44 AM
in response to: taltamir
To: Projects » cifs » discuss
|
|
I just discovered the same issue - and that rebooting was the resolution.
Posted as much here: http://www.opensolaris.org/jive/thread.jspa?threadID=70329&tstart=0
I must have searched the forums before you posted last night...
[edit] Taltamir: I re-added your note to the wiki, with a line explaining WHY the reboot step was needed. I also added a post on the 'discuss' page. If your useful contribution had not been purged, it would have saved me 6+ hours.
When someone has a cleaner fix, and has verified it, please update the wiki - accordingly. [/edit]
|
|
|
|
|