- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Getting backup Exec agent to run as a service in H...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 04:08 AM
03-16-2005 04:08 AM
1.) I have the backup exec agent installed in /etc/bkupexec/agent.be
If I launch this as root by typing ./agent.be from the bkupexec directory, it runs as supposed to. But I can't logoff root. It says programs still running. Any way around this?
2.) How do I run a program (i.e. agent.be) as a service in HP-UX? I don't have NIS. It appears I should add an entry to the /etc/services file which in my case would be:
grfs 6101/tcp #Backup Exec Agent
How can I launch this once registered with out rebooting?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 04:14 AM
03-16-2005 04:14 AM
Re: Getting backup Exec agent to run as a service in HP-UX 10.20
/sbin/init.d
plan: assuming hpux-9 does this
cd /sbin/init.d
cp template backupagent
edit the backupagent, make sure there is a start and a stop seciton that mimics your manual steps.
cd /sbin/rc3.d
ln -s /sbin/init.d/backupagent S900backupagent
cd /sbin/rc2.d
ln -s /sbin/init.d/backupagent K100backupagent
Now it should start and stop at boot.
Caveats: I don't even remember if HP-UX 9 starts and stops programs this way.
I don't know if backupagent is supported on HP-UX 9.
HP no longer supports the OS. This combination may be untenable.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 04:19 AM
03-16-2005 04:19 AM
Re: Getting backup Exec agent to run as a service in HP-UX 10.20
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 04:57 AM
03-16-2005 04:57 AM
Re: Getting backup Exec agent to run as a service in HP-UX 10.20
I looked at the /etc directory and the only rc dirs I have are rc.config.d. I am familiar with Red Hat and I've found that the rd.<#> runlevel paradigm either doesn't apply on 10.2 or there is only one runlevel.
That being said, while I'd love to automate this on boot, My more immediate goal is to get this running as root and being able to log out root and keep it running. Currently the system won't let me log out when I have agent.be running.
Can I throw it into a shell script such as:
run=`./agent.be`
echo $run
I think that would work in bash, I haven't done much with ksh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2005 09:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 02:54 AM
04-19-2005 02:54 AM
Re: Getting backup Exec agent to run as a service in HP-UX 10.20
/etc/bkupexec/agent.be &