The corrupt error messages, suggest that this script is not a valid script file.
Check whether the script has been edited with a Microsoft editor such as Windows Notepad and then transferred to a unix system without conversion.
To visually check the script for funny characters, use this sed command to make funny characters visible:
A normal line will show with ending $. A Microsoft line will show with ending \r$.
Also, please post what Operating System and version you are running and what Shell you use.
Dears,
I've written a script which allows me to send mails in different formats with different attaches. Now I still want to add a feature to this script. My users would like to be able to receive a "read" or "delivered" receipt for their mails.
The script send mails on behalve of an specific... (1 Reply)
I wish to seach a Dir for a specific file, once the file is found i will perform additional logic. If the file is not found within two hours, i would like to exit.
Logically, I'm looking for the best way to approach this
Thanks for any assistance in advance.
Note: I'm using a C shell and... (2 Replies)
Hi,
We are sending mail from UNIX Sendmail utility.
Is there any feature through which we can receive read receipt notification for e-mails sent through sendmail?
Thanks. (1 Reply)
Advance Thanks.
(1) I would like to know any unix/Linux command to check EOF char in a file.
(2) Or Any way I can check a file has been reached completely at machine B from machine A. Note that machine A ftp/scp the file to machine B at unknown time. (5 Replies)
I'm working on a script which is supposed to check an email account and automatically download .doc attachments, but I'm having some problems.
I'm using Mutt to check the email account (IMAP), and I can manually get the attachment and saving it, but I cannot for the life of me work out how to... (4 Replies)
Hi
Do you know how can I get all check in and check out comments for a period of time with Surround SCM CLI
---------- Post updated at 02:00 AM ---------- Previous update was at 01:56 AM ----------
Do you have NAnt tasks that allow us to access Evolution from an NAnt build script? (0 Replies)
Hi Experts,
I am checking how to get day in Perl.
If it is “Monday” I need to process…below is the pseudo code.
Can you please prove the code for below condition.
if (today=="Monday" )
{
while (current_time LESS THAN 9:01 AM)
... (1 Reply)
Discussion started by: ajaypatil_am
1 Replies
LEARN ABOUT SUSE
crm_verify
CRM_VERIFY(8) [FIXME: manual] CRM_VERIFY(8)NAME
crm_verify - check the CIB for consistency
SYNOPSIS
crm_verify [-V] -x file
crm_verify [-V] -X string
crm_verify [-V] -L|-p
crm_verify [-?]
DESCRIPTION
crm_verify checks the configuration database (CIB) for consistency and other problems. It can be used to check a file containing the
configuration or can it can connect to a running cluster. It reports two classes of problems, errors and warnings. Errors must be fixed
before Heartbeat can work properly. However, it is left up to the administrator to decide if the warnings should also be fixed.
crm_verify assists in creating new or modified configurations. You can take a local copy of a CIB in the running cluster, edit it, validate
it using crm_verify, then put the new configuration into effect using cibadmin.
OPTIONS --help, -h
Print a help message.
--verbose, -V
Turn on debug information.
Note
Increase the level of verbosity by providing additional instances.
--live-check, -L
Connect to the running cluster and check the CIB.
--crm_xml string, -X string
Check the configuration in the supplied string. Pass complete CIBs only.
--xml-file file, -x file
Check the configuration in the named file.
--xml-pipe, -p
Use the configuration piped in via stdin. Pass complete CIBs only.
EXAMPLES
Check the consistency of the configuration in the running cluster and produce verbose output:
crm_verify -VL
Check the consistency of the configuration in a given file and produce verbose output:
crm_verify -Vx file1
Pipe a configuration into crm_verify and produce verbose output:
cat file1.xml | crm_verify -Vp
FILES
/var/lib/heartbeat/crm/cib.xml--the CIB (minus status section) on disk. Editing this file directly is strongly discouraged.
SEE ALSO
???
AUTHOR
crm_verify was written by Andrew Beekhof.
[FIXME: source] 07/05/2010 CRM_VERIFY(8)