LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-23-2009, 06:46 AM   #1
elimqiu
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
Unhappy cvs on desktop ubuntu 9.04 trouble?


Well, the trouble is that the ubuntu 9.04 documentation looks quite different than the real situation, and I really need your help!!!

Here is my situation:

apt-get install cvs ..... ok ....very smooth
apt-get install xinetd ..........very smooth

Quote:
cvs -d /home/developer/repository/cvs init
Quote:
root@workbook:~# ls -l /home/developer/repository/cvs
total 4
drwxrwxr-x 3 root src 4096 2009-10-22 18:55 CVSROOT
Quote:
root@workbook:~# cat /etc/cvs-cron.conf
ROT_HIST="no"
# Please use : to separate the repositories=
REPOS="/home/developer/repository/cvs"
ROTKEEP="no"
Quote:
root@workbook:~# cat /etc/cvs-pserver.conf
CVS_PSERV_REPOS="/home/developer/repository/cvs"
CVS_PSERV_LIMIT_MEM=hard
CVS_PSERV_LIMIT_DATA=hard
CVS_PSERV_LIMIT_CORE=0
CVS_PSERV_LIMIT_CPU=hard
Code:
root@workbook:/etc/xinetd.d# cat /etc/xinetd.d/cvspserver
service cvspserver
{
port = 2401
socket_type = stream
protocol = tcp
user = root
wait = no
type = UNLISTED
server = /usr/bin/cvs
server_args = -f --allow-root /home/developer/repository/cvs pserver
disable = no
}

BUT:

Code:
root@workbook:/etc/xinetd.d# /etc/init.d/xinetd start
 * Starting internet superserver xinetd                 [fail]

I know my system is NOt ubuntu server but desktop/laptop
but how different is for the server and the desktop with respect to cvs?

Thanks!
 
Old 10-23-2009, 04:28 PM   #2
thegeek
Member
 
Registered: Oct 2009
Location: Amsterdam
Distribution: CentOS,Fedora,Puppy
Posts: 62

Rep: Reputation: 20
Try running sh -x /etc/init.d/xinetd start, this might help you get more details
 
Old 10-24-2009, 02:07 AM   #3
elimq
LQ Newbie
 
Registered: Apr 2007
Posts: 12

