1826446 Members
4192 Online
109692 Solutions
New Discussion

Samba Help..

 
Larry Scheetz
Advisor

Samba Help..

I have downlaoded Samba-2.2.3a-sd-11.00.depot.gz and installed. For some reason it is only putting stuff under the /opt/samba. It is not installing none of the programs (smbstart or install or nothing)?

Any ideas or help?

A Happy heart makes the face cheerful
15 REPLIES 15
harry d brown jr
Honored Contributor

Re: Samba Help..


You probably expected it to put either links or the binaries in the /usr/local/bin directory. You can do it manually.

# ls -l /opt/samba/bin/startsmb /opt/samba/script/startsmb


is the start for smb.

live free or die
harry
Live Free or Die
Larry Scheetz
Advisor

Re: Samba Help..

When looking in the /opt/samba/bin I dont even have the startsmb or any scripts? I see another box that is has been installed on and there are scripts and stuff under /etc/opt/samba which is not on mine either. I have no clue why it is not installing everything?

A Happy heart makes the face cheerful
Sajid_1
Honored Contributor

Re: Samba Help..

hi,

Do a search on the system and check for the files. Check the install log file and see if there was any errors/warnings. If you suspect any issues with the zip file, then download it again and install it. Do the checksum test after you have the file in the system and make sure it did transfer everything alright. Also while doing install, check and mark all components you need to install. Login as root and do the install.

gl,
learn unix ..
harry d brown jr
Honored Contributor

Re: Samba Help..

Try doing a "re-install", forcing all files to be reinstalled.

let us know how that works.

live free or die
harry
Live Free or Die
Larry Scheetz
Advisor

Re: Samba Help..

I downloaded again fine. Did install and forced it and same thing. This is unbelievable. I checked the log file and it has no errors and said it is installed fine in /opt/samba. There is still no programs to create smb.conf or smbstart or nothing. Really goofy.
A Happy heart makes the face cheerful
Mark Fenton
Esteemed Contributor

Re: Samba Help..

I believe those utilities are part of HP's CIFS-9000 product, and are not part of the normal samba distribution.

hth
Mark
harry d brown jr
Honored Contributor

Re: Samba Help..


Larry,

Strange! Very Strange!

You are installing this as root, correct? What OS are you putting it on, 11.00 or 11.11 (11i)??





I guess you could try HP's samba:
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProducts.pl?group_type=search&group_name=CIFS&search_free=1&search_trial=1&search_buy=1

live free or die
harry
Live Free or Die
Sajid_1
Honored Contributor

Re: Samba Help..

hi,

before installing it again and again, first remove the existing one. Then install fresh from the depot. Check the log file during install. Check the other system and make sure that your permissions are right.

gl,
learn unix ..
Sridhar Bhaskarla
Honored Contributor

Re: Samba Help..

Hi,

SAMBA is installed only under /opt/samba unless you change your target in swinstall.

There are no programs by name smbstart or install.

You start samba by running the commands /opt/samba/bin/smbd and nmbd.

You can use "swat" to easily configure the shares and hence smb.conf. Or you can manually create it using an editor in /opt/samba/lib directory. Look at smb.conf man page for syntax.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Darren Prior
Honored Contributor

Re: Samba Help..

Hi,

You haven't mentioned where you obtained your Samba depot, perhaps you could try another source in case there are problems with that depot. Alternatively the HP CIFS distribution (available from software.hp.com) has extra scripts to ease setting up.

regards,

Darren.
Calm down. It's only ones and zeros...
T G Manikandan
Honored Contributor

Re: Samba Help..

Try downloading the latest package from www.samba.org and installing them.

I have had same problems with gcc when I downloaded from hpux.cs.utah.edu and installing them.
There were no files after installing them.


THanks
Rory R Hammond
Trusted Contributor

Re: Samba Help..

I have installed samba on several HPUX 11 machines. all say that they are version 2.0.9.

One "version" uses:
/opt/samba/bin/startsmb
/opt/samba/bin/stopsmb

The other "version" uses
${SAMBA_DIR:=/opt/samba}/bin/smbd -D -d ${SAMBA_SMBD_DEBUG_LEVEL:=0} -l ${SAMBA_SMBD_LOG:=/var/opt/samba/log.smb}
${SAMBA_DIR:=/opt/samba}/bin/nmbd -D -d ${SAMBA_NMBD_DEBUG_LEVEL:=0} -l ${SAMBA_NMBD_LOG:=/var/opt/samba/log.nmb}


Sound like your confusion might be due to where you picked your source.

Ror
There are a 100 ways to do things and 97 of them are right
John Dvorchak
Honored Contributor

Re: Samba Help..

You can use swlist to find the files that were installed by swinstall. First determine the name of the fileset:

root> swlist |grep -i samba
samba 2.2.3a samba

Then look for the files:

root> swlist -l file samba | more

That will list all of the files installed and the full path to where it installed them.

If it has wheels or a skirt, you can't afford it.
Kelli Ward
Trusted Contributor

Re: Samba Help..

Hi,

I would highly recommend installing Samba from HP. You can find it on your Aplication CD's CIFS Client in CD 1 and CIFS Server on CD 4 or 5 typically. (Might have reversed them)
Or from software.hp.com, just look for CIFS.

I have had problems in the past using samba downloaded from samba.org

Good luck,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Stanley Merkx
Advisor

Re: Samba Help..

This sounds like you have the Samba.org depot. This depot only has generic Samba stuff.
If you do not need any of the fixes in 2.2.4 or 2.2.5, you should download the HP depot from software.hp.com (Prod.no. B8725AA) this should contain all the stuff you are missing.

Although it does add the links /sbin/rc(1|2).d/(K100|S900)samba, the actual script they point to is in /opt/samba/script. You'll need to copy this to /sbin/init.d yourself (I believe this is covered in the README).

Stanley.