[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to start, stop process or services on HP-UX

Posted on 2011-10-06
1
Medium Priority
?
3,686 Views
Last Modified: 2013-12-06
Hi,

I am having issue with netbackup (on hp-ux system). To solve it, its required that I start two process.

My issue is, I don't know how to check if the process are running, and I don't know how to start them



Status Code: 25

Message: cannot connect on socket
Explanation: A process timed out while connecting to another process for a particular
operation. This problem can occur when a process tries to connect to the NetBackup
request daemon (bprd) or database manager daemon (bpdbm) and the daemon is not
running (On Windows NT, these daemons are the NetBackup Request Manager and
NetBackup Database Manager services). It can also occur if the network or server is
heavily loaded and has slow response time.
Recommended Action:
1. On a UNIX NetBackup master server, verify that the bprd and bpdbm
processes are running. If these processes are not running, start them. On
a Windows NT master server, verify that the NetBackup Request Manager
and NetBackup Database Manager services are running. If these services
are not running, start them.
If the above processes are running, examine the All Log Entries report for the
time of the failure to determine where the failure occurred.
o If you cannot view the report, or you get a cannot connect on
socket error when trying to view it, verify again that the NetBackup
Database Manager daemon (or service) is running. Then, create an
activity log directory for bpdbm, retry the operation, and check the
resulting activity log.
o If you can view the report and have not found an entry related to
this problem, create activity log directories for the related processes
that were running when the error first appeared (this process will
frequently be bpbrm). Then, retry the operation and check the
resulting activity logs.
2. Verify that the server list specifies the correct master server.
o On Windows NT, 98, and 95 systems, the master server is
designated as Current on the Servers tab in the NetBackup
Configuration dialog box.
To display this dialog box, start the Backup, Archive, and Restore interface
and click Configure on the Actions menu (also see "Using the Configure -
NetBackup Window" on page 57).
o On UNIX, and Macintosh systems, the master server is the first
SERVER entry in the bp.conf file.
o On NetWare target and OS/2 clients, the master server name is the
first SERVER entry in the bp.ini file.
If you change the server list on a master server, stop and restart the
NetBackup database manager and request daemons (UNIX) or the
NetBackup Database Manager and NetBackup Request Manager services
(Windows NT).
3. Check the services file.
On UNIX, verify that the /etc/services file (and NIS services if NIS is used) has
entries for the NetBackup services: bpcd, bpdbm, and bprd. On Windows NT,
verify that the %SystemRoot%\system32\drivers\etc\services file has the correct
entries for bpcd, bpdbm, and bprd.
Also, verify that the NetBackup Client Service Port Number and NetBackup
Request Service Port Number on the Network tab in the NetBackup
Configuration dialog box match the settings in the services file. To display this
dialog box, start the Backup, Archive, and Restore interface and click Configure
on the Actions menu (also see "Using the Configure - NetBackup Window" on
page 57). The values on the Network tab are written to the services file when the
NetBackup Client service starts. Also, see "Verifying Host Names and Services
Entries" on page 31.
4. On Sun Solaris, verify that all operating system patches are installed (see
the Operating Notes section of the NetBackup Release Notes - UNIX).
5. On Windows NT, verify that the recommended service packs are
installed.

Open in new window

0
Comment
Question by:cismoney
1 Comment
 
LVL 38

Accepted Solution

by:
yuzh earned 2000 total points
ID: 36928460
>>I don't know how to check if the process are running, and I don't know how to start them

in most case, you can use "ps + grep" command to find out if a process is running.

ps -ef | grep processname
eg
ps -ef | grep bprd

type in:
man ps
man grep
to learn more details about the command.

To kill a process, you can use ps command to find the process ID, then use "kill" command to kill, the process.  to start a procees, just simply run the application, or command. (in this case, for some application, you can run the application startup script.

FYI, you can run the "bpps -x " under the NetBackup bin dir to verify all the netbackup process, please have a look at the following page for more details:
http://www.symantec.com/business/support/index?page=content&id=TECH57455

please check your server and client installation against the installation guide for your version of netbackup (should be able to find it somewhere on the web) to nake sure they are setup correctly.

also please spend a few minutes to read the following page:
http://www.arizonaed.com/mirror/www.introcomp.co.uk/general/netbackup.html
http://www.symantec.com/business/support/index?page=content&id=TECH29790


 

0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Suggested Courses
Course of the Month19 days, 3 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question