info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with migrating Repository from Solaris to Linux


From: Mark D. Baushke
Subject: Re: Problem with migrating Repository from Solaris to Linux
Date: Thu, 09 Sep 2004 00:05:14 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jörg Reiners <address@hidden> writes:

> I have not set CVS_RSH, so it uses rsh.
> If I try rsh server.my.home date I get only the date with
> an empty line below but no other output.

If you really do have an extra empty line, then it is likely a
problem. You should see something like this:

   % rsh myhost date | wc -l
         1
   % rsh myhost date
   Thu Sep  9 00:00:06 PDT 2004
   % 

where '% ' is the prompt from my shell.

> I will look at the troubleshooting notes to get a better
> understanding of the problem.

I hope it helps. 

In general, check your dot files to make sure that you protect them to
do not much of anything at all in non-interactive shells.

csh and tcsh might wish to protect 'echo' and 'stty' and other commands
that produce output with something like:

  if ($?prompt) then
     # do the things for interactive shells here
  endif

ash, bash, ksh, sh, zsh shells might do something like this:

  if [ "z$PS1" != "z" ]; then
      # do the things for interactive shells here
  fi

well, I hope you get the idea...

        Good luck,
        -- Mark

> Thanks,
> Joerg
> 
> 
> Mark D. Baushke wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > Joerg Reiners <address@hidden> writes:
> >
> >>If I use :ext:server.my.home:/repos as CVSROOT I get a different
> >>error message saying:
> >>
> >>'from cvs serverning: unrecognized response' ok
> >>
> >>I have to interrupt the command as it hangs afterwards.
> >>"rsh server.my.home cvs -v" works fine.
> > Is CVS_RSH=rsh or CVS_RSH=ssh ? Try
> >    rsh server.my.home date
> > or
> >    ssh server.my.home date
> > if anything more than just one line with the date appears, then your
> > dot
> > files are doing something that will confuse the client/server
> > interaction.
> > The Manual has an entire section on troubleshooting. Look at it.
> > https://www.cvshome.org/docs/manual/cvs-1.11.17/cvs_21.html#SEC185
> >     -- Mark
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.3 (FreeBSD)
> > iD8DBQFBP0DI3x41pRYZE/gRAng9AJwJgJqySC+1Z21NMDkGeSv9pMMHIwCg1S5a
> > fVI/Q06ZutrEKZx8R/VjGtA=
> > =mRju
> > -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBQACq3x41pRYZE/gRAgMqAKCjc990kRNTNdEdjx2Sf5Izm7qVfgCghnxx
XTGth5MNRumhTBai3mgMuNE=
=0y0g
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]