Run process as daemon

2003-05-14 Thread Rcca
My problem is below:

I have a service application, which is unable to run as daemon.

If I run the application from the rc.d scripts the system hangs up because the 
process does not exit.
If I put an  mark to the end of the line evereyting is the same.
The service application hangs the system in from the rc.boot also.

The quewstion is: Can I run this service without logging in to the box. How?

Robert





Re: Run process as daemon

2003-05-14 Thread Olivier Macchioni
++ 14/05/03 14:28 +0200 - Rcca:
My problem is below:

I have a service application, which is unable to run as daemon.

If I run the application from the rc.d scripts the system hangs up because the 
process does not exit.
If I put an  mark to the end of the line evereyting is the same.
The service application hangs the system in from the rc.boot also.

The quewstion is: Can I run this service without logging in to the box. How?

Hi, Robert.

The short answer is yes. Just write your own startup script and use :

start-stop-daemon --start --background --quiet --exec my_process
start-stop-daemon --stop --quiet --exec my_process 

the --background should do the trick for processes that don't know how
to daemonize.



pgpNFe9exDECW.pgp
Description: PGP signature


Which (simple) Wiki?

2003-05-14 Thread Dominik Schulz
Hi,
I'm looking for a very simple Wiki. It should be easy to install and
have a very clear design. It's meant for a very limited amount of users
(less than 10) so I don't need any kind of authtentification.
Every Wiki I've found is much to overloaded for my needs.
Any suggestions would be very appreciated.

Mit freundlichen Gruessen / Best regards
Dominik Schulz




Re: Run process as daemon

2003-05-14 Thread Wim Fournier
Can you tell us some more? for example: what does it say when it ends? what
kind of program is it?

maybe read the manual of nohup, it might be a solution


grtz

 My problem is below:

 I have a service application, which is unable to run as daemon.

 If I run the application from the rc.d scripts the system hangs up
 because the process does not exit. If I put an  mark to the end of
 the line evereyting is the same. The service application hangs the
 system in from the rc.boot also.

 The quewstion is: Can I run this service without logging in to the box.
 How?

 Robert



 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]


With kind regards,

Wim Fournier






Re: Which (simple) Wiki?

2003-05-14 Thread Bob van der Kamp

Hi Dominic,

