2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. | Help Search Members Calendar |
Welcome Guest ( Log In | Register ) | Resend Validation Email |
hschneider |
Posted: Mar 2 2004, 09:11 AM
|
||
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
Just adapt the Agent's path and go .. -------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
||
Sougent |
Posted: Jul 8 2004, 02:19 AM
|
Newbie Group: Members Posts: 4 Member No.: 1205 Joined: 8-July 04 |
Hi,
I need the idiots guide to setting up startup scripts, I've created a copy of this XQM startup script but I can't get it to work. Could someone give me step by step instructions for where to put this script and how to set it up so that it will run automatically when I boot up at run level 3? If you haven't guessed, I'm new at this Linux thing and though I kinda understand the whole thing, I guess I'm missing a piece because for the life of me I can't get this to work. Thanks, |
hschneider |
Posted: Jul 8 2004, 06:11 AM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
In most distributions, this file (name it xqmagent) needs to go to
/etc/rc.d/init.d cd /etc/rc.d/init.d chmod 755 xqmagent cd /etc/rc.d/rc3.d ln -s /etc/rc.d/init.d/xqmagent S91xqmagent Then reboot. This creates a symbolic link in your runlevel folder, which points to the script. The S91 prefix tells your system to start the agent right after XMail, which typically has S90 as prefix. The magic here is, that all filenames inside the runlevel folder are executed in alphabetical order. -------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
Sougent |
Posted: Jul 8 2004, 07:03 AM
|
||
Newbie Group: Members Posts: 4 Member No.: 1205 Joined: 8-July 04 |
Hi, That worked, to a point, but it failed with a "no such file or directory" when it tried to come up on the reboot. My xqmagent directory is /var/xqmagent, the AGENT_ROOT looks correct. Otherwise the script is exactly as posted here. Any ideas? Joe |
||
hschneider |
Posted: Jul 8 2004, 07:58 AM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
cd /etc/rc.d/init.d
./xqmagent start Any messages after this ? Which OS and distribution do you use ? -------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
Sougent |
Posted: Jul 10 2004, 10:17 PM
|
||
Newbie Group: Members Posts: 4 Member No.: 1205 Joined: 8-July 04 |
: bad interpreter: No such file or directoory Fedora Core release 1 (Yarrow) Kernel 2.4.22-1.2194.nptl |
||
hschneider |
Posted: Jul 10 2004, 11:20 PM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
This can mean several things. In fact the script cannot be executed.
Make sure that - the 1st line of the script starts with #! and is not blank, - that sh exists in your /bin folder and - you don't use non-Unix lineendings in the case you've edited the script on Windows. -------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
Sougent |
Posted: Jul 11 2004, 02:29 AM
|
||
Newbie Group: Members Posts: 4 Member No.: 1205 Joined: 8-July 04 |
Non-Unix line endings it was........ Everything works now except that when I run it from the command line it takes a good minute from the point it says Daemonized before it gives me back the command line. Takes a long while when booting up too, but finally makes it through. Thanks for your help. |
||
hschneider |
Posted: Jul 11 2004, 08:53 AM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
This delay can be supressed in the next version. It starts scanning the queue on teh very first startup, which can take some time depending on your hardware.
-------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
dbatch |
Posted: Apr 11 2005, 05:40 PM
|
Newbie Group: Members Posts: 17 Member No.: 1095 Joined: 3-May 04 |
RedHat Fedora requires
The following two lines in the startup scripts chkconfig and description These are some example lines from my xmail rc script, it should be the same for xqm #!/bin/sh # # chkconfig: 2345 80 30 # description: Xmail server # # |
hschneider |
Posted: Apr 11 2005, 07:43 PM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
Thanks!
-------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |