Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Subversion + inetd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rennreh84
n00b
n00b


Joined: 25 Mar 2015
Posts: 1

PostPosted: Wed Mar 25, 2015 3:01 pm    Post subject: Subversion + inetd Reply with quote

Hello,

I want to setup my SNV server:

I have make a new user "svn"
Code:
groupadd -g 56 svn && useradd -c "SVN Owner" -d /home/svn -m -g svn -s /bin/false -u 56 svn


I have created the svn folder and repository:
Code:
 /var/local/datadump/svn/development/csgtk


Its for svn:svn .. We can Show it:
Code:
root@renas:~# ls -l /var/local/datadump/svn/development     
total 4
drwxrwx--- 6 svn svn 4096 Mar 25 10:47 csgtk


I have modified in "/var/local/datadump/svn/development/csgtk/conf" passwd and svnserve.conf

passwd:
Code:
[users]
svn = xxxxxxxxxxxxxx


svnserve.conf:
Code:
[general]
 auth-access = write
 password-db = passwd



And now I want to start the svn service via inetd:
in /etc/inetd.conf
Code:
svn_devcsgtk stream tcp nowait svn_user /usr/bin/svnserve svnserve -i -r /var/local/datadump/svn/development/csgtk



I want to start and I get no error message
Code:
update-inetd --enable svn_development
/etc/init.d/inetutils-inetd -restart



now I want to access:
Code:
svn checkout svn://svn@192.168.1.254/svn_devcsgtk
svn: Can't connect to host '192.168.1.254': Connection timed out



I think the service is not working:
Code:
nmap  -sT localhost

Starting Nmap 6.00 ( http://nmap.org ) at 2015-03-25 15:47 CET
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00035s latency).
Other addresses for localhost (not scanned): 127.0.0.1
Not shown: 991 closed ports
PORT    STATE SERVICE
21/tcp  open  ftp
22/tcp  open  ssh
25/tcp  open  smtp
80/tcp  open  http
111/tcp open  rpcbind
139/tcp open  netbios-ssn
443/tcp open  https
445/tcp open  microsoft-ds
631/tcp open  ipp

Nmap done: 1 IP address (1 host up) scanned in 0.10 seconds
root@renas:/var/local/datadump/svn/development/csgtk/conf#


I think that service is not running
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
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