Re: qmail won't start
Marenbach, Peter [EMAIL PROTECTED] wrote: I just build and set up qmail for the first time (according to the installation description in Life with qmail) on a Solaris 5.8 box. I tried to start qmail by invoking qmail-start ./Mailbox splogger qmail and nothing at all did happen. No stderr/stdout no syslog, no processes running. Any ideas? Yeah, why didn't you follow LWQ? I mean, why use LWQ is you're not going to do what it tells you to do? No sane qmail installation document will tell you to run qmail-start manually.. -Dave
qmail won't start
Hi, I just build and set up qmail for the first time (according to the installation description in Life with qmail) on a Solaris 5.8 box. I tried to start qmail by invoking qmail-start ./Mailbox splogger qmail and nothing at all did happen. No stderr/stdout no syslog, no processes running. Any ideas? Thanks, Peter
Re: qmail won't start!?
hi Dave, The init scripts are in, In what/where? And what's in them? And what platform are you using? Sorry I didn't give enough info. The init scripts are in my /etc/rc.d/init.d dir and softlinked to the various /etc/rcx.d directories. I'm using RH6.2, and used the RPM package to first compile the src then installed it using rpm. By "nothing happens" do you mean that the script runs but doesn't output anything, runs but exits immediately, or what? It runs, but immediately exits. You can't start qmail from inetd.conf. Perhaps you mean qmail-smtpd? Yes, I meant qmail-smtpd.
Re: qmail won't start!?
"Isaiah Chua" [EMAIL PROTECTED] wrote: Sorry I didn't give enough info. The init scripts are in my /etc/rc.d/init.d dir and softlinked to the various /etc/rcx.d directories. I'm using RH6.2, and used the RPM package to first compile the src then installed it using rpm. By "nothing happens" do you mean that the script runs but doesn't output anything, runs but exits immediately, or what? It runs, but immediately exits. That's normal. Init scripts generally run stuff in the background so the system can move on to the next script. Do the qmail processes show up when you run ps? See: http://Web.InfoAve.Net/~dsill/lwq.html#processes -Dave
qmail won't start!?
hi folks, I've finally got qmail to work with a lot of help from Johan Almqvist and Peter Samuel - thanks guys! However, the funny thing is that when we had to reboot the server, qmail just won't start! The init scripts are in, and I even tried starting it from the command line, but nothing happens. I'm using tcpserver to start the qmail-pop3 and qmail itself in my inetd.conf file. What might be wrong? Best regards, Isaiah ChuaOfficial Email: [EMAIL PROTECTED]AIM Nick : radar00
Re: qmail won't start!?
"Isaiah Chua" [EMAIL PROTECTED] wrote: The init scripts are in, In what/where? And what's in them? And what platform are you using? and I even tried starting it from the command line, but nothing happens. By "nothing happens" do you mean that the script runs but doesn't output anything, runs but exits immediately, or what? I'm using tcpserver to start the qmail-pop3 and qmail itself in my inetd.conf file. You can't start qmail from inetd.conf. Perhaps you mean qmail-smtpd? What might be wrong? Your startup scripts might be misconfigured. -Dave
Qmail won't start
I haven't made any changes, I left behind since the last 2 installation attempts. The last time I stopped the Qmail install, I could see the entries in "syslog". This time around nothing is happening. The script stops immediately. When I do a "ps waux", there are no processes listed for qmail. Please look at the output below. Can someone please shed some light, on what I could be missing? Thank you in advance. Subba Rao [EMAIL PROTECTED] == Disclaimer - I question and speak for myself. http://pws.prserv.net/truemax/ __ root@caesar:/var/qmail# cat rc #!/bin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to ~/Mailbox by default. exec env - PATH="/var/qmail/bin:$PATH" qmail-start ./Mailbox splogger qmail root@caesar:/var/qmail# root@caesar:/var/qmail# csh -cf '/var/qmail/rc ' [1] 8156 [1]Exit 111 /var/qmail/rc root@caesar:/var/qmail#
qmail won't start
Hi, I am trying to install qmail on a RedHat 6.0/2.2.10 box and I have followed the life with qmail directions up to the Section 2.8 where you are supposed to first try and start qmail, and RedHat won't even recognize the qmail binary as a binary? When I try to start it with the script or by manually, it just says, no such file or directory. I have read through the documentation but only found troubleshooting information on once it is installed and you can run it. Can someone help? Thanks in advance. Scott
Re: qmail won't start
"Scott MacDonald" [EMAIL PROTECTED] wrote: I am trying to install qmail on a RedHat 6.0/2.2.10 box and I have followed the life with qmail directions up to the Section 2.8 where you are supposed to first try and start qmail, and RedHat won't even recognize the qmail binary as a binary? When I try to start it with the script or by manually, it just says, "no such file or directory". Exactly what command are you entering, and what is the exact error message? -Dave
Re: qmail won't start
Here is the part from the "Life with Qmail" I got hung up on. #!/bin/sh # Using stdout for logging # Using control/defaultdelivery from qmail-local to deliver messages by default exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start "`cat /var/qmail/control/defaultdelivery`" accustamp Use your editor to create the above /var/qmail/rc, then execute these commands: chmod 755 /var/qmail/rc mkdir /var/log/qmail When I did this, it just hung there. It tried to execute it, and wouldn't give me a prompt back untill I ctrl-c 'd it. I even got up and left it there for over 5 min, and it was still hung. Then I downloaded the script in the next section and tried to start the other part of qmail. I got the script from the webpage link at: http://Web.InfoAve.net/~dsill/qmail-script.txt. I made it excecutible, and tried to run it. It gave me an error, "Cannot find file or directory". But the script was there? It was the weirdest thing. So then I went for the heck of it to the /var/qmail/bin/ and tried the qmail-start, and that gave the same, "cannot find file or directory" error." Is there anything I need to do differently that you know of to make this run on a RedHat 6.0 box? Thanks again for the response. Scott -Original Message- From: Dave Sill [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Tuesday, September 07, 1999 9:40 AM Subject: Re: qmail won't start "Scott MacDonald" [EMAIL PROTECTED] wrote: I am trying to install qmail on a RedHat 6.0/2.2.10 box and I have followed the life with qmail directions up to the Section 2.8 where you are supposed to first try and start qmail, and RedHat won't even recognize the qmail binary as a binary? When I try to start it with the script or by manually, it just says, "no such file or directory". Exactly what command are you entering, and what is the exact error message? -Dave
Re: qmail won't start
"Scott MacDonald" [EMAIL PROTECTED] wrote: Here is the part from the "Life with Qmail" I got hung up on. #!/bin/sh # Using stdout for logging # Using control/defaultdelivery from qmail-local to deliver messages by default exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start "`cat /var/qmail/control/defaultdelivery`" accustamp Use your editor to create the above /var/qmail/rc, then execute these commands: chmod 755 /var/qmail/rc mkdir /var/log/qmail When I did this, it just hung there. When you did what? Created the /var/qmail/rc script? Chmod'd it? Mkdir'd /var/log/qmail? It tried to execute it, and wouldn't give me a prompt back untill I ctrl-c 'd it. I even got up and left it there for over 5 min, and it was still hung. When a command seems to hang: 1) Open another window and run top. Is it using lots of CPU? If so, skip to step 3. 2) Hit Control-D. Did anything happen? If so, the command was waiting for input. Figure out why (script typo or usage error). 3) Hit Control-C. Run the command again using trace/strace/truss/par. The resulting system call trace should provide useful debugging information. Then I downloaded the script in the next section and tried to start the other part of qmail. I got the script from the webpage link at: http://Web.InfoAve.net/~dsill/qmail-script.txt. I made it excecutible, and tried to run it. It gave me an error, "Cannot find file or directory". But the script was there? It was the weirdest thing. 1) Always provide exact copies of error messages. Paraphrases are usually useless. 2) When a script provides such an error, the cause is usually due to a ``shebang'' error, i.e., the first line of the script points to a command that's supposed to run the script. If that command doesn't exist, well, the script can't run. Look at the first line of your qmail script. It should say "#!/bin/sh", your system should have a file named /bin/sh, and it should be executable. So then I went for the heck of it to the /var/qmail/bin/ and tried the qmail-start, and that gave the same, "cannot find file or directory" error." Did you do "qmail-start" or "./qmail-start"? PLEASE PLEASE PLEASE cut and paste your commands and error messages! Or use the "script" command if you aren't using X. -Dave