RV: remote tape with ontape (dd command) fail after openssh install



I solved the permission denied of root remote command adding remote host to
the .rhosts file of user root. False trail!

The source of problem has to do with the post installation openssh.
I take 6 years backing up my Informix database this way without problems.

My key of the question is:

After install openssh on the tape host,
Why dd shell commands works and ontape dd commands doesn't?

Thanks for all responses.
Guillermo.


-----Mensaje original-----
De: Guillermo Gómez Valcárcel [mailto:guillermo.gomez@xxxxxxxxx]
Enviado el: jueves, 13 de marzo de 2008 14:36
Para: 'Guillermo Gómez Valcárcel'
Asunto: RE: remote tape with ontape (dd command) fail after openssh install

I want to add more information fruits of in-depth investigation.

When execute remote command as Informix:
$ rsh gestion echo test
Test

When execute as root
wot02# rsh gestion echo test
permission denied

Are ontape dd commands launched as user root?
I will try to config openssh to get permission to root.

Guillermo.


-----Mensaje original-----
De: informix-list-bounces@xxxxxxxx [mailto:informix-list-bounces@xxxxxxxx]
En nombre de Guillermo Gómez Valcárcel
Enviado el: jueves, 13 de marzo de 2008 13:58
Para: informix-list@xxxxxxxx; ids@xxxxxxxx
Asunto: remote tape with ontape (dd command) fail after openssh install

Hi:

Until now I had been archiving our database with ontape throught remote tape
connecting to another host called gestion.

The onconfig parameter is:
TAPEDEV gestion:/dev/rmt/2

Yesterday I install openssh in gestion (the tape host) and now I get dd:
?Permission denied? when execute ontape command from another host that not
have openssh installed.

Database host: Informix Dynamic Server 9.21.UC5 ? Solaris 8 without openssh.
Tape host: Solaris 7 with openssh.

$ ontape -s -L 1
Please mount tape 1 on gestion:/dev/rmt/2u and press Return to continue ....
Remote tape report:
dd: /dev/rmt/2u: open: Permission denied
could not write archive tape.

Any remote command with dd works without problems:

$ rsh gestion "dd if=/var/tmp/graficos_1999.txt" >
/var/tmp/graficos_1999.txt
89+1 records in
89+1 records out

But ontape doesn?t. dd fail with Permission denied.

What can I do?
Uninstall on tape host?
Install openssh on database host sent backup correctly?

Please help,
Thanks in advance.

Guillermo Gómez Valcárcel
Madrid, Spain.


_______________________________________________
Informix-list mailing list
Informix-list@xxxxxxxx
http://www.iiug.org/mailman/listinfo/informix-list

__________ Información de NOD32, revisión 2944 (20080313) __________

Este mensaje ha sido analizado con NOD32 antivirus system
http://www.nod32.com



__________ Información de NOD32, revisión 2944 (20080313) __________

Este mensaje ha sido analizado con NOD32 antivirus system
http://www.nod32.com


.



Relevant Pages

  • Re: pb with remote command cleanup
    ... Keepalives enable me to kill connection sooner or later but doesn't guarantee any remote command destruction and that is the real problem: if a user launch, using ssh, a remote process that is CPU intensive and then kill his terminal, the CPU intensive task is still running on the remote side despite the lost of the connection. ... do you know the way to ask for this kind of improvement in openSSH? ...
    (comp.security.ssh)
  • SOLVED: remote tape with ontape (dd command) fail after openssh install
    ... The tape had the flap slided a bit to the locked position. ... Asunto: RV: remote tape with ontape (dd command) fail after openssh install ... I solved the permission denied of root remote command adding remote host to ...
    (comp.databases.informix)
  • Re: Remote desktop only works if someone is already logged in
    ... That is the command I run ... I can ping the ip address of the host computer ... The exact error message is - This computer can't connect to the remote ... how you launch Remote Desktop on the remote machine. ...
    (microsoft.public.windowsxp.general)
  • Re: Using Net SSH to issue command on remote windows XP
    ... You can do remote command like this: ... Can Net SSH be used if OPENSSH is installed for windows? ... Is there any utility in ruby to issue command on remote windows machine. ...
    (comp.lang.ruby)
  • Re: Can I stop Remote Desktop from locking host?
    ... of that command on this very newsgroup. ... or perhaps get it to automatically unlock the host ... able to remote into the machine and then just close the ... remote computer. ...
    (microsoft.public.windowsxp.work_remotely)