• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4026
  • Last Modified:

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

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
Williams225
Asked:
Williams225
1 Solution
 
yuzhCommented:
>>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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now