- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Missing /etc/nsswitch.conf after install compl...
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
Discussions
Discussions
Forums
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
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
тАО02-24-2004 10:24 PM
тАО02-24-2004 10:24 PM
I have an Ignite-UX post script which rcp's /etc/nsswitch.conf from the Ignite server and then does an ls -l /etc/nsswitch.* to check if the file was successfully copied, which it is.
After the server is built and has finished its reboots, nsswitch.conf is missing. I assume it's got something to do with the config of the patches.
If so is there a way of copying it later so that it remains in place?
Regards,
Dave.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2004 11:06 PM
тАО02-24-2004 11:06 PM
Re: Missing /etc/nsswitch.conf after install completes
I usually copy some netwerk config file to /root (homedir rootuser) files like resolv.conf netconf nsswitch.conf hosts.
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2004 11:11 PM
тАО02-24-2004 11:11 PM
Re: Missing /etc/nsswitch.conf after install completes
http://software.hp.com/products/IUX/faq.html#N01C0A538.02AB79C8
check the script
os_arch_post_l
Just comment the line
mv nsswitch.conf nsswitch.final
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2004 11:16 PM
тАО02-24-2004 11:16 PM
Re: Missing /etc/nsswitch.conf after install completes
save_file /etc/nsswitch.conf
in /opt/ignite/data/scripts/os_arch_post_l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 12:25 AM
тАО02-25-2004 12:25 AM
Re: Missing /etc/nsswitch.conf after install completes
Check this TKB document:
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062906314
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 12:49 AM
тАО02-25-2004 12:49 AM
Re: Missing /etc/nsswitch.conf after install completes
i have the sam problem. uncomment the line
# By default, this file will be constructed from the information
# in the config file. The starting point for the file is the
# netconf file in the archive (which is normally a newconfig version).
# To get the archive versions of this file, without any modification
# from information supplied in the Ignite-UX config files, uncomment
# the line below.
#
save_file /etc/rc.config.d/netconf <- this line
did not help
any idea ?
Thanks
Michail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 12:58 AM
тАО02-25-2004 12:58 AM
Re: Missing /etc/nsswitch.conf after install completes
#
# /etc/nsswitch.conf file
# If you want this file to be put in place from the archive, uncomment
# the following line. By default, the file will be overwritten during
# the install and then removed at the end of the installation.
#
save_file /etc/nsswitch.conf #<-this line
#25022004
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 01:02 AM
тАО02-25-2004 01:02 AM
Re: Missing /etc/nsswitch.conf after install completes
I can't link to the doc. It asks me to login and I don't have a US login! Can I get this from the UK site?
Regards,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 01:10 AM
тАО02-25-2004 01:10 AM
Re: Missing /etc/nsswitch.conf after install completes
I don't know how to translate to the European URL, so I'll do what I'm not supposed to and post the contents (sorry, Dan - chastise me later, OK?):
============================================
PROBLEM
When using the ignite software to install the operating system, it
removes the nsswitch.conf file. I tried to copy an nsswitch.conf as
part of the post configuration portion. After the last reboot, the
system removed the nsswitch.conf.
1. Can scripts be added in the os_arch_post_l that allow for
configuration files to be copied from server to the client
since /etc/netconf image is not the archive image?
2. A script is called in post_config_script+=keyword, and, after
performing a cold install, the /etc/nsswitch.conf file is not
there.
When ignite is used to install, then /etc/nsswitch.conf is
there, and, it is still there after the NFS mount server is
released. However, a reboot removes the /etc/nsswitch.conf
file.
Why is nsswitch.conf being removed?
CONFIGURATION
Operating System - HP-UX
Version -10.20
Hardware System - HP 9000
Series -730
RESOLUTION
There was a known problem in version 1.03 regarding nsswitch.conf, and
it was fixed at version 1.07.
1. You can add additional scripts to run with the post_config_script+=
keyword, you wouldn't add 'scripts' into os_arch_post_l. For files
that are explicitly handled by os_arch_post_l you should stick with
that script, for other .conf files you can have those brought over
if you wish. /etc/rc.config.d/netconf is handled correctly by
os_arch_post_l in version 1.07 and higher.
This would be helpful for non-ethernet lans, (fddi or token rings).
Currently the protocols supported by the INSTALL kernel are: 10BaseT
100BaseT (PCI flavor on C and B class boxes where it is the built-in)
NIO-FDDI slider-FDDI 735/755
2. /opt/ignite/data/scripts/os_arch_post_l references nsswitch.conf
if [[ -f "/etc/nsswitch.conf" ]]; then
mv /etc/nsswitch.conf /etc/nsswitch.final
fi
If you want this file to be put in place from the archive, uncomment
the following line. By default, the file will be overwritten during
the install and then removed at the end of the installation.
mv /etc/nsswitch.conf /etc/nsswitch.final
============================================
Hope this helps,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 10:44 PM
тАО02-25-2004 10:44 PM
Re: Missing /etc/nsswitch.conf after install completes
In /opt/ignite/data/scripts/os_arch_post_l I have uncommented :-
save_file /etc/nsswitch.conf
Also I have :-
case $source in
/etc/rc.config.d/netconf)
cp -p /etc/rc.config.d/netconf /etc/rc.config.d/netconf.final
return
;;
/etc/nsswitch.conf)
mv /etc/nsswitch.conf /etc/nsswitch.final
return
;;
esac
in os_arch_post_l
Version is :-
# $Header: /ignite/cold_fusion/src/scripts/os_arch_post_l 10.51 2003/02/14 17:13
:09 linz Exp $
I still don't have an nsswitch.conf after reboot. Any ideas?
Regards,
Dave.