LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 06-16-2007, 12:33 PM   #1
wslyhbb
Member
 
Registered: Apr 2002
Location: Chicago, IL
Distribution: Mandriva 2009.0 PowerPack x86_64
Posts: 150

Rep: Reputation: 15
failing to run svnserve as a service


I am unable to start svnserve as a service. If I invoke (as root) 'svnserve -d -r /path/to/repository' it works fine, but when I invoke 'service svnserve start' it reports [Failed]. Can anyone please help me?
 
Old 06-16-2007, 12:52 PM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 32
is there an entry in /var/log/messages about svnserve?
 
Old 06-16-2007, 01:08 PM   #3
wslyhbb
Member
 
Registered: Apr 2002
Location: Chicago, IL
Distribution: Mandriva 2009.0 PowerPack x86_64
Posts: 150

Original Poster
Rep: Reputation: 15
...
Jun 16 04:07:58 server01 logger: - /etc/sysconfig/syslog
Jun 16 04:07:58 server01 logger: - /etc/sysctl.conf
Jun 16 04:07:58 server01 logger: - /etc/syslog.conf
Jun 16 04:07:58 server01 logger: - /etc/ups/ups.conf
Jun 16 04:07:58 server01 logger: - /etc/ups/upsd.users
Jun 16 04:07:58 server01 logger: - /etc/xinetd.d/svnserve
Jun 16 04:07:58 server01 logger: - /etc/xml/catalog
Jun 16 04:07:58 server01 logger: - /usr/share/sgml/docbook/xmlcatalog
Jun 16 04:07:58 server01 logger: - /var/www/html/favicon.ico
...

That is all that is in /var/log/messages.

The repository I am trying to connect to is /usr/local/repositories. My xinet.d svnserve file is as follows:

# default: off
# description: svnserve is the server part of Subversion.
service svnserve
{
disable = no
port = 3690
socket_type = stream
protocol = tcp
wait = no
user = svn
server = /usr/bin/svnserve
server_args = -i -r /usr/local/repositories
}

Last edited by wslyhbb; 06-16-2007 at 01:11 PM.
 
Old 06-16-2007, 02:58 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
And what does the init.d script look like? Is it passing the same argument you're passing on the command line manually?
 
Old 06-16-2007, 03:07 PM   #5
wslyhbb
Member
 
Registered: Apr 2002
Location: Chicago, IL
Distribution: Mandriva 2009.0 PowerPack x86_64
Posts: 150

Original Poster
Rep: Reputation: 15
init.d script? I have a xinet.d script, as posted in my last post, I do not have a init.d script.
On the command-line I am passing: svnserve -d -r /usr/local/repositories

The xinet.d script is passing: svnserve -i -r /usr/local/repositories
 
Old 06-16-2007, 08:09 PM   #6
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 32
init.d scripts are those red hat systems execute with the service command
they are located in /etc/init.d

personally i would run svnserve as standalone servers, rather than through inetd or xinetd
 
Old 06-16-2007, 08:14 PM   #7
wslyhbb
Member
 
Registered: Apr 2002
Location: Chicago, IL
Distribution: Mandriva 2009.0 PowerPack x86_64
Posts: 150

Original Poster
Rep: Reputation: 15
Yeah, I was just saying there is no inid.d script for svnserve in /etc/init.d. Well I want it to run when I boot up the computer, I do not want to have to manually start it every time I boot it. Any idea why it is failing to run as a service?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
programs, including pine, failing to run, missing lib slackcub Slackware 1 01-15-2007 12:19 AM
Failing to run aol messenger on Debian Yahweee Debian 1 12-14-2006 04:02 AM
issue installing svnserve as xinetd service in Fedora lipidinc Linux - Software 1 03-05-2006 03:49 AM
Java Failing to Run... javaman21011 Red Hat 1 03-10-2005 02:27 PM
Run as Service... tisource Linux - General 2 08-18-2002 04:27 PM


All times are GMT -5. The time now is 03:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration