Sponsored Content
Operating Systems Solaris Tilde prefix returns invalid home directory. Post 302898308 by thinkster on Monday 21st of April 2014 10:01:37 AM
Old 04-21-2014
At last I was able to get some information. It looks like there is an Access control mechanism in place which apparently the sysadmins didn't share information much and that seems to be the issue as confirmed. Thanks for both of you who helped to trace this issue out Smilie.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

c++ home directory??

when i compile *.cpp files the compiler didn't find the non standart includes.If i have to put the full path of the includet files where shall i begin from root dirctory or i heve to put includet files in cpp home directory??? can i compile java files in unix(linux mandrake 7) if yes haw... (3 Replies)
Discussion started by: user666
3 Replies

2. Programming

Getting Home Directory

Hi I need to get the home directory of current user who is running the program, also i need to store the value in a particular variable and pass to the function. thanks in advance (4 Replies)
Discussion started by: cutechaps
4 Replies

3. Solaris

Restricting SFTP user to a defined directory and home directory

Hi, I've created solaris user which has both FTP and SFTP Access. Using the "ftpaccess" configuration file options "guest-root" and "restricted-uid", i can restrict the user to a specific directory. But I'm unable to restrict the user when the user is logged in using SFTP. The aim is to... (1 Reply)
Discussion started by: sftpuser
1 Replies

4. Shell Programming and Scripting

for $word in $line returns filenames in the current directory unexpectedly

I am writing a script below, which has 2 loops. The outer one reads file sufffixed with a number and inner inside which loop through each line of the file and display each space delimited string. However, i find that the string printed out in the inner loop includes not only the delimited string in... (2 Replies)
Discussion started by: martie
2 Replies

5. Shell Programming and Scripting

Find all images, append unique prefix to name and move to different directory

Hi, I have a directory with Multiple subdirectories and 1000s of pictures (jpg) in each directory. The problem is that each directory has a 001.jpg in them. I want to append a unique name (the directory_name)would be fine. and then move them to one main backup directory once they have been... (1 Reply)
Discussion started by: kmaq7621
1 Replies

6. Shell Programming and Scripting

