10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Gurus
I am running an AIX 7.1 system and have come across a strange issue.
I am trying to delete files from a folder using standard 'rm' syntax. After i delete the files , files re-appear again.
File renaming or editing does not help. Files re-appear with 0 bytes again. They are always 0... (5 Replies)
Discussion started by: abhijeet
5 Replies
2. Shell Programming and Scripting
Hello,
Im downloading the file from windows server through FTP, the downloaded file is containing some junk character at very start of the file as below and causing my whole script is to fail,
how to download without junk or how to remove these before processing it?
▒▒"nmdbfnmdsfsdf"
... (19 Replies)
Discussion started by: Riverstone
19 Replies
3. Linux
hi i know this is irrelevant to the question above but i was wondering how to pt a restriction in the filename in linux. I want that it is impossible to add numbers into the filename, help will be rely great , thanx!
This posting was initially given as a reply to an unrelated thread. It has been... (2 Replies)
Discussion started by: samirboss
2 Replies
4. UNIX for Dummies Questions & Answers
Why are there duplicated file names listed when I execute ls ?
Result of my ls /root/Desktop :
aaa ca new file~ what what~
Thanks. (4 Replies)
Discussion started by: Hijanoqu
4 Replies
5. AIX
Hi everyone,
this strange error suddenly popped up out of no where
when I do a directory listing , the date part doesn't appear
root@oradb:/backup>ls -la
total 58069304
drwxr-xr-x 3 root system 4096 23 ▒▒▒ 21:56 .
drwxr-xr-x 44 root system 1536 23 ▒▒▒ 21:47... (4 Replies)
Discussion started by: filosophizer
4 Replies
6. Shell Programming and Scripting
I am having trouble finding the process, or subsystem, sendmail running on our client's server. They are runnning AIX version 5.3.9.0. When I run "ps -ef | grep sendmail" I only get my current ps process as a match. Running "ps -ef | more" and wading through the results also does not show sendmail... (2 Replies)
Discussion started by: moviedude
2 Replies
7. Shell Programming and Scripting
Hi all,
I'm trying to FTP what looks like a simple .txt file from my Windows XP desktop to my UNIX server. I've tried using several programs to do this including UltraEdit and FTP Commander. I have tried sending it ascii, binary and even let the program decide. But every time it arrives in UNIX... (4 Replies)
Discussion started by: Korn0474
4 Replies
8. Shell Programming and Scripting
Is there a way in a shell script to make an user input appears as * (like a password) ?? (2 Replies)
Discussion started by: ce9888
2 Replies
9. UNIX for Dummies Questions & Answers
I hope this question isn't too vague...
i recently switched from RedHat to Solaris 10, and found that the parts of a script that copy files between directories no longer work because escape sequences are appearing at the start and end of the filenames being read
#!/usr/bin/bash
cd... (1 Reply)
Discussion started by: jwm-wm
1 Replies
10. Solaris
Hi friends..
Here is my problem..
I mounted a slice and make it permanent through entering the information in /etc/vfstab file ,,,but when i give df -kh ,,in the output the slice information is not appearing..but i can be able to open the mount point and access files as usual..I didn't give... (6 Replies)
Discussion started by: sdspawankumar
6 Replies
FS_SETCLIENTADDRS(1) AFS Command Reference FS_SETCLIENTADDRS(1)
NAME
fs_setclientaddrs - Sets the client interfaces to register with the File Server
SYNOPSIS
fs setclientaddrs [-address <client network interfaces>+] [-help]
fs setcl [-a <client network interfaces>+] [-h]
fs sc [-a <client network interfaces>+] [-h]
DESCRIPTION
The fs setclientaddrs command defines the IP addresses of the interfaces that the local Cache Manager registers with a File Server when
first establishing a connection to it.
The File Server uses the addresses when it initiates a remote procedure call (RPC) to the Cache Manager (as opposed to responding to an RPC
sent by the Cache Manager). There are two common circumstances in which the File Server initiates RPCs: when it breaks callbacks and when
it pings the client machine to verify that the Cache Manager is still accessible.
The list of interfaces specified with this command replaces the list that the Cache Manager constructs and records in kernel memory as it
initializes. At that time, if the file /etc/openafs/NetInfo exists on the client machine's local disk, the Cache Manager uses its contents
as the basis for the list of interfaces addresses. If the file does not exist, the Cache Manager instead uses the network interfaces
configured with the operating system. It then removes from the list any address included in the local /etc/openafs/NetRestrict file. It
records the final list in kernel memory. (An administrator must create the NetInfo and NetRestrict files; there are no default versions of
them.)
If an RPC to that interface fails, the File Server simultaneously sends RPCs to all of the other interfaces in the list, to learn which of
them are still available. Whichever interface replies first is the one to which the File Server then sends pings and RPCs to break
callbacks.
To list the interfaces that the Cache Manager is currently registering with File Servers, use the fs getclientaddrs command.
CAUTIONS
The list specified with this command persists in kernel memory only until the client machine reboots. To preserve it across reboots, either
list the interfaces in the local /etc/openafs/NetInfo file, or place the appropriate fs setclientaddrs command in the machine's AFS
initialization script.
Changes made with this command do not propagate automatically to File Servers to which the Cache Manager has already established a
connection. To force such File Servers to use the revised list, either reboot each file server machine, or change the NetInfo file and
reboot the client machine.
The fs command interpreter verifies that each of the addresses specified as a value for the -address argument is actually configured with
the operating system on the client machine. If it is not, the command fails with an error message that marks the address as a "Nonexistent
interface".
OPTIONS
-address <client network interfaces>+
Specifies each IP address to place in the list of interfaces, in dotted decimal format. Hostnames are not acceptable. Separate each
address with one or more spaces.
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
The message
Adding <interface>
confirms that each new interface was added to the Cache Manager's list. The address appears in hexadecimal format to match the notation
used in the File Server log, /var/log/openafs/FileLog.
EXAMPLES
The following example sets the two interfaces that the Cache Manager registers with File Servers.
% fs setclientaddrs 191.255.105.68 191.255.108.84
Adding 0xbfff6944
Adding 0xbfff6c54
PRIVILEGE REQUIRED
The issuer must be logged in as the local superuser root.
SEE ALSO
NetInfo(5), NetRestrict(5), fileserver(8), fs_getclientaddrs(1)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 FS_SETCLIENTADDRS(1)