Error in querying file information

Thread Tools Search this Thread
Operating Systems Linux Red Hat Error in querying file information
# 1  
Old 07-21-2009
Error in querying file information


We have one application running where there is Linux Machine. For some some process I found the following message came,

error 5.8/116455-02/
Error in querying file information:
Permission denied [lstat(/vsa/distribution/common/e-admin/software/patches/SunOS/patches/5.8/116455-02/]


If anybody has any idea for this please let me know.

# 2  
Old 07-21-2009
How and where did you get this message from? Is this error from syslog?
This is my guess, the application or process trying to access the zip file does not have permission to the file.
Do an ls -l on the file and compare it with user that is running the application. Also, please provide more info on your app, OS, permissions etc.
It looks like you/application is doing some Sun OS patching on Linux Smilie

# 3  
Old 07-27-2009
Hello Nitin,

Thanks for your comments on the issue. This message came when the process ran .. joblog. Actually the application is trying to copy the SunOS patches from one server to another server, kind of syncing (rsync).

I checked for the zip file's permission what you have suggested and yes it did not have the required permission 644 (required here), it has 640. But when I changed it and again ran the process same error came.

Then I found out that in the destination server the directory(destination directory) permission was drwxr-Sr-x, which is not allowing its user to enter into this directory. But it needs to be drwxr-sr-x, as other directories also had it. So I made the change and it ran fine. Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Querying v$session table

Hi All, I'm using below code entry_data_control=`sqlplus ${sysuser}/${syspwd} << data_control whenever sqlerror exit sql.sqlcode; whenever oserror exit failure; INSERT INTO LSHADMIN.STUDY_LEVEL_TABLE(SESSION_SID,SESSION_SERIAL_NO,FILE_NAME) ... (3 Replies)
Discussion started by: Pratiksha Mehra
3 Replies

2. Shell Programming and Scripting

Generic script for Querying a DB

I have a few databases that i need to get some basic output from... so I'll be returning 1 or 2 records from a variety of different databases and the input queries will always differ. What im looking for is a generic script that I can use across of the databases. Theory being i have: ... (2 Replies)
Discussion started by: atelford
2 Replies

3. Shell Programming and Scripting

Run a bash script, display on the screen and save all information in a file including error info

Hi all, How to: Run a bash script, display on the screen and save all information in a file including error information. For example: I have a bash script called now I want to run the and display the output on the screen and save the output including error info to a file. ... (1 Reply)
Discussion started by: Damon sine
1 Replies

4. Solaris

commands hanging when querying hardware

Hi all Got another strange one. If I try to enquire about the hardware, the command hangs implying Ive got a hardware issue. So, if I execute :- iostat -en sysdef - ( stops at the devices part ) format cfgadm -al Anything that searches the devices, then the command hangs. ... (4 Replies)
Discussion started by: sbk1972
4 Replies

5. AIX

Servers still querying old DNS server?

Hello, I've created new DNS servers and changed all of the clients /etc/resolv.conf to point to them, but when I check the old DNS logs, I see that the clients are still querying it. Does anybody know why? thanks, (2 Replies)
Discussion started by: ctcuser
2 Replies

6. HP-UX

Querying HP VA array

Hello, all... I've got an older HP-UX 11i machine hooked up to an HP VA array. I've never worked with VA arrays, so I was wondering if anyone could point me in the direction of some documentation on querying and manipulating VAs (HP VAs for Dummies or something). I'm used to EMC arrays, so... (2 Replies)
Discussion started by: kknigga
2 Replies

7. Shell Programming and Scripting

Querying database from unix

Hi, I have a shell script to query the database to get the statistics of tables like sum,max,min,etc of all numeric columns,max and min of date columns and length of varchar columns for each and every table. There are nearly 1600 tables. My script queries few tables like about 100 tables and... (3 Replies)
Discussion started by: ragavhere
3 Replies

8. UNIX for Advanced & Expert Users

Connecting to DB2 database on Mainframe and Querying DB

I am trying to develop a script that can connect to a DB2 database mainframe and Query the database and display the results. I've been researching, but I have yet to find a definitive solution where I can enter in the Mainframe DB2 address db2:// and query the database and return the results. If... (2 Replies)
Discussion started by: developncode
2 Replies
Login or Register to Ask a Question