Обсуждение: CVS commit broken

Поиск
Список
Период
Сортировка

CVS commit broken

От
Bruce Momjian
Дата:
I can not CVS commit:


cvs [commit aborted]: authorization failed: server hub.org rejected access
rm: CVS: is a directory
cvs add: cannot add special file `CVS'; skipping
cvs [add aborted]: authorization failed: server hub.org rejected access
cvs [commit aborted]: authorization failed: server hub.org rejected access


--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: CVS commit broken

От
Tom Lane
Дата:
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I can not CVS commit:
> cvs [commit aborted]: authorization failed: server hub.org rejected access

You haven't updated your CVSROOT pointer (took me a little while to
figure that error out too ;-)).  See Marc's "heads up" from last night.

There may be a better answer than doing a whole fresh checkout, but
that's what I did to get the new CVSROOT value in place here.
        regards, tom lane


Re: CVS commit broken

От
The Hermit Hacker
Дата:
did you see my email yesterday in both -hackers and -core about the change
in CVSROOT? *raised eyebrow* *grin*

On Fri, 19 May 2000, Bruce Momjian wrote:

> I can not CVS commit:
> 
> 
> cvs [commit aborted]: authorization failed: server hub.org rejected access
> rm: CVS: is a directory
> cvs add: cannot add special file `CVS'; skipping
> cvs [add aborted]: authorization failed: server hub.org rejected access
> cvs [commit aborted]: authorization failed: server hub.org rejected access
> 
> 
> -- 
>   Bruce Momjian                        |  http://www.op.net/~candle
>   pgman@candle.pha.pa.us               |  (610) 853-3000
>   +  If your life is a hard drive,     |  830 Blythe Avenue
>   +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
> 

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 



Re: CVS commit broken

От
Bruce Momjian
Дата:
> Bruce - 
> Did you see the message about the CVS repository moving? It's changed
> from /usr/local/cvsroot/pgsql to /home/projects/pgsql/cvsroot/pgsql
> 
> I was just looking for the magic find/sed script I know I've seen
> somewhere for changing all the CVS/Repository files in a checked out
> tree...

OK, now I am getting:

#$ pn aspg cvs -q -z 3 -d :pserver:momjian@hub.org:/usr/local/cvsroot login    
(Logging in to momjian@hub.org)
CVS password: 
cvs [login aborted]: authorization failed: server hub.org rejected access


--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: CVS commit broken

От
Bruce Momjian
Дата:
> 
> did you see my email yesterday in both -hackers and -core about the change
> in CVSROOT? *raised eyebrow* *grin*

First, I forgot my end had it defined.  Now that I have fixed this, and
forgot about my .cvspass file.  Working now.
--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: CVS commit broken

От
Karel Zak
Дата:
> > 
> > did you see my email yesterday in both -hackers and -core about the change
> > in CVSROOT? *raised eyebrow* *grin*
> 
> First, I forgot my end had it defined.  Now that I have fixed this, and
> forgot about my .cvspass file.  Working now.

Hmm, but for me:

~$ rm -f .cvspass
~$ cvs -d :pserver:anoncvs@postgresql.org:/home/projects/pgsql/cvsroot/ login
(Logging in to anoncvs@postgresql.org)
CVS password:
cvs [login aborted]: authorization failed: server postgresql.org rejected access
~$
* password "postgresql" or "postgres" * cvs 1.10.7* before now it works (I use it often..)

Overlook I anything?                     Karel



Re: CVS commit broken

От
Tom Lane
Дата:
Karel Zak <zakkr@zf.jcu.cz> writes:
> ~$ rm -f .cvspass
> ~$ cvs -d :pserver:anoncvs@postgresql.org:/home/projects/pgsql/cvsroot/ login
> (Logging in to anoncvs@postgresql.org)
> CVS password:
> cvs [login aborted]: authorization failed: server postgresql.org rejected access
> ~$

>  * password "postgresql" or "postgres" 

The docs say the anoncvs password is "postgresql" (BTW guys, let's
not forget to update the documentation page that says the cvsroot is
/usr/local/cvsroot ...).  I wonder if leaving off the trailing slash on
the -d path would help?

