SpectroServer doesn't start, "command not found"
search cancel

SpectroServer doesn't start, "command not found"

book

Article ID: 374178

calendar_today

Updated On:

Products

DX NetOps CA Spectrum

Issue/Introduction

We are not able to boot up SpectroServer after stopping its services, we get:

[spectrum@host bin]$ ./startSS.pl
./startSS.pl: line 3: use: command not found
./startSS.pl: line 5: syntax error near unexpected token `('
./startSS.pl: line 5: `$result = GetOptions("ss", "h|help");'

 

Environment

Any Spectrum release

Cause

Check the following:

[spectrum@host ~]$ which perl
/usr/bin/perl
[spectrum@host ~]$ ls -la /usr/bin/perl
-rwxr-xr-x. 2 root root 0 Feb 22 15:39 /usr/bin/perl

Resolution

If the file size is zero bytes, perl is not healthy and requires a fix;
Most probably a reinstall.