[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference rocks::dec_edi

Title:DEC/EDI
Notice:DEC/EDI V2.1 - see note 2002
Moderator:METSYS::BABER
Created:Wed Jun 06 1990
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3150
Total number of notes:13466

2995.0. "Problems with setting up an Informix Database !" by COPCLU::FLADER_R (Rune Bo Flader @DMO) Wed Feb 05 1997 11:31

Hi !

DEC/EDI-configuration: DEC/EDI V3.1-A (Client and Server on the same machine), 
                       ObjectBroker V2.6, Informix V7.12-UC1 and DEC UNIX       
                       V3.2-G.

When I try to create the database (decedi_config (3)), the decedi_config-script
failed. I've have enclosed a script which shows that the prerequiste software is
installed and the error-message, which the decedi_config-script generates.

I hope somebody can help me !

Thanks in advance !

Rune Flader, DEC DK


---------------------

Script started on Wed Feb 05 09:59:58 1997
# /> setld -i | grep OBBBASE
OBBBASERT260    installed       ObjectBroker Base System
# /> obbmsho -A

Agent on node: EDI25A.dmo.dec.com
  Version:      OBB V2.6-07
  Username:     root
  Time Started: Wed Feb  5 09:51:34 1997
  Pid:          438
  Log Filename: /tmp/obbagent.log
  Attributes:   AuthrWOAuthn is ENABLED
                Active transports are TCPIP
                OrbV12 style Agent

# /> setld -i | grep OSFDCMT
OSFDCMT350      installed       Doc. Preparation Tools (Text Processing)
OSFDCMTEXT350   installed       Doc. Preparation Tools Extensions (Text Processi
ng)
# /> onstat -V
INFORMIX-OnLine Version 7.12.UC1   Software Serial Number AAB#J818511
# /> esqlvers
INFORMIX-ESQL Version 7.12.UC1
Software Serial Number AAB#J818512
# /> grep decedi /etc/passwd
decedi:Kslh8lwcEel2A:101:15:DEC/EDI account:/usr/users/decedi:/bin/ksh
# /> decedi_config

1.      Configure ACAS
2.      Configure ObjectBroker
3.      Configure database
4.      Modify database users
5.      Dump database
6.      Load database
7.      Manage database
8.      Exit Configuration

Select option [8] : 3

Configuring Database

Enter the database to be used (Rdb, Inf, Ora) [Inf] :
 awk: The string LOGSIZE 10 cannot contain a newline character.
 The source line is 34.
 The error context is
                 >>>     <<<
    else
 syntax error The source line is 35.
 awk: The statement cannot be correctly parsed.
 The source line is 35.
Enter raw device on which to hold database [] :
# /> ^

script done on Wed Feb 05 10:03:41 1997
T.RTitleUserPersonal
Name
DateLines
2995.1Missing end quoteSYSTEM::HELLIARhttp://samedi.reo.dec.com/Thu Feb 06 1997 13:5222
    Rune,
    
    Sincere appologies...there's a missing quote in the script.
    
    vi /usr/sbin/decedi_config
    and search for LOGFILES. You should see
    
        print "ALARMPROGRAM /usr/sbin/decedi_alarm # The DEC/EDI alarm script"
        else
            if(\$1 == "LOGSIZE")
                print "LOGSIZE 1024     # 1MB log files
            else
                print \$0
    
    Note that the print "LOGSIZE line has no trailing end quote, so just
    change it to
    		print "LOGSIZE 1024     # 1MB log files"
    
    Hopefully that should cure the problem.
    
    Graham
    
2995.2The missing quote !COPCLU::FLADER_RRune Bo Flader @DMOThu Feb 06 1997 14:377
Hi Grahame !

The missing quote in the decedi_config-script was the problem !

Thank you !

Rune