Rep: Reputation: 0
Thanks thegeek for the hint. I think that is a progress!
Here is the result: (looks like error occurs at last few lines. But I don't understand exactly what it is)

root@workbook:/var/log# sh -x /etc/init.d/xinetd start
+ unset TMPDIR
+ NAME=xinetd
+ DAEMON=/usr/sbin/xinetd
+ PIDFILE=/var/run/xinetd.pid
+ test -x /usr/sbin/xinetd
+ test -e /etc/default/xinetd
+ . /etc/default/xinetd
+ INETD_COMPAT=Yes
+ XINETD_OPTS=-stayalive
+ XINETD_OPTS=-stayalive -inetd_compat
+ perl -MSocket -e exit (!socket($sock, AF_INET6, SOCK_STREAM, 0))
+ XINETD_OPTS=-stayalive -inetd_compat -inetd_ipv6
+ . /lib/lsb/init-functions
+ FANCYTTY=
+ [ -e /etc/lsb-base-logging.sh ]
+ . /etc/lsb-base-logging.sh
+ checkportmap
+ grep ^[^ *#] /etc/xinetd.conf
+ grep -q rpc/
+ log_daemon_msg Starting internet superserver xinetd
+ [ -z Starting internet superserver ]
+ log_use_usplash
+ [ n = y ]
+ type usplash_write
+ usplash_write TEXT Starting internet superserver xinetd
+ log_to_console log_daemon_msg Starting internet superserver xinetd
+ [ n != y ]
+ [ no != yes ]
+ readlink /proc/self/fd/0
+ stdin=/dev/pts/0
+ [ /dev/pts/0 != /dev/pts/0 ]
+ return 0
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ -t 1 ]
+ [ xxterm != ]
+ [ xxterm != xdumb ]
+ [ -x /usr/bin/tput ]
+ [ -x /usr/bin/expr ]
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ [ -z ]
+ FANCYTTY=1
+ true
+ /usr/bin/tput xenl
+ /usr/bin/tput cols
+ COLS=80
+ [ 80 ]
+ [ 80 -gt 6 ]
+ /usr/bin/expr 80 - 7
+ COL=73
+ printf * Starting internet superserver xinetd
* Starting internet superserver xinetd + /usr/bin/expr 80 - 1
+ /usr/bin/tput hpa 79
+ printf
+ start-stop-daemon --start --quiet --background --exec /usr/sbin/xinetd -- -pidfile /var/run/xinetd.pid -stayalive -inetd_compat -inetd_ipv6
+ log_end_msg 1
+ [ -z 1 ]
+ log_use_usplash
+ [ n = y ]
+ type usplash_write
+ [ 1 -eq 0 ]
+ usplash_write FAILURE failed
+ log_to_console log_end_msg 1
+ [ n != y ]
+ [ no != yes ]
+ readlink /proc/self/fd/0
+ stdin=/dev/pts/0
+ [ /dev/pts/0 != /dev/pts/0 ]
+ return 0
+ [ 73 ]
+ [ -x /usr/bin/tput ]
+ printf \r
+ /usr/bin/tput hpa 73
+ [ 1 -eq 0 ]
+ printf [
[+ /usr/bin/tput setaf 1
+ printf fail
fail+ /usr/bin/tput op
+ echo ]
]
+ return 1
+ exit 0
root@workbook:/var/log#
 
Old 10-26-2009, 12:04 PM   #4
elimq
LQ Newbie
 
Registered: Apr 2007
Posts: 12

Rep: Reputation: 0
Please help to see what kind of error is here

As the last view lines shown in my previous post above, what kind of error it is? A kernel bug or what? Please help me. Thanks
 
Old 11-18-2009, 12:05 PM   #5
elimq
LQ Newbie
 
Registered: Apr 2007
Posts: 12

Rep: Reputation: 0
Anyone ever get cvs pserver work on ubuntu 9.10 desktop?
 
Old 03-31-2010, 09:54 AM   #6
MatteoSnidero
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Bump!
I am having exactly the same problem as elimq on 9.10 server. Any joy anyone?
Thanks
M
 
Old 04-01-2010, 12:18 AM   #7
grail
Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 7,412

Rep: Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874Reputation: 1874
Well ... my first thought would be to remove the /etc/xinetd.d/cvspserver file and then start the server and see if
it is working.
 
Old 04-01-2010, 12:25 PM   #8
elimqiu
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by MatteoSnidero View Post
Bump!
I am having exactly the same problem as elimq on 9.10 server. Any joy anyone?
Thanks
M
Welcome MatteoSnidero! At least we see the problem is real (not our imagination).
 
Old 04-03-2010, 04:33 AM   #9
MatteoSnidero
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
My CVS is working now. I am not sure what made it work in the end but I fear, and I cringe and the thought of it, that the error that was stopping me was because I tried to start xinetd WHEN IT WAS ALREADY ON, or to put it in another way, when I should have done a sh -x /etc/init.d/xinetd restart instead. If that was really the case, apologies for being such a fool!
 
Old 04-03-2010, 05:39 AM   #10
nonamenobody
Member
 
Registered: Oct 2002
Posts: 138

Rep: Reputation: 22
Quote:
Originally Posted by MatteoSnidero View Post
My CVS is working now. I am not sure what made it work in the end but I fear, and I cringe and the thought of it, that the error that was stopping me was because I tried to start xinetd WHEN IT WAS ALREADY ON, or to put it in another way, when I should have done a sh -x /etc/init.d/xinetd restart instead. If that was really the case, apologies for being such a fool!
Apology accepted We all overlook the simple things from time to time and they are often the most difficult to figure out (very difficult to see something once you have overlooked it), so well done for figuring it out (BTW, I for one didn't spot your error, till you mentioned it).

Last edited by nonamenobody; 04-03-2010 at 05:41 AM.
 
Old 04-03-2010, 07:41 AM   #11
charchilp
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Rep: Reputation: 0
As the last view lines shown in my previous post above, what kind of error it is? A kernel bug or what? Please help me. Thanks
 
  


Reply

Tags
desktop


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
Trouble installing Ubuntu 7.04 alternate on desktop Trisk Ubuntu 2 08-07-2007 04:14 AM
Trouble installing Ubuntu 7.04 on desktop Trisk Ubuntu 2 05-12-2007 08:25 AM
CVS trouble--No such file or directory andrewstr Linux - Software 2 06-09-2006 11:21 AM
Trouble with cvs server PeW Linux - Software 2 09-05-2005 03:12 PM
CVS trouble - not sure whats wrong SuSE_User Linux - Software 2 03-07-2004 10:07 AM


All times are GMT -5. The time now is 02:16 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