If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > wat is execute permission denied??

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-11-06, 20:54
ckng ckng is offline
Registered User
 
Join Date: Oct 2006
Posts: 5
wat is execute permission denied??

hi,
i have a problem and is needed by next week.
when i need to run a program at the specified time using the crontab, after that the program which will send a messege to the screen using the say command, which will show "Hello"

but there is an error when i run it, in the mail it show that

[
[unexpected end of line. this entry has been ignored.]
]

my crontab code is like tis

[
45 13 * * * /usr/testest > /usr/test.txt 2>&1
]

and my code for [testtest] is

[
#!/bin/sh
DISPLAY=localhost:0.0 export DISPLAY

say HELLO
]

in the [test.txt] it shows
[
/usr/testtest : say : execute permission denied
]

does anyone know how to solve the [execute permission denied] problem?

Thank You for any advices.
Reply With Quote
  #2 (permalink)  
Old 10-12-06, 12:35
LKBrwn_DBA LKBrwn_DBA is offline
Registered User
 
Join Date: Jun 2003
Location: West Palm Beach, FL
Posts: 2,456
Cool


execute permission denied means just that!

You have NO permissions to execute the say command.
__________________
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
Reply With Quote
  #3 (permalink)  
Old 10-12-06, 23:43
ckng ckng is offline
Registered User
 
Join Date: Oct 2006
Posts: 5
hi,



Code:
id.so.1: say : fatal: libbsd.so : open failed : No such file or directory KILLed

what does it means and how do i solve it ???

Thanks

Last edited by ckng; 10-13-06 at 02:15.
Reply With Quote
  #4 (permalink)  
Old 10-13-06, 11:29
LKBrwn_DBA LKBrwn_DBA is offline
Registered User
 
Join Date: Jun 2003
Location: West Palm Beach, FL
Posts: 2,456
Cool

Quote:
Originally Posted by ckng
Code:
id.so.1: say : fatal: libbsd.so : open failed : No such file or directory KILLed

what does it means and how do i solve it ???

Thanks

It means you are missing the libbsd.so library.

Ask your Linux sys-admin for help.

__________________
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On