Archive-name: Solaris2/FAQ
Version: 1.64
Last-Modified: 1998/01/05 15:35:44
Maintained-by: Casper Dik <Casper.Dik@Holland.Sun.COM>

The following is a list of questions that are frequently asked about Solaris 2.x. You can help make it an even better-quality FAQ by writing a short contribution or update and sending it BY EMAIL ONLY to me. Thanks!

As you may have noted, I have switched employers and work for Sun as of April 1st 1995. Sun is in no way responsible for the contents of this FAQ.

The latest Solaris 2 FAQ, including an HTML version, and some other goodies can be obtained through ftp from <ftp://ftp.wins.uva.nl/pub/solaris>.

A new version of the FAQ is available with an index separate from all questions, it's <http://www.wins.uva.nl/pub/solaris/solaris2/>. So it's a lot quicker to download. Also, an experimental FAQ search service at <http://www.wins.uva.nl/cgi-bin/sfaq.cgi> is now available.

Please note that these addresses have changed because of a reorg. Just replace "fwi" in the old addresses with "wins". The old addresses will continue to work until March 1st, 1998.

The HTML <http://www.wins.uva.nl/pub/solaris/solaris2.html> version of the FAQ contains references to most FTP sites and files mentioned in the FAQ. The references to ftp sites are always to either HTML files or directories, never to binary files.

I've added an index of questions and marked changed(*) and added questions(+). The FAQ is being reorganized, time permitting. The index is generated automatically, so there may be errors there. Not all questions are in the section they belong in. Suggestions on how best to subdivide/order the FAQ are welcome.

