Syntax error at line 32 : `if' is not matched

Hi,
Submitting concurrent program with host (.prog file)executable to send an email with concurrent program out file for support.
given full execution permissions and created soft link.
code in .prog file:
LOGIN=$1
REQUEST_ID=$4
PREQUEST_ID=$5
SUBJECT=$6
BODY=$7
MAIL_ID=$8
OUT_FILE=$APPLCSF/$APPLOUT/o$4.out
echo $OUT_FILE
DATE=`date`
echo $DATE
CONC_OUT_FILE=$APPLCSF/$APPLOUT/o$5.out
echo $CONC_OUT_FILE
test -f CONC_OUT_FILE
if [ $? -ne 0 ]
then
echo "Error Unable to find the output file........"
exit 2
else
mailx -s "$SUBJECT" $MAIL_ID<$CONC_OUT_FILE
echo "Succesfully E Mailed Output file to finance IT support team........"
exit 0
fi
Getting concurrent program output (error):
/app/r11i_off/comn/admin/out/R11i_OFF_finoffdb/o6936738.out
Thu Feb 2 02:44:14 EST 2012
/app/r11i_off/comn/admin/out/R11i_OFF_finoffdb/o6935861.out
/app/r11i_off/custom11i/ar/bin/CARMAILPRGOUT.prog[29]: ^M: Execute permission denied.
/app/r11i_off/custom11i/ar/bin/CARMAILPRGOUT.prog[31]: ^M: Execute permission denied.
/app/r11i_off/custom11i/ar/bin/CARMAILPRGOUT.prog[32]: Syntax error at line 32 : `if' is not matched.
/app/r11i_off/custom11i/ar/bin/CARMAILPRGOUT
Program exited with status 126
Please give me suggestion to resolve this issue.
Regards,
Neeraja.

