Page 1 of 1

Backup Script

Posted: Wed May 24, 2006 3:21 pm
by hatcher1981
I am trying to get the backup script that comes with the admin resource kit to work on my RedHat EL 4 box. I followed the instructions on the sxbackup.pdf. When i get to the point of running the setup, i get the following message. I know i am probably missing something really easy.

./setup: line 5: dialog: command not found
./setup: line 20: dialog: command not found
./setup: line 39: dialog: command not found
./setup: line 54: dialog: command not found
./setup: line 67: dialog: command not found

Posted: Wed May 24, 2006 10:47 pm
by ScalixSupport
It sounds like the file was converted to a DOS file. Did you edit it on your PC, then copy it back to your Linux box? If so, you'll need to type:

Code: Select all

dos2unix sxbackup.sh
chmod 755 sxbackup.sh

Thanks,
Rachel

Posted: Thu May 25, 2006 8:44 am
by hatcher1981
No I didnt edit on my pc, but i ran the commands and it still did not work.

Posted: Thu May 25, 2006 8:59 am
by ScalixSupport
Please install "dialog" on your system.

NAME
dialog - display dialog boxes from shell scripts

SYNOPSIS
dialog --clear
dialog --create-rc file
dialog --print-maxsize
dialog common-options box-options

DESCRIPTION
Dialog is a program that will let you to present a variety of questions or display messages using dialog boxes from
a shell script. These types of dialog boxes are implemented (though not all are necessarily compiled into dialog):


Cheers,

Sascha.

Posted: Thu May 25, 2006 11:53 am
by hatcher1981
That worked thanks alot.