Spectrum ssdbload command hangs
search cancel

Spectrum ssdbload command hangs

book

Article ID: 202984

calendar_today

Updated On:

Products

CA Spectrum CA eHealth

Issue/Introduction

When we try do SSdbload command nothing happens.   We copied a legacy.SSdb from the secondary Spectrum Server and same issue.

../SS-Tools/SSdbload -il ./legacy.SSdb

 

 

Environment

Release : ALL

Component : Spectrum Core / SpectroSERVER

Cause

The SSdbload confirmation prompt is not being displayed as normal:

strace ../SS-Tools/SSdbload -il legacy.SSdb
 
Problem Server:
 
write(1, "    and indicates these landscap"..., 60    and indicates these landscapes loaded on these servers:
) = 60
write(1, "\n", 1
)                       = 1
write(1, "        Landscape   Hostname    "..., 57        Landscape   Hostname          Port    Precedence
) = 57
write(1, "        ----------  ------------"..., 57        ----------  ----------------  ------  ----------
) = 57
write(1, "        0x50000000  spmlseu     "..., 57        0x50000000  spmlseu           0xbeef  10
) = 57
write(1, "        0x50000000  spmlseub    "..., 57        0x50000000  spmlseub          0xbeef  20
) = 57
write(1, "\n", 1
)                       = 1
write(1, "\n", 1
)                       = 1
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbc49a61000
read(0,
 
Working Server:
 
write(1, "    and indicates these landscap"..., 60    and indicates these landscapes loaded on these servers:
) = 60
write(1, "\n", 1
)                       = 1
write(1, "        Landscape   Hostname    "..., 57        Landscape   Hostname          Port    Precedence
) = 57
write(1, "        ----------  ------------"..., 57        ----------  ----------------  ------  ----------
) = 57
write(1, "        0x1000000   lvntest01800"..., 57        0x1000000   lvntest018006     0xbeef  10
) = 57
write(1, "\n", 1
)                       = 1
write(1, "\n", 1
)                       = 1
write(1, "***Warning***\n\n     You have cho"..., 317***Warning***
 
     You have chosen the '-i' option.  This option is used to initialize
the database.  This means ALL data in the database will be deleted.  If
you choose to continue with this option, you must be prepared to load
your modeling catalog (model types and relations), before starting the
SpectroSERVER.
 
) = 317
write(1, "     Do you really want to initi"..., 62     Do you really want to initialize the database? (Y or N): ) = 62
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f13fe8be000
read(0,

 

Resolution

Use the quiet flag (-quiet or -q) to bypass the confirmation prompt:

../SS-Tools/SSdbload -i -l -quiet <DATABASE_NAME>.SSdb