- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error while opening the files
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2001 06:44 PM
11-06-2001 06:44 PM
Error while opening the files
I am facing a problem while opening the files which i have created in my normal user login..
Error:
-------
"/var/tmp/Ex03871" Permission denied
What might be the problem and how to rectify it...
Regards
Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2001 06:48 PM
11-06-2001 06:48 PM
Re: Error while opening the files
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2001 06:51 PM
11-06-2001 06:51 PM
Re: Error while opening the files
The problem is a permissions problems, but without knowing the above information, we can't help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2001 06:56 PM
11-06-2001 06:56 PM
Re: Error while opening the files
You need the write and execute permission in /var/tmp. Check the permissions on /var/tmp. Set it to 777 if it is not a security risk for you.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2001 06:59 PM
11-06-2001 06:59 PM
Re: Error while opening the files
Change the permissions on the /var/tmp directory
from the terminal like this:
chmod a+rw /var/tmp
You need root permission to use chmod in the /var/tmp
directory.
Also check the permissions of the /var/tmp directory
drwxrwxrwxt------>with sticky bit.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2001 07:08 PM
11-06-2001 07:08 PM
Re: Error while opening the files
Occasionally, a process exits without cleaning up - maybe a crash or core dump - and the temp file is left behind.
Now if another process (or indeed the same process started by a different user) tries to create a temp file with the same name, you'll see this error.
Check the timestamp on this file. If its an old file, you can probably delete it without event.
Else, check if the owner of the file is logged in, or any of his processes are running - they may be using this file.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2001 07:25 PM
11-06-2001 07:25 PM
Re: Error while opening the files
I think you are opening the file from vi editor. You know how vi works? vi first opens a copy of the file /var/tmp/E****** and then display the file to you.
Say, vi crashes while eidting a file a copy fo the file will be stored in /var/tmp/E***** and it will send a mail to the user saying a copy fo the file is available in /var/tmp.
As a solution what i will sugggest to this problem is
1)sync the permissions of /var/tmp with your other HP-UX systems.
2) Remove all the files starting with "E" (to be in the safer side)
It should clear your problem. Moreover you can try opening the file with less editor or with more mode.
Hope this helps
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2001 07:32 PM
11-06-2001 07:32 PM
Re: Error while opening the files
Problem Text
Problem: If a file is being edited on a c-node and that node goes down,
no copy is saved in /usr/preserve. No email messages are sent
indicating a problem, and the file is not recoverable using "vi -r".
Cause Text
When a system crashes, vi does not have time to save the
temporary files out to /usr/preserve so they can be recovered. However,
if a standalone or cluster server was the system that crashed, then on
bootup, it executes /usr/lib/expreserve to preserve Ex***** files that
were in the /tmp directory when the system crashed.
When a cnode crashes and boots up, it does not execute expreserve on
/tmp because others may have a current vi session in progress in which
temporary files are being kept in /tmp. Expreserve would preserve a
copy of the files being edited, and destroy the temporary files for the
current vi sessions.
******************
The clean_ex startup script is the process to recover editor files.
This editor file recovery process sends an email to the user whose file is
recovered. If the process can't send the email, the process can hang.
During startup, at the point in time that the expreserve command is run from
the clean_ex startup script, if TCP/IP and sendmail aren't up and running, the
expreserve command may hang.
The workaround is to move the clean_ex script to a later time in the
startup sequence. This can be done by changing the name
/sbin/rc2.d/S200clean_ex to a name with a higher start number, such as
/sbin/rc2.d/S400clean_ex. The script should run before the tmp
directories are cleaned out, however.
Run /usr/lbin/expreserve -a is run interactively (as root)
Regards
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2001 07:19 PM
11-11-2001 07:19 PM
Re: Error while opening the files
My problem was solved after recieving the help from you all..Thank you very much...
Have a nice day..
Raj