- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with nsswitch.conf file
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
08-02-2008 07:52 PM
08-02-2008 07:52 PM
Problem with nsswitch.conf file
i have sap netweaver 4.0 on Hp-UX 11.23 machine. There is a script to start & stop SAP system ie startsap & stopsap. This script start the SAP instance with database by calling startdb script. Now i m facing error that this script does not call the startdb script. When i remove the file nsswitch.conf from /etc/nsswitch.conf location then it is working fine. But when i create this file then it does not call the startdb script. Can u tell me that what is the issue. This nsswitch.conf file is also important as when i delete this file my Xmanager does not work .
Plz suggest.
Ankit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2008 09:37 PM
08-02-2008 09:37 PM
Re: Problem with nsswitch.conf file
and also post your nsswitch.conf file content.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2008 10:18 PM
08-02-2008 10:18 PM
Re: Problem with nsswitch.conf file
Please provide following
cat /etc/resolv.conf
cat /etc/nsswitch.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2008 08:51 AM
08-03-2008 08:51 AM
Re: Problem with nsswitch.conf file
It is important to understand what the script is doing so you can troubleshoot the real problem. By removing nsswitch.conf, all addresses will be resolved by your DNS server(s) listed in /etc/resolv.conf, or if none exists, by looking in /etc/hosts. Xmanager also needs network resources, specifically your hostname. If your DNS servers have the wrong IP for your server, then Xwindows will have problems.
You can't determine anything about the problem until you trace the SAP start/stop script. You'll need to see the errors that cause the startdb not to be called. It may be that startdb is actually being called but is reporting an error in the SAP logs. Have you looked at the start/stop log /etc/rc.log?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2008 01:15 AM
08-04-2008 01:15 AM
Re: Problem with nsswitch.conf file
The log file with trace the start of SAP DB is located in /home/
SID : System id
IN : Instance number.
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2008 08:10 AM
08-04-2008 08:10 AM
Re: Problem with nsswitch.conf file
Thanks for ur reply,
In my system i have resolv.conf file and nsswitch.conf file both in etc directory.
i am attaching the contents of both the files. and there is no error regarding calling of startdb script in startsap.log file.
Plz suggest.
Ankit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2008 08:15 AM
08-04-2008 08:15 AM
Re: Problem with nsswitch.conf file
attachment missed out.
Ankit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2008 09:33 AM
08-04-2008 09:33 AM
Re: Problem with nsswitch.conf file
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2008 09:41 AM
08-04-2008 09:41 AM
Re: Problem with nsswitch.conf file
11.23 looks like:
hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns