The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ftp waits for longer time to reply amolwar IP Networking 1 03-06-2008 11:13 PM
Sco-Unix IP Printer no longer working Netwrkengeer SCO 1 01-17-2008 01:28 PM
YaST no longer works on SLES 10 hassan1 Linux 1 11-22-2007 07:02 AM
Can no longer login. thebigm Forum Support Area for Unregistered Users & Account Problems 0 07-16-2007 10:52 AM
my account is no longer working mhm4 Forum Support Area for Unregistered Users & Account Problems 9 04-11-2007 05:45 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-22-2005
Registered User
 

Join Date: Oct 2005
Location: Columbia, MO USA
Posts: 5
Exclamation NIS no longer

I recentely aquired an old B1000 workstation running HP-UX 11(I think) that was a member of a NIS domain. As such it now fails to find it's domain, that lab has been dismantled, this is however not a huge problem by it's self but what is a problem is that all of the libs and bins were stored in a central location which I don't have access to. I this point I can only boot into single user mode and use the binarys in /sbin as this and /etc were the only directories stored locally. Is there any place I can get the files needed to run a text editor so I can edit config files and get this system back in order. I have asked arround here at the university and no one seems to be able to help and I'd rather keep HP-UX on this box rather than installing Debian or some other flavor of Linux.


::EDIT::
This is not for personal use, it is for the lab I currently work in. The system is still owned by the university so I'm not asking to do anything illegal, I just don't want to pay $600+ for media to reinstall.
::/EDIT::

Thanks in advance.

-T

Last edited by twpvw5; 10-22-2005 at 02:29 PM.
Reply With Quote
Forum Sponsor
  #2  
Old 10-22-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
Go to single user mode and try:
mount /usr
mount /var
mount /tmp
and see what happens. Once they are mounted you should be able to run vi.
Reply With Quote
  #3  
Old 10-23-2005
Registered User
 

Join Date: Oct 2005
Location: Columbia, MO USA
Posts: 5
Ok, so I can get everything mounted but what exactly do I need to change to stop the system from trying to contact this non-existant domain?

This is what I'm getting when I try to boot the system normally...

Code:
   Start NIS+ server subsystem ......................................... OK
     Start NIS+ client subsystem ......................................... OK
     Start NIS server subsystem .......................................... OK
     Start NIS client subsystem .......................................... 06.07 17:06:54  hp10.ecn  pid=503    /usr/lib/netsvc/yp/ypbind
     ypbind will not use the servers list available in the file /var/yp/binding/<domain_name>/ypservers for binding purpose. 
Also if ypbind is invoked with -broadcast option, then -broadcast option is ignored.
06.07 17:06:54  hp10.ecn  pid=504    /usr/lib/netsvc/yp/ypbind
     ypbind -ypset: allowing ypset! (this is insecure)
06.07 17:09:39  hp10.ecn  pid=506    /usr/lib/netsvc/yp/ypbind
     NIS: server not responding for domain "hplab"; still trying
Sorry if these are stupid questions but I'm new to HP-UX and want to learn but at this point this box is worse than useless as a learning tool.

Thanks

-T
Reply With Quote
  #4  
Old 10-23-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
Here is something to try. Go back to single user mode and mount everything. Then run:
/etc/set_parms initial

This is the interactive script that is run immediately after an os install. It will ask you for all of the networking parameters. Hostname, ip address, netmask, default gateway, dns nameserver addresses, default domain. It will set up all of the network stuff for you. This should fix all of your network problems in one fell swope.
Reply With Quote
  #5  
Old 10-23-2005
Registered User
 

Join Date: Oct 2005
Location: Columbia, MO USA
Posts: 5
Well that gets me part way there. I was able to set host name, IP address etc but that script only allows changing parameters for NIS not removing the system as a client. I think this wouldn't be so dificult if I wasn't having to use the serial port and terminal emulation, I don't have a usb keyboard yet. Any way any other suggestions are welcome but I'm going to keep wading through these config files untill I find the right one.

Thanks

-T
Reply With Quote
  #6  
Old 10-23-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
I rather expected that to work, but I have never used NIS. If the standard HP startup scripts are in use, the file to edit is
/etc/rc.config.d/namesvrs
This file controls both NIS and NIS+. Don't let the name of the file mislead you. Not used by DNS. Look for both of these lines:
NISPLUS_CLIENT=
NIS_CLIENT=

Make sure that both are set to zero. That should do it. There should be no need to change anything else.
Reply With Quote
  #7  
Old 11-14-2005
Registered User
 

Join Date: Nov 2005
Location: Arizona
Posts: 82
Check resolv.conf and nsswitch as well... make sure they are pointed at DNS.

Aaron
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0