rm -rf ab returns find: `./ab': No such file or directory

Hi Gurus. This is driving me a bit batty. I now if must be a simple matter but I cant find anything that references it. I have a housekeeping script that searches for some huge dump directories then removes them using rm -rf. find ./ -name 'ab' -exec rm -rf {} \; This works but always... (7 Replies)
Discussion started by: rinser
7 Replies

7. Shell Programming and Scripting

Extract Uniq prefix from a start and end prefix

Dear All, assume i have a file with content: <Start>6000</Start> <Stop>7599</Stop> the output is: 6000 7000 7100 7200 7300 7400 7599 how should we use any awk, sed, perl can do this task, means to extract the uniq prefixes from the start and stop prefix. Thanks Jimmy (3 Replies)
Discussion started by: jimmy_y
3 Replies

8. Solaris

SunOS confusing root directory and user home directory

Hello, I've just started using a Solaris machine with SunOS 5.10. After the machine is turned on, I open a Console window and at the prompt, if I execute a pwd command, it tells me I'm at my home directory (someone configured "myuser" as default user after init). ... (2 Replies)
Discussion started by: egyassun
2 Replies

9. Windows & DOS: Issues & Discussions

Home Questions Tags Users Unanswered Windows 2016 DNS server returns SERVFAIL for non-existing doma

I have two DNS resolvers in /etc/resolv.conf file. The top one is Windows DNS server, and the bottom one is my wi-fi router. Please see below. nameserver 192.168.1.126 nameserver 192.168.1.1 In Windows DNS server, the sole "Forward Lookup Zone" is biman.net When I query for host in the zone... (6 Replies)
Discussion started by: broy32000
6 Replies
vxtrace(7)						 Miscellaneous Information Manual						vxtrace(7)

NAME
vxtrace - Veritas Volume Manager I/O Tracing Device SYNOPSIS
/dev/vx/trace DESCRIPTION
The vxtrace device implements the Veritas Volume Manager (VxVM) I/O tracing and the error tracing. An I/O tracing interface is available that users or processes can use to get a trace of I/Os for specified sets of kernel objects. Each separate user of the I/O tracing inter- face can specify the set of desired trace data independent of all other users. I/O events include regular read and write operations, spe- cial I/O operations (ioctls), as well as special recovery operations (for example, recovery reads). A special tracing mechanism exists for getting error trace data. The error tracing mechanism is independent of any I/O tracing and is always enabled for all pertinent kernel I/O objects. It is possible for a process to get both a set of saved errors and to wait for new errors. IOCTLS
The format for calling each ioctl command is: #include <sys/types.h> #include <vxvm/voltrace.h> struct tag arg; int ioctl (int fd, int cmd, struct tag arg); The first argument fd is a file descriptor which is returned from opening the /dev/vx/trace device. Each tracing device opened is a cloned device which can be used as a private kernel trace channel. The value of cmd is the ioctl command code, and arg is usually a pointer to a structure containing the arguments that need to be passed to the kernel. The return value for all these ioctls is 0 if the command was successful, and -1 if it was rejected. If the return value is -1, errno is set to indicate the cause of the error. The following ioctl commands are supported: VOLIOT_ERROR_TRACE_INIT This command accepts no argument. The VOLIOT_ERROR_TRACE ioctl initializes a kernel trace channel to return error trace data. The trace channel will be initialized to return any previously accumulated error trace data that has not yet been discarded. The accumu- lated trace data can be skipped by issuing VOLIOT_DISCARD on the channel. This call can be issued on a trace channel that was previ- ously initialized either for error tracing or for regular I/O tracing. In this case, the channel is effectively closed down and then reinitialized as described above. To get the error trace data, issue the read(2) system call. The error trace data consists of a set of variable length trace event records. The first byte of each record indicates the length, in bytes, of the entire record (including the length byte), the second byte indicates the type of the entry (which can be used to determine the format of the entry). Each call to read() returns an integral number of trace event records, not to exceed the number of bytes requested in the read() call; the return value from read() will be adjusted to the number of bytes of trace data actually returned. If the O_NONBLOCK flag is set on the trace channel, and no trace data is available, EAGAIN will be returned; otherwise, the read will block interruptibly until at least one trace record is available. When some trace data is available, the available unread trace records will be returned, up to the limit specified in the call to read(). If more trace records are available, subsequent reads will return those records. VOLIOT_IO_TRACE_INIT The VOLIOT_IO_TRACE_INIT ioctl initializes a kernel trace channel to return I/O trace data. This command accepts bufsize as the argu- ment. Initially, no objects are selected for I/O tracing. To select objects to trace, issue the VOLIOT_IO_TRACE ioctl. The bufsize argument specifies the kernel buffer size to use for gathering events. A larger size reduces the chance that events are lost due to scheduling delays in the event reading process. A bufsize value of 0 requests a default size which is considered reasonable for the system. The value of bufsize will be silently truncated to a maximum value to avoid extreme use of system resources. A bufsize value of (size_t)-1 will yield the maximum buffer size. VOLIOT_IO_TRACE,VOLIOT_IO_UNTRACE The VOLIOT_IO_TRACE and VOLIOT_IO_UNTRACE ioctls enable and disable, respectively, I/O tracing for particular sets of objects on an I/O tracing channel. They both accept a voliot_want_list structure tracelist as the argument. The tracelist argument specifies object sets. The voliot_want_list structure specifies an array of desired object sets. Each object set is identified by a union of structures (the voliot_want_set union), each representing different types of object sets. See the declaration of these structures in voltrace.h for more detail. FILES
/dev/vx/trace SEE ALSO
vxintro(1M), vxtrace(1M), vxvol(1M) ioctl(2), read(2), vxconfig(7), vxiod(7) VxVM 5.0.31.1 24 Mar 2008 vxtrace(7)
All times are GMT -4. The time now is 04:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy