Skip to main content
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    "csh" and "dlib" commands give error: "Execute master cshrc; Variable syntax"


    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care


    Problem Symptoms:
    When login is attempted or when 'csh' is entered at the Unix prompt, the following two lines appear in response: 

    Execute master cshrc 
    Variable syntax 

    The dlib command also gives errors - and there is no way to perform "util" functions.


    In setting up a new library for consortial borrowing (XXX40), a space was inadvertently omitted from the open_new_library command: 

    csh -f$aleph_proc/open_new_library xxx40 SMALL usm40 "" N Y 

    should have been 

    csh -f $aleph_proc/open_new_library xxx40 SMALL usm40 "" N Y 

    i.e., with a space after the -f. This somehow resulted in the above symptoms.


    The following commands corrected the problem:

    > cp -p aleph_start.private aleph_start.private.bad.20131003; 
    > mv aleph_start.private 
    > source aleph_start 

    Log in, "dlib", etc., are now successful.


    Additional Information    
    Enter the commands from the /exlibris/aleph/a20_1/alephm/.cshrc file individually. The first was accepted OK, but the second 

    source /exlibris/aleph/u20_1/alephe/aleph_start 

    got the "Variable syntax" error. The aleph_start.private, a file included in aleph_start, had been incorrectly updated (by the open_new_library script). 


    > ls cshrc 

    does not work. The following is required: 

    > cd /exlibris/aleph/a20_1/alephm
    > ls -lrt .cshrc
    > view .cshrc


    • Article last edited: 02-Mar-2016
    • Was this article helpful?