From: <bac...@li...> - 2005-01-09 09:20:30
|
The following bug has been CLOSED ====================================================================== http://bugs.bacula.org/bug_view_advanced_page.php?bug_id=0000215 ====================================================================== Reported By: mcorrege Assigned To: ====================================================================== Project: bacula Bug ID: 215 Category: start/stop scripts Reproducibility: always Severity: trivial Priority: normal Status: closed ====================================================================== Date Submitted: 01-05-2005 06:01 PST Last Modified: 01-09-2005 01:28 PST ====================================================================== Summary: ./bacula status : report incorrect Description: Running /usr/local/bacula/etc/bacula status results in awk: syntax error near line 3 awk: illegal statement near line 3 awk: syntax error near line 4 awk: illegal statement near line 4 awk: syntax error near line 4 awk: bailing out near line 4 bacula-sd dead but pid file exists bacula-fd (pid 4168) is running... bacula-dir (pid 4168) is running... ====================================================================== ---------------------------------------------------------------------- psa - 01-06-2005 15:24 PST ---------------------------------------------------------------------- I also had similar problems. Adding /usr/xpg4/bin to the path also works. ---------------------------------------------------------------------- kern - 01-09-2005 01:28 PST ---------------------------------------------------------------------- Thanks for the bug report. I have added the pid="", but it really should not be necessary. I have also added a AWK=awk at the top of the file, and so you just need to change that to point to the awk that works correctly on your system. I don't see any way to do this automatically as nawk is non-standard. I've also added a bit of documentation to this effect to the file. These changes are in 1.37.2 Bug History Date Modified Username Field Change ====================================================================== 01-05-05 06:01 mcorrege New Bug 01-06-05 15:24 psa Bugnote Added: 0000603 01-09-05 01:28 kern Bugnote Added: 0000609 01-09-05 01:28 kern Resolution open => fixed 01-09-05 01:28 kern Status new => closed ====================================================================== |