03-17-2009
Unable to delete an open file
I am working on a unix server.
I killed all the processes with my id on the machine.
After that I tried to delete a file, I got an error:-
file not removed.Text File busy.
Deletion of directory prompted:-
Directory not empty.
Can anyone help me regarding this...???
Thanks,
Vikas
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi ..
I am trying to deleta a file but i cant do the error i get is
rm: hs_pdref_custom_dict_PG1_out_76_out non-existent
but when i do ls it is listing the in the directory ...
please find the filed below....
-rw-r----- 1 tsta107 users 118011030 Dec 1 04:07... (13 Replies)
Discussion started by: arunkumar_mca
13 Replies
2. UNIX for Dummies Questions & Answers
Hi ,
We are running Oracle 8.1.7 on HP-UX B.11.00. Recently we have upgraded Oracle from 8.0.6. to 8.1.7. Almost all the shell script we use has the Sqlplus as sqlplus -s @/apps/prod/sql/xxxx.sql > /apps/prod/log/xxxx.out .
However we receive the error
SP2-0310: unable to open file... (2 Replies)
Discussion started by: guru_2007
2 Replies
3. UNIX for Dummies Questions & Answers
Hi ,
I am running Oracle 8.1.7 on HP-UX B.11.00. Recently I have upgraded Oracle from 8.0.6. to 8.1.7. Almost all the shell script has the Sqlplus as sqlplus -s @/apps/prod/sql/xxxx.sql > /apps/prod/log/xxxx.out .
However I receive the error
SP2-0310: unable to open file... (2 Replies)
Discussion started by: Ananth.p
2 Replies
4. Solaris
am unable to open a .log file which is 4MB size. (18 Replies)
Discussion started by: venkatramana
18 Replies
5. Windows & DOS: Issues & Discussions
We have AIX box with a share.
We have a Windows 2000 server with a mapped drive to this share.
We were able to create and delete files inside the mapped drive.
I removed the map. Changed it to a test share. Removed that map. Added it back to teh original share.
However, now we can... (3 Replies)
Discussion started by: mcubitt
3 Replies
6. UNIX for Dummies Questions & Answers
hi,
I have a little problem. I deleted a file, which was opened in vim editor. it was bad idea... now "df" still display same space.
I kill process vim, but maybe file was controlled or opened by another application.
Is any eventuallity to find which process has lock file?
Command "ps -ax"... (2 Replies)
Discussion started by: delonism
2 Replies
7. Shell Programming and Scripting
Hi,
I was compiling few C programs in the unix server and getting the following error message
rm: /home/a0xxx28/AVT/SEEDLIBRARYDB/LIB/*.a non-existent
proc MODE=ANSI CODE=ANSI_C INCLUDE=/home/a0xxx28/PVT/SEEDLIBRARYDB/INCLUDE
INCLUDE=/home/a0xxx28/PVT/SEEDLIBRARY/INCLUDE ... (1 Reply)
Discussion started by: kavithakuttyk
1 Replies
8. Red Hat
Hi,
I am unable to create/open any file in vi editor for normal user, though using root I am able to create/open any file, using redhat 5.5,
example
vi test
it showing nothing after entering command (9 Replies)
Discussion started by: manoj.solaris
9 Replies
9. Shell Programming and Scripting
Not able to open a file using this code
why not?
use strict;
use warnings;
my $file = "verInfo.txt";
unless(open FILE, $file) {
# Die with error message
# if we can't open it.
die "\nUnable to open $file\n";
}
my $line = <FILE>;
print $line;
close FILE; (7 Replies)
Discussion started by: srijith
7 Replies
10. UNIX for Beginners Questions & Answers
Hi,
Getting the below error while installing from ks.cfg unable to open input kickstart file curl#37 Couldn't open file /tmp/swappart
Here am trying to include /tmp/swappart file from pre section under disks and partition section. Dont know where exactly am doing wrong
My kickstart file... (3 Replies)
Discussion started by: Sumanthsv
3 Replies
LEARN ABOUT FREEBSD
idsconfig
idsconfig(1M) System Administration Commands idsconfig(1M)
NAME
idsconfig - prepare an iPlanet Directory Server (iDS) to be populated with data and serve LDAP clients
SYNOPSIS
/usr/lib/ldap/idsconfig [-v] [-i input_configfile] [-o output_configfile]
DESCRIPTION
Use the idsconfig tool to set up an iPlanet Directory Server (iDS). You can specify the input configuration file with the -i option on the
command line. Alternatively, the tool will prompt the user for configuration information. The input configuration file is created by
idsconfig with the -o option on a previous run.
The first time a server is set up, the user is prompted for all the required information. Future installations on that machine can use the
configuration file previously generated by idsconfig using the -o option.
The output configuration file contains the directory administrator's password in clear text. Thus, if you are creating an output configura-
tion file, take appropriate security precautions.
You should back up the directory server's configuration and data prior to running this command.
OPTIONS
The following options are supported:
-i input_configfile Specify the file name for idsconfig to use as a configuration file. This file will be read by idsconfig, and the
values in the file will be used to configure the server. Do not manually edit input_configfile. The input_config-
file is only partially validated, as idsconfig assumes that the file was created by a previous invocation of the
command.
-o output_configfile Create a configuration file.
-v Verbose output.
OPERANDS
The following operands are supported:
input_configfile Name of configuration file for idsconfig to use.
output_configfile Configuration file created by idsconfig.
EXAMPLES
Example 1: Prompting the User for Input
In the following example, the user is prompted for information to set up iDS.
example# idsconfig
Example 2: Creating an Output Configuration File
In the following example, the user is prompted for information to set up iDS, and an output configuration file, config.1, is created when
completed.
example# idsconfig -o config.1
Example 3: Setting up iDS Using the Specified Configuration File
In the following example, iDS is set up by using the values specified in the configuration file, config.1. The verbose mode is specified,
so detailed information will print to the screen.
example# idsconfig -v -i config.1
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnisu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
ldap(1), ldapadd(1), ldapdelete(1), ldaplist(1), ldapmodify(1), ldapmodrdn(1), ldapsearch(1), ldap_cachemgr(1M), ldapaddent(1M), ldap-
client(1M), suninstall(1M), resolv.conf(4), attributes(5)
SunOS 5.10 18 Oct 2001 idsconfig(1M)