Hi All, I have a problem with upgrade samba on Solaris 10 (x86). The current version is 3.0.25b (distributed with Solaris 10). I am trying to upgrade version to 3.4.5. I compiled samba from sources, has not any problem with make and installation. Now I have 2 different versions and when I am running "svcadm enable samba" I am receiving old version. The old version installed under: /usr/sfw/sbin, new one under /usr/sbin... # /usr/sfw/sbin/smbd -V Version 3.0.25a # /usr/sbin/smbd -V Version 3.4.5 # ps -ef | grep smbd root 7531 7305 0 17:55:32 pts/1 0:00 grep smbd root 6981 6979 0 15:19:58 ? 0:00 /usr/sfw/sbin/smbd -D root 6979 1 0 15:19:58 ? 0:00 /usr/sfw/sbin/smbd -D Can you, please help me here? Thanks a lot, Inessa
confirm 91cc11461a9aa5e7548d5df97d93dade856b7c68 _____________________________________________ From: Chernoguz, Inessa Sent: Thursday, December 16, 2010 5:57 PM To: 'samba at lists.samba.org' Subject: Samba upgrade question Hi All, I have a problem with upgrade samba on Solaris 10 (x86). The current version is 3.0.25b (distributed with Solaris 10). I am trying to upgrade version to 3.4.5. I compiled samba from sources, has not any problem with make and installation. Now I have 2 different versions and when I am running "svcadm enable samba" I am receiving old version. The old version installed under: /usr/sfw/sbin, new one under /usr/sbin... # /usr/sfw/sbin/smbd -V Version 3.0.25a # /usr/sbin/smbd -V Version 3.4.5 # ps -ef | grep smbd root 7531 7305 0 17:55:32 pts/1 0:00 grep smbd root 6981 6979 0 15:19:58 ? 0:00 /usr/sfw/sbin/smbd -D root 6979 1 0 15:19:58 ? 0:00 /usr/sfw/sbin/smbd -D Can you, please help me here? Thanks a lot, Inessa
You would have to define a new Solaris 10 service for the new samba. I don't know how to do this myself- the solaris documentation should say how, but it always looked pretty complicated to me. You have to define the dependencies. You are probably better off creating an /etc/init.d/samba script and sym linking it to the appropriate rc.d directions- the same way you would have done it in Solaris 9 or earlier. "svcs -a" will list it as a legacy service. This is what I did. You will need to use "svcadm" to disable the bundled samba version. I believe Solaris Express , just released, has samba 3.4.x or 3.5.x higher included. -----Original Message----- From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] On Behalf Of Chernoguz, Inessa Sent: Thursday, December 16, 2010 10:57 AM To: samba at lists.samba.org Subject: [Samba] Samba upgrade question Hi All, I have a problem with upgrade samba on Solaris 10 (x86). The current version is 3.0.25b (distributed with Solaris 10). I am trying to upgrade version to 3.4.5. I compiled samba from sources, has not any problem with make and installation. Now I have 2 different versions and when I am running "svcadm enable samba" I am receiving old version. The old version installed under: /usr/sfw/sbin, new one under /usr/sbin... # /usr/sfw/sbin/smbd -V Version 3.0.25a # /usr/sbin/smbd -V Version 3.4.5 # ps -ef | grep smbd root 7531 7305 0 17:55:32 pts/1 0:00 grep smbd root 6981 6979 0 15:19:58 ? 0:00 /usr/sfw/sbin/smbd -D root 6979 1 0 15:19:58 ? 0:00 /usr/sfw/sbin/smbd -D Can you, please help me here? Thanks a lot, Inessa -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
On Thu, Dec 16, 2010 at 07:56:55AM -0800, Chernoguz, Inessa wrote:> Hi All, > > I have a problem with upgrade samba on Solaris 10 (x86). The current > version is 3.0.25b (distributed with Solaris 10). I am trying to > upgrade version to 3.4.5. I compiled samba from sources, has not any > problem with make and installation. Now I have 2 different versions > and when I am running "svcadm enable samba" I am receiving old > version. The old version installed under: /usr/sfw/sbin, new one > under /usr/sbin... > > # /usr/sfw/sbin/smbd -V > Version 3.0.25a > # /usr/sbin/smbd -V > Version 3.4.5 > # ps -ef | grep smbd > root 7531 7305 0 17:55:32 pts/1 0:00 grep smbd > root 6981 6979 0 15:19:58 ? 0:00 /usr/sfw/sbin/smbd -D > root 6979 1 0 15:19:58 ? 0:00 /usr/sfw/sbin/smbd -D > > Can you, please help me here? > > Thanks a lot, > InessaAs someone already replied, you need to disable the vendor provided Samba first: # svcadm disable samba Then set up SysV init scripts for your new, custom installation of Samba or something via SMF. Alternately, Sunfreeware or Blastwave may have pre-packaged Samba installs that include these scripts. I prefer sticking with the vendor-provided packages when possible (hand built packages don't scale administratively). The latest Sun version of Samba is 3.0.37 for Solaris 10 and I believe they have a refresh due out shortly. Thanks, Ray