07-21-2008
what are your contents within /etc/hosts, /etc/inet/ipnodes? And the OS release you're running?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi I have 2 Solaris boxes A and B, A running solaris 9, and B running solaris 6.
when i try to use rcp on A like this:-
A> rcp file.txt B:/path/file.txt
I get into standard input and nothing happens!!
Then On the target machine B, if i try,
B> rcp otherfile.txt B:/path/otherfile.txt... (1 Reply)
Discussion started by: 0ktalmagik
1 Replies
2. Shell Programming and Scripting
Hello, the ls -d command to only list directories in a directory doesn't seem to work on Solaris and the man command says to use that combination: ls -d
Anyone have the same problem and find a resolve?
Thanks
BobK (9 Replies)
Discussion started by: bobk544
9 Replies
3. HP-UX
As per the man page, pstat_getdisk() call returns the number of instances, which could be 0 upon successful completion, otherwise a value of -1 is returned.
Please have a look at this sample program ->
#include <stdio.h>
#include <sys/pstat.h>
int main()
{
int j = 0, ret;
struct... (2 Replies)
Discussion started by: sandiworld
2 Replies
4. UNIX for Dummies Questions & Answers
Hi again everyone.
I have recently installed Solaris 10 on a server. Everything seems to work fine (users can be added and can log in, internet connectivity works, etc). However I'm struggling to get mail or mailx to work.
Say there are two users on my server, Bob and Mary. Server hostname... (3 Replies)
Discussion started by: EugeneG
3 Replies
5. Solaris
grep -e doesn't work in Soalris.
Same script with grep -e worked on AIX/HP/LINUX..
I would like to search a list of patterns on "log.txt" like ...
grep -e FATAL -e ERROR log.txt
I get the error message as
grep: illegal option -- e
Usage: grep -hblcnsviw pattern file . . . (3 Replies)
Discussion started by: jmkraja
3 Replies
6. UNIX and Linux Applications
Hello All,
I am using gvim ( redhat linux machine). backspace doesnot work properly. can some boby suggest a solution ?
i have checked with older version. backspace works in it.
Thanks
Shiv (1 Reply)
Discussion started by: shiv.emf
1 Replies
7. Solaris
Hi Forum,
I updated my Solaris 10 (10/09) with the current Oracle patch file and moved the smb.conf to /etc/samba/smb.conf.
Anyway, since patching, no Windows client is able to connect the share. It says password is wrong, but its the right pw.
My smb.conf:
bash-3.00# cat... (4 Replies)
Discussion started by: borsti007
4 Replies
8. Solaris
Hi All,
I am using a solaris Sun-Fire-V440 server.
The OS is solaris.
My problem is whenever I run the command
mount | grep "^/ " | sed -e 's,^.*dsk/\(*\).*$,\1,'
it should return a disk value as "d30" as it does on each of my other servers.But on this server I am not getting any o/p from... (3 Replies)
Discussion started by: vivek.goel.piet
3 Replies
9. Red Hat
Hi,
I have list of files under a directory as shown below.
/home/root
-rw-r--r-- 1 user 0 Aug 27 06:08 rough.txt
-rw-r--r-- 1 user 0 Aug 27 06:08 test.sh
Now when i use to read the rough.txt, i did cat r and then pressed TAB button. Below is the resulting string after pressing TAB... (2 Replies)
Discussion started by: vel4ever
2 Replies
10. Solaris
Hello Experts,
I am performing performance tests on a few mysql select queries.
I use the following command to clear the memory disk caches.
sync && echo 3 | sudo tee /proc/sys/vm/drop_caches
I however see that the above command works on RHEL6 but doesn't work on Solaris 10.
I asked... (4 Replies)
Discussion started by: Anirudh Kumar
4 Replies
ypmake(1M) System Administration Commands ypmake(1M)
NAME
ypmake - rebuild NIS database
SYNOPSIS
cd /var/yp ; make [map]
DESCRIPTION
The file called Makefile in /var/yp is used by make(1S) to build the Network Information Service (NIS) database. With no arguments, make
creates dbm databases for any NIS maps that are out-of-date, and then executes yppush(1M) to notify slave databases that there has been a
change.
If you supply a map on the command line, make will update that map only. Typing make passwd will create and yppush the password database
(assuming it is out of date). Likewise, make ipnodes and make networks will create and yppush the ipnodes and network files, $(INET-
DIR)/ipnodes and $(DIR)/networks.
There are four special variables used by make: DIR, which gives the directory of the source files; NOPUSH, which when non-null inhibits
doing a yppush of the new database files; INETDIR, which gives the directory of the ipnodes source file; and DOM, which is used to con-
struct a domain other than the master's default domain. The default for DIR is /etc, and the default for INETDIR is /etc/inet. The default
for NOPUSH is the null string.
Refer to ypfiles(4) and ypserv(1M) for an overview of the NIS service.
If a NIS to LDAP (N2L) configuration file, /var/yp/NISLDAPmapping, is present, the NIS server components run in N2L mode. In N2L mode, the
server components use a new set of map files with an LDAP-prefix, based on the LDAP DIT. In N2L mode, authoritative NIS information is
obtained from the DIT. The NIS source files and ypmake have no role, and they should not be used. If ypmake is accidentally run, then the
server components will detect this, and will log a warning message. For additional information, see ypfiles(4).
FILES
/var/yp Directory containing NIS configuration files.
/etc/inet/hosts System hosts file.
/etc/inet Default directory for ipnodes source file.
/etc Default directory for source files other than ipnodes.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWypu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
make(1S), nis+(1), makedbm(1M), rpc.nisd(1M), ypbind(1M), yppush(1M), ypserv(1M), ypclnt(3NSL), NISLDAPmapping(4), ipnodes(4), ypfiles(4),
ypserv(4)
NOTES
The NIS makefile is only used when running the ypserv(1M) server to provide NIS services. If these are being provided by the NIS+
server running in NIS compatibility mode, see rpc.nisd(1M); this makefile is not relevant. See ypfiles(4) for more details.
The Network Information Service (NIS) was formerly known as Sun Yellow Pages (YP). The functionality of the two remains the same. Only the
name has changed. The name Yellow Pages is a registered trademark in the United Kingdom of British Telecommunications plc, and may not be
used without permission.
SunOS 5.10 19 Mar 2003 ypmake(1M)