Operating System - HP-UX
1753488 Members
4652 Online
108794 Solutions
New Discussion юеВ

given "rc" instead of "rcp" am now unable to get by telnet

 
SOLVED
Go to solution
RAKUNTA
Frequent Advisor

given "rc" instead of "rcp" am now unable to get by telnet

Dear Experts

while i am doing in "rcp" in my hp-ux 11iv3 (rx8640) system
unfortunately i given "rc" instead of rcp ,after that my system has done some XXX.Now i am unable to connect bye telnet
please assist me ..........

thanks for your kind reply ,
10 REPLIES 10
Dennis Handly
Acclaimed Contributor
Solution

Re: given "rc" instead of "rcp" am now unable to get by telnet

It appears you have executed rc(1m) and possibly have executed scripts that are called when the run level changes.

You could look at /etc/rc.log for recent messages of what happened.

You might be able to undo this by "init 3"
RAKUNTA
Frequent Advisor

Re: given "rc" instead of "rcp" am now unable to get by telnet

Hi HANDLY,

thanQ for your quick reply,,
actually i given below commnad
root@BCM#rc xpinfo.txt 10.5.4.77 :/kiran

here i attached typical log collection of
# /etc/rc.log

please look in to this

am waiting for reply
Dennis Handly
Acclaimed Contributor

Re: given "rc" instead of "rcp" am now unable to get by telnet

>#rc xpinfo.txt 10.5.4.77 :/kiran
>Transition to run-level 10.5.4.77 in progress

It looks like it did an alphanumeric compare and changed from runlevel 3 to level 1.

Try "init 3".
RAKUNTA
Frequent Advisor

Re: given "rc" instead of "rcp" am now unable to get by telnet

it is clearly showing
--------------------------------
root@BCM#who -r
. run-level 3 Aug 24 14:02 3 0 S
----------------------------------
root@BCM#uptime
3:50pm up 120 days, 1:49, 1 user, load average: 0.01, 0.01, 0.01
-----------------------------------
if i give #init 3
it will effect on my up time report
so is there any way to do something?

Dennis Handly
Acclaimed Contributor

Re: given "rc" instead of "rcp" am now unable to get by telnet

>if I give #init 3, will effect on my up time report, so is there any way to do something?

Your system is already "down", what do you care?
RAKUNTA
Frequent Advisor

Re: given "rc" instead of "rcp" am now unable to get by telnet

sorry
#init 3
is not working \
root@DC-BCM#init 3
root@DC-BCM#who -r
. run-level 3 Aug 24 14:02 3 0 S
-------------
Dennis Handly
Acclaimed Contributor

Re: given "rc" instead of "rcp" am now unable to get by telnet

>#init 3
>#who -r
>. run-level 3 Aug 24 14:02 3 0 S

I assume you looked at /etc/rc.log and saw nothing there too?

What does this show?
/sbin/getrunlvl

If "init 3" doesn't do anything because it still thinks it is at 3, you could try:
rc ignore 3
Dennis Handly
Acclaimed Contributor

Re: given "rc" instead of "rcp" am now unable to get by telnet

And if the above doesn't work, you'll need to do:
init 1
init 3
RAKUNTA
Frequent Advisor

Re: given "rc" instead of "rcp" am now unable to get by telnet

Thanks HANDLY,

i followed your advise.
now its ok

bye
rakunta