Re: system start script

2000-05-03 Thread Zhiliang Hu


dd - Thank you!

I assume it is inetd.  However I moved qmail to be after inetd
it didn't get qmail started either upon reboot.

BTW, I have following lines in the /etc/inetd.conf:

smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
 /var/qmail/bin/qmail -smtpd

(all in one line)

Does it help diagnoze?

Zhiliang


On Thu, 27 Apr 2000, dd wrote:

  I installed qmail 1.03 and it works fine on my Digital unix4.0D.
 
  However when I tested my system script starting the qmail at boot:
 
 [...]
 
  qmail was not started at boot, although the script works when
  tried at the command line.  (the script was in /.../rc3.d)
 
 I had the same problem in linux then I found out that Iwas running one of
 the services qmail needed _after_ starting qmail (right now I can't remember
 wich one though :/). Making sure that qmail was called at the end of the
 script (check the daemons called in other scripts also) and modifying the
 script accordingly solved the problem.  if You're using tcpserver make sure
 that it's called after qmail is started.
 
 hope this helps a little bit...
 yours,
 
 dd





Re: system start script

2000-05-03 Thread Vince Vielhaber

On Wed, 3 May 2000, Zhiliang Hu wrote:

 
 dd - Thank you!
 
 I assume it is inetd.  However I moved qmail to be after inetd
 it didn't get qmail started either upon reboot.
 
 BTW, I have following lines in the /etc/inetd.conf:
 
 smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
  /var/qmail/bin/qmail -smtpd

You don't have a space between qmail and -smtpd, do you?

Vince.


 
 (all in one line)
 
 Does it help diagnoze?
 
 Zhiliang
 
 
 On Thu, 27 Apr 2000, dd wrote:
 
   I installed qmail 1.03 and it works fine on my Digital unix4.0D.
  
   However when I tested my system script starting the qmail at boot:
  
  [...]
  
   qmail was not started at boot, although the script works when
   tried at the command line.  (the script was in /.../rc3.d)
  
  I had the same problem in linux then I found out that Iwas running one of
  the services qmail needed _after_ starting qmail (right now I can't remember
  wich one though :/). Making sure that qmail was called at the end of the
  script (check the daemons called in other scripts also) and modifying the
  script accordingly solved the problem.  if You're using tcpserver make sure
  that it's called after qmail is started.
  
  hope this helps a little bit...
  yours,
  
  dd
 
 
 

-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==






Re: system start script

2000-05-03 Thread Zhiliang Hu


  BTW, I have following lines in the /etc/inetd.conf:
  
  smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
   /var/qmail/bin/qmail -smtpd
 
 You don't have a space between qmail and -smtpd, do you?

 No space. 
 Sorry, when I copied and pasted it into mail I left a space there.

 Zhiliang




Re: system start script

2000-04-27 Thread dd


 I installed qmail 1.03 and it works fine on my Digital unix4.0D.

 However when I tested my system script starting the qmail at boot:

[...]

 qmail was not started at boot, although the script works when
 tried at the command line.  (the script was in /.../rc3.d)

I had the same problem in linux then I found out that Iwas running one of
the services qmail needed _after_ starting qmail (right now I can't remember
wich one though :/). Making sure that qmail was called at the end of the
script (check the daemons called in other scripts also) and modifying the
script accordingly solved the problem.  if You're using tcpserver make sure
that it's called after qmail is started.


hope this helps a little bit...
yours,

dd




Re: system start script

2000-04-25 Thread Dave Sill

Zhiliang Hu [EMAIL PROTECTED] wrote:

However when I tested my system script starting the qmail at boot:

#!/sbin/sh
  if [ -f /var/qmail/rc ]; then
/var/qmail/rc 
echo "Starting qmail server"
echo "Please wait .."  /sbin/sleep 5
  else
echo "qmail server could not be started."
  fi

qmail was not started at boot, although the script works when
tried at the command line.  (the script was in /.../rc3.d)

Any hint?

Are you sure qmail wasn't started? Maybe it started, but because you
didn't "nohup" it, it was killed when the startup shell exited.

Are you sure the startup script was run? Stick a:

  env /tmp/qmail-startup

at the top of the file and reboot. Then look for /tmp/qmail-startup.

BTW, I am new so I am not on your list yet.  Please reply to me
directly -- Thanks!!

Done.

-Dave