05-27-2010
thanks a lot for post. my errors is <User>.
and i m very sorry for making you guys hunt unnecessarily. but i swear i didnt do it on purpose i was also thinking where could i go wrong. isql was running properly 3hrs back and now its not running.
i will keep in mind to remove the typos if there are any from next time.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to edit a config file using shell script. i.e., Search with the 'key' string and edit the 'value'.
For eg: below is what I have in the config file "configfile.cfg".
Key1=OldValue1
Key2=OldValue2
I want to search for "Key1" and change "OldValue1" to "NewValue1"
Thanks for your... (7 Replies)
Discussion started by: rajeshomallur
7 Replies
2. UNIX for Advanced & Expert Users
Hi
I have a shell script that call a sql file. The sql file will create a spool file.
My requirement is, when ever i get an OS error like file not found. I have to log it in a log file.
Could some who worked in a like scenario help me by giving the code sample.
Many Thanks.. (1 Reply)
Discussion started by: chintapalli001
1 Replies
3. Shell Programming and Scripting
Hi,
I want to use a config file as the base file and parse over the values of country and city parameters in the config file and generate separate config files as explained below.
I will be using the config file as mentioned below:
(config.txt)
country:a,b
city:1,2
type:b1... (1 Reply)
Discussion started by: clazzic
1 Replies
4. Shell Programming and Scripting
Hi Guys,
I need some help related to my script... I will explain you briefly about my script and requirement
I written one script which will monitor all my services in the server and send a mail to me....
There are about 10 Services(Processes) running on my services, and I have written 10... (1 Reply)
Discussion started by: Anji
1 Replies
5. Shell Programming and Scripting
Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated.
script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made.
OS :Susi linux ver 10.3.
... (4 Replies)
Discussion started by: muraliinfy04
4 Replies
6. Shell Programming and Scripting
hi all
config.sh :
dhcp="0"
setip="1"
telnet="1"
ping="1"
main.sh
function dhcp {
}
function setip {
} (1 Reply)
Discussion started by: sadosan83
1 Replies
7. Shell Programming and Scripting
Hello.
I am looking for a simple way to modify config files after a first install.
I have a file containing the good key=value
good_config.txt
SSHAuthorizedKeys="authorized_keys"
SSHD_PORT=54321
ENABLE_PASSDB_AUTHENTICATION="0"
ENABLE_SSH_AUTHENTICATION="1"
ENABLE_SU_AUTHENTICATION="0"... (3 Replies)
Discussion started by: jcdole
3 Replies
8. Shell Programming and Scripting
hi,
I am trying to call a text file in a shell script.
The text file has the variable defind like..
export vari_namee=/path/give/here
-------------------------------------------------
I am able to execute the shell script through putty.
But when I try to execute with informatica... (1 Reply)
Discussion started by: sunil0106
1 Replies
9. Shell Programming and Scripting
I want to make a config file which contain all the paths.
i want to read the config file line by line and pass as an argument on my below function.
Replace all the path with reading config path line by line and pass in respective functions.
how can i achieve that?
Kindly guide.
... (6 Replies)
Discussion started by: sadique.manzar
6 Replies
10. UNIX for Beginners Questions & Answers
I just want to make sure I am understanding how to pass a config file to a bash script . In the below I pass to arguments to a script, then define them in the script as id and config. I then source config using ., if I understand correctly the variables in the config file can now be used by the... (11 Replies)
Discussion started by: cmccabe
11 Replies
LEARN ABOUT DEBIAN
update-exim4defaults
UPDATE-EXIM4DEFAULTS(8) System Manager's Manual UPDATE-EXIM4DEFAULTS(8)
NAME
update-exim4defaults - Manage exim4 daemon default file.
SYNOPSIS
update-exim4defaults [ --qflags flags ] [ --queuerunner combined|queueonly|separate|ppp|no|nodaemon ] [ --queuetime time ] [ --commonop-
tions options ] [ --queuerunneroptions options ] [ --smtplisteneroptions options ] [ --remove-common options ] [ --remove-queue options ] [
--remove-smtp options ] [ --force|-f ] [ --help|-h ] [ --init ]
DESCRIPTION
update-exim4defaults allows one to set run parameters for the Exim daemon in /etc/default/exim4. Its main purpose is for interaction with
packages enhancing Exim like virus-scanners that need to change the way the exim daemon is started.
OPTIONS
--help|-h
Print short usage instructions and exit.
--qflags flags
Set qflags, special flags given to exim directly after the "-q". See exim(8) for more information.
--queuerunner combined|queueonly|separate|ppp|no|nodaemon
Should the init script start one daemon that listens on the smtp port for incoming connections and runs the queue at regular inter-
vals (combined) , or should it start two separate daemons, one listening on the smtp port, the other running the queue (separate) ,
or should the queue only be run by /etc/ppp/ip-up.d/exim4 (ppp) , or shouldn't we run the queue at all, for example if you'd rather
do this with cron ? Or should we only start a queuerunner (queueonly) or no daemon at all (nodaemon) ?
--queuetime time
In which intervals should we run the queue? This passed as option -q<qflags>time to Exim, e.g. -q30m or -qq1h.
--commonoptions options
Options passed both to queue-running and listening instances of Exim.
--queuerunneroptions options
Options only passed to the instance of Exim running the queue.
--smtplisteneroptions options
Options only passed to the instance of Exim listening on the SMTP port.
--force|-f
Without this option update-exim4defaults exits with an error if at least one of the options --queuetime, --commonoptions,
--queuerunneroptions or --smtplisteneroptions is used and the corresponding value in /etc/default/exim4 is already set to a nonempty
value.
--remove-common option
Try to remove the given option from COMMONOPTIONS.
--remove-queue option
Try to remove the given option from QUEUERUNNEROPTIONS.
--remove-smtp option
Try to remove the given option from SMTPLISTENEROPTIONS.
The --remove-commands cannot be used at the same time as any of --commonoptions, --queuerunneroptions or --smtplisteneroptions. The
--remove-commands will additionally remove whitespace at the beginning and the end of the option and exchange multiple spaces wi a single
one.
--init create a default /etc/default/exim4 file and exit immediately. Unless --force was also specified update-exim4defaults exits (suc-
cessfully) without doing anything if /etc/default/exim4 already exists. All other options are ignored.
EXIT STATUS
0 change was successful or nothing needed to be done.
1 generic error: wrong options, unreadable configuration file, etc.
2 QUEUEINTERVAL was already set.
4 COMMONOPTIONS was already set.
8 QUEUERUNNEROPTIONS was already set.
16 SMTPLISTENEROPTIONS was already set.
32 QFLAGS was already set.
64 --remove-something failed, i.e. the value of the option was not changed.
Exit codes 2 to 32 will be summed up, if more than one unsuccessful option was given.
FILES
/etc/default/exim4
The configuration file.
/etc/init.d/exim4
The Exim init-script.
/etc/ppp/ip-up.d/exim4
The queuerunner in this file also uses COMMONOPTIONS and QUEUERUNNEROPTIONS and does not run if QUEUERUNNER=no.
BUGS
This manual page needs a major re-work. If somebody knows better groff than us and has more experience in writing manual pages, any patches
would be greatly appreciated.
SEE ALSO
exim(8), /usr/share/doc/exim4-base/
AUTHOR
Andreas Metzler <ametzler at downhill.at.eu.org>
EXIM4 March 26, 2003 UPDATE-EXIM4DEFAULTS(8)