View previous topic :: View next topic |
Author |
Message |
dlanor
Joined: 28 Oct 2004 Posts: 269 Location: Stockholm, Sweden
|
Posted: Wed Mar 24, 2010 12:02 am Post subject: SVN server not working again... |
|
|
Today I needed to install a lib from the SVN repository again, but was unable to do so, apparently because the server errors-out somehow and closes the connection before any real transactions are made.
This is on a Cygwin setup which has previously had no problems running similar scripts both before and after your most recent server move. (There were some problems before cleanup after the move was completed, but after that completion no problems remained.)
The script used now was this one:
Code: | #!/bin/bash
export BUP_DIR=$PS2DEV/SVN_BUP
export PS2SDKSRC="$PS2DEV/ps2sdksrc"
if [ -e $PS2DEV ]; then
echo PS2DEV folder exists.
TRUE=1
else
echo PS2DEV folder is missing, so we must abort
exit
fi
if [ -e $BUP_DIR ]; then
echo SVN_BUP folder exists.
SVN_BUP_NEW=0
else
echo SVN_BUP folder is missing, so we create it
mkdir "$BUP_DIR"
SVN_BUP_NEW=1
DOWNLOAD=1
fi
cd $BUP_DIR
svn co svn://svn.ps2dev.org/ps2/trunk/ps2sdk-ports/zlib
cd $PS2DEV
rm -fr zlib/*
rm -fr zlib/.svn
cd $PS2DEV
cp -r SVN_BUP/zlib zlib
cd $PS2DEV/zlib && make && make install
echo script work is now complete |
And the resulting output was this:
Code: | PS2DEV folder exists.
SVN_BUP folder exists.
svn: Connection closed unexpectedly
cp: cannot stat `SVN_BUP/zlib': No such file or directory
C:\PS2_Dev\ps2dev2\Add_zlib.sh: line 31: cd: /usr/local/ps2dev/zlib: No such file or directory
script work is now complete |
Best regards: dlanor |
|
Back to top |
|
|
Oobles Site Admin
Joined: 17 Jan 2004 Posts: 362 Location: Melbourne, Australia
|
Posted: Wed Mar 24, 2010 7:36 pm Post subject: |
|
|
Thanks for letting me know. I have been locking down the server to improve security. Looks like I improved it too much. :) Hopefully I've fixed it now. Let me know if you've still got problems.
David. |
|
Back to top |
|
|
lgnr
Joined: 17 Dec 2009 Posts: 39
|
Posted: Thu Mar 25, 2010 7:42 am Post subject: |
|
|
Still not working for me. Not that any of us can say anything but 'thanks'. :) |
|
Back to top |
|
|
ragnarok2040
Joined: 09 Aug 2006 Posts: 230
|
Posted: Fri Mar 26, 2010 7:52 am Post subject: |
|
|
It's still not working for me, either.
Same error:
svn: Connection closed unexpectedly
WebSVN is working pretty well, even faster than it was prior to the move, :D. |
|
Back to top |
|
|
Oobles Site Admin
Joined: 17 Jan 2004 Posts: 362 Location: Melbourne, Australia
|
Posted: Sun Mar 28, 2010 8:39 pm Post subject: |
|
|
Sorry about the delay getting to this. Should be working again.
Next up.. fix email issues.
David. |
|
Back to top |
|
|
ragnarok2040
Joined: 09 Aug 2006 Posts: 230
|
Posted: Mon Mar 29, 2010 4:10 am Post subject: |
|
|
Thanks, it seems to be working fine.
Great job, :D. |
|
Back to top |
|
|
|