configureAsService.sh in Ubuntu 7.10 Gutsy Gibbon

configureAsService.sh in Ubuntu 7.10 Gutsy Gibbon

Hi,

I've been testing the product out on a Windows workstation and liked what I saw. Running into a small problem though in Ubuntu attempting to configure FA as a service.

Note:
I AM able to start the application using the run.sh script, I just can't get it to install as a service properly.

Here's the results of running the configureAsService script:

user@Madvillain:/usr/local/AdventNet/ME/Firewall/bin$ sudo ./configureAsService.sh -i
.: 8: setcommonenv.sh: not found


If I modify line 8 from:

". setcommonevn.sh" to "./setcommonenv.sh" I then get the following error:

user@Madvillain:/usr/local/AdventNet/ME/Firewall/bin$ sudo ./configureAsService.sh -i
./configureAsService.sh: 167: cannot create : Directory nonexistent
chmod: missing operand after `777'
Try `chmod --help' for more information.
ln: creating symbolic link `/etc/rc{0,6}.d/K' to `/etc/init.d/': No such file or directory

The has been successfully configured to run as a service, to start the service NOW use the script:

/etc/init.d/ [start|stop|status]









Just wondering if anyone knows of a workaround, or has a fixed script to get this installed as a service in Ubuntu 7.10.

Thanks!
















                New to ADSelfService Plus?