- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Service not starting
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
07-26-2002 11:26 AM
07-26-2002 11:26 AM
Service not starting
I have a service that is not starting when I boot my B180L machine. We are running HP-UX 10.20. If I start the service from a command prompt, it does start. The service is listed in /etc/services and the /etc/inetd.conf. Is there a log file somewhere that might give me a little more insight as to why this service is not starting?
Thanks,
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 11:32 AM
07-26-2002 11:32 AM
Re: Service not starting
The logs you are taling about would be the /etc/rc.log file and/or /var/adm/syslog/syslog.log files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 11:42 AM
07-26-2002 11:42 AM
Re: Service not starting
Rich is correct. Look for ERROR in /etc/rc.log. Also can you tell us the name of the service and the way you started it?
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 12:24 PM
07-26-2002 12:24 PM
Re: Service not starting
Check the corresponding /etc/rc.config.d/
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 01:13 PM
07-26-2002 01:13 PM
Re: Service not starting
If you have to kick off the service at the command line, you should have startup script for it. It being listed in the inetd.conf will not start the service. inetd is a daemon that listens for designated services and then starts the service based on the request.
You should check /sbin/init.d for a startup script. If one is not present, you will need to create one. If one is listed, make sure there is a corresonding link in the /sbin/rc?.d
Attached a doc with good info.
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 09:13 PM
07-26-2002 09:13 PM
Re: Service not starting
start by looking into:
1. /etc/rc.log file
2. /var/adm/syslog/syslog.log
Maybe the environment is not properly set in the startup script -- then NOT OK and when you start it at command line with all environment variables set correctly -- OK
Hope this helps!
Best Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 09:16 PM
07-26-2002 09:16 PM
Re: Service not starting
The service start abnormally when the system boot. On how to check:
#ps -ef |grep "service"
I think you must check /sbin/init.d script and /etc/rc*.d links.
Also check if the concerned files are removed or damaged.
-Gerald-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2002 08:04 PM
07-27-2002 08:04 PM
Re: Service not starting
This member has assigned points to 46 of 106 responses to his/her questions.
http://forums.itrc.hp.com/cm/TopSolutions/1,,CA482821!1!questions,00.html
DON'T forget to reward those that have helped or haven't helped.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2002 10:37 AM
07-28-2002 10:37 AM
Re: Service not starting
- Network services (aka, daemons) are named in /eetc/services along with the port that will be used to activate the daemon--inetd will start the service when the port receives some data. A network daemon must be specially written to act as a network service.
- inittab contains names of processes that will be started (and/or restarted) by init based on the run level. It may be run once, or repeatedly restarted (respawn). Ordinary prgrams can be started by init but since init does not login, processes must run in a minimal environment.
- startup tasks are the most likely location for most background processes such as database processes. These startup tasks are scripted and the code stored in /sbin/init.d, with sequencing links in /etc/rc?.d for startup and shutdown. To enable or disable them, a corresponding source script is stored in /etc/rc.config.d
Startup/shutdown details are found in /usr/share/doc (11.00 and lower, for 11i, look at docs.hp.com.
Bill Hassell, sysadmin