The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > 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
YaST no longer works on SLES 10 hassan1 SuSE 2 04-24-2009 11:47 AM
ftp waits for longer time to reply amolwar IP Networking 1 03-07-2008 02:13 AM
Sco-Unix IP Printer no longer working Netwrkengeer SCO 1 01-17-2008 04:28 PM
Can no longer login. thebigm Forum Support Area for Unregistered Users & Account Problems 0 07-16-2007 02:52 PM
my account is no longer working mhm4 Forum Support Area for Unregistered Users & Account Problems 9 04-11-2007 09:45 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-22-2005
twpvw5 twpvw5 is offline
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 06:29 PM..
  #2 (permalink)  
Old 10-22-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,131
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.
  #3 (permalink)  
Old 10-23-2005
twpvw5 twpvw5 is offline
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
  #4 (permalink)  
Old 10-23-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,131
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.
  #5 (permalink)  
Old 10-24-2005
twpvw5 twpvw5 is offline
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
  #6 (permalink)  
Old 10-24-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,131
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.
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:20 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0