08-22-2016
Hi freshmeat,
Am I correct when I say this is a Cluster, if it is can you give us some more info on the configs.
I'm not sure that you'd be able to mount this up with two unique UID's, as when the service fails over all the existing connections will be lost - the good thing is that the half that couldn't work will now be working.
I's possibly a little messy, but it would be better to use the group access for the fail over service.
Regards
Gull04
10 More Discussions You Might Find Interesting
1. Linux
all the files and directories in my system are owned by root only.i try to(from root loggin) change the permission on the file but not permitted.can any one help to fix my problem .also while installing any software always error occur like no makefile available (1 Reply)
Discussion started by: jop
1 Replies
2. Red Hat
Hi,
I am using redhat AS 3. Recently, I was asked to implement a security control on the OS: to change ownership of /var/log/wtmp to root:sys and permission to 600. However, when I made the change and reboot the machine, everything was reverted. How come? Please help.
The following is the... (1 Reply)
Discussion started by: voa2mp3
1 Replies
3. UNIX for Advanced & Expert Users
Folks,
I have a problem with a particular file, that seems to have some kind of lock on it, that takes around 1 hour approx to timeout. I have used lsof and nothing has an open file handle on it, yet I cannot open it. My user/group owns the file and I can create edit/delete files in... (6 Replies)
Discussion started by: scottrus
6 Replies
4. Shell Programming and Scripting
Hi, all!
Is it possible to use umask and to set the file permission level as 775?
I know I can add chmod into my scripts but I just want to explore the umask option.
Thanks! (1 Reply)
Discussion started by: visio2000
1 Replies
5. Shell Programming and Scripting
I want to change the permission of a file when it gets created in a particular directory. For instance, I have directory MyDir. Everytime a file gets created in that directory, I would like to change the permission to 777.
The context is that I have a 3rd party appication running as root. Only... (2 Replies)
Discussion started by: laiko
2 Replies
6. Shell Programming and Scripting
Here is the sample code I'm trying to execute. I see that the permission on the file is set to 755 always I want to change it to 777. Please help me with this.
code :
#!/usr/bin/perl
use File::Path qw(make_path remove_tree);
my $path = "2010/sam";
make_path($path,{mode=>0777});
... (1 Reply)
Discussion started by: hansini
1 Replies
7. UNIX for Dummies Questions & Answers
I'm trying to setup a directory structure for my staff which enables them full access to files in the directories with their name, and have access to anything in the shared directory. The directory structure looks like this:
root@www10 # ls -l
total 56
drwxr-xr-x 7 internal internal 4096... (3 Replies)
Discussion started by: v_greg
3 Replies
8. UNIX for Advanced & Expert Users
Default file system currently is 664.
I would like to get it as 774.
As other users of the same group was not able execute the file created any any user.
chmod cannot be used in my case. (Files are created and executed the programs owned by different vendors)
we know that umask is not going... (3 Replies)
Discussion started by: deepakwins
3 Replies
9. Shell Programming and Scripting
Hi All,
can some one suggest me a tool to compare file ownership/permission and contents of files located at two different unix servers?
Thanks,
Pranav (1 Reply)
Discussion started by: Pranav Bhasker
1 Replies
10. AIX
Hi.
My example:
I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that
chown -R log_adm /log/*
chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
Discussion started by: bobochacha29
8 Replies
LEARN ABOUT DEBIAN
rpcregistry
RpcRegistry(3I) InterViews Reference Manual RpcRegistry(3I)
NAME
RpcRegistry - name space for finding RPC services
SYNOPSIS
#include <Dispatch/rpcregistry.h>
DESCRIPTION
RpcRegistry provides a name space for finding RPC services based on the use of NFS filesystems among a group of hosts. When an RPC service
wishes to record its host name and port number, it will give the path of a file in which to store the information. When a client wants to
find the RPC service's host name and port number, it will give the path of a file from which to read the information. Usually the path
will be the name of a file in the current working directory since different hosts may have different absolute pathnames for the same file
in a NFS filesystem. The RPC service's name space is the name space of the host's filesystem and the file's contents provides the informa-
tion needed to open a connection to the RPC service.
PUBLIC OPERATIONS
Each function is a static member function, which means a program can call it without having to instantiate an RpcRegistry object. Each
function returns true if it succeeded or false if some error occurred.
boolean record(const char* path, int port)
Record the RPC service's host name and port number in the given file. If the file already exists, its previous contents will be
lost.
boolean erase(const char* path)
Remove the file which stores the RPC service's host name and port number so that no more clients will be able to contact the RPC
service.
boolean find(const char* path, char*& hostname, int& port)
Open the file which stores the RPC service's host name and port number. If the file does not exist, return failure silently. If
the file does exist, read the RPC service's host name and port address from it. If ``hostname'' is nil upon entry, it will contain
the address of a dynamically allocated string upon exit (which must be freed by the caller).
SEE ALSO
RpcService(3I)
InterViews 27 March 1991 RpcRegistry(3I)