bggo / Zmbkpose

The zmbkpose tool is a shell script that does hot backup and hot restore of ZCS Opensource accounts, GPL(OPENSOURCE). It can run from any host in the net, which means that it can be set on a backup server already existent.
http://wiki.zimbra.com/wiki/HOT_Backup_and_HOT_Restore
GNU General Public License v3.0
79 stars 56 forks source link

ERROR:You don't have "gawk" command, or it is not in your PATH #47

Closed arekstuka closed 10 years ago

arekstuka commented 10 years ago

Hi,

I just setup new install ubuntu server ver 12.04 , then install zimbra, everything is working good. sending / receiving email. now i want to install zmbkpose backup (i did this already 12 months ago on ubuntu 10, i use this same instruction and backup working OK.) Now with ubuntu 12.04 ,im go thru readme file from revrite proposal.i think :) all files in on right places but when i try to run backup manually i have error: ERROR:You don't have "gawk" command, or it is not in your PATH,

what can be wrong?

arekstuka commented 10 years ago

just find the problem in code :[ -z "$AWK_cmd" ] && AWK_cmd=$(which gawk) || { no_command_error gawk; exit 1 ;}

should be: [ -z "$AWK_cmd" ] && AWK_cmd=$(which awk) || { no_command_error awk; exit 1 ;}

i will test it tomorrow full backup and incremental and than post here results

arekstuka commented 10 years ago

everything is working good,

liandros commented 10 years ago

Thanks Arek for this suggest. This has generated the commit 20126ff ( https://github.com/bggo/Zmbkpose/commit/20126ffdb81c1cc57a266e6ccd22d6fece0ce6db )

2014-02-16 17:54 GMT-03:00 Arek notifications@github.com:

just find the problem in code :[ -z "$AWK_cmd" ] && AWK_cmd=$(which gawk) || { no_command_error gawk; exit 1 ;}

should be: [ -z "$AWK_cmd" ] && AWK_cmd=$(which awk) || { no_command_error awk; exit 1 ;}

i will test it tomorrow full backup and incremental and than post here results

Reply to this email directly or view it on GitHubhttps://github.com/bggo/Zmbkpose/issues/47#issuecomment-35211947 .