At the moment I prefer phpwiki (http://phpwiki.sourceforge.net/).  Because
of  the PHP/Mysql/Apache combination easy to install and maintain. Very
simpel but powerfull set of tags.

I used Twiki (http://www.Twiki.org) )for some time and thats just a little
bit over the top for me, and their download policy is a little bit annoying
(is it a real GPL?). You have to request for the program. You cant download
it directly. It has an impressive number of features though.

Take care,

Bob

 Hi,
 I'm looking for a very simple Wiki. It should be easy to install and
 have a very clear design. It's meant for a very limited amount of users
 (less than 10) so I don't need any kind of authtentification.
 Every Wiki I've found is much to overloaded for my needs.
 Any suggestions would be very appreciated.

 Mit freundlichen Gruessen / Best regards
 Dominik Schulz


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]


-- 
Kern Automatiseringsdiensten www.kern.nl





Re: Which (simple) Wiki?

2003-05-14 Thread mimo
I installed usemod for an 'intranet' wiki - very simple perl script - no 
thrills. needs a folder with 777 permissions unless you have suexec. I 
can recommend it so far.

Hope this helps
Michael Moritz
Dominik Schulz wrote:
Hi,
I'm looking for a very simple Wiki. It should be easy to install and
have a very clear design. It's meant for a very limited amount of users
(less than 10) so I don't need any kind of authtentification.
Every Wiki I've found is much to overloaded for my needs.
Any suggestions would be very appreciated.
Mit freundlichen Gruessen / Best regards
Dominik Schulz




Re: Which (simple) Wiki?

2003-05-14 Thread Randy Kramer
On Wednesday 14 May 2003 09:34 am, Bob van der Kamp wrote:
 At the moment I prefer phpwiki (http://phpwiki.sourceforge.net/).  Because
 of  the PHP/Mysql/Apache combination easy to install and maintain. Very
 simpel but powerfull set of tags.

 I used Twiki (http://www.Twiki.org) )for some time and thats just a little
 bit over the top for me, and their download policy is a little bit annoying
 (is it a real GPL?). 

Yes, it is real GPL!  The registration policy for downloads has been discussed 
more than once (at twiki.org) and has not changed.  (There's even been some 
(probably tongue-in-cheek) discussion about a fork just to get around that 
policy.)

There is a package being developed for TWiki in Debian -- don't know the 
status but it already exists.  (So, you don't have to register to get TWiki 
from Debian. ;-)

If you are looking for simpler wikis, I'd consider moin-moin (do a Google 
search) or the original wiki (at www.c2.org?).

regards,
Randy Kramer





reinstall slapd

2003-05-14 Thread tps
Guys-n-gals,
  I'm trying to build up an LDAP server on a Debian box that had
some base install of LDAP on it, someone mucked about, and then
left the company that hired me. I'm trying to install the latest slapd
on the box (running unstable). The package installs, and... nothing. I can't
get in, since it NEVER PROMPTED FOR THE @#$*(^*^% ADMIN PASSWORD!
I've blown away everything relating to slapd, and, still, somewhere,
somehow, this thing is picking what seems to be a random admin password,
which I don't know about. 

It seems I'm clueless, and debconf has me beat. Can anyone, someone,
give me a clue?

Thanks,
Tim

-- 

 Tim Sailer (at home)   Coastal Internet, Inc.  
 Network and Systems Operations PO Box 671  
 http://www.buoy.comRidge, NY 11961 
 [EMAIL PROTECTED]/[EMAIL PROTECTED]   (631)924-3728  (888) 924-3728   
 





Re: reinstall slapd

2003-05-14 Thread Johann Botha
Hi tps   @2003.05.14_18:50:00_+0200

i think installing openldap is a bit too complex to do well with debconf

have a look at the openldap guide,
http://www.openldap.org/doc/admin21/

slapcat / slapadd and a text editor to create an ldif file should do the job

man slapd.conf
--8-:- snip -:-8-:- snip -:-8--
   rootdn dn
  Specify  the  distinguished  name  that  is  not  subject  to  
access  control or
  administrative limit restrictions for operations on this 
database.  This  DN  may
  or may not be associated with an entry.  An empty root DN (the 
default) specifies
  no root access is to be granted.  It is  recommended  that  the  
rootdn  only  be
  specified  when  needed  (such  as when initially populating a 
database).  If the
  rootdn is within a namingContext (suffix) of the database, a 
simple bind password
  may also be provided using the rootpw directive.

   rootpw password
  Specify  a  password  (or hash of the password) for the rootdn.  
The password can
  only be set if the rootdn is within the namingContext (suffix) of 
 the  database.
  This  option  accepts  all RFC 2307 userPassword formats known to 
the server (see
  password-hash desription) as well as cleartext.  slappasswd(8)  
may  be  used  to
  generate  a  hash  of  a  password.   Cleartext  and  {CRYPT}  
passwords  are not
  recommended.  If empty (the default), authentication of the root 
DN is  by  other
  means (e.g. SASL).  Use of SASL is encouraged.
--8-:- snip -:-8-:- snip -:-8--


 Guys-n-gals,
   I'm trying to build up an LDAP server on a Debian box that had
 some base install of LDAP on it, someone mucked about, and then
 left the company that hired me. I'm trying to install the latest slapd
 on the box (running unstable). The package installs, and... nothing. I can't
 get in, since it NEVER PROMPTED FOR THE @#$*(^*^% ADMIN PASSWORD!
 I've blown away everything relating to slapd, and, still, somewhere,
 somehow, this thing is picking what seems to be a random admin password,
 which I don't know about. 
 
 It seems I'm clueless, and debconf has me beat. Can anyone, someone,
 give me a clue?

-- 
Regards
 Johann

  'Simplicity is the ultimate sophistication.'
 - Leonardo da Vinci

 Johann L. Botha  Frogfoot Networks ISP
 [EMAIL PROTECTED] http://www.frogfoot.net/
 +27.82.562.6167  Built and Managed with Attention to Detail
 0860 KERMIT
 http://blue.frogfoot.net/




Re: reinstall slapd

2003-05-14 Thread Donovan Baarda
On Thu, 2003-05-15 at 02:50, [EMAIL PROTECTED] wrote:
 Guys-n-gals,
   I'm trying to build up an LDAP server on a Debian box that had
 some base install of LDAP on it, someone mucked about, and then
 left the company that hired me. I'm trying to install the latest slapd
 on the box (running unstable). The package installs, and... nothing. I can't
 get in, since it NEVER PROMPTED FOR THE @#$*(^*^% ADMIN PASSWORD!
 I've blown away everything relating to slapd, and, still, somewhere,
 somehow, this thing is picking what seems to be a random admin password,
 which I don't know about. 
 
 It seems I'm clueless, and debconf has me beat. Can anyone, someone,
 give me a clue?

I have put a wiki page up at http://wiki.debian.net/LdapAuthentication
that is mainly to do with LDAP Auth, but it walks through installing
slapd on Debian.


-- 

Donovan Baardahttp://minkirri.apana.org.au/~abo/





Re: reinstall slapd

2003-05-14 Thread tps
I've discovered a unique bug, I think. I ran dpkg-reconfigure debconf,
and selected readline, instead of dialog, and now it's prompting for
the admin password. Sheesh. All that time wasted...

Tim

On Wed, May 14, 2003 at 12:50:00PM -0400, [EMAIL PROTECTED] wrote:
 Guys-n-gals,
   I'm trying to build up an LDAP server on a Debian box that had
 some base install of LDAP on it, someone mucked about, and then
 left the company that hired me. I'm trying to install the latest slapd
 on the box (running unstable). The package installs, and... nothing. I can't
 get in, since it NEVER PROMPTED FOR THE @#$*(^*^% ADMIN PASSWORD!
 I've blown away everything relating to slapd, and, still, somewhere,
 somehow, this thing is picking what seems to be a random admin password,
 which I don't know about. 
 
 It seems I'm clueless, and debconf has me beat. Can anyone, someone,
 give me a clue?
 
 Thanks,
 Tim
 
 -- 
 
  Tim Sailer (at home)   Coastal Internet, Inc.  
  Network and Systems Operations PO Box 671  
  http://www.buoy.comRidge, NY 11961 
  [EMAIL PROTECTED]/[EMAIL PROTECTED]   (631)924-3728  (888) 924-3728  
   
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 

-- 

 Tim Sailer (at home)   Coastal Internet, Inc.  
 Network and Systems Operations PO Box 671  
 http://www.buoy.comRidge, NY 11961 
 [EMAIL PROTECTED]/[EMAIL PROTECTED]   (631)924-3728  (888) 924-3728