hspcd service stops shortly after the start:
# /etc/init.d/hspcd status hspcd dead but subsys locked
A plug-in code was modified incorrectly.
/var/log/hspcd/error_log to find out which plug-in causes the issue. In the example below the ESNIC plug-in code was violated by adding the
the_wrong_code_is_here string to where it should not be. Hence, the message in
/var/log/hspcd/error_log looks like:
Syntax error on line 443 of /etc/hspcd/conf/hspcd.conf: "the_wrong_code_is_here" is not exported by the HTTP::Status module Can't continue after import errors at /usr/local/share/perl5/HSPC/MT/Plugin/DM/ESNIC/API.pm line 12 BEGIN failed--compilation aborted at /usr/local/share/perl5/HSPC/MT/Plugin/DM/ESNIC/API.pm line 12. Compilation failed in require at /usr/local/share/perl5/HSPC/MT/Plugin/DM/ESNIC.pm line 23 BEGIN failed--compilation aborted at /usr/local/share/perl5/HSPC/MT/Plugin/DM/ESNIC.pm line 23. Compilation failed in require at /usr/local/share/perl5/HSPC/Startup.pm line 610. BEGIN failed--compilation aborted at /usr/local/share/perl5/HSPC/Startup.pm line 644. Compilation failed in require at (eval 5) line 3.
Revert the changes made to the plug-in file (in our example that means that
the_wrong_code_is_here should be wiped out from
/usr/local/share/perl5/HSPC/MT/Plugin/DM/ESNIC/API.pm) or replace the broken file with a new one from an OBAS distributive of your version.