CVS commit broken

Started by Bruce Momjianover 25 years ago11 messages
#1Bruce Momjian
pgman@candle.pha.pa.us

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
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#1)
Re: CVS commit broken

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

#3The Hermit Hacker
scrappy@hub.org
In reply to: Bruce Momjian (#1)
Re: CVS commit broken

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

#4Bruce Momjian
pgman@candle.pha.pa.us
In reply to: The Hermit Hacker (#3)
Re: CVS commit broken

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, Pennsylvania 19026
#5Bruce Momjian
pgman@candle.pha.pa.us
In reply to: The Hermit Hacker (#3)
Re: CVS commit broken

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, Pennsylvania 19026
#6Karel Zak
zakkr@zf.jcu.cz
In reply to: Bruce Momjian (#5)
Re: CVS commit broken

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

#7Karel Zak
zakkr@zf.jcu.cz
In reply to: Karel Zak (#6)
Re: CVS commit broken

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

#8Tom Lane
tgl@sss.pgh.pa.us
In reply to: Karel Zak (#6)
Re: CVS commit broken

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

#9Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Tom Lane (#8)
Re: CVS commit broken

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
#10The Hermit Hacker
scrappy@hub.org
In reply to: Tom Lane (#8)
Re: CVS commit broken

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 ...

#11The Hermit Hacker
scrappy@hub.org
In reply to: Bruce Momjian (#9)
Re: CVS commit broken

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