1833792 Members
2702 Online
110063 Solutions
New Discussion

netconf

 
paul fritzsche
Advisor

netconf


A few collegues of mine made some changes in /etc/rc.config.d/netconf

They added a few new routes. Then they asked me to make the changes active, so I did the net stop and then net start. This didnt work very good. It gave me an error back saying: unexpected end of file in line 247.. I then, without thinking (idiot) rebooted the machine, ofcourse it does not restart again. It stops and gives the following error: /etc/rc[xx] unexcepted end of file in line 247 (if Im not remembering wrong)

I have loked at our second HP-UX machine and found that they commented the routes with ";" instead of "#". This might be the problem?!

How can I restart the machine so I can remake the changes in the netconf file properly?

BR
Paul
9 REPLIES 9
T G Manikandan
Honored Contributor

Re: netconf

boot the machine interrupt at boot sequence.

Interact with IPL
IPL>hpux -is

Go into the single user mode.
Correct the problems with the netconf file.

Then do a reboot.


Thanks
Michael Tully
Honored Contributor

Re: netconf

From the console:

Control-B

from ISL prompt
ISL> hpux -is

The system will boot, make your changes to the file. Do not keep a copy of the file in /etc/rc.config
Once the changes have been made, use control-D and the system will start run level two and so on. It should be okay, as networking does not start until run level 2 anyway.
Anyone for a Mutiny ?
Donald Kok
Respected Contributor

Re: netconf

Hi Paul,
From the point the machine stops, you can push ctrl-\, or ctrl-c, or ctrl-d.

From there you get a prompt, and you can edit netconf.

The way of the other gents work also...

Greetzz
Donald
My systems are 100% Murphy Compliant. Guaranteed!!!

Re: netconf

Well, I restarted teh machine. Was that not a good idea? From a turned off machine, How do I get it to single-user mode? How do I break the boot and where?

The machine seems to have stoped at INIT C640. What does this mean?

BR
Paul
T G Manikandan
Honored Contributor

Re: netconf

Re: netconf

Thnx, back to my other questions then..

From a turned off machine, How do I get it to single-user mode? How do I break the boot and where?
T G Manikandan
Honored Contributor

Re: netconf

When the system boots

interrupt before 10 secs

press any key to interrupt the boot

Then from the menu do a

"boot pri"

interact with IPL?yes

IPL>hpux -is

which should take you to the single user mode.


Thanks

Re: netconf


I am now in single user mode, but there are no way for me to edit the netconf file.

How do I do it?

Usually the vi-command is in the /usr/bin catalogue but the /usr is empty now..

Re: netconf

Thank you for all your help. I tried something new, I used my brain and figured it all out..

Next brain assignment: How do I set points? =)

BR
Paul