forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SVN server not working again...

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
dlanor



Joined: 28 Oct 2004
Posts: 269
Location: Stockholm, Sweden

PostPosted: Wed Mar 24, 2010 12:02 am    Post subject: SVN server not working again... Reply with quote

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
View user's profile Send private message
Oobles
Site Admin


Joined: 17 Jan 2004
Posts: 362
Location: Melbourne, Australia

PostPosted: Wed Mar 24, 2010 7:36 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
lgnr



Joined: 17 Dec 2009
Posts: 39

PostPosted: Thu Mar 25, 2010 7:42 am    Post subject: Reply with quote

Still not working for me. Not that any of us can say anything but 'thanks'. :)
Back to top
View user's profile Send private message
ragnarok2040



Joined: 09 Aug 2006
Posts: 230

PostPosted: Fri Mar 26, 2010 7:52 am    Post subject: Reply with quote

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
View user's profile Send private message
Oobles
Site Admin


Joined: 17 Jan 2004
Posts: 362
Location: Melbourne, Australia

PostPosted: Sun Mar 28, 2010 8:39 pm    Post subject: Reply with quote

Sorry about the delay getting to this. Should be working again.

Next up.. fix email issues.

David.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
ragnarok2040



Joined: 09 Aug 2006
Posts: 230

PostPosted: Mon Mar 29, 2010 4:10 am    Post subject: Reply with quote

Thanks, it seems to be working fine.

Great job, :D.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> General Discussion All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group