Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP CIFS Server 2.2g Administrator's Guide: HP-UX 11.0, 11i version 1 and 2 > Chapter 2 Installing and Configuring the HP CIFS Server

Step 4: Starting the HP CIFS Server

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

Run the script below to start Samba.

/opt/samba/bin/startsmb

When the command successfully starts Samba, a message is displayed indicating the specific processes that have been started. When the script is successful, the exit value is 0. If the script fails, the exit value is 1.

Samba installation and configuration are complete.

To stop the Samba server, run:

/opt/samba/bin/stopsmb

When the script is successful, the exit value is 0. If the script fails, the exit value is 1.

Automatically Starting the HP CIFS Server

When the HP CIFS Server is installed, by default it will not be configured to automatically start when the system boots up and stop when the system shuts down. You can enable this feature by doing the following:

  1. Edit the /etc/rc.config.d/samba file.

  2. Change the last line of the file to: RUN_SAMBA=1.

  3. Save the file.

If you later decide to disable the automatic start feature, change the last line back to:

RUN_SAMBA=0

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.