[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [FW-1] Problem Running Shell Scripts on Nokia
It is probably reporting that a command within the script is not found. If you include the script here, then we might be able to help more. If you are trying to use $FWDIR in the script, that may be the problem. The environment variables do not get carried into the scripts. You would have to set a local $FWDIR variable pointing to the physical location of the firewall's install directory within the script. Hope that helps. Cherie -----Original Message----- From: Sean Donaghey/HDGH [mailto:[email protected]] Sent: Monday, April 22, 2002 1:42 PM To: [email protected] Subject: [FW-1] Problem Running Shell Scripts on Nokia Hi, I have created my first shell script to do log rotation, and I am having a problem running it. The name of it is fwexport.sh, and I have placed it in /var/admin. I set the execution flag (chmod 700 fwexport.sh). The problem is that when I try to run it, I get an error back stating Command Not Found. I do a cd /var/admin, and then I have tried running by typing ./fwexport.sh, and even fwexport.sh, but I get the same Command Not Found. Any ideas on how to do it? Thanks, Sean P. Donaghey Sr. Technical Analyst Hôtel-Dieu Grace Hospital Windsor, Ontario Canada Tel:Ext. 3717 Fax:Email: [email protected] ================================================= To set vacation, Out Of Office, or away messages, send an email to [email protected] in the BODY of the email add: set fw-1-mailinglist nomail ================================================= To unsubscribe from this mailing list, please see the instructions at http://www.checkpoint.com/services/mailing.html ================================================= If you have any questions on how to change your subscription options, email [email protected] ================================================= Please note that: 1. This e-mail may constitute privileged information. If you are not the intended recipient, you have received this confidential email and any attachments transmitted with it in error and you must not disclose, copy, circulate or in any other way use or rely on this information. 2. E-mails to and from the company are monitored for operational reasons and in accordance with lawful business practices. 3. The contents of this email are those of the individual and do not necessarily represent the views of the company. 4. The company does not conclude contracts by email and all negotiations are subject to contract. 5. The company accepts no responsibility once an e-mail and any attachments is sent. Activis Ltd Theale House Brunel Road Theale Berkshire RG7 4AQ Tel:Fax:================================================= To set vacation, Out Of Office, or away messages, send an email to [email protected] in the BODY of the email add: set fw-1-mailinglist nomail ================================================= To unsubscribe from this mailing list, please see the instructions at http://www.checkpoint.com/services/mailing.html ================================================= If you have any questions on how to change your subscription options, email [email protected] =================================================
|