1. GENERAL

  • 1.1) What's Solaris anyway?
  • 1.2) Why should I upgrade?
  • 1.3) Should I move to Solaris 2.x now, or later, or never?
  • 1.4) What is Solaris 2? Is it really SVR4 based?
  • 1.5) What machines does Solaris 2.x run on?
  • 1.6) Will my old applications from 4.1.x run on Solaris 2?
  • 1.7) Will my SPARC binaries run unchanged on UltraSPARC machines?
  • 1.8) Will my old applications from SVR3 on the 386 run on Solaris 2/x86?
  • 1.9) Where has the XXX command gone now?
  • 1.10) When I upgrade, should I use SunInstall "upgrade", or start over?
  • 1.11) Is Solaris 2.x reliable/stable enough to use?
  • 1.12) Why do some people dislike Solaris2?
  • 1.13) Why do some people like Solaris2?
  • 1.14) What is Sun doing to help me migrate?
  • 1.15) Can I use my SunOS 4 disks on Solaris 2.x?
  • 1.16) How can I enable System V IPC? Ipcs says it isn't configured in.

    2. SOURCES OF INFORMATION

  • 2.1) How can I RTFM when I don't have it anymore?
  • 2.2) Why is "man -k" so confused?
  • 2.3) What Software is available for Solaris 2.x?
  • 2.4) What FTP/WWW sites do I need to know about?
  • 2.5) What other FAQ's do I need to know about?
  • 2.6) What mailing lists should I get?
  • 2.7) What books should I read?
  • 2.8) What hardware is supported by Solaris 2.x for Intel?
  • 2.9) What is Wabi?
  • 2.10) I'm running into some limits of SunOS 4.x, will upgrading to Solaris 2.x help?

    3. SYSTEM ADMINISTRATION

  • 3.1) How much disk space do I need to install Solaris 2?
  • 3.2) How can I convert all my local changes that I've made over the years into their corresponding forms on Solaris 2?
  • 3.3) What are "packages"?
  • 3.4) Why can't I write in/mount over /home?
  • 3.5) Why can't I access CDs or floppies?
  • 3.6) Why are there no passwords in /etc/passwd?
  • 3.7) Why can't I rlogin/telnet in as root?
  • 3.8) How can I have a user without a password?
  • 3.9) How can I set up anonymous FTP?
  • 3.10) How can I print from a Solaris 2 (or any System V Release 4) system to a SunOS4.x (or any other BSD) system?
  • 3.11) Why does lp complain about invalid content types?
  • 3.12) My jobs stay in the queue after printing.
  • 3.13) Are there any alternatives to the system V spooler?
  • 3.14) What happened to /dev/MAKEDEV? How do I add devices?
  • 3.15) Why isn't my tape/cd player or new disk/device recognized?
  • 3.16) What happened to /etc/rc and /etc/rc.local?
  • 3.17) Can't I have /etc/rc.local back?
  • 3.18) Why are there two versions of shutdown?
  • 3.19) When will somebody publish a package of the BSD (4.3BSD Net2) "init", "getty", and "rc/rc.local", so we can go back to life in the good old days?
  • 3.20) What has happened to getty? What is pmadm and how do you use it?
  • 3.21) How do I get the screen to blank when nobody's using it?
  • 3.22) And what about screendump, screenload and clear_colormap?
  • 3.23) Where did etherfind go?
  • 3.24) Can I run SunOS4.1.x on my SPARC Classic, LX, SS5, SS4, SS20, Voyager, SS1000, SC2000, CS6400, Ultra?
  • 3.25) The "find" program complains that my root directory doesn't exist?
  • 3.26) I'm having troubles with high-speed input on the Sparc serial ports. What should I do?
  • 3.27) How do I make ksh or csh be the login shell for root?
  • 3.28) What is this message: "automount: No network locking on host, contact administrator to install server change."?
  • 3.29) I have all kinds of problems with SCSI disks under Solaris 2.x They worked fine under SunOS 4.x.
  • 3.30) How do I make Solaris2 use my old ADAPTEC ACB-4000 and Emulex MD-21 disk controllers?
  • 3.31) Should I wait installing 2.5 until there are enough patches?
  • 3.32) Why are there so many patches for Solaris 2.x?
  • 3.33) What are the ``mandatory'' patches I keep hearing about?
  • 3.34) Which patches should I apply?
  • 3.35) Where do I get patches from?
  • 3.36) Where can I obtain Solaris 2/x86 driver updates?
  • 3.37) Why does installing patches take so much space in /var/sadm?
  • 3.38) Do I need to back out previous versions of a patch?
  • 3.39) How can I have more than 48 pseudo-ttys?
  • 3.40) How can I have normal users chown their files?
  • 3.41) How can I get ps to print %MEM and %CPU?
  • 3.42) How can I get the DOS and Unix clock to agree on Solaris/x86?
  • 3.43) How can I increase the number of file descriptors per process?
  • 3.44) Can I install both SunOS and Solaris on the same machine, and choose between them at boot time?
  • 3.45) How do I disable banner pages under Solaris?
  • 3.46) How do I change my hostname?
  • 3.47) Can I run multiple terminals on the console of Solaris x86 like those supported on Interactive Unix and SCO?
  • 3.48) How can I prevent daemons from creating mode 666 files?
  • 3.49) How do I change the terminal type for /dev/console?
  • 3.50) If I login over the network, my terminal type is set to "sun"/"AT386" How can I change that? In SunOS 4.x the type would have been "network"
  • 3.51) How can I change the SYSV IPC parameters?
  • 3.52) How do I enable/disable dtlogin?
  • 3.53) How do I configure dtlogin?

    4. NETWORKING

  • 4.1) How do I use DNS w/o using NIS or NIS+?
  • 4.2) Speaking of nsswitch.conf, what is it?
  • 4.3) What does [NOTFOUND=return] in nsswitch.conf mean?
  • 4.4) Can I run a nis/yp server under Solaris 2.x?
  • 4.5) Can I run NIS+ under Solaris 1 (SunOS 4.1.x)
  • 4.6) With NIS+ how do I find out which machine a client is bound to?
  • 4.7) Ypcat doesn't work on the netgroup table on a NIS+ server, why?
  • 4.8) Why is rpc.nisd such a memory pig according to ps?
  • 4.9) How do I tell my NIS+ server to service DNS requests from 4.x clients?
  • 4.10) How can I have multiple addresses per interface?
  • 4.11) Solaris 2.x supports filesystem sizes up to 1TB. Will this give interoperability problems with NFS?
  • 4.12) Where can I get an SNMP agent for Solaris?
  • 4.13) How can I use full-duplex ethernet?
  • 4.14) Where can I get BOOTP/DHCP for Solaris?

    5. TROUBLE SHOOTING

  • 5.1) The Solaris 2.x application XX fails with a mysterious error condition.
  • 5.2) In Solaris 2.5 nm is slow or dumps core.
  • 5.3) Why can't I run Answerbook on a standalone machine?
  • 5.4) Why can't I display Answerbook remotely?
  • 5.5) Why can't I run filemgr, I get ``mknod: permission denied''?
  • 5.6) Why do I get isinf undefined when linking with libdps on Solaris 2.3?
  • 5.7) I can't get PPP to work between Solaris 2.3 and other platforms.
  • 5.8) Using compat mode for passwd doesn't work in 2.3?
  • 5.9) Why do I get __builtin_va_alist or __builtin_va_arg_incr undefined?
  • 5.10) My machine hangs during the boot process. It seems related to ps.
  • 5.11) Syslogd doesn't seem to log anything.
  • 5.12) I get ``Invalid client credential'' when mounting filesystem on Solaris client from non-Sun fileserver.
  • 5.13) After upgrade to 2.4, ls on NFS mounted directories hangs.
  • 5.14) After installing patch 101945-xx, I have NFS problems (ksh looping).
  • 5.15) I messed up /etc/system, now I can't boot.
  • 5.16) The /etc/path_to_inst file is corrupted, I can't boot.
  • 5.17) TCP/IP connections time out too soon, especially on slow links.
  • 5.18) Sendmail connection to non-Unix hosts don't work.
  • 5.19) Solaris 2.x can't set up any TCP/IP connections to certain hosts.
  • 5.20) I read 5.19, but I still have connectivity problems.
  • 5.21) When reading mail on non-Solaris clients of a Solaris mail server, or with non-Solaris mail readers, some messages get split into multiple messages.
  • 5.22) Mail/mailx often send reply to wrong user or show wrong sender.
  • 5.23) One of my users can't login (one some machines).
  • 5.24) My clients with remote /var (/var/adm) partitions won't boot.
  • 5.25) Vacation doesn't work reliably in a mixed Solaris/SunOS environment.
  • 5.26) I have a lot of <defunct> processes. How do I get rid of them?
  • 5.27) I get /dev/ptmx: No such device when attempting to telnet/rlogin in.
  • 5.28) ld bails out with msync errors.
  • 5.29) su responds with "Sorry" and doesn't prompt for a password.
  • 5.30) Why can't I install 2.4 from a non-Sun CD while I could do so with 2.3?
  • 5.31) ifconfig can't find my network interface
  • 5.32) I have an application that compiled fine, but when I run it I get: fatal: libfoo.so.2: can't open file: errno=2
  • 5.33) Motif programs dump core almost immediately.
  • 5.34) cc complains that "language optional software package not installed".
  • 5.35) thr_create and other thread functions always return -1
  • 5.36) Solaris 2.4 is getting slower over time/seems to have a kernel memory leak.
  • 5.37) Why do I get ``Unable to install/attach driver 'xxx''' messages?
  • 5.38) I can't run nfs: netdir_getbyname failure, /dev/udp: bind problem
  • 5.39) Why do I get ``named[]: rt_malloc: memdebug overflow'' errors?
  • 5.40) Ld dumps core on Solaris/x86
  • 5.41) In Solaris 2.4 my TCP performance is extremely poor.
  • 5.42) Solaris 2.4 in.tftpd is terribly slow.
  • 5.43) I get "df: Could not find mount point ..."
  • 5.44) I changed root's shell, now I can't login.
  • 5.45) When linking C++ programs, I get "_ex_keylock" undefined.
  • 5.46) My NFS server hangs when I get filesystem full/over quota errors.
  • 5.47) OpenWindows fails with "Binding Unix Socket: Invalid argument"
  • 5.48) Why is Xsun such a memory pig, especially on the SX, S24 and FFB?
  • 5.49) Solaris 2.5 and Solaris 2.4 patch 101945-34+ have poor TCP performance over slow links.
  • 5.50) After install x86 patch 101946-29, I have problems with sockets and TCP/IP throughput.
  • 5.51) Du and ls show funny block counts on NFSv3 mounted filesystems.
  • 5.52) When I halt/reboot my system I get "INIT: failed write of utmpx entry"
  • 5.53) Patch installation often fails with "checkinstall" errors.
  • 5.54) Why do I get a CPU-bound rpc.ttdbserverd process?
  • 5.55) What is /proc? Can I safely remove the large files there?
  • 5.56) What does "named[XX]: Lame server on 'hostname' ...." mean?
  • 5.57) I installed Solaris on a big disk, but now booting fails.
  • 5.58) My Ultra shuts down with "WARNING: THERMAL WARNING DETECTED!!!"

    6. SOFTWARE DEVELOPMENT

  • 6.1) Where is the C compiler or where can I get one?
  • 6.2) What about the linker, the assembler and make?
  • 6.3) Where has ranlib gone?
  • 6.4) What do I need to compile X11R5?
  • 6.5) I can't compile X11R6 on Solaris 2.4
  • 6.6) X11R6 on Solaris 2.4 won't run. Xinit dies with "User Signal 1". Xterms won't die. Dired doesn't work in emacs-19.
  • 6.7) I get undefined symbols when compiling R6 in Solaris 2.2.
  • 6.8) After compiling X11R6 with gcc 2.7.0, X programs won't find their libraries.
  • 6.9) How can I run X11R6 on my SS4 w/ TCX?
  • 6.10) Can I run X11R6 on my SX, ZX, TCX or FFB?
  • 6.11) I can't get perl 4.036 to compile or run.
  • 6.12) I can't get sockets to work with perl.
  • 6.13) I have problems compiling MH 6.8.3
  • 6.14) I can't get XV 3.x to compile or run correctly.
  • 6.15) What happened to NIT? What new mechanisms exist for low-level network access?
  • 6.16) Where are all the functions gone that used to be in libc?
  • 6.17) I'm still missing some functions: bcopy, bzero and friends.
  • 6.18) Can I use the source compatibility package to postpone porting?
  • 6.19) Why doesn't readdir work? It chops the first two characters of all filenames.
  • 6.20) Why do I get undefined symbols when linking with curses/termcap?
  • 6.21) Where are the Motif includes and libraries?
  • 6.22) When I call semctl(), my program crashes. It works fine elsewhere.
  • 6.23) Traceroute to Solaris 2.x machines gives many timeouts.
  • 6.24) I have problems linking my application statically.
  • 6.25) I get '"/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1": not in executable format: format not recognized' from gdb on my Ultra. gdb needs to be updated to understand the "V8+" executable format.
  • 6.26) Does Solaris have problems with dates in the year 2000 and after?
  • 6.27) I can't seem to get gcc to work under Solaris 2.6
  • 6.28) Gdb doesn't fully work on Solaris 2.6.
  • 6.29) I can't get gdb to compile with Sun's C compiler

    7. ACKNOWLEDGEMENTS