Another possibility is that postgresql.org is not pointing at the right
server.  I see that I have hub.org in my .cvspass (but that's for
non-anonymous login which might be set up differently).  Marc?
        regards, tom lane


Re: CVS commit broken

От
Karel Zak
Дата:
> 
> Another possibility is that postgresql.org is not pointing at the right
> server.  I see that I have hub.org in my .cvspass (but that's for
> non-anonymous login which might be set up differently).  Marc?
> 
Marc and postgresql.org is OK! --- CVS 1.10.7 is bad....
In the CVSROOT path (or -d switch) can't be '/' as last char! 

See:

$ export CVSROOT=":pserver:anoncvs@postgresql.org:/home/projects/pgsql/cvsroot/"
$ cvs login
(Logging in to anoncvs@postgresql.org)
CVS password:
cvs [login aborted]: authorization failed: server postgresql.org rejected accessmravenec:~$ export

export CVSROOT=":pserver:anoncvs@postgresql.org:/home/projects/pgsql/cvsroot"
$ cvs login
(Logging in to anoncvs@postgresql.org)
CVS password:
$

Grrrr...... 
                        Karel





Re: CVS commit broken

От
Bruce Momjian
Дата:
> Karel Zak <zakkr@zf.jcu.cz> writes:
> > ~$ rm -f .cvspass
> > ~$ cvs -d :pserver:anoncvs@postgresql.org:/home/projects/pgsql/cvsroot/ login
> > (Logging in to anoncvs@postgresql.org)
> > CVS password:
> > cvs [login aborted]: authorization failed: server postgresql.org rejected access
> > ~$
> 
> >  * password "postgresql" or "postgres" 
> 
> The docs say the anoncvs password is "postgresql" (BTW guys, let's
> not forget to update the documentation page that says the cvsroot is
> /usr/local/cvsroot ...).  I wonder if leaving off the trailing slash on
> the -d path would help?

OK, CVS faq updated, but I need group write permission in html and
html/docs.  Marc?

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: CVS commit broken

От
The Hermit Hacker
Дата:
On Tue, 23 May 2000, Tom Lane wrote:

> Karel Zak <zakkr@zf.jcu.cz> writes:
> > ~$ rm -f .cvspass
> > ~$ cvs -d :pserver:anoncvs@postgresql.org:/home/projects/pgsql/cvsroot/ login
> > (Logging in to anoncvs@postgresql.org)
> > CVS password:
> > cvs [login aborted]: authorization failed: server postgresql.org rejected access
> > ~$
> 
> >  * password "postgresql" or "postgres" 
> 
> The docs say the anoncvs password is "postgresql" (BTW guys, let's
> not forget to update the documentation page that says the cvsroot is
> /usr/local/cvsroot ...).  I wonder if leaving off the trailing slash on
> the -d path would help?
> 
> Another possibility is that postgresql.org is not pointing at the right
> server.  I see that I have hub.org in my .cvspass (but that's for
> non-anonymous login which might be set up differently).  Marc?

All the same thing, points to the same directory ...




Re: CVS commit broken

От
The Hermit Hacker
Дата:
oh, how I hate disk crashes ... fixed ...

On Tue, 23 May 2000, Bruce Momjian wrote:

> > Karel Zak <zakkr@zf.jcu.cz> writes:
> > > ~$ rm -f .cvspass
> > > ~$ cvs -d :pserver:anoncvs@postgresql.org:/home/projects/pgsql/cvsroot/ login
> > > (Logging in to anoncvs@postgresql.org)
> > > CVS password:
> > > cvs [login aborted]: authorization failed: server postgresql.org rejected access
> > > ~$
> > 
> > >  * password "postgresql" or "postgres" 
> > 
> > The docs say the anoncvs password is "postgresql" (BTW guys, let's
> > not forget to update the documentation page that says the cvsroot is
> > /usr/local/cvsroot ...).  I wonder if leaving off the trailing slash on
> > the -d path would help?
> 
> OK, CVS faq updated, but I need group write permission in html and
> html/docs.  Marc?
> 
> -- 
>   Bruce Momjian                        |  http://www.op.net/~candle
>   pgman@candle.pha.pa.us               |  (610) 853-3000
>   +  If your life is a hard drive,     |  830 Blythe Avenue
>   +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
> 

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org