This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: simple newbie init question


Ok. I got inetd running, thanks Larry, and netstat -a shows all of the
services that inetd.conf started with are running. But the line I added
to start pserver is not starting the service. I used the line provided
in my CVS pocket reference (shown with another line which works):

telnet  stream  tcp     nowait  root    /usr/sbin/in.telnetd in.telnetd
cvspserver	stream	tcp	nowait	root	/usr/bin/cvs
--allow-root=/data/cvs pserver

I am looking thru the docs and FAQs at cvshome.org, but if someone has a
quick answer for this, it would be appreciated.
Ed.

> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On
Behalf
> Of Edward W. Rouse
> Sent: Wednesday, January 21, 2004 2:15 PM
> To: 'Cygwin List'
> Subject: RE: simple newbie init question
> 
> Found inetd. I must remember to put the * at the end just in case the
> call ends with a .exe. I am reading up on inetd, but am guessing that
I
> will need to start it from .bash_login after I have the conf file set
> up.
> Ed.
> 
> 
> > -----Original Message-----
> > From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On
> Behalf
> > Of Edward W. Rouse
> > Sent: Wednesday, January 21, 2004 1:23 PM
> > To: 'Cygwin List'
> > Subject: RE: simple newbie init question
> >
> > I do have inetutils installed but I can't find inetd except in the
> > /lib/perl5/5.8.2/Net/demos/ directory. The relevant portion of
> cygcheck
> > is shown.
> > indent                  2.2.8-1
> > inetutils               1.3.2-25
> > initscripts             0.9-1
> >
> > Should I reinstall it? On a side note, I installed the KDE 3.1
> packages
> > and got those running fine. I was using xinetd but it was too slow
and
> I
> > really don't need the graphical interface. Also, the format of
xinetd
> > didn't look like what I am used to using from my experiences with
> SuSE.
> > I am willing to learn a new format if I have to, but want to make
sure
> I
> > am in the right place before I start.
> > Ed.
> >
> > Oh, and I probably haven't thanked you yet for all of the
suggestions.
> > Thanks.
> >
> >
> > > -----Original Message-----
> > > From: Larry Hall [mailto:cygwin-lh@cygwin.com]
> > > Sent: Wednesday, January 21, 2004 1:04 PM
> > > To: Edward W. Rouse; cygwin@cygwin.com
> > > Subject: RE: simple newbie init question
> > >
> > > Ah, so you do want init services.  Install the 'inetutils' package
> and
> > > read up on inetd.
> > >
> > > Larry
> > >
> > >
> > > At 12:29 PM 1/21/2004, Edward W. Rouse you wrote:
> > > >Thanks, I found the doc page for .bashrc and .profile. And I got
> > > >postgres starting fine. But I need to start pserver for use with
> cvs.
> > > >Can I do this with the cygwin bash shell or some other way? I
read
> > the
> > > >apache/cygwin page on starting httpd. Is their something similar
> for
> > the
> > > >cvs pserver?
> > > >
> > > >In other words, where does the line 'cvspserver stream tcp nowait
> > root
> > > >/usr/bin/cvs cvs --allow-root=/usr/local/cvsroot pserver' go?
> > > >
> > > >Ed.
> > > >
> > > >> -----Original Message-----
> > > >> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]
On
> > > >Behalf
> > > >> Of Dave Korn
> > > >> Sent: Wednesday, January 21, 2004 12:20 PM
> > > >> To: cygwin@cygwin.com
> > > >> Subject: RE: simple newbie init question
> > > >>
> > > >>
> > > >>
> > > >> > -----Original Message-----
> > > >> > From: cygwin-owner On Behalf Of Edward W. Rouse
> > > >>
> > > >> > I have installed Cygwin 1.5.5 on a Win2000 box. I included
> > > >> > all of the packages, just to be safe. But I can't figure out
> > > >> > where to add services to the init process. cygwin.bat starts
> > > >> > the bash shell fine and I have set the PATH and some
variables
> > > >there.
> > > >>
> > > >>   There is no init process under cygwin.
> > > >>
> > > >> > I want to start PostgreSQL and cvs only when I have the
> > > >> > Cygwin session window open.
> > > >>
> > > >>   That'll *really* slow down opening the cygwin bash shell if
it
> > has
> > > >to
> > > >> start up a couple of heavy-duty servers every time, but it's
your
> > > >choice.
> > > >>
> > > >> > Where do I put the commands?
> > > >>
> > > >> ~/.bashrc
> > > >> That is to say, the .bashrc in your $HOME directory.
> > > >>
> > > >> > I have created a script to start and stop these services from
> > > >> > the command line, but would really like to automate the
> process.
> > > >>
> > > >> See also
> > > >>
> > >
> >
>
>http://www.tishler.net/jason/software/postgresql/postgresql-7.4.1.READM
> > E
> > > >> which details how you could get the cygwin version of
postgresql
> up
> > > >and
> > > >> running as a system service.  I haven't tried that myself so I
> > can't
> > > >vouch
> > > >> for it personally but it looks like it ought to work to me....
> > > >>
> > > >>
> > > >>     cheers,
> > > >>       DaveK
> > > >> --
> > > >> Can't think of a witty .sigline today....
> > > >>
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > > >> Problem reports:       http://cygwin.com/problems.html
> > > >> Documentation:         http://cygwin.com/docs.html
> > > >> FAQ:                   http://cygwin.com/faq/
> > > >
> > > >
> > > >
> > > >--
> > > >Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > > >Problem reports:       http://cygwin.com/problems.html
> > > >Documentation:         http://cygwin.com/docs.html
> > > >FAQ:                   http://cygwin.com/faq/
> > >
> > >
> >
> >
> >
> > --
> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > Problem reports:       http://cygwin.com/problems.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/
> 
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]