Insufficient privileges distributed install Spectrum 21.2.1
search cancel

Insufficient privileges distributed install Spectrum 21.2.1

book

Article ID: 225410

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

The distributed installation of Spectrum 21.2.1 using sradmin generates an error.

d100xxxxxx: Starting Test
d100xxxxxx: Starting Test
d100xxxxxx: SPC-INT-20074: Insufficient privileges on d100xxxxxx.
d100xxxxxx:
d100xxxxxx: Spectrum Installation requires either ROOT access, SUDO privileges or Administrator privileges.  Please see the Spectrum Installation Guide (Document number 5136) for more information regarding SUDO.
d100xxxxxx: Test complete

when the sudoers file contains lines blank.

Using the workaround mentioned in the Knowledge Bases article 209208, the installation completes successfully.

 

Environment

Release : 21.2.1

Component : Spectrum Core / SpectroSERVER

Cause

The sradmin is crashing with the following stack:

Core was generated by `./sradmin.exe --restart'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000000004f54c4 in fgetline(_IO_FILE*) ()
[Current thread is 1 (Thread 0x7f5144e3c700 (LWP 188899))]
Missing separate debuginfos, use: zypper install glibc-debuginfo-2.22-62.16.2.x86_64 libgcc_s1-debuginfo-8.2.1+r264010-1.3.3.x86_64 libstdc++6-debuginfo-8.2.1+r264010-1.3.3.x86_64
(gdb) where
#0  0x00000000004f54c4 in fgetline(_IO_FILE*) ()
#1  0x00000000004f66d4 in sudo::CanSudo(char*, CsHostAddress const&, char*, char const*) ()
#2  0x00000000004f01bf in server_comm::getAdminPrivs() ()
#3  0x00000000004f396d in server_comm::read_msg() ()
#4  0x00000000004f3c68 in server_comm::process_client() ()
#5  0x00000000004e9801 in IDsapi::comm_thread(void*) ()
#6  0x00007f51451ea6e4 in start_thread () from /lib64/noelision/libpthread.so.0
#7  0x00007f5144f29e8d in clone () from /lib64/libc.so.6

Resolution

Spectrum patch 21.2.1.D11