Please post the details of the application release, database version and OS.
/app/r11i_off/custom11i/ar/bin/CARMAILPRGOUT.prog[29]: ^M: Execute permission denied.
/app/r11i_off/custom11i/ar/bin/CARMAILPRGOUT.prog[31]: ^M: Execute permission denied.Please make sure you have permission set correctly.
/app/r11i_off/custom11i/ar/bin/CARMAILPRGOUT.prog[32]: Syntax error at line 32 : `if' is not matched.
/app/r11i_off/custom11i/ar/bin/CARMAILPRGOUT
Program exited with status 126Change "if [ $? -ne 0 ]" to "if [ $? -ne 0 ];" and see if this helps.
Thanks,
Hussein

Similar Messages

  • SQL Error: ORA-01861: literal does not match format string

    Hello,
    I'm trying to do data mining on a web log which recorded one day web access information from a busy web server. I imported the data into Oracle Data miner, and created a table (WEBLOG). The idea is to create a new field, i.e. session, for the users so that each session could be thought as a representative of a user-intent (aka topic). Now based on this, data mining models would be used to cluster(group) the users based on their similarity. The first step is to prepare the data which involves using SQL queries. So first, all I did was to create a function for date and time. This is the following code I used,
    create or replace function ssndate(p_date in varchar2 default '03-01-18',
    p_time in varchar2)
    return number
    $if dbms_db_version.ver_le_10 $then
    deterministic
    $elsif dbms_db_version.ver_le_11 $then
    result_cache
    $end
    as
    begin
    return trunc((to_date(p_date||' '||p_time, 'dd-mm-yy hh24:mi:ss')
    - to_date('01-01-90','dd-mm-yy')) * (86400/2400));
    end ssndate;
    The function ssndate compiled successfully.
    The next step I took was to create a view through the following query,
    create or replace view WEBLOG_VIEWS
    as
    select (select ssndate(LOG_DATE, LOG_TIME) from dual) as "SESSION_DT",
    C_IP,
    CS_USER_AGENT,
    (CS_URI_STEM||'?'||CS_URI_QUERY) as WEB_LINK
    from WEBLOG;
    This was successful as well. The problem is in the next step where I try to do data grouping.
    create table FINAL_WEBLOG as
    select SESSION_DT, C_IP, CS_USER_AGENT,
    listagg(WEB_LINK, ' ')
    within group(order by C_IP, CS_USER_AGENT) "WEB_LINKS"
    from WEBLOG_VIEWS
    group by C_IP, CS_USER_AGENT, SESSION_DT
    order by SESSION_DT
    For this, I got the error,
    Error starting at line 1 in command:
    create table FINAL_LOG as
    select SESSION_DT, C_IP, CS_USER_AGENT,
    listagg(WEB_LINK, ' ')
    within group(order by C_IP, CS_USER_AGENT) "WEB_LINKS"
    from WEBLOG_VIEWS
    group by C_IP, CS_USER_AGENT, SESSION_DT
    order by SESSION_DT
    Error at Command Line:1 Column:7
    Error report:
    SQL Error: ORA-01861: literal does not match format string
    ORA-06512: at "DMUSER.SSNDATE", line 11
    ORA-06512: at line 1
    01861. 00000 - "literal does not match format string"
    *Cause:    Literals in the input must be the same length as literals in
    the format string (with the exception of leading whitespace).
    If the "FX" modifier has been toggled on, the literal must
    match exactly, with no extra whitespace.
    *Action:   Correct the format string to match the literal.
    I don't know where I'm going wrong with this.. the to_date function should be fine. In the data that I possess, the date and time are in no format. Example: 30118 and 0:00:09 respectively. If anyone has any clue about this I would be sincerely grateful for any help that I can get!! It's quite urgent..
    The Oracle version is 11.2.0.1.0
    Edited by: 975265 on Dec 5, 2012 5:31 PM

    975265 wrote:
    Ok.. Looks like I touched a nerve there. I apologize. I'm still a student, and this is the first time that I've tried something at this level. I'm still in the learning process, so I was hoping that someone could point me in the right direction in order to "fix" the data.Not so much touching a nerve as simply trying to implement a very very poor, but all too common, practice. Since you are a student (which we didn't know until this post) most people will cut you some slack. However, this little exchange should now be burned into your brain as you move forward. One of the very first rules of programming is to ALWAYS use the correct data types for your data. And along with that, never ever depend on implicit type conversions - always use the proper explicit conversion functions.
    And as a slight follow-on, when considering the appropriate data type, don't assume that just because we refer to a given element as a 'something number' that it is indeed a number. Telephone "numbers" are NOT numbers. U.S. Social Security "numbers" are NOT numbers. U.S. Postal Zip codes are NOT numbers. All are just character strings which, by convention, we limit to the same characters we use to represent numbers.
    And since this entire discussion came up around the representation of dates, you might want to take a look at http://edstevensdba.wordpress.com/2011/04/07/nls_date_format/
    Now, go forth and be a smarter programmer than your peers.
    Edited by: EdStevens on Dec 6, 2012 6:12 AM

  • Syntax error in line 1.

    When I post to my hosting company that I have had for years, I get a syntax error in line one every time. I have posted to my ISP's "free web space" and it works fine. Has anyone else had this problem, and if not where do you host? I am using ITX hosting and it just won't work with iWeb. When I called Customer Support they told me to use Dreamweaver, but I think that it is about $400 too expensive.
    Thanks in advance,
    Mike

    When I post to my hosting company that I have had for years, I get a syntax error in line one every time.
    Their server is probably misconfigured. Here is a note on the subject. It's pretty rare, but often the people in charge don't understand it or won't change it.
    http://homepage.mac.com/thgewecke/parsingerror.html

  • CS4 - a syntax error on line 27 of list.js.php

    I am getting a message
    "There is a syntax error on line 27 of list.js.php. Code
    hinting may not work untill you fix this error"
    Does anyone have a fix?

    > The file I refer to "list.js.php" is generated by
    dreamweaver
    > It is located in includes/nxt/scripts/
    What operation causes it to be generated? I have never seen
    DW create such
    a file.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "The Wackonerd" <[email protected]> wrote in
    message
    news:gifvsr$5di$[email protected]..
    >
    quote:
    > So, just suggesting that you try naming the file without
    multiple dots,
    > but use a single dot for the extension signifying the
    file type you
    > think DW should recognize. Perhaps an underscore for
    deliniating to
    > human eyes what the file may reference, but is not. ie:
    list_js.php
    >
    >
    > The file I refer to "list.js.php" is generated by
    dreamweaver
    > It is located in includes/nxt/scripts/
    >
    >
    >
    >

  • /usr/bin/bash[34]: syntax error at line 40 : `set' unexpected

    Hi All
    I would like to install Oracle Database 11gR1 On Solaris 10
    When I run root.sh command, I confused to input path
    *# cd /home/oracle11/app/oracle11/product/11.1.0/db_1*
    *# ./root.sh*
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
    ORACLE_OWNER= oracle11
    ORACLE_HOME=  /usr2/home/oracle11/app/oracle11/product/11.1.0/db_1
    *Enter the full pathname of the local bin directory: [usr/local/bin]:/usr/bin/bash*
    I have inputed "/usr/bin/bash"
    Now I can not run bash on Solaris 10.
    *# bash*
    bash[34]: syntax error at line 40 : `set' unexpected
    Please help me!
    Thankyou and best regards,
    thiensu2810

    Hi
    Output of "$ find /usr -name bash 2>/dev/null" is
    *# find /usr -name bash 2>/dev/null*
    */usr/bin/bash*
    *# less /usr/bin/bash*
    +###################################+
    +#+
    +# $Header: coraenv.sh 17-may-2007.08:31:33 jboyce Exp $ coraenv+
    +#+
    +# Copyright (c) 1987, 2007, Oracle. All rights reserved.+
    +#+
    +# This routine is used to condition a C shell user's environment+
    +# for access to an ORACLE database. It should be installed in+
    +# the system local bin directory.+
    +#+
    +# The user will be prompted for the database SID, unless the variable+
    +# ORAENV_ASK is set to NO, in which case the current value of ORACLE_SID+
    +# is used.+
    +# An asterisk '*' can be used to refer to the NULL SID.+
    +#+
    +# 'dbhome' is called to locate ORACLE_HOME for the SID. If+
    +# ORACLE_HOME cannot be located, the user will be prompted for it also.+
    +# The following environment variables are set:+
    +#+
    +# ORACLE_SID Oracle system identifier+
    +# ORACLE_HOME Top level directory of the Oracle system hierarchy+
    +# PATH Old ORACLE_HOME/bin removed, new one added+
    +# ORACLE_BASE Top level directory for storing data files and+
    +..................................+
    +.................................+
    else
    if (-e $ORABASE_EXEC) then
    if (-x $ORABASE_EXEC) then
    set BASEVAL=`$ORABASE_EXEC`
    setenv ORACLE_BASE $BASEVAL
    echo "The Oracle base for ORACLE_HOME=$ORACLE_HOME is $ORACLE_BASE"
    else
    echo "The $ORACLE_HOME/bin/orabase binary does not have execute privile
    ge"
    echo "for the current user, $USER.  Rerun the script after changing"
    echo "the permission of the mentioned executable."
    endif
    else
    setenv ORACLE_BASE $ORACLE_HOME
    echo "The Oracle base for ORACLE_HOME=$ORACLE_HOME is $ORACLE_BASE"
    endif
    endif
    +#+
    +# Install local modifications here+
    +#+
    thank,
    thiensu2810

  • Error: user supplied keyhash does not match tape keyhash.

    I am getting the following error:
    ob> catxcr admin/5
    2013/08/02.07:41:32 ______________________________________________________________________
    2013/08/02.07:41:32
    2013/08/02.07:41:32         Transcript for job admin/5 running on blm1005
    2013/08/02.07:41:32
    ob> catxcr admin/5
    2013/08/02.07:41:32 ______________________________________________________________________
    2013/08/02.07:41:32
    2013/08/02.07:41:32         Transcript for job admin/5 running on blm1005
    2013/08/02.07:41:32
    Error: user supplied keyhash does not match tape keyhash. 
    If tape information is valid, use --ignoremismatch option.
    I've tried using the "ignore key mismatch" button, tried entering --ignoremismatch in the options line with no positive results.  Our catalog directory has remained intact so I would not expect any issues with keys.  Anyone know exactly what this error means and have any suggestions how to get around it?
    Thank you.

    Hi bmarques
    Welcome to BlackBerry Support Forums
    Which BlackBerry device( model )  you have ?
    Are you sure you're using the same BlackBerry ID username that you're using before on that device ? Or trying to login with a new BlackBerry ID ? 
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • While configuring speed 1000 i am getting error as sw2-storage-vdc(config-if)# speed 1000 ERROR: Ethernet2/6: Configuration does not match the port capability.

    storage-vdc(config-if)# show module
    Mod  Ports  Module-Type                         Model              Status
    2    32     1/10 Gbps Ethernet Module           N7K-F132XP-15      ok
    sw1-gd78(config-if)# sh module
    Mod  Ports  Module-Type                         Model              Status
    2    48     1/2/4/8 Gbps FC Module              DS-X9248-96K9      ok
    4    8      10 Gbps FCoE Module                 DS-X9708-K9        ok
    7    0      Supervisor/Fabric-2a                DS-X9530-SF2AK9    active *
    8    0      Supervisor/Fabric-2a                DS-X9530-SF2AK9    ha-standby
    10   22     4x1GE IPS, 18x1/2/4Gbps FC Module   DS-X9304-18K9      ok
    Mod  Sw              Hw      World-Wide-Name(s) (WWN)
    2    5.2(2)          1.1     20:41:00:0d:ec:fb:8a:00 to 20:70:00:0d:ec:fb:8a:00
    4    5.2(2)          0.107   --
    7    5.2(2)          1.8     --
    8    5.2(2)          1.8     --
    10   5.2(2)          1.3     22:41:00:0d:ec:fb:8a:00 to 22:52:00:0d:ec:fb:8a:00
    sw1-gd78(config-if)# sh run int ethernet4/6
    !Command: show running-config interface Ethernet4/6
    !Time: Mon Feb 20 22:56:12 2012
    version 5.2(2)
    interface Ethernet4/6
      no shutdown
    sw1-gd78(config-if)# no shut
    sw1-gd78(config-if)# speed 1000
    ERROR: Ethernet4/6: Configuration does not match the port capability.
    sw1-gd72# sh int ethernet4/6 capabilities
    Ethernet4/6
      Model:                 DS-X9708-K9
      Type (SFP capable):    10Gbase-SR
      Speed:                 1000,10000
      Duplex:                full
      Trunk encap. type:     802.1Q
      Channel:               yes
      Broadcast suppression: percentage(0-100)
      Flowcontrol:           rx-(off/on/desired),tx-(off/on/desired)
      Rate mode:             dedicated
      QOS scheduling:        rx-(2q4t),tx-(1p3q4t)
      CoS rewrite:           yes
      ToS rewrite:           yes
      SPAN:                  yes
      UDLD:                  yes
      Link Debounce:         yes
      Link Debounce Time:    yes
      MDIX:                  no
      Port Group Members:    none
      TDR capable:           no
      FabricPath capable:    yes
      Port mode:             Switched
    sw1-gd72# sh int ethernet4/6 transceiver details
    Ethernet4/6
        transceiver is present
        type is 10Gbase-SR
        name is CISCO-FINISAR
        part number is FTLX8571D3BCL-CS
        revision is C
        serial number is FNS12090EMJ
        nominal bitrate is 10300 MBit/sec
        Link length supported for 50/125um OM2 fiber is 82 m
        Link length supported for 50/125um OM3 fiber is 300 m
        Link length supported for 62.5/125um fiber is 26 m
        cisco id is --
        cisco extended id number is 4
               SFP Detail Diagnostics Information (internal calibration)
                                         Alarms                  Warnings
                                    High        Low         High          Low
      Temperature   36.21 C        75.00 C     -5.00 C     70.00 C        0.00 C
      Voltage        3.29 V         3.63 V      2.97 V      3.46 V        3.13 V
      Current        8.11 mA       11.80 mA     4.00 mA    10.80 mA       5.00 mA
      Tx Power       -2.65 dBm       1.49 dBm  -11.30 dBm   -1.50 dBm     -7.30 dBm
      Rx Power       -2.21 dBm       1.99 dBm  -13.97 dBm   -1.00 dBm     -9.91 dBm
      Transmit Fault Count = 0
      Note: ++  high-alarm; +  high-warning; --  low-alarm; -  low-warning

    Ankit,
    You are trying to set speed 1000 on a 10g sfp.
    type is 10Gbase-SR
    You will need to insert a 1gig sfp and then you will be able to set the speed.
    Also, I noticed that you posted first with interface 2/6 and the output you gave me was for 4/6. Are you sure you're in the right interface?

  • Flash Chart Error "A Start-tag was not matched with an end-tag."

    All of the Flash charts on a page started displaying the error "A Start-tag was not matched with an end-tag." The charts were all working prefectly and no changes were made to the page. Any thoughts?
    Thanks.

    Here is what I get when I click Show XML in debug mode. Thanks.
    <?xml version="1.0" ?>
    - <root>
    - <styles>
    <style type="background" id="background" background_type="solid" color="0xffffff" alpha="0" />
    <style type="deal_background" id="dealBackground" enabled="yes" color="0xdddddd" alpha="100" />
    <style type="deal_border" id="dealBorder" enabled="yes" thickness="1" color="0x666666" alpha="100" />
    <style type="deal_position" id="dealPosition" left="146" top="169.1707317" />
    <style type="deal_size" id="dealSize" startAngle="0" endAngle="180" innerRadius="0" outerRadius="109.5" />
    <style type="indicator_background" id="indicatorBackground" enabled="yes" color="0x000000" alpha="100" />
    <style type="indicator_border" id="indicatorBorder" enabled="yes" color="0xFFFFFF" thickness="1" alpha="0" />
    <style type="scale_size" id="scaleSize" length="7.3" />
    <style type="scale_position" id="scalePosition" radius="102.2" />
    <style type="scale_lines" id="scaleLines" enabled="yes" thickness="1" color="0x000000" alpha="100" />
    <style type="scale_labels_position" id="scaleLabelsPosition" radius="109.5" />
    <style type="scale_labels_background" id="scaleLabelsBackground" enabled="no" />
    <style type="scale_labels_border" id="scaleLabelsBorder" enabled="no" color="0x000000" />
    <style type="scale_labels_text" id="scaleLabelsText" font="Verdana" size="10" color="0x000000" bold="no" italic="no" underline="no" align="right" />
    <style type="scale_labels_size" id="scaleLabelsSize" />
    <style id="areaBackground0" type="area_background" enabled="yes" color="0x669999" alpha="100" />
    <style id="areaBackground1" type="area_background" enabled="yes" color="0xCCCCCC" alpha="100" />
    <style id="areaBorder" type="area_border" enabled="yes" thickness="1" color="0xFFFFFF" alpha="100" />
    <style id="areaBorder0" type="area_border" enabled="yes" thickness="1" color="0x666666" alpha="100" />
    <style id="areaSize" type="area_size" outerRadius="105.85" innerRadius="36.5" />
    <style type="circle_object_border" id="dotBorder" enabled="no" />
    <style type="circle_object_position" id="dotPosition" left="146" top="169.1707317" />
    <style type="circle_object_size" id="dotSize" radius="7.3" />
    <style type="circle_object_background" id="dotBackground" enabled="yes" color="0x000000" alpha="100" />
    <style id="emptyBorder" enabled="no" />
    </styles>
    - <shapes>
    - <shape id="indicatorShape" type="polygon">
    <point x="0" y="-4" />
    <point x="-97.82" y="0" />
    <point x="0" y="4" />
    <point x="0" y="-4" />
    </shape>
    </shapes>
    - <objects>
    <circle sizeStyleId="dotSize" positionStyleId="dotPosition" backgroundStyleId="dotBackground" borderStyleId="dotBorder" />
    </objects>
    - <data>
    <deal minimum="0" maximum="100" sizeStyleId="dealSize" positionStyleId="dealPosition" backgroundStyleId="dealBackground" borderStyleId="dealBorder" />
    - <areas>
    <area startValue="1" endValue="99" backgroundStyleId="areaBackground1" borderStyleId="areaBorder" sizeStyleId="areaSize" />
    </areas>
    - <scales>
    <scale startAngle="0" endAngle="180" angleStep="18" labelsPrefix="" labelsPostfix="%" decimalPlaces="0" sizeStyleId="scaleSize" positionStyleId="scalePosition" linesStyleId="scaleLines" labelPositionStyleId="scaleLabelsPosition" labelBackgroundStyleId="scaleLabelsBackground" labelBorderStyleId="scaleLabelsBorder" labelTextStyleId="scaleLabelsText" labelSizeStyleId="scaleLabelsSize" />
    </scales>
    <indicator value="51.7412935" backgroundStyleId="indicatorBackground" borderStyleId="indicatorBorder" shapeId="indicatorShape" />
    </data>
    </root>

  • SQL*Loader-350: Syntax error at line 5.

    Hi ,iam  new for  using  sql*loader, with minimum  understanding from  the forums,Iam  trying  to load data  from a flat  file (.dat) to oracle database.
    here  is  my  .dat file-------> data_file.dat
    aaaa, mumbai
    bbbb,kolkat
    here is  my  .ctl fle ------->ctrl_file.ctl
    load data 
    infile 'F:\oracle_utils_kiranorcl\KIR_ORA_DIR\emp_data.dat'
    into table  test
    fields terminated by  ","
    ( NAM  varchar2(12),
    PLACE varchar2(8)
    here  is  db_tab_name  structure 
    create table test (nam Varchar2(15),place Varchar2(10));
    SQL> select *  from  test;
    NAM             PLACE
    now.......
    iam  running  the command on  cmd window on  os  level
    F:\app\NANDAN\product\11.2.0\dbhome_1>sqlldr userid=kiranmai/kiranmai@kiranorcl control=F:\oracle_utils_kiranorcl\KIR_ORA_DIR\emp_data.ctl log=F:\oracle_utils_kiranorcl\KIR_ORA_DIR\emp_data.log bad=F:\oracle_utils_kiranorcl\KIR_ORA_DIR\emp_data.bad
    when  i run this  above command ,I get  an  error,
    SQL*Loader-350: Syntax error at line 5.
    Expecting "," or ")", found "varchar2".
    ( NAM varchar2(12),
           ^
    I  tried so many  times by creating  new ctl  files further. But  couldn't  able get  what  is  the  wrong  thing  ????
    Please help me ..
    Thanks

    Instead of:
    fields terminated by  ","
    ( NAM  varchar2(12),
    PLACE varchar2(8)
    try:
    fields terminated by  ","
    ( NAM  char,
    PLACE char

  • SQL*Loader-350: Syntax error at line 1.

    I am getting an systax error saying :
    SQL*Loader-350: Syntax error at line 1.
    Expecting keyword LOAD, found "ï".
    What could be the prob ??

    description of the control file :
    LOAD DATA
    APPEND INTO TABLE TEST_UPDATE
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    (STATUS constant 3,
    CID sequence (count),
    SUBJECT_ID constant 0,
    PNO "RTRIM(LTRIM(:PID))",
    FREQ NULLIF VISIT = BLANKS,
    INV "RTRIM(LTRIM(:INV))",
    PNUM NULLIF PAGENUM = BLANKS,
    VDT DATE "DD/MM/YYYY HH24:MI:SS"
    NULLIF VISIT_DATE = BLANKS,
    MKEY "RTRIM(LTRIM(:MASTERKEY))",
    DKEY "RTRIM(LTRIM(:DETAILKEY))")
    I found a sysntax error for this. Plz suggest.

  • Error when i try to create a panorama pic. in Ps. i got this message : Error 8: Syntax error. Line: 132 -   args.putEnumerated( keyMode٬ typeBlendMode, enumDarken );

    when i try to create a panorama pic. in Ps. i got this message : Error 8: Syntax error. Line: 132 -> args.putEnumerated( keyMode٬ typeBlendMode, enumDarken );
    everything with last updated the OS , Java , and PS version .
    any help pls

    What software are you using? PS version. OS version etc. Also check you have all the updates for your version of Photoshop installed.  That your only selecting image files to be stitched. That a javsscript error message from one of the  Stack Script Only that get used when you use Photoshop Photomerge Script.

  • Error the entered value does not match the specified field type

    Hi,
    When I try to insert a null value to a field of the User Defined Table I am getting the error "The entered value does not match the specified field type" in SAP Business One version 2007 PL 42.
    Any help would be appreciated.
    Thanks in advance.
    Sudha.

    Hi Sudha,
    It probably have to do with how you defined the field.
    Is Null value allowed?
    What are the field definitions?
    Thanks,
    Jesper

  • ./preinstall-core: syntax error at line 1: `(' unexpected

    I am installing Iplanet Webserver and I am getting this error during
    install:
    ../preinstall-core: syntax error at line 1: `(' unexpected
    ERROR. Failure installing Server Core. Do you want to continue [n]?
    Thanks,
    Joe

    Hi,
    Are you doing a silent install or custom one or typical what is the
    version ? is this a test drive or a enterprise edition ?. I think it's
    best to post this question in iWS newsgroup where you can find better
    answers quickly because this is iAS news group.
    Regards
    Raj
    Ham Damit wrote:
    I am installing Iplanet Webserver and I am getting this error during
    install:
    ./preinstall-core: syntax error at line 1: `(' unexpected
    ERROR. Failure installing Server Core. Do you want to continue [n]?
    Thanks,
    Joe

  • "There is a syntax error on line .. Code hinting may not work untill you fix this error"

    Hi guys, i hope your are all well and happy.
    i have syntax error on new pages created from template  (no errors in template) I use Dreamweave CS5
    Thiis is part of my code:
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>| Building and Construction services | Maintenance services | Cleaning services | Buildant Ltd |</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    <link href="file:///D|/Local Sites/Buildant/CSS/buildant.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    </head>
    I have highlited line with red (the dreamweaver telling me that syntax error is on this line)
    Could anybody please help mw with this one
    Thank you

    I copy and pasted your code and got the error. I rewrote the code and it went away. I have had problems in DW with templates that gave me errors when everything was good but the only way to fix it was to redo the template from scratch. Sounds stange, but true. The only other thing, and the experts here might chime in is to put the scripts in comment tags like below.
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>| Building and Construction services | Maintenance services | Cleaning services | Buildant Ltd |</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <link href="file:///D|/Local Sites/Buildant/CSS/buildant.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    I don't get the error now, so I am unsure what to do.
    Jim

  • Integrations services error 4000 - integration services does not match the expected version

    I have a 2 node high availability cluster built on 2012r2 DataCentre. One VM continually fails to backup and gives the event log error
    "Hyper-V Volume Shadow Copy Requestor failed to connect to virtual machine 'QuadPro' because the version does not match the version expected by Hyper-V (Virtual machine ID 094B6B22-BBED-4D0B-8E47-D8D4D0D3F986). Framework version: Negotiated (0.0) -
    Expected (3.0); Message version: Negotiated (0.0) - Expected (5.0). To fix this problem, you must upgrade the integration services. To upgrade, connect to the virtual machine and select Insert Integration Services Setup Disk from the Action menu."
    When I do the suggested action I get a message stating
    "The computer is already running the current version of integration services (version 6.3.9600.16384)".
    This VM was built through the failover management console under 2012r2. The VM in question is a 2008r2 standard server running a single database application.
    Please advise.
    Matt

    Hi,
    I have run the command using both nodes and get the following error:
    PS C:\Users\*******> Get-VMIntegrationService -ComputerName node01 -VMName quadpro
    Get-VMIntegrationService : A parameter is invalid. Hyper-V was unable to find a virtual machine with name quadpro.
    At line:1 char:1
    + Get-VMIntegrationService -ComputerName node01 -VMName quadpro
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidArgument: (quadpro:String) [Get-VMIntegrationService], VirtualizationInvalidArgum
       entException
        + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.GetVMIntegrationServiceCommand
    However I tried one of the other VMs for testing purposes (and to check syntax etc) and got the following success message.
    PS C:\Users\******> Get-VMIntegrationService -ComputerName node02 -VMName appserver01
    VMName      Name                    Enabled PrimaryStatusDescription SecondaryStatusDescription
    Appserver01 Time Synchronization    True    OK
    Appserver01 Heartbeat               True    OK                      
    OK
    Appserver01 Key-Value Pair Exchange True    OK
    Appserver01 Shutdown                True    OK
    Appserver01 VSS                     True    OK
    Appserver01 Guest Service Interface False   OK

Maybe you are looking for