1832185 Members
3456 Online
110038 Solutions
New Discussion

SAMBA problem

 
so_2
Regular Advisor

SAMBA problem

Hi I have an hpux server running hpux B.11.23.
The samba is installed in it. But my attempts to start the samba service is not happening.
I am getting the prompt back without any message or error and samba is still not started.
I hope checking sama is running or not is through ps -ef |grep samba command only.
I tried ps -ef | grep smbd also because i am not sure what is the daemon running for samba.

please help how i will proceed.

Thanks
s.o
5 REPLIES 5
Rob Leadbeater
Honored Contributor

Re: SAMBA problem

Hi,

The services for samba are usually called smbd and nmbd...

If these aren't present then you'll need to find Samba's logs to work out why things aren't starting. It could well be a problem in your smb.conf file.

Hope this helps,

Regards,

Rob

P.S. Remember to assign points !
Rita C Workman
Honored Contributor

Re: SAMBA problem

How are you trying to start it ?

I just pathed /opt/samba/bin into our environment and run .. startsmb

Rgrds,
Rita
Leonid Mishkind
Frequent Advisor

Re: SAMBA problem

Try /etc/rc.config.d/samba
You have to check that:
RUN_SAMBA=1

Leonid Mishkind
Frequent Advisor

Re: SAMBA problem

Try /etc/rc.config.d/samba

you have to change:
RUN_SAMBA=1
Rasheed Tamton
Honored Contributor

Re: SAMBA problem

Hi,
If this is the first time you are trying to do this; then do as below.

Go to /etc/rc.config.d/
vi samba
Make the RUN_SAMBA=1 (from 0)
Save it.


cd /etc/opt/samba/
cp smb.example.conf smb.conf
(This is the config file for smb)

/sbin/init.d/samba start

ps -ef|grep mb (there should be two processes one smbd and the other nmbd)

Regards
Rasheed Tamton.