cvs update: authorization failed: server cvs.nukecops.com rejected access to /home/cvs for user anonymous
cvs update: used empty password; try "cvs login" with a real password
HELPPP lol
im really a shell noob on this
_________________ Were You Go Today? <b>NuKe Report </b> ill Help you
XEULAS Captain
Joined: Oct 20, 2003
Posts: 335
Posted:
Mon Oct 20, 2003 7:57 pm
Ug... I've stayed up all night working on this... stupidity is really starting to set in so forgive me if this is, likewise, stupid....
Note: I find myself wishing there was a link in admin that said "Patch Update" instead of all this shell stuff (seems that noone ever mentions for the newbies that you have to be able to shell into your account).
The QUESTION: Does EVERYONE have to have their folder named 'betaNC'? (My nuke setup WAS in 'main' but I moved it to 'betaNC' to be compliant).
-typed in the update command, and my entire site was updated. Yay.
-closed my ssh session without logging out.
I put cvs -d:pserver:anonymous@cvs.nukecops.com:/home/cvs update -d in my cron.
Wouldn't work.
-I got the 'latest' shell script (I think, since there are bits and pieces across five different websites).
-My nuke directory folder is named 'betaNC' (which makes its path /home/sl/public_html/betaNC). Top portion of shell script I am using is quoted below:
Quote:
#!/bin/bash
#####################################################################
# CVS Nuke Cops Automatic Update/Status Cron Script #
# 2003-08-10 - GA Release. Understand what this does before use. #
# Copyright 2003, All Rights Reserved - Paul Laudanski / Zhen-Xjell #
# http://nukecops.com | http://computercops.biz #
#####################################################################
# NO WARRANTIES ARE PROVIDED. YOUR SYSTEM MAY BE DESTROYED. THIS #
# SCRIPT IS PROVIDED 'AS-IS'. REFER TO THE NUKECOPS.COM AUP FOR #
# USE ACCEPTANCE AND FULL DISCLAIMERS. USE SIGNIFIES AGREEMENT. $
#####################################################################
## Enter directory path to where "betaNC" resides.
## Example, if "betaNC" lives in "/home/mysite/www/betaNC", then list directory
## path as "/home/mysite/www/".
cd /home/sl/public_html/
# The following line logs into the Nuke Cops CVS Server anonymously.
cvs -d :pserver:anonymous@cvs.nukecops.com:/home/cvs login
# The following line does a betaNC repository checkout. This should only be
# used for an initial checkout.
#cvs -d :pserver:anonymous@cvs.nukecops.com:/home/cvs checkout betaNC
# The following line does an information update only. No changes are
# made, it serves to inform you of what would update. Look for Status Values
# of 'Needs Checkout' and 'Needs Patch'. 'Up-to-date' means your file are
# in sync with the NC CVS Repository. If you uncomment this line, ensure
# you comment out the next actual update line.
#cvs -d :pserver:anonymous@cvs.nukecops.com:/home/cvs status betaNC > betaNC-$today.status
# The following line does the actual update to your site using the CVS.
cvs -d :pserver:anonymous@cvs.nukecops.com:/home/cvs update -I config.php betaNC
# The following line logs out of the Nuke Cops server.
cvs -d :pserver:anonymous@cvs.nukecops.com:/home/cvs logout
-The shell script is located in my nuke directory. In my CRONtab I put this:
bash /home/sl/public_html/betaNC/NC_CVS_Update.sh
BUT, here is the output I receive:
Quote:
/home/sl/public_html/betaNC/NC_CVS_Update.sh: line 2:
: command not found
/home/sl/public_html/betaNC/NC_CVS_Update.sh: line 13:
: command not found
/home/sl/public_html/betaNC/NC_CVS_Update.sh: line 14:
: command not found
/home/sl/public_html/betaNC/NC_CVS_Update.sh: line 15:
: command not found
/home/sl/public_html/betaNC/NC_CVS_Update.sh: line 16: export: `
': not a valid identifier
/home/sl/public_html/betaNC/NC_CVS_Update.sh: line 17:
: command not found
/home/sl/public_html/betaNC/NC_CVS_Update.sh: line 21:
: command not found
/home/sl/public_html/betaNC/NC_CVS_Update.sh: line 22: cd: /home/sl/public_html/
: No such file or directory
Logging in to :pserver:anonymous@cvs.nukecops.com:2401/home/cvs
CVS password: cvs login: authorization failed: server cvs.nukecops.com rejected access to
/home/cvs for user anonymous
/home/sl/public_html/betaNC/NC_CVS_Update.sh: line 25:
: command not found
/home/sl/public_html/betaNC/NC_CVS_Update.sh: line 29:
: command not found
/home/sl/public_html/betaNC/NC_CVS_Update.sh: line 36:
: command not found
cvs update: authorization failed: server cvs.nukecops.com rejected access to /home/cvs for
user anonymous
cvs update: used empty password; try "cvs login" with a real password
/home/sl/public_html/betaNC/NC_CVS_Update.sh: line 39:
: command not found
Logging out of :pserver:anonymous@cvs.nukecops.com:2401/home/cvs
cvs logout: Entry not found.
/home/sl/public_html/betaNC/NC_CVS_Update.sh: line 42:
: command not found
/home/sl/public_html/betaNC/NC_CVS_Update.sh: line 43:
: command not found
/home/sl/public_html/betaNC/NC_CVS_Update.sh: line 45:
: command not found
/home/sl/public_html/betaNC/NC_CVS_Update.sh: line 134:
: command not found
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum