From harduong at gmail.com Sun Feb 1 18:19:32 2009 From: harduong at gmail.com (Hong Duong) Date: Sun, 1 Feb 2009 15:19:32 -0800 Subject: SUMMARY: interface nxge question Message-ID: <8d07e9af0902011519v7f4f43bfx450f122df8521555@mail.gmail.com> Dear Managers, Thanks to all who replied. It depends on which Sun platform you have, the file is in /platform/sun4x/kernel/drv directory. I found nxge sample in /platform/sun4u/kernel/drv/ on my Sun box in question. Most managers suggested the followings: 1. Look in /kernel/drv/ 2. Create a startup script to set params with ndd, with adv-autoneg-cap = 1 HD Original question: Dear Managers, Which file should I modify to make the interface nxge to stay at 1000 full duplex permanently. I only know bge.conf file. Thanks for your help. HD From jdd at cs.toronto.edu Mon Feb 2 00:30:01 2009 From: jdd at cs.toronto.edu (John DiMarco) Date: Mon, 2 Feb 2009 00:30:01 -0500 (EST) Subject: Sun Managers Frequently Asked Questions (FAQ) Message-ID: <20090202053001.A88176E0003@apps0.cs.toronto.edu> Archive-name: sunmanagers-faq $Id: faq.html,v 1.29 2007/05/25 20:41:16 jdd Exp $ SunManagers Frequently Asked Questions This is collection of common questions posted to the sunmanagers mailing list twice a month. It is intended to benefit Sun System Managers and reduce traffic to the list by providing quick answers to common problems. Keeping with the style of a similar FAQ for comp.windows.x, questions marked with a '+' indicate questions new to this issue; those with significant changes of content since the last issue are marked by '*' The Information Files maintainer is John DiMarco . All corrections, submissions and FAQ administration-related messages should go to . Do not send questions, subscription or unsubscription requests, or sunmanagers postings to this address; they will be quietly ignored. The List Server maintainer is Bill Bradford . Any problems with the mailing list server should be directed to Bill. _________________________________________________________________ Questions 1. The Sun-Manager's Mailing list 1.1) How do I read, join, post to, or remove myself from the sunmanagers mailing list? 1.2) What is the Sun-Manager's Charter? What are the rules? 1.3) Are there any public archives for the sunmanagers list? 1.4) What should I keep in mind when posting to sunmanagers? 1.5) What other forums are there for Suns? 1.6) Where are the answers to questions about old Suns and old versions of Solaris? 1.7) What fields can I use to filter Sun Managers email? 2. Getting Help Over the Net 2.1) How do I find out what patches are available from Sun? 2.2) * How do I get help migrating to Solaris? 2.3) How do I access Sun's documentation over the net? 2.4) To which web sites can I go for help? 3. Network Directory and File Services 3.1) How do I use DNS for hostname resolution? 3.2) How do I change NIS+ credentials for the root master server? 3.3) When I compile something, errors occur saying _dlopen and other _dl routines can't be found. Why? 4. Window Systems 4.1) + What Window system GUIs are supported by Sun? 5. Disks, Tapes and SCSI 5.1) * What sector/head/cylinders parameters should be used for a hard disk? 5.2) * Can I replace an internal drive in a Sun with a higher capacity model? 5.3) Is it okay to disconnect or connect SCSI devices while powered on? 5.4) How do I configure my sun to use Exabyte 4mm DAT tape drives? 5.5) Why is tagged queueing a problem on my third-party disk? 5.6) Why don't third-party CD-ROMS work on my sun? 5.7) What size and density parameters should I use for ufsdump with a high-capacity tape drive? 5.8) My floppy/cdrom device says "device busy". What do I do? 5.9) What software is available for CD-R/CD-RW? 5.10) Where is my disk space? The "du" and "df" commands disagree. 6. Resource Management and Performance Tuning 6.1) How do I tell what caused my machine to crash? 6.2) What can I do if my machine slows to a crawl or just hangs? 6.3) How do I find out how much physical memory a machine has? 6.4) How do I find out what my machine's memory is being used for? How can I tell if I need more memory? 6.5) Why do some files take up more disk space after being copied? Why are the sizes reported by ls -l and du different? 7. HTTP and Anonymous FTP 7.1) * How do I set up anonymous ftp on my machine? 7.2) + Where can I get a Web server for Solaris? 8. Consoles, Keyboards and Key Remapping 8.1) How do I make the numeric keypad on a sun keyboard work with xterm? 8.2) How do I swap the CAPS LOCK and CONTROL keys on a sun keyboard? 8.3) How do I use a Windows PC for a Sun serial console? 9. Sun models and OS Versions 9.1) * Which Sun models run which version of SunOS? 9.2) How can my program tell what model Sun it is running on? 9.3) How do I find out a Sun's boot prom revision? 9.4) * Which hardware/software is capable of 64-bit? Which is only 64-bit? How can I tell which is running? 10. Miscellaneous Software 10.1) My remote ufsdump is failing with a "Protocol botched" message. What do I do? 10.2) * Where can I get a C compiler for Solaris? 10.3) How do I read Microsoft Word documents on my Sun? 10.4) How do I restore to a different location the contents of a tarfile created with absolute pathnames? 11. Miscellaneous Hardware 11.1) * How come my mouse occasionally doesn't work? 11.2) How can I turn my old sun into an X-Terminal? 11.3) * How can I use an SVGA monitor on my Sun? 11.4) Where can I find alternate pointing devices for my Sun? 12. Networking 12.1) Why do both my net interfaces have the same ethernet address? 12.2) How can I know the hardware vendor from an ethernet address? 12.3) * How do I set my ethernet interface to e.g. 100Mb full duplex? 12.4) How do I find out what process is using a particular port? 12.5) I have a lot of ports in WAIT states. Why? 13. Electronic Mail 13.1) * Where can I get a POP or IMAP server for my sun? 14. Printing 14.1) + How do I get started with LP-style printing in Solaris? 14.2) How do I configure a non-postscript printer for postscript? 15. Misc System Administration 15.1) I've forgotten the root password; how can I recover? 15.2) How do I disable/remap STOP-A/L1-A? 15.3) How do I manage services in Solaris 10 and later? Do I still make links in /etc/rc*.d? Answers _________________________________________________________________ 1. The Sun-Manager's Mailing list _________________________________________________________________ 1.1) How do I read, join, post to, or remove myself from the sunmanagers mailing list? Point your web browser to http://www.sunmanagers.org Persons without web access should send a mail message to "sunmanagers-request at sunmanagers.org" containing the single word "help". Messages can be posted to the list by mailing them to the address "sunmanagers at sunmanagers.org". Do not do this until you have read the charter/policy (question 1.2) and the "how to post" document at http://www.sunmanagers.org. The policy and the "how to post" document is sent to the entire list twice a month. It is also sent out to every new subscriber and is available at http://www.sunmanagers.org. The latest version of the FAQ (this file) is available at http://www.sunmanagers.org _________________________________________________________________ 1.2) What is the Sun-Manager's Charter? What are the rules? 1: This list is NOT moderated! Every message that is sent to the list will be passed on to every member of the list. 2: Requests to have addresses added or removed from the list should NOT be sent to the entire list. Instead, addresses should be added or removed via the web page at http://www.sunmanagers.org Similarly, test messages of any sort should not be sent to the list. 3: This list is intended to be a quick-turnaround trouble shooting aid for those who administer and manage Sun systems. Its primary purpose is to provide the Sun manager with a quick source of information for system management problems that are of a time-critical nature. 4: All responses are to be mailed back to the questioner and are NOT to be sent to the entire list. Any response to a list message sent to the list, rather than to the person asking the question, will be deleted without notice. The person who originally asked the question has the responsibility of summarizing the answers and sending the entire summary back to the list. When a summary is sent back to the list, the word "SUMMARY" should be the first word of the "Subject" line. 5: Discussions on ANY topic are not allowed and will not be tolerated. If you want to discuss something, take it to the appropriate Sun newsgroup. 6: If it is not specifically related to Sun system management, then it does NOT belong on this list. Requests for vendor recommendations are tolerated, provided that the hardware in question is something that system managers normally purchase. 7: Commercial Advertising of any sort on the list is strictly prohibited. 8: Postings about employment, either employment sought or offered, are not permitted on this list. Please use a more appropriate forum, e.g. one of the newsgroups in the misc.jobs USENET hierarchy. 9: Requests for software (free or otherwise) should be limited to software that is directly related to Sun SYSTEM MANAGEMENT ONLY. 10: Read the appropriate manuals BEFORE posting, including the "Read This First" documents. Oftentimes the manuals contain answers for common problems. 11: When including a traceback from a system panic, make sure that it is a symbolic traceback. Numeric tracebacks (the ones included as part of the panic message) are not helpful; don't bother sending them to the list. 12: A posting to sunmanagers is not a general invitation to email the poster -- if you wish to send email to a sunmanagers poster, the email you send should be related to the posting, else it will be unsolicited email and may be treated like any other unsolicited email (e.g. spam). Sunmanagers is not to be used to collect email addresses of people who manage Sun systems. Those who do this not only violate the list's policy, but risk seriously offending the very people they are attempting to reach. 13: PLEASE PLEASE PLEASE...Think before you send a message! Ask yourself "is this really appropriate?" There are enough other newsgroups and mailing lists around to cover the marginal topics. Perhaps there is another forum that is more appropriate? Check the list of Sun specific newsgroups included in the FAQ. Perhaps your message would be more appropriate there? Remember that Sunmanagers is very public: we have thousands of subscribers, all postings are archived for posterity on various archive sites, and these sites are in turn searchable via various web engines. Submitting a posting is irreversible -- once it goes out, it cannot be taken back! Failure to adhere to these guidelines may result in severe chastisement by the list participants. Not only will you succeed in looking like a careless fool, and in making Sun Systems Managers all over the world annoyed at your incompetence, you may end up damaging your professional reputation. _________________________________________________________________ 1.3) Are there any public archives for the sunmanagers list? Sunmanagers' official archive is accessible at http://www.sunmanagers.org All postings are automatically archived. It is our policy not to accommodate requests to modify the archives, so if you are uncomfortable with your submissions in their entirety being public, do not submit them. Also, various members also keep their own archives on their own initiative. Some of these are public. Here are some we know about: http://aa11.cjb.net/sun_managers/index.htm Hank Leininger maintains a searchable archive site of messages (both questions and summaries) in Florida. It can be accessed at: http://marc.theaimsgroup.com/?l=sun-managers Dataman Benelux in the Netherlands hosts a "fuzzy" full-text index of the Sun Managers mailing list at: http://www.dataman.nl/cgi-bin/sunmanagers Manfred Liebchen maintains an archive site in Germany. It can be accessed at: http://www.uni-koeln.de/RRZK/Abt-Systeme/sun/infos/SUN-MANAGERS/sunman .html Older summaries (up to mid-1999) are available at http://www.latech.edu/sunman.html _________________________________________________________________ 1.4) What should I keep in mind when posting to sunmanagers? * VERY IMPORTANT! Before you post, read the sunmanager's list policy, which is available at http://www.sunmanagers.org * Sun Managers is a huge unmoderated mailing list. Every message you send will be passed on to every member of the list. This means you have access to a much larger audience when you need help, but it also means you can embarrass yourself in front of a huge number of people, most of them professionals in your field, including colleagues, peers, and possible future employers. Further, your posting will be archived in various places, some public, some private -- we have no way of knowing all the archive locations. Some of these archives, including the official one at http://www.sunmanagers.org, are web-searchable. It is our policy not to accommodate requests to remove or modify postings as archived on http://www.sunmanagers.org. Once you submit your message, it will be irretrievably accessible to a large number of people. There is no "taking it back". * Sun Managers is completely voluntary. Nobody is required to help you. We are all cooperating by sharing our knowledge. Accept with grace whatever responses you get, and don't hound people if they are helpful or they won't be the next time. * Sun Managers is not the list to use when you run out of other places to post. Job postings, PC questions, X questions all have their own lists and newsgroups. Use only the appropriate list or newsgroup for such things, not Sun Managers. Inappropriate postings will only make people annoyed at you. * The more information you give about a problem, the easier it is for others to help you. This doesn't mean you should uuencode the kernel and post it, but you should include your OS version, your hardware, and all relevant symptoms of your problem. Unless the request is of a general nature, the output of "uname -a" is almost certainly helpful. * When making a summary, please summarize as much as possible all the answers you received, even the ones you didn't decide to follow: if you receive several different suggestions, and decided on one, remember that somebody else reading the summary may not find the suggestion you followed to be the best one in his or her situation, and may benefit from one of the suggestions you didn't choose. * Be generous. If you have the information requested (especially if it is obscure) then please respond. You may be the person requesting help next time. _________________________________________________________________ 1.5) What other forums are there for Suns? Other forums that relate to Suns: USENET Newsgroups (accessible via "rn", "readnews", "nn", netscape, etc.): There is an entire USENET hierarchy devoted to Sun equipment. Some of these groups include: * comp.sys.sun.admin - Sun system administration * comp.sys.sun.announce - Announcements pertaining to Sun equipment * comp.sys.sun.apps - Applications that run on Suns * comp.sys.sun.hardware - Sun hardware (and clones too, I think) * comp.sys.sun.misc - Miscellaneous * comp.sys.sun.wanted - Sun stuff to buy or sell Other newsgroups that may also be of interest: * comp.unix.solaris - Solaris on all platforms * alt.sys.sun - may not be available everywhere * comp.sys.sun - newsgroup equivalent of sun-spots * comp.sources.sun - Sun-specific sources (not very active) Mailing lists: Sun Flash (Sun Product Announcements/news releases) sunflash-request at sunvice.East.Sun.COM - add/remove requests SunHelp (Discussion/help/chat about Sun machines and Software) http://www.sunhelp.org/mailman/listinfo/sunhelp Rescue (Rescuing old Sun equipment from the dump) http://www.sunhelp.org/mailman/listinfo/rescue Sunergy (Sun Commercial Newsletter) sunergy_information at Sun.COM - add/remove requests Suns-at-home (Home use of Sun Workstations) Suns-at-Home-Request at net-kitchen.com - add/remove requests Suns-at-Home at net-kitchen.com - submissions Suns-at-Home-Archives at net-kitchen.com - archive requests ssa-managers (Sun RAID software and hardware products) majordomo at eng.auburn.edu - add/remove requests (e.g. send "subscribe ssa-managers" in message body) veritas-users (Veritas products) http://mailman.eng.auburn.edu/mailman/listinfo CIAC notes (US. DOE Computer Incident Advisory Capability) ciac-listproc at llnl.gov - add/remove requests listmanager at cheetah.llnl.gov - human list manager CERT Advisory mailing list (security notifications for Suns and others) cert-advisory-request at cert.org - add/remove requests Solaris on Intel-based (x86) machines http://groups.yahoo.com/group/solarisx86/ Old list archives at: http://www.egroups.com/list/solarisonintel/ Auspex: managers of Auspex NFS file servers auspex-request at princeton.edu - add/remove requests auspex at princeton.edu - submissions Solbourne: managers of Solbourne SPARC systems "info-solbourne" list majordomo at acsu.buffalo.edu - add/remove requests info-solbourne at acsu.buffalo.edu - submissions ftp://ftp.acsu.buffalo.edu/pub/misc/info-solbourne.tar.z archives disksuite-l: for users who use Sun's Solstice Disksuite software majordomo at lists.veritel.com.br - add/remove requests sysadm at veritel.com.br - list owner Linuxmanagers: for users of Linux, including Sun Linux. http://www.linuxmanagers.org NOTE: if you wish to be added to one of the above mailing lists, send mail to the REQUEST address! Do not send add requests to the main address! For Web pages, see the answer to question 2.4. _________________________________________________________________ 1.6) Where are the answers to questions about old Suns and old versions of Solaris? Those questions and answers used to be in this FAQ, but since they're no longer frequently asked, they've been moved elsewhere. The FAQ as of late 2005 contained information about pre-UltraSPARC suns and versions of Solaris before Solaris 8, and is available at ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq-2005. The FAQ as of late 2000 contained information about pre-SPARC suns, early SPARCstations, and SunOS 4.x, and is available at ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq-2000. _________________________________________________________________ 1.7) What fields can I use to filter Sun Managers email? The following headers will exist in any mail to the list: To: sunmanagers at sunmanagers.org List-Help: List-Post: List-Subscribe: , List-Id: The Sun Managers Mailing List List-Unsubscribe: , List-Archive: _________________________________________________________________ 2. Getting Help Over the Net _________________________________________________________________ 2.1) How do I find out what patches are available from Sun? If you have a software service agreement with Sun, you can use Sun's "SunSolve ONLINE" service to obtain patches. Check your service agreement for details. Many anonymous ftp sites have partial collections of patches. WARNING: if you ftp patches from an ftp site, you are trusting whomever put them there. To be absolutely safe, get your patches from a trusted source. Rik Harris maintains a WAIS archive (sun-fixes.src) of most available patch READMEs. The Sun User Group (SUG) CD ROM also has a collection of Sun patches. _________________________________________________________________ 2.2) * How do I get help migrating to Solaris? Start by reading the Solaris FAQ, maintained and posted periodically to comp.unix.solaris by Casper Dik . It can be obtained at http://www.science.uva.nl/pub/solaris/solaris2 Then go to the Solaris Security FAQ, maintained by John Pancharian and hosted by IT World at http://www.itworld.com/Comp/2377/security-faq/ Sun has a programme for developers/companies to migrate to Solaris. It's documented at http://advantage.sun.com/partners/10moves/. _________________________________________________________________ 2.3) How do I access Sun's documentation over the net? Sun has a web site devoted to documentation, at http://docs.sun.com _________________________________________________________________ 2.4) To which web sites can I go for help? This is not a complete list, but: First, see the answer to question 2.2. Sun's documentation is available at http://docs.sun.com You can search the Sun newsgroups at http://www.dejanews.com Sun-Managers Archives are described in the answer to question 1.3 above. Some sites suggested by Jeffrey Meltzer are: * SolarisGuide - http://www.solarisguide.com * SunHelp - http://www.sunhelp.org * SolarisCentral - http://www.solariscentral.org * SunGuru - http://www.sunguru.com * SunFreeware - http://www.sunfreeware.com TechTarget has a search engine at http://searchenterpriselinux.techtarget.com that also covers Solaris. Eric De Mund suggests the BigAdmin site run by Sun, at http://www.sun.com/bigadmin Alan Pae suggests Sun Country, at http://www.ilkda.com _________________________________________________________________ 3. Network Directory and Files Services _________________________________________________________________ 3.1) How do I use DNS for hostname resolution? In Solaris 2.x, this is easy: simply edit /etc/nsswitch.conf and put "dns" before (or instead of) nis or nisplus on the line that begins with "hosts:". For example, to look up hostnames first in the host file and then in the DNS, use "hosts: files dns" _________________________________________________________________ 3.2) How do I change NIS+ credentials for the root master server? If an NIS+ system is functioning correctly and only the root password and root private keys for the system need to be changed, follow these steps: 1) Login as root for the system and change the root password in the /etc/shadow file: {root}3% passwd passwd: Changing password for root New password: Re-enter new password: {root}4% 2) Change the system's private key in the cred table: {root}4% chkey -p Updating nisplus publickey database. Reencrypting key for 'unix.ramayan at bharat.i n'. Please enter the Secure-RPC password for root: Please enter the login password for root: {root}5% 3) If running replica server(s) then wait until the changes to the credential object table has been propagated to its replicas. This could be up to 2 minutes. 4) Change the system's /etc/.rootkey: {root}5% keylogin -r Password: Wrote secret key into /etc/.rootkey {root}6% The procedure above will work for any system -- root server, root replica, non-root servers, and all clients. The steps above change only the system's root password and private keys, not the public keys for the system. Thanks to Ronald W. Henderson . However, if you want to change all the root credentials, including the public key, follow these steps: Use the passwd command on the root master server to change the root password. But DO NOT follow this with a chkey -p to update the credentials for the root master server, because this will disable the entire NIS+ domain. The only way to recover from this is to rebuild the domain from scratch! It is possible to change the credentials of the root master server, but it is not easy. The procedure follows: To change the keys for the root master server do as follows: 1. use these commands in this order: nisupdkeys -CH master.server.name. groups_dir.domain.name. nisupdkeys -CH master.server.name. org_dir.domain.name. nisupdkeys -CH master.server.name. domain.name. (This CLEARS the public key for the HOST "master.server.name" in this directory.) 2. Kill rpc.nisd and restart it at security level O then run this command: nistbladm -R cname=master.server.name. cred.org_dir.domain.name. nisaddcred des 3. Shutdown and restart any replicas of org_dir.domain.name. at run level O nisping org_dir.domain.name. nisdupdkeys domain.name. nisupddkeys org_dir.domain.name. nisupdkeys groups_dir.domain.name. 4. Kill and restart all rpc.nisd servers at level O to security level 2. Note that changing a server's key affects all directory objects containing the key. Thanks to Rogerio Rocha and Sun INFODOC ID 2213 for this information. _________________________________________________________________ 3.3) When I compile something, errors occur saying _dlopen and other _dl routines can't be found. Why? You are probably trying to compile something statically. You must either include stub routines for the _dl routines, or you must link the C library (or -ldl) dynamically. The source code below provides do-nothing stubs for the routines in question. /* libdl stubs -- John DiMarco */ char *dgettext(domainname, msgid) char *domainname; char *msgid; { return(msgid); } void *dlopen(pathname, mode) char *pathname; int mode; { return((void *)NULL); } void *dlsym(handle, name) void *handle; char *name; { return((void *)NULL); } char *dlerror() { return(NULL); } int dlclose(handle) void *handle; { return(0); } _________________________________________________________________ 4. Window Systems _________________________________________________________________ 4.1) + What Window system GUIs are supported by Sun? Sun's default window system for Solaris is CDE; Gnome is also supported. Sun's Java Desktop System and the Sunray software for Linux uses Gnome. _________________________________________________________________ 5. Disks, Tapes and SCSI _________________________________________________________________ 5.1) * What sector/head/cylinders parameters should be used for a hard disk? The format program can almost always figure this out on its own by querying the drive, but if you wish, you can specify your own in /etc/format.dat. A format.dat file containing entries submitted by various people is available for anonymous ftp at ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/format.dat It is currently maintained by John DiMarco (jdd at cs.toronto.edu). New entries are welcome; mail them to sunmanagers-format at sunmanagers.org For SCSI disks on modern suns, a format.dat entry can be auto-generated using John DiMarco's scsiinfo program, available at ftp://ftp.cs.toronto.edu/pub/jdd/scsiinfo/. It will query the disk directly, and has an option to generate an appropriate format.dat entry. Finally, you can compute your own entry. For SCSI disks, any combination of cylinders, heads, and sectors that does not add up to more than the rated formatted capacity of the drive will normally work. A grossly different geometry may result in some slight performance degradation, but it should still work. The SCSI protocol hides most of the drive details from the host, and hence the host need not know much about the drive to format or use it. _________________________________________________________________ 5.2) * Can I replace an internal drive in a Sun with a higher capacity model? Yes, usually. If you purchase it from someone other than Sun, it is wisest to make sure that it is either a model of drive that is supported by Sun for that machine, or that it at least does not dissipate more heat than the hottest of the drives supported by Sun. The Sun Systems Handbook lists various drives supported on various models; you can query it on the web for modern Suns at http://sunsolve.sun.com/handbook_pub/Systems. For systems which are not maximally configured (e.g. there are empty internal drive bays), it might be safe to exceed this limit a bit, but caveat emptor. Disk drive heat dissipation/power figures are available on the drive's datasheet, available on the drive vendor's web site. The most relevant figure is the wattage indicated for "Read/Write" or "Seek". Unfortunately, different vendors report this in different ways; read the vendor's documentation to see what this figure indicates. This figure is sometimes indicated in amps at 5V and 12V; convert to watts by multiplying the voltage by the amperage in each case, and adding the two together. _________________________________________________________________ 5.3) Is it okay to disconnect or connect SCSI devices while powered on? On older machines (without onboard SCSI controllers), it is never a good idea to do this. You risk blowing a fuse on the CPU board, or part of the SCSI hardware. On newer machines (sparcstations and later), many people have done this regularly without problems. Halt the machine (sync;L1-A), remove or add the device, then continue. However, it is possible to blow the SCSI termination power fuse on the motherboard. If your machine hangs immediately on powerup unless the SCSI bus is externally terminated, this fuse may need to be replaced. Caveat Emptor. _________________________________________________________________ 5.4) How do I configure my sun to use Exabyte 4mm DAT tape drives? Add the following to /kernel/drv/st.conf: tape-config-list = "EXABYTE EXB-4200", "Exabyte 4mm EXB-4200", "EXBT-4200", "EXABYTE EXB-4200c", "Exabyte 4mm EXB-4200c", "EXBT-4200c" EXBT-4200 = 1,0x34,1024,0x0029,4,0x63,0,0,0,3; EXBT-4200c = 1,0x34,1024,0x0029,4,0x63,0,0x13,0,3; Exabyte also recommends that their 4mm tape drives have firmware revision levels of at least the following when used on suns: * EXB-4200 No restriction, but revision 148 or higher is recommended * EXB-4200c Level 149 minimum (mode select for compression) Thanks to Dave Hightower . _________________________________________________________________ 5.5) Why is tagged queueing a problem on my third-party disk? Tagged Command Queueing (TCQ) is an optional part of the SCSI-2 specification. It permits a drive to accept multiple I/O requests for execution later. These requests are "tagged" by a reusable id so that the drive and the OS can keep track of them. The drive can reorder these requests to optimize seeks. For more details, see the SCSI-2 specifications. A draft version is available at ftp://ftp.cs.toronto.edu/pub/jdd/scsi-doc/scsi2.10b.gz SunOS 4.x and earlier never uses tagged queueing. However, Solaris 2.x will make use of tagged queuing if the drive claims to support it. Unfortunately, some drive manufacturers have found it hard to design their drives to do tagged queueing properly, and this particular area has been a common source of bugs in drive firmware. If it is not possible to turn off tagged queueing in the drive that is causing the problem, Solaris 2.x can be told not to use tagged queueing at all, by putting the following line in /etc/system: set scsi_options & ~0x80 The "scsi_options" kernel variable contains a number of bit flags which are defined in /usr/include/sys/scsi/conf/autoconf.h. 0x80 corresponds to tagged queueing. However, this turns off tagged queueing for the entire machine, not just the problematic drive. Because tagged queueing can provide a significant performance enhancement for busy drives, this may not always be desirable. In Solaris 2.4 and later, it is possible to disable tagged queueing and set or clear other scsi options on a per-controller or per-drive basis. The appropriate technique is described in the esp(7) and isp(7) man pages. _________________________________________________________________ 5.6) Why don't third-party CD-ROMS work on my sun? When Sun first decided to add CD-ROM support, there were already a great number of systems in the field, all of which contained boot proms that expected to boot from disks with 512 byte sectors. Sun had to decide between replacing a whole lot of boot proms or finding a way to make a CDROM act like a disk with 512 byte sectors in order to support it as a boot device. They chose the latter approach. Many third party CD-ROM drives use 1024 or 2048-byte sectors, which causes the SCSI driver to see a "data overrun". When the driver asks for N "blocks" (which it thinks are 512 bytes each ) it gets more data back than it expected. Some CD-ROM drives can be told to use 512 byte sectors by setting a jumper, cutting a trace, or using a software command (mode select). Details vary widely, but if you are seeing a data overrun on a third party CD-ROM, then it is most likely doing 1K or 2K transfers and will need some work to be a boot device for a Sun. Thanks to Kevin Sheehan For more information about third-party CD-ROMS on Suns, consult the CD-ROM FAQ, maintained by Mike Frisch and Martin Hargreaves . It can be found on the World Wide Web at ""http://saturn.tlug.org/suncdfaq". A UK mirror is available at ""http://www.datamodl.demon.co.uk/suncd/". _________________________________________________________________ 5.7) What size and density parameters should I use for ufsdump with a high-capacity tape drive? The only purpose of the ufsdump size and density parameters is to let dump calculate the capacity of each tape and then decide for itself when it needs a new tape. If the filesystem you are dumping is larger than the tape, you will need to use more than one tape. But ufsdump can detect the end of media for all modern tape drives, and will automatically prompt for new tapes when needed, so as long as the size and density parameters indicate a tape as long as or longer than the one you're using, ufsdump will behave properly. Thanks to Niall O Broin _________________________________________________________________ 5.8) My floppy/cdrom device says "device busy". What do I do? The Volume Manager (vold) is probably holding the device open. You can access a floppy through the volume manager by typing "volcheck" and looking in /floppy/*. CD-ROMs don't require volcheck; just insert one and the volume manager should automatically notice, and mount it under /cdrom/*. Unmount by typing "eject floppy" or "eject cdrom", respectively. The Volume Manager can be configured by editing /etc/vold.conf. If you need to access a floppy or CD-ROM special device, however, you may need to turn off the volume manager. As root, type "/etc/init.d/volmgt stop". To turn it back on, type "/etc/init.d/volmgt start". _________________________________________________________________ 5.9) What software is available for CD-R/CD-RW? Commercial Software: GEAR by Elektoson - http://www.elektroson.com/ Young Minds - http://www.ymi.com/ - High-end integrated hardware/software solution Creative Digital Research - http://www.cdr1.com/ Joerg Schilling has developed an excellent cd recording package called cdrecord. This package should meet most needs. See http://www.fokus.gmd.de/research/cc/glone /employees/joerg.schilling/private/cdrecord.html for much more information, including supported hardware. Andy McFadden has an excellent CD-Recordable FAQ at: http://www.cdrfaq.org Thanks to Mark Belanger _________________________________________________________________ 5.10) Where is my disk space? The "du" and "df" commands disagree. If a process is holding open a file, and that file is removed, the space belonging to the file is not freed until the process either exits or closes the file. This space is counted by "df" but not by "du". This often happens in /var/log or /var/adm when a long-running process (e.g. syslog) is holding open a file. In the case of syslog, send it a HUP (e.g. kill -HUP ). You can use LSOF (ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof) to find which processes are holding open a particular file. Thanks to Stefan Voss and Michael R. Zika Under Solaris 2.6 and later, files which have been unlinked can still be accessed through the /proc interface. If a process is holding open such a file for writing, but it's inconvenient or impractical to kill the process or get it to close the file, you can free up the disk space by truncating (not removing) the file from under /proc; e.g., # cd /proc/1234/fd # ls -l c--------- 1 root 24, 12 Jan 1 11:33 0 c--------- 1 root 24, 12 Jan 1 11:33 1 c--------- 1 root 24, 12 Jan 1 11:33 2 --w------- 1 root 314159265 Jan 1 11:37 3 # : > 3 # ls -l c--------- 1 root 24, 12 Jan 1 11:33 0 c--------- 1 root 24, 12 Jan 1 11:33 1 c--------- 1 root 24, 12 Jan 1 11:33 2 --w------- 1 root 0 Jan 1 11:38 3 Thanks to Dan Astoorian Brian Poole writes: Another possible cause of df & du disagreeing is if the files are being 'hidden' under a mount. I ran into this recently where I had a large number of files in /tmp (from adding patches in single user mode) that were on the root partition. Thus when I was looking for them in multiuser mode, I couldn't find them because of the tmpfs overlay. I exported the root partition via NFS and upon mounting it found the hidden files and deleted them. _________________________________________________________________ 6. Resource Management and Performance Tuning _________________________________________________________________ 6.1) How do I tell what caused my machine to crash? The crash messages will usually be displayed on the console, and are usually logged to /var/adm/messages via syslog as well after a warm reboot. In older versions of Solaris, the "dmesg" command may also show crash messages. If your system repeatedly crashes with similar looking errors, try searching through the patch list on the Sun patch database for a description that matches your machine. In versions of Solaris 2 up to and including Solaris 2.6, uncomment the "savecore" line in the file /etc/init.d/sysetup to enable crash dumps. As of Solaris 7 and later, crash dumps are enabled by default; see the manual page for dumpadm(1M) for information on how to customize system dump configuration. To report a crash dump, you need a symbolic traceback for it to be useful to the person looking at it. Type the following: cd /var/crash/`hostname` echo '$c' | adb -k unix.0 vmcore.0 The "crash" utility can be useful for analyzing crash dumps for Solaris up to and including Solaris 8. "Crash" has been superseded by "mdb" (modular debugger) as of Solaris 8. Thanks to Dan Astoorian _________________________________________________________________ 6.2) What can I do if my machine slows to a crawl or just hangs? Try running "ps" to look for large numbers of the duplicate programs or processes with a huge size field. Some system daemons occasionally can get into a state where they fork repeatedly and eventually swamp the system. Killing off the child processes doesn't do any good, so you have to find the "master" process. It will usually have the lowest pid. Another useful approach is to run vmstat to pin down what resource(s) your machine is running out of. You can tell vmstat to give ongoing reports by specifying a report interval as its first argument. The programs "top" and "sps" are good for finding processes that are loading your system. "Top" will give you the processes that are consuming the most cpu time. "Sps" is a better version of "ps" that runs much faster and displays processes in an intuitive manner. Top is available at ftp://ftp.groupsys.com/pub/top/. Sps is available at ftp://ftp.csv.warwick.ac.uk/pub/solaris2/sps-sol2.tar.gz. Doug Hughes has written a small, quick PS workalike called "qps", available from his web page at http://www.eng.auburn.edu/users/doug/second.html Sometimes you run out of memory and you won't be able to run enough commands to even find out what is wrong. You will get messages of the type "out of memory" or "no more processes". Note that "out of memory" refers to virtual memory, not physical memory. On a Solaris system, virtual memory is generally equal to the sum of the swap space and the amount of physical memory (less a roughly constant amount for the kernel) on the machine. The command "swap -s" will tell you how much virtual memory is available. You can sync the disks to minimize filesystem corruption if you have to crash the system: Use the L1-A sequence to crash the system. If you are on an older system, type "g0" and you will get the message "panic: ... syncing file systems". When you see the word "done", hit L1-A again and reboot. On systems with the "new" prom, type "n" to get into the new command mode and type "sync". _________________________________________________________________ 6.3) How do I find out how much physical memory a machine has? Use /usr/sbin/prtconf if the machine is running Solaris. If it's a sun4u running Solaris 8 or previous, /usr/platform/sun4u/sbin/prtdiag is very helpful. It's /usr/sbin/prtdiag in Solaris 9 and later. On high-end machines, /usr/sbin/cfgadm -al can also provide memory information. The banner message on reboot (or type "banner" in the monitor on machines with Openboot proms) will usually report the amount of physical memory. Alternatively, you can open up the case and count SIMMS and/or memory boards. A perl script "memconf" is also available that identifies the sizes and locations of SIMM/DIMM memory modules installed in a Sun system. It also works on several SPARC clones and with Sun Explorer data. It is maintained by Tom Schmidt . Download memconf from http://www.4schmidts.com/unix.html _________________________________________________________________ 6.4) How do I find out what my machine's memory is being used for? How can I tell if I need more memory? To discover how much virtual memory (i.e. swap) is free, run "swap -s" or "vmstat". If you're using tmpfs for /tmp, "df /tmp" will also work. Discovering how physical memory is being used can be more difficult, however. Memory pages that are not being used by processes are used as a sort of extended cache, storing pages of memory-mapped files for possible later use. The kernel keeps only a small set of pages free for short-term use, and frees up more on demand. Hence the free memory reported by vmstat is not an accurate reflection, for example, of the amount of memory available for user processes. An easy way to determine whether or not your machine needs more memory is to run vmstat and examine the po (page out) column and the sr (scan rate) column. If these columns consistently show large numbers, this suggests that your machine does not have enough memory to support its current workload, and frequently needs to write pages belonging to active processes to disk in order to free up enough memory to run the current job. _________________________________________________________________ 6.5) Why do some files take up more disk space after being copied? Why are the sizes reported by ls -l and du different? Some files -- core files being one common example -- contain "holes", areas which were seeked over without being written. These files are called "sparse". When read back, these areas appear to contain zeros; however they do not occupy disk space. The "length" of such a file (as reported by "ls -l") will exceed its "size" (as reported by "ls -s" and reflected in the results of du or df). cp, cpio, and tar do not detect holes; they read and copy the zeros, and the resulting files will contain all-zero blocks (which occupy space) where the input files contained holes (which do not). dump will detect holes in the dumped files, and restore will reproduce them. Thanks to Perry Hutchison GNU tar has an "-S" option which preserves holes, and Joerg Schilling's "star" has "-sparse" and "-force_hole" options which can be used to preserve and re-insert holes, respectively. star is available for download at ftp://ftp.fokus.gmd.de/pub/unix/star _________________________________________________________________ 7. HTTP and Anonymous FTP _________________________________________________________________ 7.1) * How do I set up anonymous ftp on my machine? See the ftpd man page, and follow its instructions. You will also need to set up nsswitch.conf in etc. However, you should consider using a different ftpd, such as http://www.wu-ftpd.org. Solaris "pkg" versions of proftpd and wuftpd are available at: http://metalab.unc.edu/pub/packages/solaris/sparc/ ftp://ftp.adelaide.edu.au/pub/4.3/ftpd-sirius.tar.Z The stock Sun ftpd will log some information if you add the "-l" flag in /etc/inetd.conf: ftp stream tcp nowait root /usr/etc/in.ftpd in.ftpd -l Warning: it will log passwords of ordinary users. Also enable syslogd by adding: daemon.info /var/adm/syslog to "/etc/syslog.conf". _________________________________________________________________ 7.2) + Where can I get a Web server for Solaris? The open-source Apache web server and related tools are available on the Solaris Software Companion CD, which is part of the media kit for the Solaris distribution. The contents of this CD are also available for free download at http://www.sun.com/software/solaris/freeware. Apache binaries can also be retrieved from the following sites and many others: * http://www.sun.com/software/solaris/freeware * ftp://metalab.unc.edu/pub/packages/solaris/sparc/ * http://www.gnu.org/order/ftp.html * http://sunfreeware.com The Sun Java System Web server is available for download from Sun at http://www.sun.com/software/products/web_srvr/home_web_srvr.xml; the Sun Java System Application Server is available for purchase from Sun at http://www.sun.com/software/products/appsrvr. _________________________________________________________________ 8. Consoles, Keyboards and Key Remapping _________________________________________________________________ 8.1) How do I make the numeric keypad on a sun keyboard work with xterm? You need to patch the /usr/lib/X11/app-defaults/XTerm and $OPENWINHOME/lib/app-defaults/XTerm files as described in sun patch 100713-01 or later. Thanks to Margarita Suarez _________________________________________________________________ 8.2) How do I swap the CAPS LOCK and CONTROL keys on a sun keyboard? There are two ways to do it, one with xmodmap (for X11 only), and the other using keytables. Margarita Suarez suggests editing $OPENWINHOME/etc/keytables/US5.kt. There are two places where keys 119 (CapsLock) and 76 (Control) should be swapped: the MODMAP section and the KEYSYMMAP section. The latter is most important, because that's where the "Pseudo-Lock" function (which controls the locking behaviour of the key) is defined. Doug Hughes suggests using xmodmap with the following: remove Lock = Caps_Lock remove Control = Control_L keysym Control_L = Caps_Lock keysym Caps_Lock = Control_L add Lock = Caps_Lock add Control = Control_L In X11, you can change your keyboard layout as you please using the xkeycaps application, which allows you to edit and remap your keyboard on the fly, as well as save configurations to be sourced by xmodmap. xkeycaps is available from http://www.jwz.org/xkeycaps/ and in the contrib section of your friendly X11 source archive. Thanks to Dan Pritts for the info on xkeycaps. _________________________________________________________________ 8.3) How do I use a Windows PC for a Sun serial console? Wire up a serial cable from the Sun's serial cable to one of the PC serial ports. PC serial ports are usually (but not always) DB9 (9-pin), while Sun serial console ports are usually (but not always) 25-pin (DB25). You generally need to connect them through a "null modem adapter". For more information on serial ports, see Sunhelp's UNIX serial port resources page, at http://www.sunhelp.org/unix-serial-port-resources The next problem is that the version of Hyperterminal which comes with some versions of Windows cannot generate a BREAK signal. You can obtain a new version of Hyperterminal from http://www.hilgraeve.com/htpe/index.html There are many free alternative terminal programs. Special mention should be made of TeraTerm: http://hp.vector.co.jp/authors/VA002416/teraterm.html which has been updated with SSH support as Teraterm Pro, which is available from http://www.ayera.com/teraterm For newer suns which support ALOM, a serial or telnet connection to the ALOM is generally preferable. A pinout of the serial RJ-45 ALOM connector can be found in Sun's "Sun Advanced Lights Out Manager (ALOM) 1.6 Administration Guide". Thanks to Harvey Wamboldt _________________________________________________________________ 9. Sun models and OS Versions _________________________________________________________________ 9.1) * Which Sun models run which versions of SunOS? SunOS 5.x = Solaris 2.x Sun dropped the "2." when Solaris (2.)7 came out. i.e. Solaris 7 = "Solaris 2.7" = SunOS 5.7, Solaris 8 = "Solaris 2.8" = SunOS 5.8 and so on. In the following list, the specified OS is the earliest supported on the specified hardware. Some CPU modules may require later OS versions than listed. * Ultra 1 model 140, 170: Solaris 2.5 * Ultra 1 model 140E, 170E, 200E: Solaris 2.5.1 * Ultra 2: Solaris 2.5.1 * Ultra 5,10,30,60,250,450: Solaris 2.5.1HW1297 or Solaris 2.6HW0398 * Ultra Enterprise: Solaris 2.5.1 * SunBlade 100, SunBlade 1000: Solaris 8HW1000 * SunBlade 150: Solaris 8 5/03; Solaris 9 4/03 * 3800, 4800, 4810, 6800: Solaris 8HW0401 * B100s: Solaris 8 12/02, Solaris 9 4/03 * V100: Solaris 8 2/02 * V120: Solaris 8 10/01 * V210, V240: Solaris 8 12/02, Solaris 9 4/04 * V250: Solaris 8 7/03, Solaris 9 8/03 * 280R: Solaris 8 2/02, Solaris 9 12/02 * V440: Solaris 8 7/03, Solaris 9 12/03 * V490,V890: Solaris 8 2/04, Solaris 9 4/04, Solaris 10 3/05 * V880: Solaris 8 10/01, Solaris 9 4/03 * E2900,E4900,E6900: Solaris 8 2/04, Solaris 9 4/04, Solaris 10 3/05 * B200x, v20z, v40z: Solaris 9 x86 4/04 * v20z,v40z single-core: Solaris 10 x86, Solaris 9 HW 4/05 x86 * v20z,v40z dual-core: Solaris 10 x86, Solaris 9 HW 9/05 x86 * X2100: Solaris 10 x86 * X4100,4200: Solaris 10 x86 3/05HW1 * T1000: Solaris 10 1/06 * T2000: Solaris 10 3/05HW2 9.2) How can my program tell what model Sun it is running on? On older suns, the model type is encoded in the hostid, and /usr/sbin/prtconf will reveal the model type. "Suntype", written by John DiMarco (jdd at cs.toronto.edu) is a shell script which does the appropriate thing on all suns. It is available for anonymous ftp at ftp://ftp.cs.toronto.edu/pub/jdd/suntype Alternatively, grab Michael Cooper's "sysinfo" program, which provides all sorts of information about a given system, including the machine type. sysinfo is available on the web at http://www.magnicomp.com/, although it is now a commercial product that is free only for educational and non-profit organizations. _________________________________________________________________ 9.3) How do I find out a Sun's boot prom revision? Type "banner" at the prom, or type "/usr/sbin/prtconf -V" to determine the prom revision of a particular machine. Alternatively, grab Michael Cooper's "sysinfo" program, which provides all sorts of information about a given system, including the prom revision. sysinfo is available on the web at http://www.magnicomp.com, although it is now a commercial product that is free only for educational and non-profit organizations. _________________________________________________________________ 9.4) * Which hardware/software is capable of 64-bit? Which is only 64-bit? How can I tell which is running? All UltraSPARC and SPARC64 (Primepower) hardware is capable of running in 64-bit mode; earlier SPARCs (HyperSPARC, SuperSPARC, etc.) are 32-bit only. Only some UltraSPARC-I, UltraSPARC-II, and UltraSPARC-II-i systems are capable of both 32-bit and 64-bit operation; later UltraSPARC systems are 64-bit only. Early UltraSPARC-I hardware (up to 200MHz) suffers from a bug where, in 64-bit mode, a certain code sequence can cause the processor to stall, and thus UltraSPARC-I machines run in 32-bit mode by default. To allow a 64-bit kernel on such a machine, edit/create /platform//boot.conf and add the line: ALLOW_64BIT_KERNEL_ON_UltraSPARC_1_CPU=true All Sun Opteron hardware is capable of both 64-bit and 32-bit operation, but Solaris x86 on some Opteron models (X2100, X4100, X4200) runs in 64-bit mode only. Sun Xeon and Pentium-III hardware are capable only of 32-bit operation. "isainfo -kv" or "isainfo -b" will indicate whether a system is running in 32-bit or 64-bit mode. _________________________________________________________________ 10. Miscellaneous Software _________________________________________________________________ 10.1) My remote ufsdump is failing with a "Protocol botched" message. What do I do? The problem produces output like the following: ... DUMP: Dumping /dev/rsd0a (/) to /dev/nrst8 on host foo DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 8232 blocks (4.02MB) on 0.00 tape(s). DUMP: Protocol to remote tape server botched (in rmtgets). rdump: Lost connection to remote host. DUMP: Bad return code from dump: 1 This occurs when something in .cshrc (or .profile) on the remote machine prints something to stdout or stderr (eg. stty, echo). The remote ufsdump command doesn't expect this, and chokes. Other commands which use the rsh protocol (eg. rdist, rtar) may also be affected. The way to get around this is to add the following line near the beginning of .cshrc, before any command that might send something to stdout or stderr: if ( ! $?prompt ) exit This causes .cshrc to exit when prompt isn't set, which distinguishes between remote commands (eg. rdump, rsh) where these variables are not set, and interactive sessions (eg. rlogin) where they are. _________________________________________________________________ 10.2) * Where can I get a C compiler for Solaris? Sun's "Studio" compiler suite can be obtained at http://www.sun.com/software/products/studio. Various third-party commercial SPARC compilers are also available, including: * http://www.ghs.com * http://www.apogee.com * http://www.windriver.com * http://www.pgroup.com * http://www.intel.com (Solaris x86 only) The open-source GCC compiler and related tools are available on the Solaris Software Companion CD, which is part of the media kit for the Solaris distribution. The contents of this CD are also available for free download at http://www.sun.com/software/solaris/freeware Thanks to Eric Boutilier GCC binaries can be retrieved from the following sites and many others: * http://www.sun.com/software/solaris/freeware * ftp://metalab.unc.edu/pub/packages/solaris/sparc/ * http://www.gnu.org/order/ftp.html * http://sunfreeware.com More information on this topic is available at http://www.kevininscoe.com/geek/sun/compilesun/ Thanks to Kevin Inscoe _________________________________________________________________ 10.3) How do I read Microsoft Word documents on my Sun? You can obtain some of the raw content of the document by using the "strings" command. Note that Word documents (and documents produced by other Microsoft Office programs, like Excel) can sometimes contain hidden information that is not normally accessible from Word, but is visible using "strings" (this can be a good reason not to distribute documents in MS Office formats). It is possible to run some versions of Microsoft Word on your Sun, using Bochs, WABI, SoftWindows, WinCenter, WinDD, SunPC, or some other Windows integration product. You can use a word-processor that can import the various MS Word formats. For example, Word Perfect from Corel Corporation is capable of reading and saving in various MS Word formats. Word Perfect is available for several versions of UNIX, including SPARC/Solaris 2.x. Sun's StarOffice is available for various operating systems, including Solaris/SPARC, from http://www.sun.com/staroffice. OpenOffice is also freely available for Solaris x86 and SPARC from http://www.openoffice.org. From a PC/Mac, you can print postscript output to a file, and view the postscript on the Sun using docviewer or ghostscript/ghostview. Thomas Anders points out that LAOLA (a Perl4 package that can read Word6 and Word7 format is available on the web at http://user.cs.tu-berlin.de/~schwartz/pmh/. Another option (suggested by Thomas ) is a GPL-licensed command-line utility called "antiword". His mutt mailcap file is setup as follows: application/msword; antiword %s; copiousoutput; description="Microsoft Word Tex t"; nametemplate=%s.doc Antiword is available from http://www.winfield.demon.nl. _________________________________________________________________ 10.4) How do I restore to a different location the contents of a tarfile created with absolute pathnames? Tarfiles should not normally be created with absolute pathnames, only with relative pathnames. Do not type "tar c /path/name" to create a tar archive, type "(cd /path; tar c name)" instead. Note: if you do "(cd /path/name; tar c .)", you will indeed avoid absolute pathnames, but beware that the tarfile created may silently overwrite the permissions of the current directory when unpacked. That's OK if you unpack it via: "mkdir name; cd name; tar xf /my/tarfile.tar That's not OK if you unpack it via: "cd /tmp; tar xf /my/tarfile.tar" It's not OK because you will change the permissions of /tmp. If you do have an archive created with absolute pathnames, you can unpack it in a different location by using GNU's version of tar, which will strip off the leading /. Alternatively, you can use pax to strip off the leading /, as follows: pax -r -s '/^\///' and Stephen Kives _________________________________________________________________ 11. Miscellaneous Hardware _________________________________________________________________ 11.1) * How come my mouse occasionally doesn't work? If it is a mechanical mouse, it may need cleaning. Open up the bottom panel by rotating it, and remove the mouse ball. Clean the mouse ball. With a Q-tip, clean off any grime on the rotors inside the mouse. _________________________________________________________________ 11.2) How can I turn my old sun into an X-Terminal? You can simply replace the ttymon entry for the console in /etc/inittab with a command that starts up an X server. _________________________________________________________________ 11.3) * How can I use an SVGA monitor on my Sun? Some older suns use a 13W3 video connector, which looks something like this: ----------------- \ O O ::::: O / ------------- A simple adapter will connect a Sun to a SVGA multi-sync monitor, providing the monitor (like most better monitors these days) will accept composite sync and operate in 1152x900 66 Hz (or whatever output your sun produces) mode. (Check the manufacturer's data sheets, usually on the Web.) Similarly, adapters are available to connect Sun 13W3 monitors to PCs or newer Suns with SVGA connectors. Adapters are available from many vendors: search for 13W3 on Google. This and many other interesting facts about Sun video are answered in the Framebuffer FAQ, at one of: * http://www.uark.edu/sunfaq/FrameBuffer.html * http://bul.eecs.umich.edu/~crowej/sunfaq/FrameBuffer.html A related FAQ by the same person is the Colormap FAQ at one of: * http://www.uark.edu/sunfaq/ColormapFAQ.html * http://bul.eecs.umich.edu/~crowej/sunfaq/ColormapFAQ.html _________________________________________________________________ 11.4) Where can I find alternate pointing devices for my Sun? Bert N. Sure claims that Mousetrak makes an excellent line of pointing devices. The url is "">http://www.mousetrak.com". SunExpress (http://sunexpress.usec.sun.com) and Qualix (http://www.qualix.com) distribute them. Bert uses the top-of-the-line "Evolution" trackball, which has six user-definable buttons and a large ball which is manufactured by a billiard ball company in Belgium. For 3-D input, SunExpress (http://sunexpress.usec.sun.com) sells the SpaceBall 3003, in addition to the standard Sun "SunDials" product. Dan Pritts indicates that one can buy a box from sun called the sun interface converter for $75 that allows you to use a ps/2-style keyboard or pointing device, or both, and still use your sun keyboard or mouse. In particular, the sun interface converter supports the Microsoft "natural keyboard". _________________________________________________________________ 12. Networking _________________________________________________________________ 12.1) Why do both my net interfaces have the same ethernet address? The Ethernet version 2.0 specification (November 1982) states: The physical address of each station is set by network management to a unique value associated with the station, and distinct from the address of any other station on any Ethernet. The setting of the station's physical address by network management allows multiple multiple data link controllers connected to a single station to respond to the same physical address. This doesn't normally constitute a problem because each interface will typically be on a different subnet. If, for some reason, different ethernet addresses are required on different interfaces (for example, to attach two interfaces to the same subnet), a new one may be assigned using the ifconfig command. Alternatively, for all modern Sun hardware, you can set the "local-mac-address?" eeprom variable to "true", which will cause each NIC to use a unique MAC address. This is needed for many failover and trunking configurations. _________________________________________________________________ 12.2) How can I know the hardware vendor from an ethernet address? The first three octets of a six-octet ethernet address typically uniquely identifies the hardware vendor of the particular network interface card. This is called the "Organizationally Unique Identifier" (OUI). OUI information, including the most recent list of public OUIs can be found at http://standards.ieee.org/regauth/oui Note that it is possible that an unidentified OUI could be used, since vendors are not required to make their OUIs public, and many network interfaces, including Suns, can be configured to use a custom ethernet address, so there is no guarantee that the OUI will correctly identify the vendor. _________________________________________________________________ 12.3) * How do I set my ethernet interface to e.g. 100Mb full duplex? The answer to this question assumes you have an hme ethernet interface; similar techniques should work for other ethernet interfaces; consult the man page for the ethernet driver (e.g. if you have an eri driver, "man eri") for more details. If you are not sure which ethernet driver is in use, "ifconfig -a" will tell you. For example, if ifconfig -a shows e.g. "hme0", you have an hme ethernet interface. All of Sun's ethernet network interfaces faster than 10Mbits are capable of negotiating with a network switch; if this is working, the ethernet interface will automatically choose the fastest supported setting. However, this may not necessarily work with some networking gear, or there may be some other reason to choose a slower setting, e.g. cat3 wiring. If the two ends have different ideas about what mode the link is, you may see "late collision" messages, dropped packets, or complete failure. To force a particular mode, e.g. 100Mb FD, you can use ndd as follows: # turn off autonegotiation ndd -set /dev/hme adv_autoneg_cap 0 # turn on 100Mb full-duplex capability ndd -set /dev/hme adv_100fdx_cap 1 # turn off 100Mb half-duplex capability ndd -set /dev/hme adv_100hdx_cap 0 # turn off 10Mb full-duplex capability ndd -set /dev/hme adv_10fdx_cap 0 # turn off 10Mb half-duplex capability ndd -set /dev/hme adv_10hdx_cap 0 You may have to force the other end (e.g. switch) to use the same mode. Consult the manual for your switch. NB: Fast ethernet hubs are always 100Mb half-duplex, and ethernet hubs are always 10Mb half-duplex. If you have more than one hme card in your system, before issuing the above ndd commands, you need to first select the specific hme card you want to set. For example, to select hme2, type: ndd -set /dev/hme instance 2 Subsequent ndd commands to /dev/hme will only apply to hme2. If you want to force all the hme cards on your system to a specific mode at machine boot, you can set hme driver variables in /etc/system. For example, to force all hme cards on the system to use 100Mbit FD, put the following in /etc/system: set hme:hme_adv_autoneg_cap=0 set hme:hme_adv_100fdx_cap=1 set hme:hme_adv_100hdx_cap=0 set hme:hme_adv_10hdx_cap=0 set hme:hme_adv_10fdx_cap=0 _________________________________________________________________ 12.4) How do I find out what process is using a particular port? Ports are held open in the same way as files are, by file handles within the process. In most states, a port will also have a handle into another process on the other side of that connection. If you need to find out which process is holding open a particular port, run lsof (ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof) and grep for the port number. Thanks to Stuart Whitby _________________________________________________________________ 12.5) I have a lot of ports in WAIT states. Why? The state of sockets can be seen with the "netstat -a" command. When a process attempts to close an ESTABLISHED connection, the transition will show a number of WAIT states, depending on which stage of the shutdown the port is at. When the initial FIN is sent from side a) of the connection, side a) will change to FIN_WAIT_1, side b) will change to CLOSE_WAIT, and acknowledge the FIN packet. The acknowledgement causes side a) to change to FIN_WAIT_2. A socket will rarely be in FIN_WAIT_1 for more than a couple of seconds unless there is a problem with communications. In this state, data may still be sent from side b) to side a), but not vice versa. When side b) receives a close from the associated application, or the FIN_WAIT_2_FLUSH_INTERVAL is reached without data being sent, it will send a FIN and change to LAST_ACK. Side a) moves to TIME_WAIT upon receiving this FIN and acknowledges the packet, causing any references to this connection on side b) to disappear. The socket in TIME_WAIT will remain for twice the maximum segment lifetime (normally a total of four minutes) before dropping, in case dropped data packets are resent and misinterpreted by a new application on this port. Thanks to Stuart Whitby _________________________________________________________________ 13. Electronic Mail _________________________________________________________________ 13.1) * Where can I get a POP or IMAP server for my sun? The PINE email package comes with both a POP and an IMAP server. PINE can be found at http://www.washington.edu/imap. An old, unmaintained Berkeley popd can be found at ftp://ftp.cc.berkeley.edu/pub/pop (not recommended), and Casper Dik's enhanced version of this for Solaris is found at ftp://ftp.fwi.uva.nl/pub/solaris/. A POP server can also be found as part of the Eudora ftp repository, at ftp://ftp.qualcomm.com/quest/unix/servers. A faster alternative is the CMU Cyrus IMAP server, which changes the mailbox format to something that is more efficient. It can be found at ftp://ftp.andrew.cmu.edu/pub/cyrus-mail. The Courier IMAP daemon also takes a similar approach; it's available at http://www.courier-mta.org/imap. Finally, Dovecot takes an intermediate approach by using the standard mailbox format but adding some autogenerated index files; Dovecot is available at http://dovecot.org. If a commercial package is desired, there are many, including Sun's Internet Mail Server. See http://www.sun.com _________________________________________________________________ 14. Printing _________________________________________________________________ 14.1) + How do I get started with LP-style printing in Solaris? Printing is configured using the "lpadmin" interface, which is extensively documented. For a general overview, however, start with the basic principles of Solaris printing, documented at http://developers.sun.com/solaris/articles/basicprinting.html, and the Solaris printing FAQ, at http://www.freelab.net/unix/sun/solarisfaq/printfaq.html. More information about printing in Solaris is available at http://www.opensolaris.org/os/community/printing/history. _________________________________________________________________ 14.2) How do I configure a non-postscript printer for postscript? Use the Printer Compatibility Database at http://www.linuxprinting.org (http://www.linuxprinting.org/database.html) to find out if a ghostscript driver is available for your non-PS printer. Then you can use ghostscript to translate postscript to something the printer can understand. There are various "any2ps" scripts and packages around (apsfilter, cups, foomatic, magicfilter). Ghostscript and foomatic are bundled in Solaris 10. Apsfilter in particular is one of the most flexible filters available: the most recent version can be found at http://www.apsfilter.org. For Solaris 2.x or later, you will need to add a BSD-style printing package such as LPRng (http://www.lprng/org): the system-V-style "lp" printing package that comes with Solaris will not easily work with apsfilter. Thanks to Andreas Klemm for this information. A much older version of APSfilter was posted to comp.sources.misc as part of volume 42, and is available from a comp.sources.misc archive site (eg. ftp://ftp.uu.net/usenet/comp.sources.misc/volume42/apsfilter). If you are using Solaris, follow Alexander V. Panasyuk's instructions in http://cfauvcs5.harvard.edu/SetGSprinter4Solaris.html _________________________________________________________________ 15. Misc System Administration _________________________________________________________________ 15.1) I've forgotten the root password; how can I recover? You need to have access to the machine's console. 1. Note the root partition (e.g. /dev/sd0a or /dev/dsk/c0t3d0s0) 2. Hit STOP-A or L1-A (or, on an ASCII terminal or emulator, send a ) to halt the operating system, if it's running. 3. Boot single-user from CD-ROM (boot cdrom -s) or network install/jumpstart server (boot net -s) (NB: if it asks you for a prom password, see below.) 4. Mount the root partition (e.g. /dev/dsk/c0t3d0s0) on "/a". "/a" is an empty mount point that exists at this stage of the installation procedure. (mount /dev/dsk/c0t3d0s0 /a) 5. Set your terminal type so you can use a full-screen editor, e.g. vi. (you can skip this step if you know how to use "ex" or "vi" from open mode). If you're on a sun console, type "TERM=sun; export TERM"; if you're using an ascii terminal (or terminal emulator on a PC) for your console, set TERM to the terminal type (e.g. TERM=vt100; export TERM). 6. Edit the passwd file (/a/etc/passwd for SunOS 4.x, /a/etc/passwd.adjunct for SunOS 4.x with shadow passwords/C2 security), /a/etc/shadow for Solaris 2.x and remove the encrypted password entry for root 7. cd to /; Type "umount /a" 8. reboot as normal in single-user mode ("boot -s"). The root account will not have a password. Give it a new one using the passwd command. Thanks to Stefan Voss PROM passwords: Naturally, you may not want anyone with physical access to the machine to be able to do the above to erase the root password. Suns have a security password mechanism in the PROM which can be set (this is turned off by default). The man page for the eeprom command describes this feature. If security-mode is set to "command", the machine only be booted without the prom password from the default device (i.e. booting from CD-ROM or install server will require the prom password). Changing the root password in this case requires moving the default device (e.g. the boot disk) to a different SCSI target (or equivalent), and replacing it with a similarly bootable device for which the root password is known. If security-mode is set to full, the machine cannot be booted without the prom password, even from the default device; defeating this requires replacing the NVRAM on the motherboard. "Full" security has its drawbacks -- if, during normal operations, the machine is power-cycled (e.g. by a power outage) or halted (e.g. by STOP-A), it cannot reboot without the intervention of someone who knows the prom password. _________________________________________________________________ 15.2) How do I disable/remap STOP-A/L1-A? First, be sure you want to do this. If the problem is that users are halting and rebooting the machine, note that disabling STOP-A will merely prompt them to powercycle the machine (or remove and re-insert the keyboard plug) instead. This is actually worse. But if you're sure you want to do this, compile and run this little program. /* Enable or disable abort sequence. John DiMarco */ #include #include #include #include #ifdef FILENAME_MAX #include #include #else /* !FILENAME_MAX */ #include #include #endif /* !FILENAME_MAX */ #define ERR -1 #define DISABLE 0 #define ENABLE 1 #define KEYBOARD "/dev/kbd" main(argc,argv) int argc; char *argv[]; { static struct kiockey k; int fd, mode=ERR; if(2==argc){ switch(*(argv[1])){ case 'e': mode=ENABLE; break; case 'd': mode=DISABLE; break; } } if(ERR==mode){ printf("Usage: %s [enable|disable]\n", argv[0]); exit(1); } if(0>(fd=open(KEYBOARD, O_RDWR))){ perror(KEYBOARD); exit(1); } k.kio_tablemask = KIOCABORT1; k.kio_station=mode; (void)ioctl(fd, KIOCSETKEY, &k); printf("Abort sequence is now %s.\n", mode?"enabled":"disabled"); } Stefan Voss points out that in Solaris 2.6 or later, you can type "kbd -a enable|disable" or put "KEYBOARD_ABORT=enable|disable" in /etc/default/kbd. As of Solaris 2.6 with patch 105924-10 installed, Solaris 7 with patch 107589-02 installed, or Solaris 8, you can also set the abort sequence to the Alternate Break character sequence (" ~ ", with at least half a second between characters, and at most 5 seconds for the whole string) with the command "kbd -a alternate", or by putting "KEYBOARD_ABORT=alternate" into /etc/default/kbd. Alternatively, you can disable all break signals by putting the line: set abort_enable=0 into /etc/system, and rebooting. Thanks to Dan Astoorian _________________________________________________________________ 15.3) How do I manage services in Solaris 10 and later? Do I still make links in /etc/rc*.d? In Solaris 10 build s10_64 and later, Sun introduced the service management facility (smf) which makes /etc/init.d and /etc/rc?.d scripts "legacy". Management of the services is now done through svc* commands. The legacy init.d scripts are now specified as running in run-level "milestone". From the man pages: * /etc/rcS.d (milestone/single-user:default) * /etc/rc2.d (milestone/multi-user:default) * /etc/rc3.d (milestone/multi-user-server:default) Each service name is now named with a Fault Management Resource Identifier (FMRI) with the scheme "svc:". For example, the sendmail service would have be "svc:/network/smtp:sendmail". You can also abbreviate the FMRI by using the instance name (e.g. sendmail) or using the last parts of the service name like: * sendmail * :sendmail * smtp:sendmail To check all services in the machine, run "svcs -a". From the list, you can enable and disable services through "svcadm". To disable, use "svcadm disable [options] ". For example: svcadm disable svc:/network/smtp:sendmail or svcadm disable sendmail One useful option is "-t", to temporarily disable the service until reboot. To enable, use "svcadm enable [options] ". For example: svcadm enable svc:/network/smtp:sendmail Useful options are "-r" to enable the service including all dependencies, and "-t" to temporarily disable the service until reboot. Dependencies and other information on the service can be invoked via "svcs -l " As an alternative to using "ps" to check service processes, you can now use "svcs -p " to list the processes associated with the service. For further information, check the man pages on smf, svcs, svcadm and svcfg. Thanks to Neil Quiogue From ifot at forthnet.gr Mon Feb 2 08:08:08 2009 From: ifot at forthnet.gr (Giannis Fotopoulos) Date: Mon, 2 Feb 2009 15:08:08 +0200 Subject: SUMMARY: devfsadm problem Message-ID: ----- Original Message ----- From: "rumbidzayi gadhula" To: "Giannis Fotopoulos" Sent: Monday, January 19, 2009 3:40 PM Subject: Re: devfsadm problem > Hi Gianni > > have you defined and mapped the LUNs yet so that Solaris can "see" them?. > You need to make sure the storage is on and all the connections are > working (check the lights), then create the LUNs, map them and reboot the > system. Sometimes you need to reboot the Storage itself before a > reconfiguration boot of the system. What SNA are you using? > > rumbiegrumbirumbiles at my site > > --- On Mon, 1/19/09, Giannis Fotopoulos wrote: > From: Giannis Fotopoulos > Subject: devfsadm problem > To: sunmanagers at sunmanagers.org > Date: Monday, January 19, 2009, 8:15 AM > > Hi everyone, > > I am having the exact same problem when running devfsadm. We have many > T2000, but on one of them, that is connected to our SAN, devfsadm reports > no > new disks. If a configuration reboot is done, the system reports the new > disk. But only with a reboot. We have Solaris10 installed and Veritas VxVM > and emulex LPe11000-M4 (all T2000 we use have the same emulex cards and > same > firmware revision). We have also checked /kernel/drv/sd.conf and it is > exactly the same as on all other working T2000s that use the same cX and > targets and LUNs. > > The output of cfgadm -al -o show_FCP_dev retrurns: > > cfgadm: Configuration administration not supported > > > > #cfgadm -al > Ap_Id Type Receptacle Occupant > Condition > c0 scsi-bus connected configured > unknown > c0::dsk/c0t0d0 disk connected configured > unknown > c1 scsi-bus connected configured > unknown > c1::dsk/c1t0d0 CD-ROM connected configured > unknown > usb0/1 unknown empty unconfigured ok > usb0/2 unknown empty unconfigured ok > usb1/1.1 unknown empty unconfigured ok > usb1/1.2 unknown empty unconfigured ok > usb1/1.3 unknown empty unconfigured ok > usb1/1.4 unknown empty unconfigured ok > usb1/2 unknown empty unconfigured ok > > > Which does not show the other controllers c4,c5 > Here is the device path of two SAN disks on this system: > /devices/pci at 7c0/pci at 0/pci at 8/fibre-channel at 0/sd at 4,0 and > /devices/pci at 7c0/pci at 0/pci at 9/fibre-channel at 0/sd at 4,0 > > One other thing I would like to point out, is that we are having the exact > same problem on a Sun-Fire-V245 with Solaris9. The only thing that these > two > servers have in common, as of our system configuration, is that the local > system disks are mirrored with hardware RAID. When given the "format" > > command, this disk is shown as follows: > > AVAILABLE DISK SELECTIONS: > 0. c0t0d0 136> > /pci at 780/pci at 0/pci at 9/scsi at 0/sd at 0,0 > > > Don't know if that has anything to do with this, but I thought I should > mention it. > > Some general information on the system: > > #cat /etc/release > Solaris 10 11/06 s10s_u3wos_10 SPARC > Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. > Use is subject to license terms. > Assembled 14 November 2006 > #uname -a > SunOS "hostname" 5.10 Generic_127127-11 sun4v sparc > SUNW,Sun-Fire-T200 > > > > Any help would be appreciated. > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers From ifot at forthnet.gr Mon Feb 2 08:08:51 2009 From: ifot at forthnet.gr (Giannis Fotopoulos) Date: Mon, 2 Feb 2009 15:08:51 +0200 Subject: SUMMARY: devfsadm problem Message-ID: <2488140714F0477CBD74322CD2C7ECDD@in.forthnet.gr> ----- Original Message ----- From: "Michael Greenberg" To: "Giannis Fotopoulos" Sent: Tuesday, January 20, 2009 8:40 PM Subject: Re: devfsadm problem > Well, that's strange. There should have been something else in the OS > Device Name (/dev/cfg/cX). Does `luxadm -e dump_map > /devices/pci at 7c0/pci at 0/pci at 8/fibre-channel at 0` show anything? > Also, which drivers did you install? Or are you using those supplied with > Solaris? > > > > ----- Original Message ---- >> From: Giannis Fotopoulos >> To: Michael Greenberg >> Sent: Tuesday, January 20, 2009 3:23:13 AM >> Subject: Re: devfsadm problem >> >> Thank you for your reply, >> >> When running the command fcinfo: >> > fcinfo hba-port >> HBA Port WWN: 10000000c95c6d49 >> OS Device Name: /devices/pci at 7c0/pci at 0/pci at 8/fibre-channel at 0 >> Manufacturer: Emulex Corporation >> Model: LPe11000-M4 >> Firmware Version: 2.72A2 (Z2D2.72A2) >> FCode/BIOS Version: >> Type: N-port >> State: online >> Supported Speeds: 4Gb >> Current Speed: 4Gb >> Node WWN: 20000000c95c6d49 >> >> So when I run the command cfgadm -c configure cX, what should X be? This >> is the >> output of cfgadm: >> > cfgadm >> Ap_Id Type Receptacle Occupant >> Condition >> c0 scsi-bus connected configured >> unknown >> c1 scsi-bus connected configured >> unknown >> usb0/1 unknown empty unconfigured ok >> usb0/2 unknown empty unconfigured ok >> usb1/1.1 unknown empty unconfigured ok >> usb1/1.2 unknown empty unconfigured ok >> usb1/1.3 unknown empty unconfigured ok >> usb1/1.4 unknown empty unconfigured ok >> usb1/2 unknown empty unconfigured ok >> >> Other disks that are from the same SAN, are on c4 and c5. (for example, >> c4t4d3) >> Any ideas? >> >> ----- Original Message ----- From: "Michael Greenberg" >> To: "Giannis Fotopoulos" >> Sent: Monday, January 19, 2009 4:23 PM >> Subject: Re: devfsadm problem >> >> >> > Hi, >> > >> > You could try running `fcinfo hba-port`. The output will show your >> > HBAs. It >> will also show the device name in the configuration manager >> (/dev/cfg/cX). Then >> use cfgadm to configure its LUNs like this: `cfgadm -c configure >> the controller you found with fcinfo>` (e.g. cfgadm -c configure c4). >> > Then run format. If it didn't help, try running devfsadm . >> > >> > >> > ----- Original Message ---- >> >> From: Giannis Fotopoulos >> >> To: sunmanagers at sunmanagers.org >> >> Sent: Monday, January 19, 2009 5:15:56 AM >> >> Subject: devfsadm problem >> >> >> >> Hi everyone, >> >> >> >> I am having the exact same problem when running devfsadm. We have many >> >> T2000, but on one of them, that is connected to our SAN, devfsadm >> >> reports no >> >> new disks. If a configuration reboot is done, the system reports the >> >> new >> >> disk. But only with a reboot. We have Solaris10 installed and Veritas >> >> VxVM >> >> and emulex LPe11000-M4 (all T2000 we use have the same emulex cards >> >> and same >> >> firmware revision). We have also checked /kernel/drv/sd.conf and it is >> >> exactly the same as on all other working T2000s that use the same cX >> >> and >> >> targets and LUNs. >> >> >> >> The output of cfgadm -al -o show_FCP_dev retrurns: >> >> >> >> cfgadm: Configuration administration not supported >> >> >> >> >> >> >> >> #cfgadm -al >> >> Ap_Id Type Receptacle Occupant >> >> Condition >> >> c0 scsi-bus connected configured >> >> unknown >> >> c0::dsk/c0t0d0 disk connected configured >> >> unknown >> >> c1 scsi-bus connected configured >> >> unknown >> >> c1::dsk/c1t0d0 CD-ROM connected configured >> >> unknown >> >> usb0/1 unknown empty unconfigured >> >> ok >> >> usb0/2 unknown empty unconfigured >> >> ok >> >> usb1/1.1 unknown empty unconfigured >> >> ok >> >> usb1/1.2 unknown empty unconfigured >> >> ok >> >> usb1/1.3 unknown empty unconfigured >> >> ok >> >> usb1/1.4 unknown empty unconfigured >> >> ok >> >> usb1/2 unknown empty unconfigured >> >> ok >> >> >> >> >> >> Which does not show the other controllers c4,c5 >> >> Here is the device path of two SAN disks on this system: >> >> /devices/pci at 7c0/pci at 0/pci at 8/fibre-channel at 0/sd at 4,0 and >> >> /devices/pci at 7c0/pci at 0/pci at 9/fibre-channel at 0/sd at 4,0 >> >> >> >> One other thing I would like to point out, is that we are having the >> >> exact >> >> same problem on a Sun-Fire-V245 with Solaris9. The only thing that >> >> these two >> >> servers have in common, as of our system configuration, is that the >> >> local >> >> system disks are mirrored with hardware RAID. When given the "format" >> >> command, this disk is shown as follows: >> >> >> >> AVAILABLE DISK SELECTIONS: >> >> 0. c0t0d0 >> >> /pci at 780/pci at 0/pci at 9/scsi at 0/sd at 0,0 >> >> >> >> >> >> Don't know if that has anything to do with this, but I thought I >> >> should >> >> mention it. >> >> >> >> Some general information on the system: >> >> >> >> #cat /etc/release >> >> Solaris 10 11/06 s10s_u3wos_10 SPARC >> >> Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. >> >> Use is subject to license terms. >> >> Assembled 14 November 2006 >> >> #uname -a >> >> SunOS "hostname" 5.10 Generic_127127-11 sun4v sparc SUNW,Sun-Fire-T200 >> >> >> >> >> >> >> >> Any help would be appreciated. >> >> _______________________________________________ >> >> sunmanagers mailing list >> >> sunmanagers at sunmanagers.org >> >> http://www.sunmanagers.org/mailman/listinfo/sunmanagers From ifot at forthnet.gr Mon Feb 2 08:09:56 2009 From: ifot at forthnet.gr (Giannis Fotopoulos) Date: Mon, 2 Feb 2009 15:09:56 +0200 Subject: SUMMARY: devfsadm problem Message-ID: <59250CFCDC1A41E4B5A36CD34C97D168@in.forthnet.gr> Did not work.. ----- Original Message ----- From: "Vikas Sharma" To: "Giannis Fotopoulos" Sent: Monday, January 19, 2009 8:22 PM Subject: Re: devfsadm problem > Hi, > > Try the following two commands to detect the disk: > > # devfsadm > # disks > # echo | format ----> Now it should show the new disk added to the > system. > > Hope this helps. Let me know if it works. > > -Vikas > > On Mon, Jan 19, 2009 at 5:15 AM, Giannis Fotopoulos > wrote: > >> Hi everyone, >> >> I am having the exact same problem when running devfsadm. We have many >> T2000, but on one of them, that is connected to our SAN, devfsadm reports >> no >> new disks. If a configuration reboot is done, the system reports the new >> disk. But only with a reboot. We have Solaris10 installed and Veritas >> VxVM >> and emulex LPe11000-M4 (all T2000 we use have the same emulex cards and >> same >> firmware revision). We have also checked /kernel/drv/sd.conf and it is >> exactly the same as on all other working T2000s that use the same cX and >> targets and LUNs. >> >> The output of cfgadm -al -o show_FCP_dev retrurns: >> >> cfgadm: Configuration administration not supported >> >> >> >> #cfgadm -al >> Ap_Id Type Receptacle Occupant >> Condition >> c0 scsi-bus connected configured >> unknown >> c0::dsk/c0t0d0 disk connected configured >> unknown >> c1 scsi-bus connected configured >> unknown >> c1::dsk/c1t0d0 CD-ROM connected configured >> unknown >> usb0/1 unknown empty unconfigured ok >> usb0/2 unknown empty unconfigured ok >> usb1/1.1 unknown empty unconfigured ok >> usb1/1.2 unknown empty unconfigured ok >> usb1/1.3 unknown empty unconfigured ok >> usb1/1.4 unknown empty unconfigured ok >> usb1/2 unknown empty unconfigured ok >> >> >> Which does not show the other controllers c4,c5 >> Here is the device path of two SAN disks on this system: >> /devices/pci at 7c0/pci at 0/pci at 8/fibre-channel at 0/sd at 4,0 and >> /devices/pci at 7c0/pci at 0/pci at 9/fibre-channel at 0/sd at 4,0 >> >> One other thing I would like to point out, is that we are having the >> exact >> same problem on a Sun-Fire-V245 with Solaris9. The only thing that these >> two >> servers have in common, as of our system configuration, is that the local >> system disks are mirrored with hardware RAID. When given the "format" >> command, this disk is shown as follows: >> >> AVAILABLE DISK SELECTIONS: >> 0. c0t0d0 > 136> >> /pci at 780/pci at 0/pci at 9/scsi at 0/sd at 0,0 >> >> >> Don't know if that has anything to do with this, but I thought I should >> mention it. >> >> Some general information on the system: >> >> #cat /etc/release >> Solaris 10 11/06 s10s_u3wos_10 SPARC >> Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. >> Use is subject to license terms. >> Assembled 14 November 2006 >> #uname -a >> SunOS "hostname" 5.10 Generic_127127-11 sun4v sparc SUNW,Sun-Fire-T200 >> >> >> >> Any help would be appreciated. >> _______________________________________________ >> sunmanagers mailing list >> sunmanagers at sunmanagers.org >> http://www.sunmanagers.org/mailman/listinfo/sunmanagers >> > > > > -- > - Vikas From ifot at forthnet.gr Mon Feb 2 08:11:20 2009 From: ifot at forthnet.gr (Giannis Fotopoulos) Date: Mon, 2 Feb 2009 15:11:20 +0200 Subject: SUMMARY: devfsadm problem Message-ID: <278F8FC019504D61B32B0D235902D30A@in.forthnet.gr> It seems to be something with the card or the fiber switch. I tried resetting the emulex card, using lputil. When I had reseted both lpfc devices, all the attached disks where found. I did a reset of both emulex cards and only then did the system detect all the paths. It's not perfect, but for now it works. The same thing happend when disabling/enabling the fiber switch port. ----- Original Message ----- From: To: "Giannis Fotopoulos" Sent: Tuesday, January 20, 2009 3:37 PM Subject: Re: devfsadm problem > Perhaps when you installed STMS(MPxIO), you did not install the driver > emlxu, check prtconf, > which should be used for Emulex. Cfgadm is only supported for the > leadville stack , which I believe is not installed by default, thus only > working for Qlogic cards. > this would explain the "cfgadm: Configuration administration not supported > " error > > Jim Musso > Senior Information Technology Systems Specialist > City of Phoenix > 149 N 4th Ave 2nd floor > Phoenix, Az. 85003 > 602-534-3428 > 602-550-6268 (cell) > "Connecting Phoenix to Information" > > > > "Giannis Fotopoulos" > 01/20/2009 06:28 AM > > To > Jim Musso/ITD/PHX at PHXENT > cc > > Subject > Re: devfsadm problem > > > > > > > Thank you for your reply. > > This is the output of the command: >> cfgadm -al -o show_SCSI_LUN > cfgadm: Configuration administration not supported > > Any ideas? > > ----- Original Message ----- > From: > To: "Giannis Fotopoulos" > Sent: Tuesday, January 20, 2009 3:06 PM > Subject: Re: devfsadm problem > > >> for Solaris 10 run: >> cfgadm -al -o show_SCSI_LUN >> >> Jim Musso >> Senior Information Technology Systems Specialist >> City of Phoenix >> 149 N 4th Ave 2nd floor >> Phoenix, Az. 85003 >> 602-534-3428 >> 602-550-6268 (cell) >> "Connecting Phoenix to Information" >> >> >> >> "Giannis Fotopoulos" >> Sent by: sunmanagers-bounces at sunmanagers.org >> 01/19/2009 06:15 AM >> >> To >> >> cc >> >> Subject >> devfsadm problem >> >> >> >> >> >> >> Hi everyone, >> >> I am having the exact same problem when running devfsadm. We have many >> T2000, but on one of them, that is connected to our SAN, devfsadm > reports >> no >> new disks. If a configuration reboot is done, the system reports the new >> disk. But only with a reboot. We have Solaris10 installed and Veritas > VxVM >> >> and emulex LPe11000-M4 (all T2000 we use have the same emulex cards and >> same >> firmware revision). We have also checked /kernel/drv/sd.conf and it is >> exactly the same as on all other working T2000s that use the same cX and >> targets and LUNs. >> >> The output of cfgadm -al -o show_FCP_dev retrurns: >> >> cfgadm: Configuration administration not supported >> >> >> >> #cfgadm -al >> Ap_Id Type Receptacle Occupant >> Condition >> c0 scsi-bus connected configured >> unknown >> c0::dsk/c0t0d0 disk connected configured >> unknown >> c1 scsi-bus connected configured >> unknown >> c1::dsk/c1t0d0 CD-ROM connected configured >> unknown >> usb0/1 unknown empty unconfigured ok >> usb0/2 unknown empty unconfigured ok >> usb1/1.1 unknown empty unconfigured ok >> usb1/1.2 unknown empty unconfigured ok >> usb1/1.3 unknown empty unconfigured ok >> usb1/1.4 unknown empty unconfigured ok >> usb1/2 unknown empty unconfigured ok >> >> >> Which does not show the other controllers c4,c5 >> Here is the device path of two SAN disks on this system: >> /devices/pci at 7c0/pci at 0/pci at 8/fibre-channel at 0/sd at 4,0 and >> /devices/pci at 7c0/pci at 0/pci at 9/fibre-channel at 0/sd at 4,0 >> >> One other thing I would like to point out, is that we are having the > exact >> >> same problem on a Sun-Fire-V245 with Solaris9. The only thing that these >> two >> servers have in common, as of our system configuration, is that the > local >> system disks are mirrored with hardware RAID. When given the "format" >> command, this disk is shown as follows: >> >> AVAILABLE DISK SELECTIONS: >> 0. c0t0d0 > 136> >> /pci at 780/pci at 0/pci at 9/scsi at 0/sd at 0,0 >> >> >> Don't know if that has anything to do with this, but I thought I should >> mention it. >> >> Some general information on the system: >> >> #cat /etc/release >> Solaris 10 11/06 s10s_u3wos_10 SPARC >> Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. >> Use is subject to license terms. >> Assembled 14 November 2006 >> #uname -a >> SunOS "hostname" 5.10 Generic_127127-11 sun4v sparc SUNW,Sun-Fire-T200 >> >> >> >> Any help would be appreciated. >> _______________________________________________ >> sunmanagers mailing list >> sunmanagers at sunmanagers.org >> http://www.sunmanagers.org/mailman/listinfo/sunmanagers From thoward at CentricsIT.com Tue Feb 3 15:52:38 2009 From: thoward at CentricsIT.com (Ty Howard) Date: Tue, 3 Feb 2009 15:52:38 -0500 Subject: Please help Message-ID: <61E9BEBB6F70CA47A752268D05E370DAD76563@CITEX01.centricsit.com> Hey Managers, We have a V120 that we have replaced the Motherboard, Graphics Card, DVD, and hard drive. I am having one problem still with the machine and need some help: V120 keyboard is detected but indicates no response and input output goes to ttya even with input-device set to keyboard and output-device set to screen. Ty Howard | Account Executive Direct 678.495.1619 | Mobile 334.734.0217 | Fax 678.495.1302 thoward at entricsit.com | AIM TyCentrics | www.CentricsIT.com Cisco | Hewlett Packard | IBM | Sun Microsystems Looking for F5 networking products backed by certified sales experts and engineers? Visit our Gold Certified F5 partner at www.shopF5.com . Confidentiality Notice: This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged or confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by e-mail and delete all copies of the message. [demime 1.01b removed an attachment of type text/x-vcard which had a name of Ty Howard.vcf] From mid.xinef at gmail.com Tue Feb 3 17:40:59 2009 From: mid.xinef at gmail.com (Midgard) Date: Tue, 3 Feb 2009 16:40:59 -0600 Subject: rsc and o.s. without access in a v490 Message-ID: <907c65c90902031440h5c7337a3nefdae5f2cc1cb979@mail.gmail.com> Hi Admins! I have a problem, I want to use a v490 to install a new O.S. the problem is that I don't know the user and passwd from the RSC, and I don't know if a S.O. is there, I have to be sure that the disk are with out data, anyone knows how can I get access to rsc or O.S (if it has a o.s), I can't have access to eepromt. Thanks in advance... Mid From tim.zenner at lmco.com Tue Feb 3 23:34:30 2009 From: tim.zenner at lmco.com (Zenner, Tim) Date: Tue, 03 Feb 2009 23:34:30 -0500 Subject: nfs mount on boot issue with Solaris 10 Message-ID: My first attempt at responding to an issue... Not sure I'm doing this right, but this is my best guess... If your nfs mounts are not mounting at boot, but mount just fine when you try it 'manually' after it boots up, try this. I just had this problem and a Sun guru figured out *my* problem. I thought I'd 'share the wealth' a little... Make sure your nfs client service is enabled: To see if it is/isn't: # svcs -l network/nfs/client If it is 'disabled', enable it: # svcadm enable network/nfs/client tz From sanelson at gmail.com Wed Feb 4 11:59:39 2009 From: sanelson at gmail.com (Stephen Nelson-Smith) Date: Wed, 4 Feb 2009 16:59:39 +0000 Subject: System ran out of swap Message-ID: Hi, I have a machine running an Oracle database, and a 3rd party application. The machine became unresponsive, and upon consoling on I saw the following: Feb 4 16:40:12 viper genunix: WARNING: Sorry, no swap space to grow stack for pid 315 (ttymon) Feb 4 16:40:13 viper last message repeated 1 time Feb 4 16:40:13 viper tmpfs: WARNING: /etc/svc/volatile: File system full, swap space limit exceeded I sent a break, and saw: Serial console started. To stop, type #. c)ontinue, s)ync, r)eset? s panic[cpu16]/thread=2a101a35ca0: sync initiated sched: trap type = 0x0 pid=0, pc=0x0, sp=0x0, tstate=0x0, context=0x0 o0-o7: 0, 0, 0, 0, 0, 0, 0, 0 g1-g7: 0, 0, 0, 0, 0, 0, 0 000002a101a35390 unix:sync_handler+144 (1826400, 1f, 0, 1, 1, 10ab000) %l0-3: 000000000185c6c0 0000000001896178 0000000001896000 0000000000000000 %l4-7: 0000000001878800 0000000000000000 0000000001872000 000000000000001f 000002a101a35460 unix:vx_handler+80 (2a101a355c0, 18356b0, 10aac00, 0, 18357b8, 1832e98) %l0-3: 00000000018357b8 0000000000000000 0000000000000001 0000000000000001 %l4-7: 0000000001826c00 0000000001000000 0000000001000000 000000000101e42c 000002a101a35510 unix:promif_enter_mon+144 (1832c00, 10aec00, 10aec00, 73, 10aeee8, 2a101a355c0) %l0-3: 0000000001829080 0000000001832e98 00000000010aeed8 00000000010aeed0 %l4-7: 00000000010aeec8 000000000000000c 0000000000000000 0d00000000000000 000002a101a355d0 unix:kern_cif_handler+28 (2a101a357e8, 10aec00, 1833120, 0, 0, 104b8c0) %l0-3: 000002a101a35634 0000000000000200 0000000000000009 00000000000057c0 %l4-7: 0000030003da8000 0000000000000016 0000030003da8a18 0000000000000100 000002a101a35680 unix:client_handler+2c (104b5ac, 2a101a357e8, 0, 18356a8, 187e000, 104b5ac) %l0-3: 0000000001872198 0000000000000001 0000000001826c00 0000000000000001 %l4-7: 0000000000000016 000000000000000e 0000000000000016 0000030003da8000 000002a101a35730 unix:prom_enter_mon+24 (0, 0, 1862800, 1, 1829248, 1833120) %l0-3: 000000000189d1b0 00000000700557f0 0000000000000000 00000000018a2c00 %l4-7: 0000060012917700 00000000018a2c00 0000000000000000 0000000000000070 000002a101a35800 unix:debug_enter+118 (0, a, a, 1826400, 0, 1872000) %l0-3: 0000060014060bb0 00000600114a04c0 00071289241a6280 000000003b9aca00 %l4-7: 0000060014151720 000712895fb520a0 0000000000000000 0000000000000000 000002a101a358d0 unix:abort_seq_softintr+94 (1826400, 18f3c00, 30003da8000, 2a101a35d78, 1, 18a1c00) %l0-3: 0000000001834c80 000712895a11f993 0000000000000000 0000000000000000 %l4-7: 0000000000000000 00000000018f3c00 0000000000000000 0000000001012628 syncing file systems... done dumping to /dev/zvol/dsk/rpool/dump, offset 65536, content: kernel Am rebooting now. Where to begin the diagnostics - any ideas what to start looking at? S. -- Stephen Nelson-Smith Technical Director Atalanta Systems Ltd www.atalanta-systems.com From jesse-carroll at usa.net Wed Feb 4 12:39:57 2009 From: jesse-carroll at usa.net (JESSE CARROLL) Date: Wed, 04 Feb 2009 12:39:57 -0500 Subject: Net install using tagged vlans Message-ID: <935NBDRM67926S01.1233769197@cmsweb01.cms.usa.net> One of my cohorts whilst b testingb on a T5220 had the network group set up the primary interface for vlan tagging (also called trunking in Cisco terms), with e1000103000. Now that the b testingb is complete Ibm trying to reload the system via the network. The mac for the primary (e1000g0) is in the boot serverbs /etc/ethers. When I run b boot net - installb or b boot net bsb the system keeps trying to request the net address. Snooping (IP, host name, and MAC) on the boot server shows that the request is not being received. Before my buddy made the network changes I had previously loaded the system via the net with no problems. Is there something special about booting in a b taggedb (trunked) network? JC From sunhux at gmail.com Thu Feb 5 08:11:11 2009 From: sunhux at gmail.com (sunhux G) Date: Thu, 5 Feb 2009 21:11:11 +0800 Subject: Server could email to external addresses but could not act as mail router Message-ID: <60f08e700902050511v2ab84cedqe22bc7c841fbe912@mail.gmail.com> hi I have a Solaris 10 server (which has been hardened by an ex-colleague). When login to this server, I could send email to external parties & messages show : Feb 5 21:00:02 svr10 sendmail[23559]: [ID 801593 mail.info] n15D02VZ023559: from=, size=535, class=0, nrcpts=1, msgid=< 12145976.121233838802074.JavaMail.elsdev at xxx.com.sg>, proto=ESMTP, daemon=MTA-v4, relay=svr10.domain.gov.sg [10.51.yyy.xx] Feb 5 21:00:07 svr10 sendmail[23558]: [ID 801593 mail.info] n15D01o3023556: to=, delay=00:00:06, xdelay=00:00:06, mailer=relay, pri=120535, relay=mailhost.sla.gov.sg [10.235.129.28], dsn=2.0.0, stat=Sent (n15D061c040616 Message accepted for delivery) However, when I point my PCs to this Solaris 10 server as SMTP gateway, they're not able to send emails out though from the PCs, "telnet Solaris10_server 25" responds. The messages file showed the following when the PCs fails to email thru: Feb 5 21:04:04 svr10 sendmail[25276]: [ID 702911 mail.info] starting daemon (8.13.8+Sun): SMTP+queueing at 00:15:00 Feb 5 21:04:04 svr10 sendmail[25275]: [ID 702911 mail.info] starting daemon (8.13.8+Sun): queueing at 00:15:00 Feb 5 21:04:15 svr10 sendmail[25377]: [ID 801593 mail.notice] n15D4F0r025377: ruleset=check_rcpt, arg1=, relay=[10.51.6.104], reject=550 5.7.1 ... Relaying denied. IP name lookup failed [10.51.6.104] Feb 5 21:04:15 svr10 sendmail[25377]: [ID 801593 mail.info] n15D4F0r025377: from=, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=Daemon0, relay=[10.51.6.104] The PC sendemail logs showed following when it fails to email through : Feb 05 21:07:48 PChost sendemail[3148]: WARNING => The recipient < xxx at gmail.com> was rejected by the mail server, error follows: Feb 05 21:07:48 PChost sendemail[3148]: WARNING => Received: 550 5.7.1 ... Relaying denied. IP name lookup failed [10.51.6.104] Feb 05 21:07:48 PChost sendemail[3148]: ERROR => Exiting. No recipients were accepted for delivery by the mail server. root # more hosts.allow # ALL: localhost sshd: ALL sendmail: ALL root # ps -ef | grep sendmail root 13448 22426 0 20:33:21 pts/3 0:00 grep sendmail smmsp 9741 1 0 Feb 02 ? 0:01 /usr/lib/sendmail -Ac -q15m root 9742 1 0 Feb 02 ? 0:08 /usr/lib/sendmail -bd -q15m -C /etc/mail/local.cf Why sendmail is reading /etc/mail/local.cf is still a mystery to me but even if I kill the pid 9742 & manually rerun it with "/usr/lib/sendmail -bd -q15m -C /etc/mail/sendmail.cf", sendmail still fails to route mails Problem is not with the PCs because when these PCs point to another Solaris 9 server, the emails get through. ================================================= On the Solaris 10 server, this is the script I used to send email out : (this works as the script runs from within the server itself) : set -x DT="`date`" telnet localhost 25<> RCPT TO: DATA From: Message-Id: Subject: testing To: > Date: $DT Content-Type: text $DT Testing email `cat /tmp/test.log` . QUIT ! From arangapnathan at yahoo.co.in Thu Feb 5 08:33:50 2009 From: arangapnathan at yahoo.co.in (Aranga Nathan) Date: Thu, 5 Feb 2009 19:03:50 +0530 (IST) Subject: Installing Solaris X86 on Dell Laptop Message-ID: <249643.58226.qm@web95301.mail.in2.yahoo.com> Hi Managers, B B B B B B B B B B B B B B B B B B B IB was able to install the Solaris 10 X86 on Dell Latitude D630 without any errors but, after restatingB on the GRUB menu when I select Safe mode was able toB go to Single user modeB but, when selected Solaris, System restarts automatically Please help me how to proceed Thanks & Regards Nathan Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ From antfirmin at gmail.com Thu Feb 5 09:59:56 2009 From: antfirmin at gmail.com (Anthony Firmin) Date: Thu, 5 Feb 2009 15:59:56 +0100 Subject: prtpicl -v hanging Message-ID: I noticed yesterday that explorer was still running from the weekend on a T5220 running Solaris 10 8/07, kernel 127127-11. ptree showed that it stopped at prtpicl and running that on its own as "prtpicl -v" hangs at the point where it is trying to define the "physical platform". Any ideas anyone? Ciao! Ant From antfirmin at gmail.com Thu Feb 5 12:01:02 2009 From: antfirmin at gmail.com (Anthony Firmin) Date: Thu, 5 Feb 2009 18:01:02 +0100 Subject: Summary: prtpicl -v hanging Message-ID: Aha!! Yes, "ps -ef | grep prtdiag" provided a list of 20+ prtdiag processes. Killed them all and guess what, prtpicl ran through and explorer is now running. This list still rocks!! Thanks to all who responded!! Anthony On Thu, Feb 5, 2009 at 5:27 PM, Maciej Bliziqski wrote: > I had the same problem. Using truss and pfiles revealed that it was > hanging on a read from /var/run/picld_dor, it was hanging on a > deadlock with prtdiag -v (which was hanging on the same syscall). I > killed the hanging prtdiag (I don't know why it was running) and > prtpicl was unblocked. > > Maciej > > On Thu, Feb 5, 2009 at 2:59 PM, Anthony Firmin > wrote: > > I noticed yesterday that explorer was still running from the weekend on a > > T5220 running Solaris 10 8/07, kernel 127127-11. > > > > ptree showed that it stopped at prtpicl and running that on its own as > > "prtpicl -v" hangs at the point where it is trying to define the > "physical > > platform". > > > > Any ideas anyone? > > > > > > > > Ciao! > > Ant > > _______________________________________________ > > sunmanagers mailing list > > sunmanagers at sunmanagers.org > > http://www.sunmanagers.org/mailman/listinfo/sunmanagers From glowe at sbcglobal.net Thu Feb 5 12:16:08 2009 From: glowe at sbcglobal.net (Grant Lowe) Date: Thu, 5 Feb 2009 09:16:08 -0800 (PST) Subject: Apache 2.2.11 from sunfreeware Message-ID: <529949.97281.qm@web81802.mail.mud.yahoo.com> Hi Managers, I have a Fujitsu PrimePower 450 with Solaris 10, that I just fully patched yesterday. I downloaded from sunfreeware the latest apache, 2.2.11. I installed all the package prerequisites. I installed apache with no hitches, but when I try to start it with apachectl, I get this message: httpd: Syntax error on line 233 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/mod_access.so into server: ld.so.1: httpd: fatal: /usr/local/apache2/modules/mod_access.so: open failed: No such file or directory Where do I get mod_access.so? I've googled and searched sunmanagers archive, to no avail. Any thoughts? From diggerthelab at gmail.com Thu Feb 5 12:17:03 2009 From: diggerthelab at gmail.com (Paul Hunter) Date: Thu, 5 Feb 2009 12:17:03 -0500 Subject: FQDN for DHCP Solaris 10 and Java Enterprise System install Message-ID: <37ed01ff0902050917g67e399ack7d8beb9af1a5335e@mail.gmail.com> I'm having trouble setting the fully qualified domain name (FQDN) for Solaris 10 with DHCP. I was able to set the hostname but I can't seem to set the domain name . I need the FQDN to appear when I run the "getent hosts" command, which is a requirement to install the Java Enterprise System Application Server. Solaris 10 is using DHCP . I'm using the default VMWare virtual appliance configuration, while running on a Windows XP host. I'd like the Solaris hostname and domainname to work whether I'm at home with a wireless router (includes DHCP server) or at work. The domainname is one I made up that is not really registered with DNS. I just want to be able to install and run Sun's Application Server on my laptop for testing, so it doesn't have to have a "real" domain name or a static IP address . What I did to set the hostname: - Edited /etc/default/dhcpagent and set REQUEST_HOSTNAME=yes - Edited /etc/hostname/vmxnet0 with FQDN, e.g., mylaptopname.example.com - Ran the command ifconfig vmxnet0 dhcp release - Ran the command reboot I verified the hostname by running the command "hostname" and it returned the simple hostname. As for the domainname, I tried setting the /etc/resolv.conf file, but it got rewritten after a reboot and returned to "localdomain" as the domain name. Can someone tell me how to set the domain name so that the FQDN is returned when I run "getent hosts"? My final goal is to install the Java Enterprise System Application Server which requires the hostname and domain name to be configured. From romeotheriault at gmail.com Thu Feb 5 12:56:03 2009 From: romeotheriault at gmail.com (Romeo Theriault) Date: Thu, 5 Feb 2009 12:56:03 -0500 Subject: How will Solaris 9 handle a SAN WWPN/WWNN change Message-ID: <46cd475b0902050956t13733dbdle310f7c180556073@mail.gmail.com> Hello, I have taken over 4 "Solaris 9 9/05 SPARC" boxes that connect to our Netapp SAN via Fiber Channel. All of the boxes use Sun's built-in driver (ssd), no emulex drivers are installed. The boxes also use Veritas VxVM 4.1 for SAN disks and vxdmp for their multipathing. I will be having to make some config changes on the Netapp SAN that will change the Netapps WWNN's and WWPN's. I am not sure how Solaris 9 will handle this. Will a reconfiguration reboot be enough for Solaris to detect the new WWPN's and veritas to be able to find the disks again? Currently when I create a new lun on the filers and map it to a Solaris box it shows up automagically and I just have to initialize the drive with veritas, etc... I've been trying to find some good docs on how Solaris will deal with this WWPN/WWNN change and all the docs assume that you are using the (sd) driver, which from what I've gathered requires you to edit the sd file everytime you assign a new lun, which I don't have to do at all. If anyone has any links to docs or could explain to me the process that will need to happen on the Solaris hosts for this type of reconfiguration to successfully take place it would be greatly appreciated. Thank you, -- Romeo Theriault System Administrator Information Technology Services From anepomn at gmail.com Thu Feb 5 14:51:51 2009 From: anepomn at gmail.com (Aleksandr Nepomnyashchiy) Date: Thu, 5 Feb 2009 14:51:51 -0500 Subject: E4500 OBP error Message-ID: <26924da90902051151u4cae1c3fh4af3fae1a5dd67cf@mail.gmail.com> Dear Managers, Please help with the E4500 diagnostic. Server hanged in response to "banner" command and was powercycled. OBP shows errors, "Selecting a Board Master" takes a long time , not sure if this is normal. Please see OBP output below : ok ok banner 8-slot Sun Enterprise E4500/E5500,  Hardware Power ON @(#) Ultra Enterprise 3.2 Version 29 created 2001/06/18 17:28 CPU = 0000.0000.0000.0000 Probing keyboard Done 0,0> 0,0>@(#) POST 3.9.29 2001/06/18 17:50 0,1> 0,0>Copyright 2001 Sun Microsystems, Inc. All rights reserved. 0,1>@(#) POST 3.9.29 2001/06/18 17:50 0,0> SelfTest Initializing (Diag Level 10, ENV 00004001) IMPL 0011 MASK a0 0,1>Copyright 2001 Sun Microsystems, Inc. All rights reserved. 0,0>Board 0 CPU FPROM Test 0,1> SelfTest Initializing (Diag Level 10, ENV 00000000) IMPL 0011 MASK a0 0,0>Board 0 Basic CPU Test 0,0> Set CPU UPA Config and Init SDB Data 0,0> SRAM Mode = 22, Clock Mode = 4:1, PCON = 6b3, MCAP = 0 0,0>Board 0 MMU Enable Test 0,0> DMMU Init 0,0> IMMU Init 0,0> Mapping Selftest Enabling MMUs 0,0>Board 0 Ecache Test 0,0> Ecache Probe 0,0> Ecache Tags 0,1>Board 0 CPU FPROM Test 0,1>Board 0 Basic CPU Test 0,1> Set CPU UPA Config and Init SDB Data 0,1> SRAM Mode = 22, Clock Mode = 4:1, PCON = 6b3, MCAP = 0 0,1>Board 0 MMU Enable Test 0,1> DMMU Init 0,1> IMMU Init 0,1> Mapping Selftest Enabling MMUs 0,1>Board 0 Ecache Test 0,1> Ecache Probe 0,1> Ecache Tags 0,1> Ecache Quick Verify 0,1> Ecache Init 0,1> Ecache RAM 0,1> Ecache Address Line 0,1> Configure Ecache Limit 0,1>Ecache Size = 00800000, Limited to 00800000 0,1>Board 0 FPU Functional Test 0,1> FPU Enable 0,1>Board 0 Board Master Select Test 0,1> Selecting a Board Master 0,0> 0,0>@(#) POST 3.9.29 2001/06/18 17:50 0,1> 0,0>Copyright 2001 Sun Microsystems, Inc. All rights reserved. 0,1>@(#) POST 3.9.29 2001/06/18 17:50 0,0> SelfTest Initializing (Diag Level 40, ENV 00004081) IMPL 0011 MASK a0 0,1>Copyright 2001 Sun Microsystems, Inc. All rights reserved. 0,0>Board 0 CPU FPROM Test 0,1> SelfTest Initializing (Diag Level 40, ENV 00004081) IMPL 0011 MASK a0 0,0> CPU/Memory Board FPROM Checksum Test 0,1>Board 0 CPU FPROM Test 0,1> CPU/Memory Board FPROM Checksum Test 0,0>Board 0 Basic CPU Test 0,0> FPU Registers and Data Path Test 0,0> Instruction Cache Tag RAM Test 0,1>Board 0 Basic CPU Test 0,1> FPU Registers and Data Path Test 0,1> Instruction Cache Tag RAM Test 0,0> Instruction Cache Instruction RAM Test 0,1> Instruction Cache Instruction RAM Test 0,0> Instruction Cache Next Field RAM Test 0,1> Instruction Cache Next Field RAM Test 0,0> Instruction Cache Pre-decode RAM Test 0,1> Instruction Cache Pre-decode RAM Test 0,0> Data Cache RAM Test 0,1> Data Cache RAM Test 0,0> Data Cache Tags Test 0,1> Data Cache Tags Test 0,0> DMMU Registers Access Test 0,0> DMMU TLB DATA RAM Access Test 0,0> DMMU TLB TAGS Access Test 0,1> DMMU Registers Access Test 0,0> IMMU Registers Access Test 0,0> IMMU TLB DATA RAM Access Test 0,1> DMMU TLB DATA RAM Access Test 0,0> IMMU TLB TAGS Access Test 0,1> DMMU TLB TAGS Access Test 0,0> Set CPU UPA Config and Init SDB Data 0,1> IMMU Registers Access Test 0,0> SRAM Mode = 22, Clock Mode = 4:1, PCON = 6b3, MCAP = 0 0,1> IMMU TLB DATA RAM Access Test 0,0>Board 0 MMU Enable Test 0,0> DMMU Init 0,0> IMMU Init 0,0> Mapping Selftest Enabling MMUs 0,0>Board 0 Ecache Test 0,0> Ecache Probe 0,1> IMMU TLB TAGS Access Test 0,0> Ecache Tags 0,1> Set CPU UPA Config and Init SDB Data 0,1> SRAM Mode = 22, Clock Mode = 4:1, PCON = 6b3, MCAP = 0 0,1>Board 0 MMU Enable Test 0,1> DMMU Init 0,1> IMMU Init 0,1> Mapping Selftest Enabling MMUs 0,1>Board 0 Ecache Test 0,1> Ecache Probe 0,1> Ecache Tags 0,1> Ecache Quick Verify 0,1> Ecache Init 0,1> Ecache RAM 0,1> Ecache 6N RAM Pattern Test 0,1> Ecache Address Line 0,1> Configure Ecache Limit 0,1>Ecache Size = 00800000, Limited to 00800000 0,1>Board 0 FPU Functional Test 0,1> FPU Enable 0,1>Board 0 Board Master Select Test 0,1> Selecting a Board Master 2,0> Unexpected event occured 2,0> tl tt tstate tpc tnpc 2,0> 01 68 00000019.15001601 0000003f.8f00000c 0000003f.8f000010 2,0> called from 000001ff.f004a808 (000001ff.f0073f6e,00000000.000000be,00000000.00906000,00000000.00000000) 2,0> called from 000001ff.f0046b90 (00000000.00000000,000001ff.ffffe000,00000080.00000000,00000000.00000030) 2,0> called from 000001ff.f00708b4 (00000080.00000000,ffffffef.64000000,0000003f.8f000000,00000000.00000000) 2,0> called from 000001ff.f00496c8 (0000003f.8f000000,00000000.00100004,00000000.00000008,00000000.00000002) 2,0> called from ffff7eda.0fd8fbb3 (00000000.00000080,00000000.00100000,000001ff.f007daf0,000001ff.f007d630) 2,0> called from 000001ff.f004cf38 (ffffffff.ffffffff,00000000.00000004,000001ff.f0206b08,00000000.001e842b) 2,0> called from 000001ff.f00481d0 (00000000.0000000a,00000000.00000000,000001ff.f0206b08,00000000.001e842b) 2,0> called from 000001ff.f0048630 (000001ff.f007c366,000001ff.f00481d0,00000000.0000000a,00000000.00000000) 2,0> tl tt tstate tpc tnpc 2,0> 01 68 00000019.15001601 0000003f.8f00000c 0000003f.8f000010 2,0> 00000000.00000014 PState 2,0> 00000001.88000000 AFSR 2,0> 00000000.00000000 AFAR 2,0> 00000000.00000000 Dispatch Control 2,0> 00000000.0000000c LSU Control 2,0> 00000053.acc8803b UPA Config 2,0> 00000000.00000000 IMMU SFSR 2,0> 00000000.00000000 DMMU SFSR 2,0> fffffc11.10205250 DMMU SFAR 2,0> 00000000.00000000 EState 2,0> 00000000.00000000 SDB High Error 2,0> 00000000.00000000 SDB Low Error 2,0> 00000000.00000c00 SDB High Control 2,0> 00000000.00000c00 SDB Low Control 2,0> 00000000.00000000 Interrupt Vector Dispatch Status Any help is greatly appreciated. Thank you, Aleksandr From jesse-carroll at usa.net Thu Feb 5 15:21:32 2009 From: jesse-carroll at usa.net (JESSE CARROLL) Date: Thu, 05 Feb 2009 15:21:32 -0500 Subject: SUMMARY: Net install using tagged vlans Message-ID: <448NBeuuf0736S19.1233865292@cmsweb19.cms.usa.net> Hassan Ahmed nailed the head on the hit. He suggested setting native vlan in the LAN switch. System installs over network just fine. ------ Original Message ------ Received: Wed, 04 Feb 2009 12:39:57 PM EST From: "JESSE CARROLL" To: Subject: Net install using tagged vlans One of my cohorts whilst b testingb on a T5220 had the network group set up the primary interface for vlan tagging (also called trunking in Cisco terms), with e1000103000. Now that the b testingb is complete Ibm trying to reload the system via the network. The mac for the primary (e1000g0) is in the boot serverbs /etc/ethers. When I run b boot net - installb or b boot net bsb the system keeps trying to request the net address. Snooping (IP, host name, and MAC) on the boot server shows that the request is not being received. Before my buddy made the network changes I had previously loaded the system via the net with no problems. Is there something special about booting in a b taggedb (trunked) network? JC From mid.xinef at gmail.com Thu Feb 5 18:10:48 2009 From: mid.xinef at gmail.com (Midgard) Date: Thu, 5 Feb 2009 17:10:48 -0600 Subject: rsc and o.s. without access in a v490 In-Reply-To: <907c65c90902051458p5226ec8fp3a514ce7dc22011c@mail.gmail.com> References: <907c65c90902031440h5c7337a3nefdae5f2cc1cb979@mail.gmail.com> <32AD37B1F4606A47A1C19D381637388119EAFDAF19@exchange7.corp.callglobalcom.com> <907c65c90902051458p5226ec8fp3a514ce7dc22011c@mail.gmail.com> Message-ID: <907c65c90902051510s2b286870m9ca2808f9aa0339a@mail.gmail.com> Hi at all!, especial thanks to: Alex Galea, David Lowenstein, Vikas Sharma, Chris Ruhnke, Paul Goins, Jeff Marble, Muhammad Imran, Zhigulin Vladimir, and all Adminis that response me, the options are: * to remove rsc and turn on the server. * to do a diagnostic mode. * I used both opctions to get access to eeprompt. Regards Mid > > Hi Admins! > > > I have a problem, I want to use a v490 to install a new O.S. the problem is > that I don't know the user and passwd from the RSC, and I don't know if a > S.O. is there, I have to be sure that the disk are with out data, anyone > knows how can I get access to rsc or O.S (if it has a o.s), I can't have > access to eepromt. > Thanks in advance... > > Mid > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers From neetbshah at gmail.com Thu Feb 5 18:45:45 2009 From: neetbshah at gmail.com (neet Shah) Date: Thu, 5 Feb 2009 15:45:45 -0800 Subject: Resource Capping in Sol10 10/08 Message-ID: Hi Gurus, I've a question regarding resource capping. I have global zone setup with Solaris 10 10/08 and planning to do resource apping in local zones. 1) CPU I went through docs.sun.com to understand CPU resouerce capping - dedicated-cpu and capped-cpu. I am not sure which one is suitable or more efficient. Also, if using capped-cpu with ncpus=1 or 1.25 does that mean its using cpu thread or a physical cpu? Do we need to use rctl cpu-shares and FSS as well? If using dedicated-cpu with ncpu=1-3 (range) does that too mean physical CPU or cpu thread? and when we use importance which gets more preference? lower number or higher one? 2) Memory What is locked memory parameter? If anyone has done CPU an MEM resource capping please share the expericence. I would also love to have a sequence of commands in each of the above case if possible. Will summarize. Thanks and Regards Any help is greatly appreciated. Neet From mccune.jeff at gmail.com Thu Feb 5 18:56:37 2009 From: mccune.jeff at gmail.com (Jeff McCune) Date: Thu, 5 Feb 2009 18:56:37 -0500 Subject: lx zone daemon process.max-file-size is 4GB Message-ID: Hell, I'm running into a problem running a database system inside of a Solaris 10u6 lx linux branded zone where by daemon processes are imposed a max-file-size limit of 4.00 GB. I need the cache processes to inherit the 8.00EB limit of most other processes in the zone. Consider "otto", the global zone of "dolph", the non-global lx zone. When the zone is running and I login with sudo zlogin wsrczone I have a shell without a 4GB limit: [root at otto ~]# zlogin wsrczone [Connected to zone 'wsrczone' pts/5] [root at dolph root]# echo $$ 13582 [root at otto ~]# prctl -n process.max-file-size 13582 process: 13582: -bash NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT process.max-file-size privileged 8.00EB max deny,signal=XFSZ - system 8.00EB max deny - When I start my database, however, the process has a 4GB limit: [root at otto ~]# ps -ef -o pid,ppid,zone,projid,args | grep cache | sort -n 12520 1 wsrczone 0 cache -s . -c c -C /usr/local/cache50/cache.cpf*CACHE -B 12545 12520 wsrczone 0 cache -s . -c c -C /usr/local/cache50/cache.cpf*CACHE -B 12546 12520 wsrczone 0 cache -s . -c c -C /usr/local/cache50/cache.cpf*CACHE -B 12547 12520 wsrczone 0 cache -s . -c c -C /usr/local/cache50/cache.cpf*CACHE -B 12548 12520 wsrczone 0 cache -s . -c c -C /usr/local/cache50/cache.cpf*CACHE -B 12549 12520 wsrczone 0 cache -s . -c c -C /usr/local/cache50/cache.cpf*CACHE -B 12550 12520 wsrczone 0 cache -s . -c c -C /usr/local/cache50/cache.cpf*CACHE -B [root at otto ~]# prctl -n process.max-file-size 12520 process: 12520: cache -s . -c c -C /usr/local/cache50/cache.cpf*CACHE -B NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT process.max-file-size privileged 4.00GB - deny,signal=XFSZ - system 8.00EB max deny - Looking at all running processes, only sendmail processes in the lx zone appear to have this 4GB limit. No other processes are limited to 4.00 GB, they all have the 8.00EB limit... [root at otto ~]# ps -ef -o pid,zone | awk '/wsrczone/ {print $1}' | xargs prctl -n process.max-file-size ... process: 7375: /sbin/mingetty console NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT process.max-file-size privileged 8.00EB max deny,signal=XFSZ - system 8.00EB max deny - process: 10921: /usr/sbin/automount --timeout=60 --ghost /asp/home file /etc/auto.asp. NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT process.max-file-size privileged 8.00EB max deny,signal=XFSZ - system 8.00EB max deny - process: 7302: /usr/sbin/sendmail -bd -q1h NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT process.max-file-size privileged 4.00GB - deny,signal=XFSZ - system 8.00EB max deny - process: 12552: cache -s . -c c -C /usr/local/cache50/cache.cpf*CACHE -B NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT process.max-file-size privileged 4.00GB - deny,signal=XFSZ - system 8.00EB max deny - process: 12550: cache -s . -c c -C /usr/local/cache50/cache.cpf*CACHE -B NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT process.max-file-size privileged 4.00GB - deny,signal=XFSZ - system 8.00EB max deny - ... Thank you, -- Jeff McCune From gmolakal at gmail.com Fri Feb 6 06:31:10 2009 From: gmolakal at gmail.com (Gopala Molakaluri) Date: Fri, 6 Feb 2009 06:31:10 -0500 Subject: Non-SUN memory on M5000 Message-ID: We're getting ready to add another 128GB of memory to a few of our M5000's but are bewildered by the price difference by buying the memory direct from Sun vs. other memory distributors. Basically we can buy the Sun Memory Board and the 8x4GB DIMMS for just over $5,000.00 or the Sun Kit for $36,000.00? Just not sure if anyone has done this or has an insight possibly? These servers are not under contract with Sun so I'm not concerned about warranty issues etc... Sun Memory Kit SELX2C1Z - $36,000.00 32GB (8x4GB) Sun SPARC Enterprise M5000 (3 year warranty) Purchasing through Memory Distributor: Sun SPARC Enterprise Memory Board, RoHS:YL (p/n 541-0545) = $3,998.98 32GB (8x4GB) Sun SPARC Enterprise M5000 Server memory (p/n MT-SELX2C1Z) = Price: $1,199.84 (Lifetime Warranty on Memory) My question is did of the veterans on the listgroup have any experiencing of using non-SUN memory on Sparc servers ?? Your advise is highly appreciated. Thanks! Dexthor From sanelson at gmail.com Fri Feb 6 11:37:35 2009 From: sanelson at gmail.com (Stephen Nelson-Smith) Date: Fri, 6 Feb 2009 16:37:35 +0000 Subject: SUMMARY: Machine ran out of swap Message-ID: Thanks to all who replied. The consensus was that it seemed likely that someone or something had written excessively to /tmp, and eaten up all the swap space. However, something else fishy is going on, as the machine was entirely unresponsive and I couldn't get on to add swap at the time. I will have a look at the core dump, and set up some monitoring of the system to try to catch it again. Also will modify vfstab to set a limit to the amount of swap space /tmp can use. Thanks again. -- Stephen Nelson-Smith Technical Director Atalanta Systems Ltd www.atalanta-systems.com From sanelson at gmail.com Fri Feb 6 11:39:01 2009 From: sanelson at gmail.com (Stephen Nelson-Smith) Date: Fri, 6 Feb 2009 16:39:01 +0000 Subject: Username / Password for SunVTS Browser Message-ID: I've had 5 machines develop hardware problems since power failures in the office yesterday, so am running SunVTS from the livecd to test. The browser asks for a username and password, and I can't find any documentation that tells me what the default is... Any ideas? -- Stephen Nelson-Smith Technical Director Atalanta Systems Ltd www.atalanta-systems.com From anepomn at gmail.com Fri Feb 6 12:06:01 2009 From: anepomn at gmail.com (Aleksandr Nepomnyashchiy) Date: Fri, 6 Feb 2009 12:06:01 -0500 Subject: E4500 hangs in OBP in responce to "banner" command Message-ID: <26924da90902060906m32e82030m6e197c1dc8f29087@mail.gmail.com> Dear Sunmanagers, Could you please help me to understand why E4500 hangs in OBP in response to "banner" command : ok ok ok banner 8-slot Sun Enterprise E4500/E5500, I have replaced the Clock board, but the problems persists. Any ideas are greatly appreciated. Thank you, Aleksandr From anepomn at gmail.com Fri Feb 6 13:05:21 2009 From: anepomn at gmail.com (Aleksandr Nepomnyashchiy) Date: Fri, 6 Feb 2009 13:05:21 -0500 Subject: SUMMARY:E4500 hangs in OBP in response to "banner" command Message-ID: <26924da90902061005r34798334r347d7d25873f2548@mail.gmail.com> Dear All, System didn't have any IO boards. I have added IO board into Slot 1 and banner works as expected - silly me :) {4} ok {4} ok banner 8-slot Sun Enterprise E4500/E5500, No Keyboard OpenBoot 3.2.30, 2048 MB memory installed, Serial #10716518. Copyright 2002 Sun Microsystems, Inc. All rights reserved Ethernet address 8:0:20:a3:85:66, Host ID: 80a38566. {4} ok {4} ok ============ original post is below ============= Dear Sunmanagers, Could you please help me to understand why E4500 hangs in OBP in response to "banner" command : ok ok ok banner 8-slot Sun Enterprise E4500/E5500, I have replaced the Clock board, but the problems persists. Any ideas are greatly appreciated. Thank you, Aleksandr From mwatson at AEGONUSA.com Fri Feb 6 13:24:46 2009 From: mwatson at AEGONUSA.com (Watson, Michael) Date: Fri, 6 Feb 2009 12:24:46 -0600 Subject: Mount ZFS rootpool in 'boot net -s' mode? Message-ID: <5503EE38C6940D49B8C4A4233A9B2B7E04D550CA37@crexmail04.us.aegon.com> We are testing using ZFS root pools, and had a runaway process (possibly in the global zone, but it's not clear) fill up the entire filesystem. We tried 'boot net -s' and could import the pool, but couldn't figure out how to mount the pool/fs. Anyone dealt with this, or seen docs that describe how to do this? Thanks! From mccown.eugene at dol.gov Fri Feb 6 13:36:04 2009 From: mccown.eugene at dol.gov (McCown, Eugene - ETA CTR) Date: Fri, 6 Feb 2009 13:36:04 -0500 Subject: LDAP Authentication via SSH Message-ID: <22A61FBF576E424B9B79672258105F2F02160797@ETA-CL01-EVS.eta.dir.labor.gov> Hello All Thanks in advance for your assistance. I've look through tons and tons of sites and I have to be overlooking something. My users will authenticate via SSH to the LDAP server. New to LDAP setup and I'm running into issues attempting to SSH to a Solaris 10 client that authenticates to my Solaris 10 LDAP Server. I apologize for the long output. Just wanted to provide ALL details that I believe may be applicable. I currently have two instances of LDAP (OpenLDAP version from sunfreeware and iPlanet Directory Services from Sol 10/08 DVD). Both are returning the same issue. The client machine was configured with Sun's Native ldapclient tool. When I attempt to SSH to a client machine (ldapclient.domain) which points to my main LDAP Server, I receive the following output and I get the same results if I SSH from a system with SSH (Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f): ssh -v ldapclient.domain OpenSSH_3.8.1p1, OpenSSL 0.9.6m 17 Mar 2004 debug1: Reading configuration data /opt/security/openssh-3.8.1p1/etc/ssh_config debug1: /opt/security/openssh-3.8.1p1/etc/ssh_config line 18: Deprecated option "RhostsAuthentication" debug1: /opt/security/openssh-3.8.1p1/etc/ssh_config line 23: Deprecated option "FallBackToRsh" debug1: /opt/security/openssh-3.8.1p1/etc/ssh_config line 24: Deprecated option "UseRsh" debug1: Connecting to ldapclient.domain [166.97.204.57] port 22. debug1: Connection established. debug1: identity file /.ssh/identity type -1 debug1: identity file /.ssh/id_dsa type -1 debug1: identity file /.ssh/id_rsa type -1 debug1: Remote protocol version 2.0, remote software version Sun_SSH_1.1 debug1: no match: Sun_SSH_1.1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'ldapclient.domain' is known and matches the RSA host key. debug1: Found key in /.ssh/known_hosts:82 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: gssapi-keyex,gssapi-with-mic,publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /.ssh/identity debug1: Trying private key: /.ssh/id_dsa debug1: Trying private key: /.ssh/id_rsa debug1: Next authentication method: keyboard-interactive Password: debug1: Authentications that can continue: gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive debug1: Next authentication method: keyboard-interactive Password: debug1: Authentications that can continue: gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive Password: debug1: Authentications that can continue: gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive debug1: No more authentication methods to try. Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive). Performing snoop, when I insert bad password, I receive this output opscm.domain -> ldapclient. domain LDAP R port=52854 Bind Response Invalid Credentials When I insert correct password, I receive this output -> opscm. domain -> ldapclient. domain LDAP R port=52611 Search ResDone Success but it doesn't provide me access to the ssh connection. /var/ldap/ldap_client_file contains: NS_LDAP_FILE_VERSION= 2.0 NS_LDAP_SERVERS= 192.168.0.44 NS_LDAP_SEARCH_BASEDN= dc=domain NS_LDAP_AUTH= simple NS_LDAP_SEARCH_REF= FALSE NS_LDAP_SEARCH_SCOPE= one NS_LDAP_SEARCH_TIME= 30 NS_LDAP_CACHETTL= 43200 NS_LDAP_PROFILE= default NS_LDAP_CREDENTIAL_LEVEL= proxy NS_LDAP_BIND_TIME= 10 In sshd_conf on client and ldap server, PAMAuthenticationViaKBDInt is set to yes. Pam.conf on client looks like: login auth required pam_authtok_get.so.1 login auth required pam_dhkeys.so.1 login auth required pam_dial_auth.so.1 login auth sufficient pam_unix_auth.so.1 login auth required pam_ldap.so.1 try_first_pass # # rlogin service (explicit because of pam_rhost_auth) # rlogin auth sufficient pam_rhosts_auth.so.1 rlogin auth required pam_authtok_get.so.1 rlogin auth required pam_dhkeys.so.1 rlogin auth sufficient pam_unix_auth.so.1 rlogin auth required pam_ldap.so.1 try_first_pass # # rsh service (explicit because of pam_rhost_auth) # rsh auth sufficient pam_rhosts_auth.so.1 rsh auth required pam_authtok_get.so.1 rsh auth required pam_dhkeys.so.1 rsh auth sufficient pam_unix_auth.so.1 rsh auth required pam_ldap.so.1 try_first_pass # # PPP service (explicit because of pam_dial_auth) # ppp auth required pam_authtok_get.so.1 ppp auth required pam_dhkeys.so.1 ppp auth required pam_dial_auth.so.1 ppp auth sufficient pam_unix_auth.so.1 ppp auth required pam_ldap.so.1 try_first_pass # # Default definitions for Authentication management # Used when service name is not explicitly mentioned for authenctication # other auth required pam_authtok_get.so.1 other auth required pam_dhkeys.so.1 other auth sufficient pam_unix_auth.so.1 other auth required pam_ldap.so.1 try_first_pass # # passwd command (explicit because of a different authentication module) # passwd auth sufficient pam_passwd_auth.so.1 passwd auth required pam_ldap.so.1 try_first_pass # # cron service (explicit because of non-usage of pam_roles.so.1) # cron account required pam_projects.so.1 cron account required pam_unix_account.so.1 # # Default definition for Account management # Used when service name is not explicitly mentioned for account management # other account requisite pam_roles.so.1 other account required pam_projects.so.1 other account required pam_unix_account.so.1 # # Default definition for Session management # Used when service name is not explicitly mentioned for session management # other session required pam_unix_session.so.1 # # Default definition for Password management # Used when service name is not explicitly mentioned for password management # other password required pam_dhkeys.so.1 other password required pam_authtok_get.so.1 other password required pam_authtok_check.so.1 other password sufficient pam_authtok_store.so.1 other password required pam_ldap.so.1 other password required pam_unix_auth.so.1 ---------------------------------------------------------- Eugene C. McCown, Jr. Base Technologies Inc, McLean, VA Employment and Training Administration Office of Performance & Technology Unemployment Insurance Support Team McCown.Eugene at dol.gov (W) 202.693.2812 From glowe at sbcglobal.net Fri Feb 6 15:36:17 2009 From: glowe at sbcglobal.net (Grant Lowe) Date: Fri, 6 Feb 2009 12:36:17 -0800 (PST) Subject: SUMMARY: Apache 2.2.11 from sunfreeware Message-ID: <401481.77434.qm@web81802.mail.mud.yahoo.com> Thanks for the help from the following individuals: JayJay Florendo Patrick Hooper Romeo Theriault Tamer Embaby Steve C. The consensus was to comment that part of the httpd.conf file. Well, unfortunately that didn't work. Turns out that this module, and a number of others, are gone from the recent apache servers. They've been renamed. I found this by doing some digging through the sendmail.org site: http://httpd.apache.org/docs/2.2/new_features_2_2.html#module So I just have to do some editing of my current httpd.conf file to get all my customizations. Sigh. From sunhux at gmail.com Sat Feb 7 06:15:47 2009 From: sunhux at gmail.com (sunhux G) Date: Sat, 7 Feb 2009 19:15:47 +0800 Subject: Summary: Server could email to external addresses but could not act as mail router Message-ID: <60f08e700902070315w39707952g7eeaa0622ded5281@mail.gmail.com> I've found out the reason : In the Solaris 9 server, it could route mails because /etc/resolv.conf is there (ie it has DNS function and the Windows domain PC hostname could be resolved) while resolv.conf is missing in the Solaris 10 box. Donald Kinney's reply is worth mentioning as it may apply to other people's case : You should take a look at srv10's sendmail.cf file. Should be under /etc/mail check to see if you are using acess entries. From the error messages on srv10, it looks like you might be. Edit the access file to add in the subnets of systems you want to allow relaying for. For example 10.51.6 RELAY Would allow any host system with an IP between 10.51.6.1 and 10.51.6.254 to relay through the srv10 sendmail system. Once you've added in the required entries, rebuild the access_db files, and you should be good. Thanks U On Thu, Feb 5, 2009 at 9:11 PM, sunhux G wrote: > hi > > I have a Solaris 10 server (which has been hardened by an ex-colleague). > > When login to this server, I could send email to external parties & > messages show : > Feb 5 21:00:02 svr10 sendmail[23559]: [ID 801593 mail.info] > n15D02VZ023559: from=, size=535, class=0, nrcpts=1, > msgid=<12145976.121233838802074.JavaMail.elsdev at xxx.com.sg>, proto=ESMTP, > daemon=MTA-v4, relay=svr10.domain.gov.sg [10.51.yyy.xx] > Feb 5 21:00:07 svr10 sendmail[23558]: [ID 801593 mail.info] > n15D01o3023556: to=, delay=00:00:06, xdelay=00:00:06, > mailer=relay, pri=120535, relay=mailhost.sla.gov.sg [10.235.129.28], > dsn=2.0.0, stat=Sent (n15D061c040616 Message accepted for delivery) > > > However, when I point my PCs to this Solaris 10 server as SMTP gateway, > they're > not able to send emails out though from the PCs, "telnet Solaris10_server > 25" > responds. The messages file showed the following when the PCs fails > to email thru: > > Feb 5 21:04:04 svr10 sendmail[25276]: [ID 702911 mail.info] starting > daemon (8.13.8+Sun): SMTP+queueing at 00:15:00 > Feb 5 21:04:04 svr10 sendmail[25275]: [ID 702911 mail.info] starting > daemon (8.13.8+Sun): queueing at 00:15:00 > Feb 5 21:04:15 svr10 sendmail[25377]: [ID 801593 mail.notice] > n15D4F0r025377: ruleset=check_rcpt, arg1=, > relay=[10.51.6.104], reject=550 5.7.1 ... Relaying denied. > IP name lookup failed [10.51.6.104] > Feb 5 21:04:15 svr10 sendmail[25377]: [ID 801593 mail.info] > n15D4F0r025377: from=, size=0, class=0, nrcpts=0, > proto=ESMTP, daemon=Daemon0, relay=[10.51.6.104] > > The PC sendemail logs showed following when it fails to email through : > > Feb 05 21:07:48 PChost sendemail[3148]: WARNING => The recipient < > xxx at gmail.com> was rejected by the mail server, error follows: > Feb 05 21:07:48 PChost sendemail[3148]: WARNING => Received: 550 > 5.7.1 ... Relaying denied. IP name lookup failed > [10.51.6.104] > Feb 05 21:07:48 PChost sendemail[3148]: ERROR => Exiting. No recipients > were accepted for delivery by the mail server. > > > root # more hosts.allow > # > ALL: localhost > sshd: ALL > sendmail: ALL > > root # ps -ef | grep sendmail > root 13448 22426 0 20:33:21 pts/3 0:00 grep sendmail > smmsp 9741 1 0 Feb 02 ? 0:01 /usr/lib/sendmail -Ac > -q15m > root 9742 1 0 Feb 02 ? 0:08 /usr/lib/sendmail -bd > -q15m -C /etc/mail/local.cf > Why sendmail is reading /etc/mail/local.cf is still a mystery to me > but even if I kill the pid 9742 & manually rerun it with > "/usr/lib/sendmail -bd -q15m -C /etc/mail/sendmail.cf", > sendmail still fails to route mails > > > Problem is not with the PCs because when these PCs point to another > Solaris 9 server, the emails get through. > > > ================================================= > > On the Solaris 10 server, this is the script I used to send email out : > (this works as the script runs from within the server itself) : > > set -x > DT="`date`" > telnet localhost 25< HELO localhost > MAIL FROM:> > RCPT TO: > DATA > From: > Message-Id: > Subject: testing > To: > > Date: $DT > Content-Type: text > $DT > Testing email > `cat /tmp/test.log` > . > QUIT > ! From DRoss-Smith at reviewjournal.com Sun Feb 8 13:13:58 2009 From: DRoss-Smith at reviewjournal.com (DRoss-Smith at reviewjournal.com) Date: Sun, 8 Feb 2009 10:13:58 -0800 Subject: v240 and fibre Message-ID: Hi managers. We have a v240 running solaris 9 12/03. We've recently added a generic fibre array and configured it to run a few luns under SVM. It's been in production for a couple of weeks. All was good until we rebooted itthis morning. At that point the box kernel panics. I've read various messages about WARNING: add_spec: No major number for XXXXX but nothing seems to relate to our particular panic when XXXXX=scsi. Here's the output from the boot and panic. -------- Rebooting with command: boot Boot device: disk0 File and args: Loading ufs-file-system package 1.4 04 Aug 1995 13:02:54. FCode UFS Reader 1.12 00/07/17 15:48:16. Loading: /platform/SUNW,Sun-Fire-V240/ufsboot Loading: /platform/sun4u/ufsboot SunOS Release 5.9 Version Generic_122300-13 64-bit Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. WARNING: add_spec: No major number for scsi WARNING: add_spec: No major number for scsi WARNING: add_spec: No major number for scsi WARNING: add_spec: No major number for scsi Hardware watchdog enabled configuring IPv4 interfaces: bge0. Hostname: dtitest2 panic[cpu1]/thread=300024eede0: BAD TRAP: type=31 rp=2a1003171a0 addr=469980 mmu_fsr=0 occurred in module "md" due to an illegal access to a user address metainit: trap type = 0x31 addr=0x469980 pid=33, pc=0x7812f17c, sp=0x2a100316a41, tstate=0x80001607, context=0x804 g1-g7: 1469800, 1d4, 0, 0, 300027ded38, 10, 300024eede0 000002a100316ec0 unix:die+80 (31, 2a1003171a0, 469980, 0, f0, 0) %l0-3: 0000000000000000 0000000001413898 000002a1003171a0 000002a100317090 %l4-7: 0000000000000031 000003000000bd58 000003000000bd80 00000300027b5360 000002a100316fa0 unix:trap+8e4 (2a1003171a0, 0, 10000, 10200, 0, 0) %l0-3: 0000000000000001 0000000000000000 000003000252c010 0000000000000031 %l4-7: 0000000000000005 0000000000000001 0000000000000000 0000000000000000 000002a1003170f0 unix:ktl0+48 (30000013380, 300024eede0, 20, 200, 0, 300023e2a5c) %l0-3: 0000000000000000 0000000000001400 0000000080001607 000000000102db30 %l4-7: 0000030000013358 0000030000013358 0000000000000000 000002a1003171a0 000002a100317240 md:readcopy+354 (30000055368, 0, 30002782e10, 30002782e38, 300023f4108, 0) %l0-3: 0000030002782e38 000000000000000c 00000300023f4108 0000000000469968 %l4-7: 00000300023f4108 00000300023f4108 000000006d646462 0000030000055368 000002a1003172f0 md:load_old_replicas+6a8 (30000052db8, c, 30000052db8, 300002b0708, 1, 2) %l0-3: 00000300023e2010 0000030000052c88 0000030000055368 0000000000000001 %l4-7: 0000030000052dac 0000000000000000 0000030000052c88 0000000000000001 000002a100317410 md:initit+1ac (0, 78001400, 20, fffffffffffffff8, 780001e4, 78000000) %l0-3: 000003000284c970 0000000000000002 0000000000000000 0000000000000032 %l4-7: 0000000000000000 0000000078001668 0000000078166980 0000030000055368 000002a1003174c0 md:mddb_setenter+98 (0, 2, 2a10031762c, 0, f0, 0) %l0-3: 0000000000000000 0000000000000002 000003000001ac88 0000000000000000 %l4-7: 0000000078166980 0000000078166978 000003000001ae80 00000300027bd530 000002a100317570 md:getdeldev+5c (300027bd530, 3, 300027bd530, 0, 100c82c, 0) %l0-3: 00000300027bd530 0000000000000000 0000000000000000 0000000000000003 %l4-7: 00000300027bd530 00000300027bd530 0000000000000000 0000000000000000 000002a100317630 md:mddb_configure+8c (3, 300027bd530, 102003, 2a1003177f0, 2a1003177e8, ff3f07c4) %l0-3: 0000000000000000 0000000000000003 00000000ffbfede0 0000000000002403 %l4-7: 00000300027bd530 0000000000000000 00000000ff082408 0000000000000000 000002a1003176f0 md:md_base_ioctl+85c (0, 560d, ffbff368, 102003, 2a100317980, ffffffffffffffff) %l0-3: 0000000000000000 0000000000102003 0000000000000000 000003000026c1b0 %l4-7: 000003000026c1d8 00000000ff350768 0000000000000000 0000000000000000 000002a100317800 md:md_admin_ioctl+1c (550003ffff, 560d, ffbff368, 102003, 2a100317980, 0) %l0-3: 00000000781667d8 000000000000560d 0000000000102003 0000000078000000 %l4-7: 0000000078000000 0000000078000000 000003000252c8e0 00000000000000a0 000002a1003178d0 md:mdioctl+104 (550003ffff, 560d, ffbff368, 102003, 300003e7f28, 2a100317aec) %l0-3: 000003000250fce8 0000000000102003 000000000000560d 0000000000000004 %l4-7: 000003000252c010 000000000003ffff 0000000000000000 00000000000000a0 000002a1003179a0 genunix:ioctl+1f8 (3, 560d, ffbff368, fffffff8, 0, ffbff3a1) %l0-3: 00000000011885c8 000000000000560d 0000000000000003 0000000000000000 %l4-7: 000003000250fce8 0000000000000000 0000000000000000 0000000000000000 syncing file systems... done From warren.liang at cox.net Sun Feb 8 20:09:06 2009 From: warren.liang at cox.net (Warren Liang) Date: Sun, 8 Feb 2009 20:09:06 -0500 Subject: How to configure xntpd to adjust time slowly Message-ID: <20090208200906.MAU8Y.1148662.imail@fed1rmwml30> Hello: Client time is having several minutes off. How shuold I configure its xntpd in order to adjust time with ntp server slowly? Like date -a option. Client's ntp.conf file is: server ntp.mycorp..com driftfile /etc/inet/ntp.drift multicastclient 224.0.1.1 O/S: Solaris 10 and 9. Thanks. Warren From warren.liang at cox.net Mon Feb 9 00:41:24 2009 From: warren.liang at cox.net (Warren Liang) Date: Sun, 8 Feb 2009 21:41:24 -0800 Subject: Update: How to configure xntpd to adjust teim slowly Message-ID: <20090209004124.TFPCA.546113.imail@fed1rmwml34> Hello: I make change on file /lib/svc/method/xntp, add "-B" to $ARGS. According to ntpdate man page, the -B option would force the time to be slewed using the adjtime system call. I disabled ntp, change system time ahead of 3 minutes. Enable ntpd service. nptdate -b -u shows the value of offset is gradually closing. It is what i am looking for. I hope it is the correct method to do. Any recommendation is welcomed. My original post: Client time is having several minutes off. How shuold I configure its xntpd in order to adjust time with ntp server slowly? Like date -a option. Client's ntp.conf file is: server ntp.mycorp..com driftfile /etc/inet/ntp.drift multicastclient 224.0.1.1 O/S: Solaris 10 and 9. Thanks. Warren From mwatson at AEGONUSA.com Mon Feb 9 09:30:39 2009 From: mwatson at AEGONUSA.com (Watson, Michael) Date: Mon, 9 Feb 2009 08:30:39 -0600 Subject: SUMMARY: Mount ZFS rootpool in 'boot net -s' mode Message-ID: <5503EE38C6940D49B8C4A4233A9B2B7E04D66AAFF0@crexmail04.us.aegon.com> Thanks to: Evan Gold Tom Lieuallen ============================================================================= ====== Tom's notes: accessing rootpool via single user network boot You may have need to access a zfs pool by booting into single user off the network. you can do the standard 'zfs import' to just look to see what pools are available for import. One problem is that the / file system is read-only when you boot off the net. So, you can do something like this: mkdir /tmp/z zfs import -R /tmp/z rootpool Not all of the zfs file systems may mount. I had the problem where it mounted /a1 and /private (zfs file systems), but failed to mount rootpool/ROOT/solaris10_6 (/), which is what I really wanted. I had to unmount the zfs file systems that were mounted, empty out /tmp/z (of the mount points it created), then specifically mount the file systems I wanted. zfs unmount /tmp/z/private zfs unmount /tmp/z/a1 rmdir /tmp/z/a1 /tmp/z/private zfs mount rootpool/ROOT/solaris10_6 zfs mount rootpool/ROOT/solaris10_6/var (Yes, it did help, thanks.) ============================================================================= ====== And a friend sent this: #zpool import -f rpool (or your pool name) #zfs get mountpoint in my case this shows: # zfs get mountpoint NAME PROPERTY VALUE SOURCE rpool mountpoint /rpool default rpool/ROOT mountpoint /rpool/ROOT default rpool/ROOT/s10u6zfs mountpoint / local rpool/dump mountpoint - - rpool/swap mountpoint - then #zfs set mountpoint=legacy rpool/ROOT/s10u6zfs then #mount -F zfs rpool/ROOT/s10u6zfs /mnt #umount /mnt #zpool export rpool (Just another view of the same terrain, more or less...) From jlaparram at pep.pemex.com Mon Feb 9 09:48:17 2009 From: jlaparram at pep.pemex.com (=?iso-8859-1?Q?Jorge_Laparra_Marroquin_=28Compa=F1=EDa=29?=) Date: Mon, 9 Feb 2009 08:48:17 -0600 Subject: Trying to release LUSES Message-ID: <7FBBEAE4C3E2E1489E9A767FFE5FDB593D2487@PEPSUREXC01.sur.dpep.pep.pemex.com> Hi managers... I created some LUSES on HITACHI. Now i4m trying to eliminate them (release paths), anyhow it doesn4t Do anything. Do you know what happen it??? Thanks From boomu83 at yahoo.co.in Mon Feb 9 11:09:33 2009 From: boomu83 at yahoo.co.in (boomu raj) Date: Mon, 9 Feb 2009 21:39:33 +0530 (IST) Subject: Issue in M5000 server Message-ID: <605242.31453.qm@web94611.mail.in2.yahoo.com> Dear All, B B B B I doing some domain configuration in M5000 server. While doing the configuration i got struck in few places. kindly help me to out this. B B i created the PSB into QUAD XSB using setfru command. i got the followed output as Systemborad status: B B B B XSCF> showfru -a sb DeviceB LocationB B B XSB ModeB B B B B B B Memory Mirror Mode sbB B B B B 00B B B B B B B B B UniB B B B B B B B B B B B no sbB B B B B 01B B B B B B B B B QuadB B B B B B B B B B B no B B XSCF> B after that, i assigned LSB to each XSB...B following output i Got afterwards. B XSCF> showdcl -d 1 --------------------------------------------------------------- 01B B B B B B B B B B B B B B B OpenBoot Execution CompletedB B B B B B B FRU B B B B B 00B B B 01-0B B B B B B B B B B FalseB B B FalseB B B False B B B B B 01B B B - B B B B B 02B B B - B B B B B 03B B B - B B B B B 04B B B - B B B B B 05B B B - B B B B B 06B B B - B B B B B 07B B B 01-1B B B B B B B B B B FalseB B B FalseB B B False B B B B B 08B B B 01-2B B B B B B B B B B FalseB B B FalseB B B False B B B B B 09B B B - B B B B B 10B B B - B B B B B 11B B B - B B B B B 12B B B - B B B B B 13B B B - B B B B B 14B B B - B B B B B 15B B B - and i checked theB board status.. i got the following output B XSCF> showboards -a XSBB DID(LSB) AssignmentB PwrB Conn Conf TestB B B Fault ---- -------- ----------- ---- ---- ---- ------- -------- 00-0 00(00)B B AssignedB B B yB B B yB B B nB B B PassedB Normal 01-0 01(00)B B AssignedB B B yB B B yB B B nB B B PassedB Normal 01-1 SPB B B B B B Unavailable yB B B nB B B nB B B Unmount Normal 01-2 SPB B B B B B Unavailable yB B B nB B B nB B B Unmount Normal 01-3 SPB B B B B B Unavailable yB B B nB B B nB B B Unmount Normal XSCF> MY QUERY: B B How to make 01-1 , 01-1 ..XSB into Available state. kindly..help me anyone..please B B B B THANKS & REGARDS P.KARTHIK BOMMU RAJ B Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ From romeotheriault at gmail.com Mon Feb 9 11:43:42 2009 From: romeotheriault at gmail.com (Romeo Theriault) Date: Mon, 9 Feb 2009 11:43:42 -0500 Subject: SUMMARY: How will Solaris 9 handle a SAN WWPN/WWNN change Message-ID: <46cd475b0902090843i68b56e52w6d83357809a59a46@mail.gmail.com> Thanks go out to: Antony Pavlenko Kev Smith Gary Paveza Antony Pavlenko provided a very clear and concise answer to my question (see below) that gave me the information that I needed. Answer: Hello. > If you use ssd it means you have either Solaris 9 or Solaris 10. > In both cases you don't need to reboot host at all. > If you will change wwn's for all paths at one moment you must umount > file systems and deport veritas DG. > After this ou can change wwn's of storage. If you also have SAN you > ought to change zone's at SAN switches. After this you can do luxadm -e > forclip /path_to_controller for all controllers and cfgadm -o > show_FCP_dev will show all your disks. If not than try > cfgadm -c configure > After this you can import veritas DG and mount FS back. > That's all. > Original Question: Hello, > > I have taken over 4 "Solaris 9 9/05 SPARC" boxes that connect to our Netapp > SAN via Fiber Channel. All of the boxes use Sun's built-in driver (ssd), no > emulex drivers are installed. The boxes also use Veritas VxVM 4.1 for SAN > disks and vxdmp for their multipathing. > > I will be having to make some config changes on the Netapp SAN that will > change the Netapps WWNN's and WWPN's. I am not sure how Solaris 9 will > handle this. Will a reconfiguration reboot be enough for Solaris to detect > the new WWPN's and veritas to be able to find the disks again? > > Currently when I create a new lun on the filers and map it to a Solaris box > it shows up automagically and I just have to initialize the drive with > veritas, etc... I've been trying to find some good docs on how Solaris will > deal with this WWPN/WWNN change and all the docs assume that you are using > the (sd) driver, which from what I've gathered requires you to edit the sd > file everytime you assign a new lun, which I don't have to do at all. > > If anyone has any links to docs or could explain to me the process that > will need to happen on the Solaris hosts for this type of reconfiguration to > successfully take place it would be greatly appreciated. > > Thank you, > -- Romeo Theriault System Administrator Information Technology Services Ph#: 207-561-3517 Em@: romeo.theriault at maine.edu From petrybr at gmail.com Mon Feb 9 12:48:05 2009 From: petrybr at gmail.com (Petry) Date: Mon, 9 Feb 2009 15:48:05 -0200 Subject: Solaris 10: cron service isn't running Message-ID: <4a0b40e70902090948g2b1f0d5fm8d0e9cee99626e63@mail.gmail.com> Hello guys, On my Solaris 10 server, the crontab isn`t working. As I can see on the logs of the scripts that cron executes, it stopped 0:00 of 08/02 ( from 07 to 08/02 ). Everything is correct whith the system time, which shows the correct local time. There is no errors on the systems logs. I've tried to restart the service using the svcadm command whithout success. Any suggestion of what I can do ? Thanks and sorry my english, J. Paulo From mccown.eugene at dol.gov Mon Feb 9 06:43:36 2009 From: mccown.eugene at dol.gov (McCown, Eugene - ETA CTR) Date: Mon, 9 Feb 2009 06:43:36 -0500 Subject: LDAP Authentication via SSH In-Reply-To: <9377A62ABFE9FD419DE0B947BBAF68B08747B286@PKDWES1V1.EQ.Intranet> References: <22A61FBF576E424B9B79672258105F2F02160797@ETA-CL01-EVS.eta.dir.labor.gov> <9377A62ABFE9FD419DE0B947BBAF68B08747B286@PKDWES1V1.EQ.Intranet> Message-ID: <22A61FBF576E424B9B79672258105F2F0216079B@ETA-CL01-EVS.eta.dir.labor.gov> Thanks to Matt for the help. I was missing the pam_unix_cred.so.1 line in my pam.conf. -----Original Message----- From: Clausen, Matt R[EQ] [mailto:Matthew.R.Clausen at Embarq.com] Sent: Friday, February 06, 2009 2:00 PM To: McCown, Eugene - ETA CTR Subject: RE: LDAP Authentication via SSH Try this in your pam.conf for the "other" section: # # Default definitions for Authentication management # Used when service name is not explicitly mentioned for authentication # other auth requisite pam_authtok_get.so.1 other auth required pam_dhkeys.so.1 other auth required pam_unix_cred.so.1 other auth sufficient pam_unix_auth.so.1 other auth required pam_ldap.so.1 (Comment out the "other" lines then put in this block) -----Original Message----- From: sunmanagers-bounces at sunmanagers.org [mailto:sunmanagers-bounces at sunmanagers.org] On Behalf Of McCown, Eugene - ETA CTR Sent: Friday, February 06, 2009 1:36 PM To: sunmanagers at sunmanagers.org Subject: LDAP Authentication via SSH Hello All Thanks in advance for your assistance. I've look through tons and tons of sites and I have to be overlooking something. My users will authenticate via SSH to the LDAP server. New to LDAP setup and I'm running into issues attempting to SSH to a Solaris 10 client that authenticates to my Solaris 10 LDAP Server. I apologize for the long output. Just wanted to provide ALL details that I believe may be applicable. I currently have two instances of LDAP (OpenLDAP version from sunfreeware and iPlanet Directory Services from Sol 10/08 DVD). Both are returning the same issue. The client machine was configured with Sun's Native ldapclient tool. When I attempt to SSH to a client machine (ldapclient.domain) which points to my main LDAP Server, I receive the following output and I get the same results if I SSH from a system with SSH (Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f): ssh -v ldapclient.domain OpenSSH_3.8.1p1, OpenSSL 0.9.6m 17 Mar 2004 debug1: Reading configuration data /opt/security/openssh-3.8.1p1/etc/ssh_config debug1: /opt/security/openssh-3.8.1p1/etc/ssh_config line 18: Deprecated option "RhostsAuthentication" debug1: /opt/security/openssh-3.8.1p1/etc/ssh_config line 23: Deprecated option "FallBackToRsh" debug1: /opt/security/openssh-3.8.1p1/etc/ssh_config line 24: Deprecated option "UseRsh" debug1: Connecting to ldapclient.domain [166.97.204.57] port 22. debug1: Connection established. debug1: identity file /.ssh/identity type -1 debug1: identity file /.ssh/id_dsa type -1 debug1: identity file /.ssh/id_rsa type -1 debug1: Remote protocol version 2.0, remote software version Sun_SSH_1.1 debug1: no match: Sun_SSH_1.1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'ldapclient.domain' is known and matches the RSA host key. debug1: Found key in /.ssh/known_hosts:82 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: gssapi-keyex,gssapi-with-mic,publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /.ssh/identity debug1: Trying private key: /.ssh/id_dsa debug1: Trying private key: /.ssh/id_rsa debug1: Next authentication method: keyboard-interactive Password: debug1: Authentications that can continue: gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive debug1: Next authentication method: keyboard-interactive Password: debug1: Authentications that can continue: gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive Password: debug1: Authentications that can continue: gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive debug1: No more authentication methods to try. Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive). Performing snoop, when I insert bad password, I receive this output opscm.domain -> ldapclient. domain LDAP R port=52854 Bind Response Invalid Credentials When I insert correct password, I receive this output -> opscm. domain -> ldapclient. domain LDAP R port=52611 Search ResDone Success but it doesn't provide me access to the ssh connection. /var/ldap/ldap_client_file contains: NS_LDAP_FILE_VERSION= 2.0 NS_LDAP_SERVERS= 192.168.0.44 NS_LDAP_SEARCH_BASEDN= dc=domain NS_LDAP_AUTH= simple NS_LDAP_SEARCH_REF= FALSE NS_LDAP_SEARCH_SCOPE= one NS_LDAP_SEARCH_TIME= 30 NS_LDAP_CACHETTL= 43200 NS_LDAP_PROFILE= default NS_LDAP_CREDENTIAL_LEVEL= proxy NS_LDAP_BIND_TIME= 10 In sshd_conf on client and ldap server, PAMAuthenticationViaKBDInt is set to yes Pam.conf on client looks like: login auth required pam_authtok_get.so.1 login auth required pam_dhkeys.so.1 login auth required pam_dial_auth.so.1 login auth sufficient pam_unix_auth.so.1 login auth required pam_ldap.so.1 try_first_pass # # rlogin service (explicit because of pam_rhost_auth) # rlogin auth sufficient pam_rhosts_auth.so.1 rlogin auth required pam_authtok_get.so.1 rlogin auth required pam_dhkeys.so.1 rlogin auth sufficient pam_unix_auth.so.1 rlogin auth required pam_ldap.so.1 try_first_pass # # rsh service (explicit because of pam_rhost_auth) # rsh auth sufficient pam_rhosts_auth.so.1 rsh auth required pam_authtok_get.so.1 rsh auth required pam_dhkeys.so.1 rsh auth sufficient pam_unix_auth.so.1 rsh auth required pam_ldap.so.1 try_first_pass # # PPP service (explicit because of pam_dial_auth) # ppp auth required pam_authtok_get.so.1 ppp auth required pam_dhkeys.so.1 ppp auth required pam_dial_auth.so.1 ppp auth sufficient pam_unix_auth.so.1 ppp auth required pam_ldap.so.1 try_first_pass # # Default definitions for Authentication management # Used when service name is not explicitly mentioned for authentication # other auth required pam_authtok_get.so.1 other auth required pam_dhkeys.so.1 other auth sufficient pam_unix_auth.so.1 other auth required pam_ldap.so.1 try_first_pass # # passwd command (explicit because of a different authentication module) # passwd auth sufficient pam_passwd_auth.so.1 passwd auth required pam_ldap.so.1 try_first_pass # # cron service (explicit because of non-usage of pam_roles.so.1) # cron account required pam_projects.so.1 cron account required pam_unix_account.so.1 # # Default definition for Account management # Used when service name is not explicitly mentioned for account management # other account requisite pam_roles.so.1 other account required pam_projects.so.1 other account required pam_unix_account.so.1 # # Default definition for Session management # Used when service name is not explicitly mentioned for sessionmanagement # other session required pam_unix_session.so.1 # # Default definition for Password management # Used when service name is not explicitly mentioned for password management # other password required pam_dhkeys.so.1 other password required pam_authtok_get.so.1 other password required pam_authtok_check.so.1 other password sufficient pam_authtok_store.so.1 other password required pam_ldap.so.1 other password required pam_unix_auth.so.1 ---------------------------------------------------------- Eugene C. McCown, Jr. Base Technologies Inc, McLean, VA Employment and Training Administration Office of Performance & Technology Unemployment Insurance Support Team McCown.Eugene at dol.gov (W) 202.693.2812 From petrybr at gmail.com Mon Feb 9 13:14:56 2009 From: petrybr at gmail.com (Petry) Date: Mon, 9 Feb 2009 16:14:56 -0200 Subject: Solaris 10: cron service isn't running In-Reply-To: <9377A62ABFE9FD419DE0B947BBAF68B08747B299@PKDWES1V1.EQ.Intranet> References: <4a0b40e70902090948g2b1f0d5fm8d0e9cee99626e63@mail.gmail.com> <9377A62ABFE9FD419DE0B947BBAF68B08747B299@PKDWES1V1.EQ.Intranet> Message-ID: <4a0b40e70902091014p6566006er6c570eacde21db0@mail.gmail.com> Answering Matthew and Hindley: The /var/cron/log: < jpadm 18337 c Sat Feb 7 23:58:00 2009 > CMD: /usr/lib/sa/sa1 > root 24710 c Sun Feb 8 00:00:00 2009 ! SIGTERM Mon Feb 9 09:26:55 2009 ! ******* CRON ABORTED ******** Mon Feb 9 09:26:55 2009 btpr68{root} #: The SIGTERM and CRON ABORTED is near the time I stopped and started the service.. As resquested by Hindley: #: svcs -l svc:/system/cron:default fmri svc:/system/cron:default name clock daemon (cron) enabled true state online next_state none state_time Mon Feb 09 12:12:48 2009 logfile /var/svc/log/system-cron:default.log restarter svc:/system/svc/restarter:default contract_id 402461 dependency require_all/none svc:/system/filesystem/local (online) dependency require_all/none svc:/milestone/name-services (online) No problems reported in the logfile /var/svc/log/system-cron:default.log Thanks On Mon, Feb 9, 2009 at 16:03, Clausen, Matt R[EQ] wrote: > Look at the cron logs in /var/cron/log and see what cron is reporting. It might shed some light on this. > > -----Original Message----- > From: sunmanagers-bounces at sunmanagers.org [mailto:sunmanagers-bounces at sunmanagers.org] On Behalf Of Petry > Sent: Monday, February 09, 2009 12:48 PM > To: sunmanagers at sunmanagers.org > Subject: Solaris 10: cron service isn't running > > Hello guys, > > On my Solaris 10 server, the crontab isn`t working. > > As I can see on the logs of the scripts that cron executes, it stopped > 0:00 of 08/02 ( from 07 to 08/02 ). > > Everything is correct whith the system time, which shows the correct local time. > > There is no errors on the systems logs. > > I've tried to restart the service using the svcadm command whithout success. > > Any suggestion of what I can do ? > > Thanks and sorry my english, > > J. Paulo > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers From wick at bobwickline.com Mon Feb 9 19:05:03 2009 From: wick at bobwickline.com (Bob Wickline) Date: Mon, 09 Feb 2009 18:05:03 -0600 Subject: Diskless boot -- x86 client, SPARC server Message-ID: <4990C4AF.1040905@bobwickline.com> I've been racking my brain trying to find documentation this will work. Is it possible to boot a diskless x86 workstation (Ultra 24 specifically) off of a SPARC server? The documentation I'm finding is not clear on this. Thanks. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From rayfrancis at hantover.com Mon Feb 9 19:38:27 2009 From: rayfrancis at hantover.com (Ray Francis) Date: Mon, 9 Feb 2009 18:38:27 -0600 Subject: Samba Message-ID: I have two V490 systems running Solaris 10 One system is currently running Samba. I am setting up Samba on the second system the same as the first. Both use the same smb.conf file layout. Samba is running on both systems. When I attempt to view the systems from Windows XP, I can see both nodes (both V490S). On the original V490 I can view, read/write the directories ON the new V490 I get a domain access violation not authorized. What am I missing on the setup? From rayfrancis at hantover.com Mon Feb 9 20:45:49 2009 From: rayfrancis at hantover.com (Ray Francis) Date: Mon, 9 Feb 2009 19:45:49 -0600 Subject: Samba Setup Message-ID: <565E7952211642F49821E31B9F010F4F@hantkc.local> have two V490 systems running Solaris 10 One system is currently running Samba. I am setting up Samba on the second system the same as the first. Both use the same smb.conf file layout. Samba is running on both systems. When I attempt to view the systems from Windows XP, I can see both nodes (both V490S). On the original V490 I can view, read/write the directories ON the new V490 I get a domain access violation not authorized. What am I missing on the setup? "smb.conf" 194 lines, 5115 characters # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options (perhaps too # many!) most of which are not shown in this example # # For a step to step guide on installing, configuring and using samba, # read the Samba HOWTO Collection. # # Any line which starts with a ; (semi-colon) or a # (hash) # is a comment and is ignored. In this example we will use a # # for commentry and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever you modify this file you should run the command "testparm" # to check that you have not made any basic syntactic errors. # #======================= Global Settings ===================================== [global] dns proxy = no log file = /var/log/samba/log.%m load printers = yes server string = production server socket options = TCP_NODELAY wins server = 128.2.1.17 local master = no workgroup = hantkc os level = 20 hosts allow = 128.2.1. 128.2.2. 128.2.3. 128.2.4 192.168.111. 192.168.11 2. 192.168.113. 192.168.114. 192.168.115. 192.168.116. 127. security = domain passdb backend = tdbsam max log size = 50 [printers] comment = All Printers path = /var/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print guest ok = no writable = no printable = yes # This one is useful for people to share files ;[tmp] ; comment = Temporary file space ; path = /tmp ; read only = no ; public = yes # A publicly accessible directory, but read only, except for people in # the "staff" group ;[public] ; comment = Public Stuff ; path = /home/samba ; public = yes ; writable = yes ; printable = no ; write list = @staff # Other examples. # # A private printer, usable only by fred. Spool data will be placed in fred's # home directory. Note that fred must have write access to the spool directory, # wherever it is. ;[fredsprn] ; comment = Fred's Printer ; valid users = fred ; path = /homes/fred ; printer = freds_printer ; public = no ; writable = no ; printable = yes # A private directory, usable only by fred. Note that fred requires write # access to the directory. ;[fredsdir] ; comment = Fred's Service ; path = /usr/somewhere/private ; valid users = fred ; public = no ; writable = yes ; printable = no # a service which has a different directory for each machine that connects # this allows you to tailor configurations to incoming machines. You could # also use the %U option to tailor it by user name. # The %m gets replaced with the machine name that is connecting. ;[pchome] ; comment = PC Directories ; path = /usr/pc/%m ; public = no ; writable = yes # A publicly accessible directory, read/write to all users. Note that all files # created in the directory by users will be owned by the default user, so # any user with access can delete any other user's files. Obviously this # directory must be writable by the default user. Another user could of course # be specified, in which case all files would be owned by that user instead. ;[public] ; path = /usr/somewhere/else/public ; public = yes ; only guest = yes ; writable = yes ; printable = no # The following two entries demonstrate how to share a directory so that two # users can place files there that will be owned by the specific users. In this # setup, the directory should be writable by both users and should have the # sticky bit set on it to prevent abuse. Obviously this could be extended to # as many users as required. ;[myshare] ; comment = Mary's and Fred's stuff ; path = /usr/somewhere/shared ; valid users = mary fred ; public = no ; writable = yes ; printable = no ; create mask = 0765 [htdocs2] force user = nobody comment = Apache2 HTDOCS valid users = dan,mike, at MIS path = /var/apache2/htdocs write list = dan, at MIS force group = nobody [htdocs] force user = nobody comment = Apache HTDOCS valid users = dan,mike, at MIS path = /var/apache/htdocs write list = dan,mike, at MIS force group = nobody [install] comment = Temporary Install Folder valid users = mike,jeff,dan,manish,vuong,root path = /wrk/install [cctrans] comment = Credit Card Transactions valid users = @Account, at MIS path = /rpt/cctrans available = no [wrk] comment = Work Area writeable = yes valid users = administrator,3benton,lamb,brockway,benton,2conner,1simpso n,carl,secchio,jardon,bronson,1scott,ray, at MIS create mode = 766 path = /mnt/sun1wrk directory mode = 777 [hantrpt] comment = Hantover Reports valid users = dan, at MIS path = /mnt/sun1rpthnt [aryrpt] comment = ARY Reports path = /mnt/sun1rptary [canrpt] comment = Canada Reports path = /mnt/sun1rptcan [mexrpt] comment = Mexico Reports path = /mnt/sun1rptmex [rptusr] comment = Hantover User Reports path = /mnt/sun1rpthnt/usr [prg] comment = Programs valid users = administrator, at MIS writeable = yes path = /mnt/sun1prg [log] comment = Log valid users = administrator, at MIS writeable = yes path = /mnt/sun1log From jdd at cs.toronto.edu Tue Feb 10 00:30:01 2009 From: jdd at cs.toronto.edu (John DiMarco) Date: Tue, 10 Feb 2009 00:30:01 -0500 (EST) Subject: IMPORTANT: Read this before posting to Sun-Managers Message-ID: <20090210053001.AA1A36E0003@apps0.cs.toronto.edu> Archive-name: sunmanagers-before-posting Last Updated: $Id: before.posting,v 1.21 2005/12/28 21:05:10 jdd Exp $ NOTE: This message is posted periodically to sunmanagers on behalf of all members of the Sunmanager's mailing list. Please read it carefully before posting. This document can be retrieved from: ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/before.posting Dear prospective sunmanagers poster, Before posting, please stop for a minute and consider whether or not your posting is suitable for Sunmanagers. The list is not intended for just any possible question related to managing Sun equipment or software. The only appropriate questions for Sun Managers are time-critical questions about Sun system management problems that are not answered in the manuals or system documentation, or in the Sunmanager's FAQ. In particular, the following kinds of postings are not appropriate: - Subscribe and unsubscribe messages. Point your web browser to http://www.sunmanagers.org instead. - Test messages of any sort. - Discussions about anything, including discussions about the list itself, or followups to any posting, with the exception of a single summary to one's own question summarizing the email responses. Use instead one of the Sun newsgroups, eg. comp.sys.sun.admin, comp.sys.sun.hardware or comp.unix.solaris. - Replies to any SunManagers posting, even if the reply is a separate question. Please send a separate message instead. - Postings not related to Sun equipment or software. Use the appropriate newsgroup or mailing list instead. For example, if your question concerns "sendmail", please consult the comp.mail.sendmail newsgroup or the www.sendmail.org website. - General UNIX or network questions. Use the appropriate newsgroup, eg. comp.unix.questions instead. - Postings that are not time-critical. Use one of the Sun newsgroups, eg. comp.sys.sun.admin, comp.sys.sun.hardware or comp.unix.solaris. - Questions answered in the FAQ. Read the FAQ instead. If you're not sure if the question is in the FAQ, please check before asking. You can find the FAQ at: ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq.html ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq - Questions that are answered in the manuals, http://docs.sun.com or system documentation. Read the manuals instead. If you're not sure if the question is answered in the manuals, please check first! - Job postings, requests for jobs, sales pitches, etc. Use the appropriate newsgroup instead. - Please, no postings in HTML, rich-text-format, Microsoft Word, Word Perfect, or any format that some people on the list would not easily be able to read. Also, please post in English only; most of our readers are not able to read other languages. - Please do not BCC (blind carbon copy) the list. Many of our list members depend on the list address appearing on incoming mail messages, so that they can automatically distinguish list traffic from other traffic. Please note that we are not saying these postings are necessarily "bad" or "stupid". They are not. They are merely inappropriate for this list. There are many other lists and newsgroups for which the question may be completely appropriate, and we encourage you to submit the posting there. Note also that your question may have been already answered in the past. Please spend a minute or two checking one of the Sunmanager's archives, for example, at http://www.sunmanagers.org, or one of the archive sites mentioned in the FAQ. Here's an example of an appropriate question: I have a SPARCserver 99 running Solaris 9.8.7 with the fizbozz patch and the jumbo kernel patch version 158. After I installed Futzbarworks version 3.2, the machine locks up every couple of hours. When it locks up, the following message appears on the console: zz0: out of futzbufs. Barworks table is full. I need to get this machine working as soon as possible. Please help! Send email and I will summarize to the list. To submit a question, email it to sunmanagers at sunmanagers.org. When you do this, please indicate all relevant information, including machine type, OS version and patches. Collect email replies, and then summarize them to the list. If your question was posted with a subject of "foobar", for example, then please post your summary with a subject of "SUMMARY: foobar". Why are we asking that only certain types of postings be submitted to the list? Very simply, the reason is this: we want the list to have a very short turnaround time, and the only reasonable way to do this is to keep it unmoderated. But this means that every message sent to the list ends up in the mailboxes of all the list members. To keep all the members of the list from being deluged by inappropriate messages, we need everyone's co-operation in ensuring that only appropriate messages are sent to the list. Please remember, Sunmanagers is a public forum: we have thousands of subscribers, all posts are archived on numerous archive sites, and these are searchable via various web engines. A great number of people will read your message. Keep in mind that the person reading your message may be your boss, your future boss, your customer, your seminar instructor, your colleague, or someone else that you work with today or may find yourself working with tomorrow. We do not want you to embarrass yourself by sending an inappropriate or poorly thought-out posting. Regards, John -- John DiMarco Sunmanagers Information Files Maintainer http://www.cs.toronto.edu/~jdd From boomu83 at yahoo.co.in Tue Feb 10 01:33:02 2009 From: boomu83 at yahoo.co.in (boomu raj) Date: Tue, 10 Feb 2009 12:03:02 +0530 (IST) Subject: issues in M5000 server : help me Message-ID: <691284.21669.qm@web94602.mail.in2.yahoo.com> Dear All, B B B B IB am doing some domain configuration in M5000 server. While doing the configuration i got struck in few places. kindly help me to out this. B B i created the PSB into QUAD XSB using setfru command. i got the followed output as Systemborad status: B B B B XSCF> showfru -a sb DeviceB LocationB B B XSB ModeB B B B B B B Memory Mirror Mode sbB B B B B 00B B B B B B B B B UniB B B B B B B B B B B B no sbB B B B B 01B B B B B B B B B QuadB B B B B B B B B B B no B B XSCF> B B B after that, i assigned LSB to each XSB using setdcl command...B following output i Got afterwards. B XSCF> showdcl -d 1 --------------------------------------------------------------- B B B B B 01B B B B B B B B B B B B B B B OpenBoot Execution CompletedB B B B B B B FRU B B B B B 00B B B 01-0B B B B B B B B B B FalseB B B FalseB B B False B B B B B 01B B B - B B B B B 02B B B - B B B B B 03B B B - B B B B B 04B B B - B B B B B 05B B B - B B B B B 06B B B - B B B B B 07B B B 01-1B B B B B B B B B B FalseB B B FalseB B B False B B B B B 08B B B 01-2B B B B B B B B B B FalseB B B FalseB B B False B B B B B 09B B B - B B B B B 10B B B - B B B B B 11B B B - B B B B B 12B B B - B B B B B 13B B B - B B B B B 14B B B - B B B B B 15B B B - and i checked theB board status.. i got the following output B XSCF> showboards -a XSBB DID(LSB) AssignmentB PwrB Conn Conf TestB B B Fault ---- -------- ----------- ---- ---- ---- ------- -------- 00-0 00(00)B B AssignedB B B yB B B yB B B nB B B PassedB Normal 01-0 01(00)B B AssignedB B B yB B B yB B B nB B B PassedB Normal 01-1 SPB B B B B B Unavailable yB B B nB B B nB B B Unmount Normal 01-2 SPB B B B B B Unavailable yB B B nB B B nB B B Unmount Normal 01-3 SPB B B B B B Unavailable yB B B nB B B nB B B Unmount Normal XSCF> B MY QUERY: B B How to make 01-1 , 01-1 ..XSB into Available state. B It's showing in Unmount state.. kindly help me.. if i make it to available then only i canB B B B configure some more domains. kindly..help me anyone..please B B B THANKS & REGARDS P.KARTHIK BOMMU RAJ B Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ From boomu83 at yahoo.co.in Tue Feb 10 08:32:52 2009 From: boomu83 at yahoo.co.in (boomu raj) Date: Tue, 10 Feb 2009 19:02:52 +0530 (IST) Subject: ISSUE IN M5000 server Message-ID: <925542.5954.qm@web94616.mail.in2.yahoo.com> Dear All, B B Thanks a lot for your support.... B I am configuring Dynamic Domain in M5000 server. While configuring the domain , I got the following error... kindly help me to resolve this... B In domain configuration, Using setupfru command , I configure PSB into QUAD-XSB.... while doing that i got some error as a meesage. here with i am sending the message. Kindly do a look on it and if u have any suggestion or solution regarding on it.. please let me know.... B B B B B B B B B B B B B B B B B B B B B B B XSCF> setupfru -x 4 sb 01 B B B B B B B B B B B B B B B B B B B B B B B Operation has completed. However, a configuration error was detected. Thanks for your undersatnding. B B THANKS & REGARDS B KARTHIK BOMMU RAJ B Check out the all-new Messenger 9.0! Go to http://in.messenger.yahoo.com/ From boomu83 at yahoo.co.in Tue Feb 10 08:32:51 2009 From: boomu83 at yahoo.co.in (boomu raj) Date: Tue, 10 Feb 2009 19:02:51 +0530 (IST) Subject: ISSUE IN M5000 server Message-ID: <458845.44780.qm@web94612.mail.in2.yahoo.com> Dear All, B B Thanks a lot for your support.... B I am configuring Dynamic Domain in M5000 server. While configuring the domain , I got the following error... kindly help me to resolve this... B In domain configuration, Using setupfru command , I configure PSB into QUAD-XSB.... while doing that i got some error as a meesage. here with i am sending the message. Kindly do a look on it and if u have any suggestion or solution regarding on it.. please let me know.... B B B B B B B B B B B B B B B B B B B B B B B XSCF> setupfru -x 4 sb 01 B B B B B B B B B B B B B B B B B B B B B B B Operation has completed. However, a configuration error was detected. Thanks for your undersatnding. B B THANKS & REGARDS B KARTHIK BOMMU RAJ B Bollywood news, movie reviews, film trailers and more! Go to http://in.movies.yahoo.com/ From lolade14 at yahoo.com Tue Feb 10 11:21:44 2009 From: lolade14 at yahoo.com (lolade banjo) Date: Tue, 10 Feb 2009 08:21:44 -0800 (PST) Subject: Storage Installation Message-ID: <758856.27413.qm@web54607.mail.re2.yahoo.com> Thanks for previous assistance, pls i need to ask for ur help again. I did a partition on one of our server which is not too good, i install blackboard application on a partition that is not too big now its eating out the space, what can i do i want to add and external storage to the server without crashing the application. Any suggestions Lolade Banjo 08023036876,018776427 O__ ---- Systems Administrator c/ /'_ --- Bb LMS (*) \(*) -- He gives me strenght to do all things.... who Jesus From eric.rodger at ericsson.com Tue Feb 10 11:50:36 2009 From: eric.rodger at ericsson.com (Eric Rodger) Date: Tue, 10 Feb 2009 10:50:36 -0600 Subject: Netbackup 6.5 with Solaris 2.6 and 7 clients In-Reply-To: <758856.27413.qm@web54607.mail.re2.yahoo.com> References: <758856.27413.qm@web54607.mail.re2.yahoo.com> Message-ID: <2D7CEF7F8F759C4AB79D7C46666F329C04CB5DBB@eusrcmw721.eamcs.ericsson.se> Has anyone successfully found a netbackup client for Solaris 2.6 and Solaris 7 that works with Netbackup Server 6.5? I know it's not supported by Symantec, but figured someone here would have a solution. Thanks, Eric Rodger Ericsson From serafino at cshl.edu Tue Feb 10 13:00:18 2009 From: serafino at cshl.edu (Sal Serafino) Date: Tue, 10 Feb 2009 13:00:18 -0500 Subject: DISPLAY issue Message-ID: <1234288818.6497.4.camel@zathura.cshl.edu> Hi all- Strange thing happening that I can't figure out. Running 5.10 on Ultra-45 patched to the latest. Whether using 'ssh -X' or 'xterm -display hostname:0' I can't get a window from a remote machine to display on my local desktop. Removed ~/.ICEauthority, .TTauthority, and ~/.Xauthority. Looged out, logged in again and it's not working. Removed files again and rebooted local workstation, but it's still not working. NEED to display remote process window on my workstation. I think it's something with the local Xserver because it's not tied to ssh and I can get the remote X clients to display on a [very inconvenient] alternate workstation. TIA, -Sal From serafino at cshl.edu Tue Feb 10 16:53:23 2009 From: serafino at cshl.edu (Sal Serafino) Date: Tue, 10 Feb 2009 16:53:23 -0500 Subject: SUMMARY: DISPLAY issue Message-ID: <1234302803.1345.14.camel@zathura.cshl.edu> Thanks to Peter Kunst, Hong Duong, Sean Walmsley, Crist Clark, Matt Clausen, Mr. D R Hughes, Francisco Roque , John Hallman, and Rodney Rodgers for responding. Almost all said to 'xhost +' or 'ssh -X', but that wasn't the problem (as stated in my original post). And the Grammy goes to.... Sean Walmsley pointed out that Xsun was starting with "-nolisten" because of options in the service configuration. He says: svccfg -s x11-server setprop options/tcp_listen = true svcadm refresh x11-server I set "options/tcp_listen=true" but couldn't refresh x11-server (no such service). Instead, it worked fine once I logged out and then logged back in. Don't know what could have changed this in any recent patches. Can't remember the last time I *NEEDED* to export DISPLAY, but it used to work just fine and then it stopped. -----Forwarded Message----- > From: Sal Serafino > To: Sun Managers List > Subject: DISPLAY issue > Date: Tue, 10 Feb 2009 13:00:18 -0500 > > Hi all- > > Strange thing happening that I can't figure out. Running 5.10 on > Ultra-45 patched to the latest. > > Whether using 'ssh -X' or 'xterm -display hostname:0' I can't get a > window from a remote machine to display on my local desktop. Removed > ~/.ICEauthority, .TTauthority, and ~/.Xauthority. Looged out, logged > in again and it's not working. Removed files again and rebooted local > workstation, but it's still not working. NEED to display remote > process window on my workstation. > > I think it's something with the local Xserver because it's not tied to > ssh and I can get the remote X clients to display on a [very > inconvenient] alternate workstation. > > TIA, > -Sal From Ajay.Gupta at fly.virgin.com Wed Feb 11 05:52:31 2009 From: Ajay.Gupta at fly.virgin.com (Ajay.Gupta at fly.virgin.com) Date: Wed, 11 Feb 2009 10:52:31 +0000 Subject: Windows permission for Samba Message-ID: Hi All, I am looking to give permission to samba shares from Unix servers to windows users. Currently, the users log in via AD and are not created at Unix end. The access mode of the Samba shares is not based on AD users and rather based on the permission at the Unix end. I googled in to find the right documentation to setup this configuration but nothing sounded to work for me. It would be of gr8 help if anyone can provide the process or point me to the documentation. Thank you Ajay Gupta Virgin Atlantic is still red hot in its 25th birthday year. Winner of Best Scheduled Airline to the USA, and Best Airline Business Lounge, find out more at www.virginatlantic.com/stillredhot ***************************************************************************** ****** Visit the Virgin Atlantic website for all the latest news and fantastic offers - http://www.virgin.com/atlantic. This email (and any attachments) may contain privileged and/or confidential information. If you are not the intended recipient please do not disclose, copy, distribute, disseminate or take any action in reliance on it. If you have received this message in error please reply and tell us and then delete all copies on your system. Any opinion on, or advice or information contained in this email is not necessarily that of Virgin Atlantic or its owners or officers. Virgin Atlantic shall have no liability (including in negligence) for any loss or damage that may arise in relation to this email (or any attachments to it) including viruses. Virgin Atlantic reserves the right to retain and monitor all email communications. Nothing in this email shall be deemed as forming or constituting a binding contract with, or representation on behalf of, Virgin Atlantic, its representatives, its clients or any member of the Virgin Group, unless expressly specified otherwise in writing. Virgin Atlantic Airways Limited. Registered office: Company Secretariat, The Office, Manor Royal, Crawley, West Sussex, RH10 9NU. Registered in England, company number: 1600117 ***************************************************************************** ******* From jan.stankovsky at univie.ac.at Wed Feb 11 10:56:16 2009 From: jan.stankovsky at univie.ac.at (Jan M. Stankovsky) Date: Wed, 11 Feb 2009 16:56:16 +0100 Subject: language switcher in JDS Message-ID: <4992F520.3060800@univie.ac.at> Hello! After I installed UTF-8 I've got this language switcher attached to every window. Which is very annoying. How do I get rid of that. This is Solaris 10 with JDS. No, switching to locale C oder anything else is not an option... thanks jan From skantor at telcordia.com Wed Feb 11 16:13:08 2009 From: skantor at telcordia.com (Kantor, Spencer) Date: Wed, 11 Feb 2009 16:13:08 -0500 Subject: ZFS and hw raid Message-ID: <8B6A9EC265011E4CB70F99C64426E8C20351B82980@rrc-dte-exmb2.dte.telcordia.com> We recently obtained a Sun T5440 with four internal SAS 146GB disks. The system will house a large number of zones, not certain at this point if we'll be creating multiple LDOM's. The only additional external storage will be NAS devices, no SAN. My initial thought is to use the built-in hardware raid controller for the boot drive mirror (disks 0 & 1) and use ZFS for a storage pool comprising disks 2 & 3 as we prefer the flexibility ZFS provides. That said, would there be any advantage to creating a second hardware raid volume using disks 2 & 3 and then allocate space via ZFS, or bypass a second hw raid mirror and just create a zfs mirror pool. We're not yet prepared to us zfs as our boot device. Thanks. Spencer Kantor From nevetas at i-chat.org.uk Wed Feb 11 16:53:00 2009 From: nevetas at i-chat.org.uk (Steven Dunton) Date: Wed, 11 Feb 2009 21:53:00 -0000 Subject: Virus Scan In-Reply-To: <8B6A9EC265011E4CB70F99C64426E8C20351B82980@rrc-dte-exmb2.dte.telcordia.com> References: <8B6A9EC265011E4CB70F99C64426E8C20351B82980@rrc-dte-exmb2.dte.telcordia.com> Message-ID: <002801c98c93$1be3b9c0$53ab2d40$@org.uk> We don't usually think of Solaris & virus issues. However is there such a thing as a virus scanner for Solaris 9 (SPARC). If so any recommendations? Thanks in advance. From sengork at gmail.com Wed Feb 11 19:05:25 2009 From: sengork at gmail.com (Sengor) Date: Thu, 12 Feb 2009 11:05:25 +1100 Subject: SUMMARY: WWNNs and WWPNs Message-ID: <8417e52e0902111605k56b3891ag5698c91f8eb3dc2b@mail.gmail.com> Thanks to all who replied (Dennis, Phillip). Official answer from both Emulex and Qlogic is: Only targets (Arrays/VTLs/Filers) follow the "same Node WWN on all public FC ports", initiators (HBA cards) don't follow this convention/rule. So having different Node WWNs on the physically same HBA is "ok". ---------- Forwarded message ---------- From: Sengor Date: Mon, Jan 5, 2009 at 6:53 PM Subject: WWNNs and WWPNs To: sunmanagers Hi colleagues, Let's assume I've got a single HBA card with 2 fibre ports on it (in this case Emulex card). From what I've understood World Wide Port Names on such a card should be different and World Wide Node Name shold be the same according to the theoretical rules. # luxadm -e dump_map /devices/pci at 15d,600000/SUNW,emlxs at 1/fp at 0,0:devctl Pos Port_ID Hard_Addr Port WWN Node WWN Type ..... 3 1f0027 0 10000000c95d21eb 20000000c95d21eb 0x1f (Unknown Type,Host Bus Adapter) # luxadm -e dump_map /devices/pci at 15d,600000/SUNW,emlxs at 1,1/fp at 0,0:devctl Pos Port_ID Hard_Addr Port WWN Node WWN Type ..... 3 b0055 0 10000000c95d21ec 20000000c95d21ec 0x1f (Unknown Type,Host Bus Adapter) Does anyone know why the WWN Node numbers are different on the physically same card? Is this a Solaris driver issue or the manufacturer has not followed the theoretical standard of WWN Node being the same on each port of the same physical card? -- sengork -- sengork From David_Lowenstein at sd.vrtx.com Thu Feb 12 13:08:07 2009 From: David_Lowenstein at sd.vrtx.com (David_Lowenstein at sd.vrtx.com) Date: 12-Feb-2009 10:08:07 PST Subject: serial number on a 5120? Message-ID: Silly question, but I can't seem to find the serial number on a sun 5120. Sneep says "unknown" Do you know where it is on the chassis? I can't pull it from the rack right now to look on the top of it, but it doesn't seem to be on the back or front. From David_Lowenstein at sd.vrtx.com Thu Feb 12 13:26:55 2009 From: David_Lowenstein at sd.vrtx.com (David_Lowenstein at sd.vrtx.com) Date: 12-Feb-2009 10:26:55 PST Subject: SUMMARY: serial number on a 5120? Message-ID: Thanks to all who wrote. It's on the left front bezel as per the manual (rtfm I suppose is the lesson learned here) here's tfm: http://sunsolve.sun.com/handbook_pub/validateUser.do?target=Systems/SE_T5120/SE_T5120 What I have on my left front bezel looks more like a part number than a serial number so it made me second guess whether it was really what I was looking for. From davidkmcw at gmail.com Fri Feb 13 13:18:07 2009 From: davidkmcw at gmail.com (David McWilliams) Date: Fri, 13 Feb 2009 13:18:07 -0500 Subject: Weird perms issue In-Reply-To: <7d60773b0902131009p349217beu2226595e2fa46074@mail.gmail.com> References: <7d60773b0902131009p349217beu2226595e2fa46074@mail.gmail.com> Message-ID: <7d60773b0902131018s310c6ce6i5d7becb7d35f580@mail.gmail.com> One of our Windows admins tried to 'fix' what he thought was a perms problem on one of our NetApp mixed qtrees. I've spent most of the day working on it and it looks to be solved, apart from an error we get while using a particular CAD application - Ideas from Siemens running on Solaris 10. We can save files, etc, but we get an error whenever it runs a file that has the SUID bit set. I did a truss -f on the script that starts the process and i get the following output. I appreciate any help anyone can give; 1740: read(0, " / u g s / n x i 5 / g e".., 8192) = 25 1740: read(0, 0x00023238, 8192) = 0 1740: close(0) = 0 1740: _exit(1) 1736: read(0, 0x000243EC, 5120) = 0 1736: ioctl(1, TCGETA, 0xFFBFBA9C) Err#22 EINVAL 1736: fstat64(1, 0xFFBFBB10) = 0 1736: fstat64(1, 0xFFBFB9B8) = 0 1736: llseek(0, 0, SEEK_CUR) Err#29 ESPIPE 1736: close(0) = 0 1736: write(1, " 0\n", 9) = 9 1728: read(10, " 0\n", 1024) = 9 1728: sigaction(SIGCLD, 0xFFBFAED8, 0xFFBFAF78) = 0 1728: waitid(P_ALL, 0, 0xFFBFAED8, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0 1728: sigaction(SIGCLD, 0xFFBFAED8, 0xFFBFAF78) = 0 1736: _exit(0) 1728: Received signal #18, SIGCLD, in read() [caught] 1728: siginfo: SIGCLD CLD_EXITED pid=1736 status=0x0000 1728: read(10, 0xFFBFB788, 1024) Err#4 EINTR 1728: lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF] 1728: setcontext(0xFFBFAA88) 1728: read(10, 0xFFBFB788, 1024) = 0 1728: ioctl(10, TCGETA, 0xFFBFB04C) Err#22 EINVAL 1728: sigaction(SIGCLD, 0xFFBFB4B0, 0xFFBFB550) = 0 1728: waitid(P_ALL, 0, 0xFFBFB4B0, WEXITED|WTRAPPED|WSTOPPED) = 0 1728: sigaction(SIGCLD, 0xFFBFB4B0, 0xFFBFB550) = 0 1728: close(10) = 0 1728: fork1() = 1742 1742: fork1() (returning as child ...) = 1728 1742: getpid() = 1742 [1728] 1742: lwp_self() = 1 1742: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF] 1742: getpid() = 1742 [1728] 1742: sigaction(SIGXFSZ, 0xFFBFBF10, 0xFFBFBFB0) = 0 1742: sigaction(SIGQUIT, 0xFFBFBF10, 0xFFBFBFB0) = 0 1728: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF] 1728: sigaction(SIGCLD, 0xFFBFBF28, 0xFFBFBFC8) = 0 1742: execve("/ugs/nxi5/geo/geomod.exe", 0x0005CE78, 0x0005CE80) 1742: *** cannot trace across exec() of /ugs/nxi5/geo/geomod.exe *** 1666: waitid(P_ALL, 0, 0xFFBFE378, WEXITED|WTRAPPED|WSTOPPED) (sleeping...) 1726: waitid(P_PID, 1728, 0xFFBFC6A8, WEXITED|WTRAPPED|WNOWAIT) (sleeping...) 1728: waitid(P_ALL, 0, 0xFFBFBF28, WEXITED|WTRAPPED|WSTOPPED) (sleeping...) *** I-DEAS VMI Diagnostic (fiinq_c) *** ---------------------------------------------------------------- *** Operating System Function - *** stat() on directory name failed : Permission denied (errno=13) *** ---------------------------------------------------------------- The executable that it refers to /ugs/nxi5/geo/geomod.exe is on a different qtree that was messed with, the perms on the file are 4755, which are correct. Slainte, *David* "Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life." ~ *Terry Pratchett , author, Discworld series* From David at SchoolLoop.com Sat Feb 14 11:31:18 2009 From: David at SchoolLoop.com (David L Kensiski) Date: Sat, 14 Feb 2009 08:31:18 -0800 Subject: SUMMARY: Solaris cannot see all drives on Areca RAID controller In-Reply-To: References: Message-ID: <0EA130E8-7F9D-42C6-B8A9-A0301CABEB4A@SchoolLoop.com> The problem is two-fold -- the RAID controller firmware needs to be updated, and sd.conf needs to be configured properly. Here are the instructions for the Areca ARC-1280 RAID controller to expose all drives to Solaris: NOTE: This was done with Solaris 10 u6 (10/08) and the 2/2/09 patch cluster, though I'm not sure either are required as long as you have the arcmsr driver installed. + Upgrade arcmsr Solaris driver to version 1.20.00.16, dated 2008-07-31: ftp://ftp.areca.com.tw/RaidCards/AP_Drivers/Solaris/DRIVER/1.20.00.16-80731.zip + Upgrade RAID controller firmware to version 1.46, dated 2009-01-06: ftp://ftp.areca.com.tw/RaidCards/BIOS_Firmware/ARC1280/146-90106.zip Instructions are available at ftp://ftp.areca.com.tw/RaidCards/BIOS_Firmware/FirmwareUpdateProcess.pdf + Configure the RAID controller as JBOD in controller BIOS or via the HTTP proxy: System Config | JBOD/RAID Config: JBOD Note: this also works with each drive configured as pass-thru, but that takes more work and is left as an exercise for the reader. + Edit /kernel/drv/sd.conf and change it to read: # Areca controller Ch01 - Ch08 name="sd" class="scsi" target=0 lun=0; name="sd" class="scsi" target=0 lun=1; name="sd" class="scsi" target=0 lun=2; name="sd" class="scsi" target=0 lun=3; name="sd" class="scsi" target=0 lun=4; name="sd" class="scsi" target=0 lun=5; name="sd" class="scsi" target=0 lun=6; name="sd" class="scsi" target=0 lun=7; # Areca controller Ch09 - Ch16 name="sd" class="scsi" target=1 lun=0; name="sd" class="scsi" target=1 lun=1; name="sd" class="scsi" target=1 lun=2; name="sd" class="scsi" target=1 lun=3; name="sd" class="scsi" target=1 lun=4; name="sd" class="scsi" target=1 lun=5; name="sd" class="scsi" target=1 lun=6; name="sd" class="scsi" target=1 lun=7; # Areca controller Ch17 - Ch24 name="sd" class="scsi" target=2 lun=0; name="sd" class="scsi" target=2 lun=1; name="sd" class="scsi" target=2 lun=2; name="sd" class="scsi" target=2 lun=3; name="sd" class="scsi" target=2 lun=4; name="sd" class="scsi" target=2 lun=5; name="sd" class="scsi" target=2 lun=6; name="sd" class="scsi" target=2 lun=7; + Perform a reconfigure reboot in Solaris: reboot -- -rv When Solaris reboots, all installed drives will be visible to the kernel. From H.van.Gerwen at manrolandbenelux.nl Mon Feb 16 05:29:12 2009 From: H.van.Gerwen at manrolandbenelux.nl (Henk van Gerwen) Date: Mon, 16 Feb 2009 11:29:12 +0100 Subject: Routing problem Solaris 10 Message-ID: <49993FF8.9060709@manrolandbenelux.nl> Hello, I have a router problem and can't find what it is, however I went through the doc but that is referencing to so many things that it's unclear to me. What I got is as follows: Sun T5120 with 4 nics nic e1000g1, e1000g2 and e1000g3 are aggregated to: aggr1 with IP: 192.9.200.1 netmask is 255.255.255.0. nic e1000g0 got IP: 192.168.1.210 netmask is 255.255.255.0. Network 192.9.200.x is for users whom have the T5120 as server. Network 192.168.1.x is the connection to the internet via router with IP 192.168.1.215. On the Sun T5120 email as well as internet works fine. What doesn't work is that the users within network 192.9.200.x can't get to IP 192.168.1.215 which is for the internet. Is there a simple document that I can use that can help me out? I have put some configuration files below for your convenience. /etc/hosts ::1 localhost 127.0.0.1 localhost # loghost # 192.9.200.1 t5120-0 loghost aggr1 solaris www.thecustomer.nl 192.9.200.5 hpswitch procurve 1824 # 192.168.1.210 t5120 192.168.1.215 firebox irouter 213.75.63.36 dns1 213.75.63.70 dns2 # 192.9.200.10-192.9.200.50 are defined for users. /etc/hostname.e1000g0 t5120 /etc/hostname.aggr1 192.9.200.1 /etc/defaultrouter 192.9.200.1 192.168.1.210 192.168.1.215 /etc/defaultdomain thecustomer.nl /etc/rc2.d/S76addroutes /usr/sbin/svcadm enable svc:/network/ipv4-forwarding:default /usr/sbin/svcadm enable svc:/network/routing/route:default -- Met vriendelijke groet, Kind regards, Henk van Gerwen Project Manager --------------------------------- manroland Benelux N.V. PrePress & PressRoom Products Kuiperbergweg 50 NL-1101 AG Amsterdam Zuidoost Tel: +31 20 587 2224 Fax: +31 20 587 2613 www.manrolandbenelux.nl From sunhux at gmail.com Mon Feb 16 10:50:28 2009 From: sunhux at gmail.com (sunhux G) Date: Mon, 16 Feb 2009 23:50:28 +0800 Subject: Sun equivalent of Redhat Satellite (for centralized patch management) Message-ID: <60f08e700902160750x32623e9ctd2e944fd13eb1d12@mail.gmail.com> Hi, Saw this : Sun has had a solution available for some time that can patch Solaris, SuSE and Red Hat systems: http://www.sun.com/service/sunconnection/index.jsp Has anyone used the above Sun's product? Would like to know : a) if it's free of charge or what's the initial cost (excluding the hardware) and the annual subscription like? b) Is this limited to Recommended / jumbo patches only or any little vulnerability that's just released will be addressed by this patch management product c)suppose I have multiple versions of Solaris and several versions of Redhat Linux in our environment, can it patch them all? d) I know Redhat Satellite requires annual subscription to Redhat, so supposedly this Sun product needs subscription to Redhat as well? e)appreciate any comparison between Redhat Satellite vs this Sun product Thanks U From jdd at cs.toronto.edu Tue Feb 17 00:30:01 2009 From: jdd at cs.toronto.edu (John DiMarco) Date: Tue, 17 Feb 2009 00:30:01 -0500 (EST) Subject: Sun Managers Frequently Asked Questions (FAQ) Message-ID: <20090217053001.95AED6E001A@apps0.cs.toronto.edu> Archive-name: sunmanagers-faq $Id: faq.html,v 1.29 2007/05/25 20:41:16 jdd Exp $ SunManagers Frequently Asked Questions This is collection of common questions posted to the sunmanagers mailing list twice a month. It is intended to benefit Sun System Managers and reduce traffic to the list by providing quick answers to common problems. Keeping with the style of a similar FAQ for comp.windows.x, questions marked with a '+' indicate questions new to this issue; those with significant changes of content since the last issue are marked by '*' The Information Files maintainer is John DiMarco . All corrections, submissions and FAQ administration-related messages should go to . Do not send questions, subscription or unsubscription requests, or sunmanagers postings to this address; they will be quietly ignored. The List Server maintainer is Bill Bradford . Any problems with the mailing list server should be directed to Bill. _________________________________________________________________ Questions 1. The Sun-Manager's Mailing list 1.1) How do I read, join, post to, or remove myself from the sunmanagers mailing list? 1.2) What is the Sun-Manager's Charter? What are the rules? 1.3) Are there any public archives for the sunmanagers list? 1.4) What should I keep in mind when posting to sunmanagers? 1.5) What other forums are there for Suns? 1.6) Where are the answers to questions about old Suns and old versions of Solaris? 1.7) What fields can I use to filter Sun Managers email? 2. Getting Help Over the Net 2.1) How do I find out what patches are available from Sun? 2.2) * How do I get help migrating to Solaris? 2.3) How do I access Sun's documentation over the net? 2.4) To which web sites can I go for help? 3. Network Directory and File Services 3.1) How do I use DNS for hostname resolution? 3.2) How do I change NIS+ credentials for the root master server? 3.3) When I compile something, errors occur saying _dlopen and other _dl routines can't be found. Why? 4. Window Systems 4.1) + What Window system GUIs are supported by Sun? 5. Disks, Tapes and SCSI 5.1) * What sector/head/cylinders parameters should be used for a hard disk? 5.2) * Can I replace an internal drive in a Sun with a higher capacity model? 5.3) Is it okay to disconnect or connect SCSI devices while powered on? 5.4) How do I configure my sun to use Exabyte 4mm DAT tape drives? 5.5) Why is tagged queueing a problem on my third-party disk? 5.6) Why don't third-party CD-ROMS work on my sun? 5.7) What size and density parameters should I use for ufsdump with a high-capacity tape drive? 5.8) My floppy/cdrom device says "device busy". What do I do? 5.9) What software is available for CD-R/CD-RW? 5.10) Where is my disk space? The "du" and "df" commands disagree. 6. Resource Management and Performance Tuning 6.1) How do I tell what caused my machine to crash? 6.2) What can I do if my machine slows to a crawl or just hangs? 6.3) How do I find out how much physical memory a machine has? 6.4) How do I find out what my machine's memory is being used for? How can I tell if I need more memory? 6.5) Why do some files take up more disk space after being copied? Why are the sizes reported by ls -l and du different? 7. HTTP and Anonymous FTP 7.1) * How do I set up anonymous ftp on my machine? 7.2) + Where can I get a Web server for Solaris? 8. Consoles, Keyboards and Key Remapping 8.1) How do I make the numeric keypad on a sun keyboard work with xterm? 8.2) How do I swap the CAPS LOCK and CONTROL keys on a sun keyboard? 8.3) How do I use a Windows PC for a Sun serial console? 9. Sun models and OS Versions 9.1) * Which Sun models run which version of SunOS? 9.2) How can my program tell what model Sun it is running on? 9.3) How do I find out a Sun's boot prom revision? 9.4) * Which hardware/software is capable of 64-bit? Which is only 64-bit? How can I tell which is running? 10. Miscellaneous Software 10.1) My remote ufsdump is failing with a "Protocol botched" message. What do I do? 10.2) * Where can I get a C compiler for Solaris? 10.3) How do I read Microsoft Word documents on my Sun? 10.4) How do I restore to a different location the contents of a tarfile created with absolute pathnames? 11. Miscellaneous Hardware 11.1) * How come my mouse occasionally doesn't work? 11.2) How can I turn my old sun into an X-Terminal? 11.3) * How can I use an SVGA monitor on my Sun? 11.4) Where can I find alternate pointing devices for my Sun? 12. Networking 12.1) Why do both my net interfaces have the same ethernet address? 12.2) How can I know the hardware vendor from an ethernet address? 12.3) * How do I set my ethernet interface to e.g. 100Mb full duplex? 12.4) How do I find out what process is using a particular port? 12.5) I have a lot of ports in WAIT states. Why? 13. Electronic Mail 13.1) * Where can I get a POP or IMAP server for my sun? 14. Printing 14.1) + How do I get started with LP-style printing in Solaris? 14.2) How do I configure a non-postscript printer for postscript? 15. Misc System Administration 15.1) I've forgotten the root password; how can I recover? 15.2) How do I disable/remap STOP-A/L1-A? 15.3) How do I manage services in Solaris 10 and later? Do I still make links in /etc/rc*.d? Answers _________________________________________________________________ 1. The Sun-Manager's Mailing list _________________________________________________________________ 1.1) How do I read, join, post to, or remove myself from the sunmanagers mailing list? Point your web browser to http://www.sunmanagers.org Persons without web access should send a mail message to "sunmanagers-request at sunmanagers.org" containing the single word "help". Messages can be posted to the list by mailing them to the address "sunmanagers at sunmanagers.org". Do not do this until you have read the charter/policy (question 1.2) and the "how to post" document at http://www.sunmanagers.org. The policy and the "how to post" document is sent to the entire list twice a month. It is also sent out to every new subscriber and is available at http://www.sunmanagers.org. The latest version of the FAQ (this file) is available at http://www.sunmanagers.org _________________________________________________________________ 1.2) What is the Sun-Manager's Charter? What are the rules? 1: This list is NOT moderated! Every message that is sent to the list will be passed on to every member of the list. 2: Requests to have addresses added or removed from the list should NOT be sent to the entire list. Instead, addresses should be added or removed via the web page at http://www.sunmanagers.org Similarly, test messages of any sort should not be sent to the list. 3: This list is intended to be a quick-turnaround trouble shooting aid for those who administer and manage Sun systems. Its primary purpose is to provide the Sun manager with a quick source of information for system management problems that are of a time-critical nature. 4: All responses are to be mailed back to the questioner and are NOT to be sent to the entire list. Any response to a list message sent to the list, rather than to the person asking the question, will be deleted without notice. The person who originally asked the question has the responsibility of summarizing the answers and sending the entire summary back to the list. When a summary is sent back to the list, the word "SUMMARY" should be the first word of the "Subject" line. 5: Discussions on ANY topic are not allowed and will not be tolerated. If you want to discuss something, take it to the appropriate Sun newsgroup. 6: If it is not specifically related to Sun system management, then it does NOT belong on this list. Requests for vendor recommendations are tolerated, provided that the hardware in question is something that system managers normally purchase. 7: Commercial Advertising of any sort on the list is strictly prohibited. 8: Postings about employment, either employment sought or offered, are not permitted on this list. Please use a more appropriate forum, e.g. one of the newsgroups in the misc.jobs USENET hierarchy. 9: Requests for software (free or otherwise) should be limited to software that is directly related to Sun SYSTEM MANAGEMENT ONLY. 10: Read the appropriate manuals BEFORE posting, including the "Read This First" documents. Oftentimes the manuals contain answers for common problems. 11: When including a traceback from a system panic, make sure that it is a symbolic traceback. Numeric tracebacks (the ones included as part of the panic message) are not helpful; don't bother sending them to the list. 12: A posting to sunmanagers is not a general invitation to email the poster -- if you wish to send email to a sunmanagers poster, the email you send should be related to the posting, else it will be unsolicited email and may be treated like any other unsolicited email (e.g. spam). Sunmanagers is not to be used to collect email addresses of people who manage Sun systems. Those who do this not only violate the list's policy, but risk seriously offending the very people they are attempting to reach. 13: PLEASE PLEASE PLEASE...Think before you send a message! Ask yourself "is this really appropriate?" There are enough other newsgroups and mailing lists around to cover the marginal topics. Perhaps there is another forum that is more appropriate? Check the list of Sun specific newsgroups included in the FAQ. Perhaps your message would be more appropriate there? Remember that Sunmanagers is very public: we have thousands of subscribers, all postings are archived for posterity on various archive sites, and these sites are in turn searchable via various web engines. Submitting a posting is irreversible -- once it goes out, it cannot be taken back! Failure to adhere to these guidelines may result in severe chastisement by the list participants. Not only will you succeed in looking like a careless fool, and in making Sun Systems Managers all over the world annoyed at your incompetence, you may end up damaging your professional reputation. _________________________________________________________________ 1.3) Are there any public archives for the sunmanagers list? Sunmanagers' official archive is accessible at http://www.sunmanagers.org All postings are automatically archived. It is our policy not to accommodate requests to modify the archives, so if you are uncomfortable with your submissions in their entirety being public, do not submit them. Also, various members also keep their own archives on their own initiative. Some of these are public. Here are some we know about: http://aa11.cjb.net/sun_managers/index.htm Hank Leininger maintains a searchable archive site of messages (both questions and summaries) in Florida. It can be accessed at: http://marc.theaimsgroup.com/?l=sun-managers Dataman Benelux in the Netherlands hosts a "fuzzy" full-text index of the Sun Managers mailing list at: http://www.dataman.nl/cgi-bin/sunmanagers Manfred Liebchen maintains an archive site in Germany. It can be accessed at: http://www.uni-koeln.de/RRZK/Abt-Systeme/sun/infos/SUN-MANAGERS/sunman .html Older summaries (up to mid-1999) are available at http://www.latech.edu/sunman.html _________________________________________________________________ 1.4) What should I keep in mind when posting to sunmanagers? * VERY IMPORTANT! Before you post, read the sunmanager's list policy, which is available at http://www.sunmanagers.org * Sun Managers is a huge unmoderated mailing list. Every message you send will be passed on to every member of the list. This means you have access to a much larger audience when you need help, but it also means you can embarrass yourself in front of a huge number of people, most of them professionals in your field, including colleagues, peers, and possible future employers. Further, your posting will be archived in various places, some public, some private -- we have no way of knowing all the archive locations. Some of these archives, including the official one at http://www.sunmanagers.org, are web-searchable. It is our policy not to accommodate requests to remove or modify postings as archived on http://www.sunmanagers.org. Once you submit your message, it will be irretrievably accessible to a large number of people. There is no "taking it back". * Sun Managers is completely voluntary. Nobody is required to help you. We are all cooperating by sharing our knowledge. Accept with grace whatever responses you get, and don't hound people if they are helpful or they won't be the next time. * Sun Managers is not the list to use when you run out of other places to post. Job postings, PC questions, X questions all have their own lists and newsgroups. Use only the appropriate list or newsgroup for such things, not Sun Managers. Inappropriate postings will only make people annoyed at you. * The more information you give about a problem, the easier it is for others to help you. This doesn't mean you should uuencode the kernel and post it, but you should include your OS version, your hardware, and all relevant symptoms of your problem. Unless the request is of a general nature, the output of "uname -a" is almost certainly helpful. * When making a summary, please summarize as much as possible all the answers you received, even the ones you didn't decide to follow: if you receive several different suggestions, and decided on one, remember that somebody else reading the summary may not find the suggestion you followed to be the best one in his or her situation, and may benefit from one of the suggestions you didn't choose. * Be generous. If you have the information requested (especially if it is obscure) then please respond. You may be the person requesting help next time. _________________________________________________________________ 1.5) What other forums are there for Suns? Other forums that relate to Suns: USENET Newsgroups (accessible via "rn", "readnews", "nn", netscape, etc.): There is an entire USENET hierarchy devoted to Sun equipment. Some of these groups include: * comp.sys.sun.admin - Sun system administration * comp.sys.sun.announce - Announcements pertaining to Sun equipment * comp.sys.sun.apps - Applications that run on Suns * comp.sys.sun.hardware - Sun hardware (and clones too, I think) * comp.sys.sun.misc - Miscellaneous * comp.sys.sun.wanted - Sun stuff to buy or sell Other newsgroups that may also be of interest: * comp.unix.solaris - Solaris on all platforms * alt.sys.sun - may not be available everywhere * comp.sys.sun - newsgroup equivalent of sun-spots * comp.sources.sun - Sun-specific sources (not very active) Mailing lists: Sun Flash (Sun Product Announcements/news releases) sunflash-request at sunvice.East.Sun.COM - add/remove requests SunHelp (Discussion/help/chat about Sun machines and Software) http://www.sunhelp.org/mailman/listinfo/sunhelp Rescue (Rescuing old Sun equipment from the dump) http://www.sunhelp.org/mailman/listinfo/rescue Sunergy (Sun Commercial Newsletter) sunergy_information at Sun.COM - add/remove requests Suns-at-home (Home use of Sun Workstations) Suns-at-Home-Request at net-kitchen.com - add/remove requests Suns-at-Home at net-kitchen.com - submissions Suns-at-Home-Archives at net-kitchen.com - archive requests ssa-managers (Sun RAID software and hardware products) majordomo at eng.auburn.edu - add/remove requests (e.g. send "subscribe ssa-managers" in message body) veritas-users (Veritas products) http://mailman.eng.auburn.edu/mailman/listinfo CIAC notes (US. DOE Computer Incident Advisory Capability) ciac-listproc at llnl.gov - add/remove requests listmanager at cheetah.llnl.gov - human list manager CERT Advisory mailing list (security notifications for Suns and others) cert-advisory-request at cert.org - add/remove requests Solaris on Intel-based (x86) machines http://groups.yahoo.com/group/solarisx86/ Old list archives at: http://www.egroups.com/list/solarisonintel/ Auspex: managers of Auspex NFS file servers auspex-request at princeton.edu - add/remove requests auspex at princeton.edu - submissions Solbourne: managers of Solbourne SPARC systems "info-solbourne" list majordomo at acsu.buffalo.edu - add/remove requests info-solbourne at acsu.buffalo.edu - submissions ftp://ftp.acsu.buffalo.edu/pub/misc/info-solbourne.tar.z archives disksuite-l: for users who use Sun's Solstice Disksuite software majordomo at lists.veritel.com.br - add/remove requests sysadm at veritel.com.br - list owner Linuxmanagers: for users of Linux, including Sun Linux. http://www.linuxmanagers.org NOTE: if you wish to be added to one of the above mailing lists, send mail to the REQUEST address! Do not send add requests to the main address! For Web pages, see the answer to question 2.4. _________________________________________________________________ 1.6) Where are the answers to questions about old Suns and old versions of Solaris? Those questions and answers used to be in this FAQ, but since they're no longer frequently asked, they've been moved elsewhere. The FAQ as of late 2005 contained information about pre-UltraSPARC suns and versions of Solaris before Solaris 8, and is available at ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq-2005. The FAQ as of late 2000 contained information about pre-SPARC suns, early SPARCstations, and SunOS 4.x, and is available at ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq-2000. _________________________________________________________________ 1.7) What fields can I use to filter Sun Managers email? The following headers will exist in any mail to the list: To: sunmanagers at sunmanagers.org List-Help: List-Post: List-Subscribe: , List-Id: The Sun Managers Mailing List List-Unsubscribe: , List-Archive: _________________________________________________________________ 2. Getting Help Over the Net _________________________________________________________________ 2.1) How do I find out what patches are available from Sun? If you have a software service agreement with Sun, you can use Sun's "SunSolve ONLINE" service to obtain patches. Check your service agreement for details. Many anonymous ftp sites have partial collections of patches. WARNING: if you ftp patches from an ftp site, you are trusting whomever put them there. To be absolutely safe, get your patches from a trusted source. Rik Harris maintains a WAIS archive (sun-fixes.src) of most available patch READMEs. The Sun User Group (SUG) CD ROM also has a collection of Sun patches. _________________________________________________________________ 2.2) * How do I get help migrating to Solaris? Start by reading the Solaris FAQ, maintained and posted periodically to comp.unix.solaris by Casper Dik . It can be obtained at http://www.science.uva.nl/pub/solaris/solaris2 Then go to the Solaris Security FAQ, maintained by John Pancharian and hosted by IT World at http://www.itworld.com/Comp/2377/security-faq/ Sun has a programme for developers/companies to migrate to Solaris. It's documented at http://advantage.sun.com/partners/10moves/. _________________________________________________________________ 2.3) How do I access Sun's documentation over the net? Sun has a web site devoted to documentation, at http://docs.sun.com _________________________________________________________________ 2.4) To which web sites can I go for help? This is not a complete list, but: First, see the answer to question 2.2. Sun's documentation is available at http://docs.sun.com You can search the Sun newsgroups at http://www.dejanews.com Sun-Managers Archives are described in the answer to question 1.3 above. Some sites suggested by Jeffrey Meltzer are: * SolarisGuide - http://www.solarisguide.com * SunHelp - http://www.sunhelp.org * SolarisCentral - http://www.solariscentral.org * SunGuru - http://www.sunguru.com * SunFreeware - http://www.sunfreeware.com TechTarget has a search engine at http://searchenterpriselinux.techtarget.com that also covers Solaris. Eric De Mund suggests the BigAdmin site run by Sun, at http://www.sun.com/bigadmin Alan Pae suggests Sun Country, at http://www.ilkda.com _________________________________________________________________ 3. Network Directory and Files Services _________________________________________________________________ 3.1) How do I use DNS for hostname resolution? In Solaris 2.x, this is easy: simply edit /etc/nsswitch.conf and put "dns" before (or instead of) nis or nisplus on the line that begins with "hosts:". For example, to look up hostnames first in the host file and then in the DNS, use "hosts: files dns" _________________________________________________________________ 3.2) How do I change NIS+ credentials for the root master server? If an NIS+ system is functioning correctly and only the root password and root private keys for the system need to be changed, follow these steps: 1) Login as root for the system and change the root password in the /etc/shadow file: {root}3% passwd passwd: Changing password for root New password: Re-enter new password: {root}4% 2) Change the system's private key in the cred table: {root}4% chkey -p Updating nisplus publickey database. Reencrypting key for 'unix.ramayan at bharat.i n'. Please enter the Secure-RPC password for root: Please enter the login password for root: {root}5% 3) If running replica server(s) then wait until the changes to the credential object table has been propagated to its replicas. This could be up to 2 minutes. 4) Change the system's /etc/.rootkey: {root}5% keylogin -r Password: Wrote secret key into /etc/.rootkey {root}6% The procedure above will work for any system -- root server, root replica, non-root servers, and all clients. The steps above change only the system's root password and private keys, not the public keys for the system. Thanks to Ronald W. Henderson . However, if you want to change all the root credentials, including the public key, follow these steps: Use the passwd command on the root master server to change the root password. But DO NOT follow this with a chkey -p to update the credentials for the root master server, because this will disable the entire NIS+ domain. The only way to recover from this is to rebuild the domain from scratch! It is possible to change the credentials of the root master server, but it is not easy. The procedure follows: To change the keys for the root master server do as follows: 1. use these commands in this order: nisupdkeys -CH master.server.name. groups_dir.domain.name. nisupdkeys -CH master.server.name. org_dir.domain.name. nisupdkeys -CH master.server.name. domain.name. (This CLEARS the public key for the HOST "master.server.name" in this directory.) 2. Kill rpc.nisd and restart it at security level O then run this command: nistbladm -R cname=master.server.name. cred.org_dir.domain.name. nisaddcred des 3. Shutdown and restart any replicas of org_dir.domain.name. at run level O nisping org_dir.domain.name. nisdupdkeys domain.name. nisupddkeys org_dir.domain.name. nisupdkeys groups_dir.domain.name. 4. Kill and restart all rpc.nisd servers at level O to security level 2. Note that changing a server's key affects all directory objects containing the key. Thanks to Rogerio Rocha and Sun INFODOC ID 2213 for this information. _________________________________________________________________ 3.3) When I compile something, errors occur saying _dlopen and other _dl routines can't be found. Why? You are probably trying to compile something statically. You must either include stub routines for the _dl routines, or you must link the C library (or -ldl) dynamically. The source code below provides do-nothing stubs for the routines in question. /* libdl stubs -- John DiMarco */ char *dgettext(domainname, msgid) char *domainname; char *msgid; { return(msgid); } void *dlopen(pathname, mode) char *pathname; int mode; { return((void *)NULL); } void *dlsym(handle, name) void *handle; char *name; { return((void *)NULL); } char *dlerror() { return(NULL); } int dlclose(handle) void *handle; { return(0); } _________________________________________________________________ 4. Window Systems _________________________________________________________________ 4.1) + What Window system GUIs are supported by Sun? Sun's default window system for Solaris is CDE; Gnome is also supported. Sun's Java Desktop System and the Sunray software for Linux uses Gnome. _________________________________________________________________ 5. Disks, Tapes and SCSI _________________________________________________________________ 5.1) * What sector/head/cylinders parameters should be used for a hard disk? The format program can almost always figure this out on its own by querying the drive, but if you wish, you can specify your own in /etc/format.dat. A format.dat file containing entries submitted by various people is available for anonymous ftp at ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/format.dat It is currently maintained by John DiMarco (jdd at cs.toronto.edu). New entries are welcome; mail them to sunmanagers-format at sunmanagers.org For SCSI disks on modern suns, a format.dat entry can be auto-generated using John DiMarco's scsiinfo program, available at ftp://ftp.cs.toronto.edu/pub/jdd/scsiinfo/. It will query the disk directly, and has an option to generate an appropriate format.dat entry. Finally, you can compute your own entry. For SCSI disks, any combination of cylinders, heads, and sectors that does not add up to more than the rated formatted capacity of the drive will normally work. A grossly different geometry may result in some slight performance degradation, but it should still work. The SCSI protocol hides most of the drive details from the host, and hence the host need not know much about the drive to format or use it. _________________________________________________________________ 5.2) * Can I replace an internal drive in a Sun with a higher capacity model? Yes, usually. If you purchase it from someone other than Sun, it is wisest to make sure that it is either a model of drive that is supported by Sun for that machine, or that it at least does not dissipate more heat than the hottest of the drives supported by Sun. The Sun Systems Handbook lists various drives supported on various models; you can query it on the web for modern Suns at http://sunsolve.sun.com/handbook_pub/Systems. For systems which are not maximally configured (e.g. there are empty internal drive bays), it might be safe to exceed this limit a bit, but caveat emptor. Disk drive heat dissipation/power figures are available on the drive's datasheet, available on the drive vendor's web site. The most relevant figure is the wattage indicated for "Read/Write" or "Seek". Unfortunately, different vendors report this in different ways; read the vendor's documentation to see what this figure indicates. This figure is sometimes indicated in amps at 5V and 12V; convert to watts by multiplying the voltage by the amperage in each case, and adding the two together. _________________________________________________________________ 5.3) Is it okay to disconnect or connect SCSI devices while powered on? On older machines (without onboard SCSI controllers), it is never a good idea to do this. You risk blowing a fuse on the CPU board, or part of the SCSI hardware. On newer machines (sparcstations and later), many people have done this regularly without problems. Halt the machine (sync;L1-A), remove or add the device, then continue. However, it is possible to blow the SCSI termination power fuse on the motherboard. If your machine hangs immediately on powerup unless the SCSI bus is externally terminated, this fuse may need to be replaced. Caveat Emptor. _________________________________________________________________ 5.4) How do I configure my sun to use Exabyte 4mm DAT tape drives? Add the following to /kernel/drv/st.conf: tape-config-list = "EXABYTE EXB-4200", "Exabyte 4mm EXB-4200", "EXBT-4200", "EXABYTE EXB-4200c", "Exabyte 4mm EXB-4200c", "EXBT-4200c" EXBT-4200 = 1,0x34,1024,0x0029,4,0x63,0,0,0,3; EXBT-4200c = 1,0x34,1024,0x0029,4,0x63,0,0x13,0,3; Exabyte also recommends that their 4mm tape drives have firmware revision levels of at least the following when used on suns: * EXB-4200 No restriction, but revision 148 or higher is recommended * EXB-4200c Level 149 minimum (mode select for compression) Thanks to Dave Hightower . _________________________________________________________________ 5.5) Why is tagged queueing a problem on my third-party disk? Tagged Command Queueing (TCQ) is an optional part of the SCSI-2 specification. It permits a drive to accept multiple I/O requests for execution later. These requests are "tagged" by a reusable id so that the drive and the OS can keep track of them. The drive can reorder these requests to optimize seeks. For more details, see the SCSI-2 specifications. A draft version is available at ftp://ftp.cs.toronto.edu/pub/jdd/scsi-doc/scsi2.10b.gz SunOS 4.x and earlier never uses tagged queueing. However, Solaris 2.x will make use of tagged queuing if the drive claims to support it. Unfortunately, some drive manufacturers have found it hard to design their drives to do tagged queueing properly, and this particular area has been a common source of bugs in drive firmware. If it is not possible to turn off tagged queueing in the drive that is causing the problem, Solaris 2.x can be told not to use tagged queueing at all, by putting the following line in /etc/system: set scsi_options & ~0x80 The "scsi_options" kernel variable contains a number of bit flags which are defined in /usr/include/sys/scsi/conf/autoconf.h. 0x80 corresponds to tagged queueing. However, this turns off tagged queueing for the entire machine, not just the problematic drive. Because tagged queueing can provide a significant performance enhancement for busy drives, this may not always be desirable. In Solaris 2.4 and later, it is possible to disable tagged queueing and set or clear other scsi options on a per-controller or per-drive basis. The appropriate technique is described in the esp(7) and isp(7) man pages. _________________________________________________________________ 5.6) Why don't third-party CD-ROMS work on my sun? When Sun first decided to add CD-ROM support, there were already a great number of systems in the field, all of which contained boot proms that expected to boot from disks with 512 byte sectors. Sun had to decide between replacing a whole lot of boot proms or finding a way to make a CDROM act like a disk with 512 byte sectors in order to support it as a boot device. They chose the latter approach. Many third party CD-ROM drives use 1024 or 2048-byte sectors, which causes the SCSI driver to see a "data overrun". When the driver asks for N "blocks" (which it thinks are 512 bytes each ) it gets more data back than it expected. Some CD-ROM drives can be told to use 512 byte sectors by setting a jumper, cutting a trace, or using a software command (mode select). Details vary widely, but if you are seeing a data overrun on a third party CD-ROM, then it is most likely doing 1K or 2K transfers and will need some work to be a boot device for a Sun. Thanks to Kevin Sheehan For more information about third-party CD-ROMS on Suns, consult the CD-ROM FAQ, maintained by Mike Frisch and Martin Hargreaves . It can be found on the World Wide Web at ""http://saturn.tlug.org/suncdfaq". A UK mirror is available at ""http://www.datamodl.demon.co.uk/suncd/". _________________________________________________________________ 5.7) What size and density parameters should I use for ufsdump with a high-capacity tape drive? The only purpose of the ufsdump size and density parameters is to let dump calculate the capacity of each tape and then decide for itself when it needs a new tape. If the filesystem you are dumping is larger than the tape, you will need to use more than one tape. But ufsdump can detect the end of media for all modern tape drives, and will automatically prompt for new tapes when needed, so as long as the size and density parameters indicate a tape as long as or longer than the one you're using, ufsdump will behave properly. Thanks to Niall O Broin _________________________________________________________________ 5.8) My floppy/cdrom device says "device busy". What do I do? The Volume Manager (vold) is probably holding the device open. You can access a floppy through the volume manager by typing "volcheck" and looking in /floppy/*. CD-ROMs don't require volcheck; just insert one and the volume manager should automatically notice, and mount it under /cdrom/*. Unmount by typing "eject floppy" or "eject cdrom", respectively. The Volume Manager can be configured by editing /etc/vold.conf. If you need to access a floppy or CD-ROM special device, however, you may need to turn off the volume manager. As root, type "/etc/init.d/volmgt stop". To turn it back on, type "/etc/init.d/volmgt start". _________________________________________________________________ 5.9) What software is available for CD-R/CD-RW? Commercial Software: GEAR by Elektoson - http://www.elektroson.com/ Young Minds - http://www.ymi.com/ - High-end integrated hardware/software solution Creative Digital Research - http://www.cdr1.com/ Joerg Schilling has developed an excellent cd recording package called cdrecord. This package should meet most needs. See http://www.fokus.gmd.de/research/cc/glone /employees/joerg.schilling/private/cdrecord.html for much more information, including supported hardware. Andy McFadden has an excellent CD-Recordable FAQ at: http://www.cdrfaq.org Thanks to Mark Belanger _________________________________________________________________ 5.10) Where is my disk space? The "du" and "df" commands disagree. If a process is holding open a file, and that file is removed, the space belonging to the file is not freed until the process either exits or closes the file. This space is counted by "df" but not by "du". This often happens in /var/log or /var/adm when a long-running process (e.g. syslog) is holding open a file. In the case of syslog, send it a HUP (e.g. kill -HUP ). You can use LSOF (ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof) to find which processes are holding open a particular file. Thanks to Stefan Voss and Michael R. Zika Under Solaris 2.6 and later, files which have been unlinked can still be accessed through the /proc interface. If a process is holding open such a file for writing, but it's inconvenient or impractical to kill the process or get it to close the file, you can free up the disk space by truncating (not removing) the file from under /proc; e.g., # cd /proc/1234/fd # ls -l c--------- 1 root 24, 12 Jan 1 11:33 0 c--------- 1 root 24, 12 Jan 1 11:33 1 c--------- 1 root 24, 12 Jan 1 11:33 2 --w------- 1 root 314159265 Jan 1 11:37 3 # : > 3 # ls -l c--------- 1 root 24, 12 Jan 1 11:33 0 c--------- 1 root 24, 12 Jan 1 11:33 1 c--------- 1 root 24, 12 Jan 1 11:33 2 --w------- 1 root 0 Jan 1 11:38 3 Thanks to Dan Astoorian Brian Poole writes: Another possible cause of df & du disagreeing is if the files are being 'hidden' under a mount. I ran into this recently where I had a large number of files in /tmp (from adding patches in single user mode) that were on the root partition. Thus when I was looking for them in multiuser mode, I couldn't find them because of the tmpfs overlay. I exported the root partition via NFS and upon mounting it found the hidden files and deleted them. _________________________________________________________________ 6. Resource Management and Performance Tuning _________________________________________________________________ 6.1) How do I tell what caused my machine to crash? The crash messages will usually be displayed on the console, and are usually logged to /var/adm/messages via syslog as well after a warm reboot. In older versions of Solaris, the "dmesg" command may also show crash messages. If your system repeatedly crashes with similar looking errors, try searching through the patch list on the Sun patch database for a description that matches your machine. In versions of Solaris 2 up to and including Solaris 2.6, uncomment the "savecore" line in the file /etc/init.d/sysetup to enable crash dumps. As of Solaris 7 and later, crash dumps are enabled by default; see the manual page for dumpadm(1M) for information on how to customize system dump configuration. To report a crash dump, you need a symbolic traceback for it to be useful to the person looking at it. Type the following: cd /var/crash/`hostname` echo '$c' | adb -k unix.0 vmcore.0 The "crash" utility can be useful for analyzing crash dumps for Solaris up to and including Solaris 8. "Crash" has been superseded by "mdb" (modular debugger) as of Solaris 8. Thanks to Dan Astoorian _________________________________________________________________ 6.2) What can I do if my machine slows to a crawl or just hangs? Try running "ps" to look for large numbers of the duplicate programs or processes with a huge size field. Some system daemons occasionally can get into a state where they fork repeatedly and eventually swamp the system. Killing off the child processes doesn't do any good, so you have to find the "master" process. It will usually have the lowest pid. Another useful approach is to run vmstat to pin down what resource(s) your machine is running out of. You can tell vmstat to give ongoing reports by specifying a report interval as its first argument. The programs "top" and "sps" are good for finding processes that are loading your system. "Top" will give you the processes that are consuming the most cpu time. "Sps" is a better version of "ps" that runs much faster and displays processes in an intuitive manner. Top is available at ftp://ftp.groupsys.com/pub/top/. Sps is available at ftp://ftp.csv.warwick.ac.uk/pub/solaris2/sps-sol2.tar.gz. Doug Hughes has written a small, quick PS workalike called "qps", available from his web page at http://www.eng.auburn.edu/users/doug/second.html Sometimes you run out of memory and you won't be able to run enough commands to even find out what is wrong. You will get messages of the type "out of memory" or "no more processes". Note that "out of memory" refers to virtual memory, not physical memory. On a Solaris system, virtual memory is generally equal to the sum of the swap space and the amount of physical memory (less a roughly constant amount for the kernel) on the machine. The command "swap -s" will tell you how much virtual memory is available. You can sync the disks to minimize filesystem corruption if you have to crash the system: Use the L1-A sequence to crash the system. If you are on an older system, type "g0" and you will get the message "panic: ... syncing file systems". When you see the word "done", hit L1-A again and reboot. On systems with the "new" prom, type "n" to get into the new command mode and type "sync". _________________________________________________________________ 6.3) How do I find out how much physical memory a machine has? Use /usr/sbin/prtconf if the machine is running Solaris. If it's a sun4u running Solaris 8 or previous, /usr/platform/sun4u/sbin/prtdiag is very helpful. It's /usr/sbin/prtdiag in Solaris 9 and later. On high-end machines, /usr/sbin/cfgadm -al can also provide memory information. The banner message on reboot (or type "banner" in the monitor on machines with Openboot proms) will usually report the amount of physical memory. Alternatively, you can open up the case and count SIMMS and/or memory boards. A perl script "memconf" is also available that identifies the sizes and locations of SIMM/DIMM memory modules installed in a Sun system. It also works on several SPARC clones and with Sun Explorer data. It is maintained by Tom Schmidt . Download memconf from http://www.4schmidts.com/unix.html _________________________________________________________________ 6.4) How do I find out what my machine's memory is being used for? How can I tell if I need more memory? To discover how much virtual memory (i.e. swap) is free, run "swap -s" or "vmstat". If you're using tmpfs for /tmp, "df /tmp" will also work. Discovering how physical memory is being used can be more difficult, however. Memory pages that are not being used by processes are used as a sort of extended cache, storing pages of memory-mapped files for possible later use. The kernel keeps only a small set of pages free for short-term use, and frees up more on demand. Hence the free memory reported by vmstat is not an accurate reflection, for example, of the amount of memory available for user processes. An easy way to determine whether or not your machine needs more memory is to run vmstat and examine the po (page out) column and the sr (scan rate) column. If these columns consistently show large numbers, this suggests that your machine does not have enough memory to support its current workload, and frequently needs to write pages belonging to active processes to disk in order to free up enough memory to run the current job. _________________________________________________________________ 6.5) Why do some files take up more disk space after being copied? Why are the sizes reported by ls -l and du different? Some files -- core files being one common example -- contain "holes", areas which were seeked over without being written. These files are called "sparse". When read back, these areas appear to contain zeros; however they do not occupy disk space. The "length" of such a file (as reported by "ls -l") will exceed its "size" (as reported by "ls -s" and reflected in the results of du or df). cp, cpio, and tar do not detect holes; they read and copy the zeros, and the resulting files will contain all-zero blocks (which occupy space) where the input files contained holes (which do not). dump will detect holes in the dumped files, and restore will reproduce them. Thanks to Perry Hutchison GNU tar has an "-S" option which preserves holes, and Joerg Schilling's "star" has "-sparse" and "-force_hole" options which can be used to preserve and re-insert holes, respectively. star is available for download at ftp://ftp.fokus.gmd.de/pub/unix/star _________________________________________________________________ 7. HTTP and Anonymous FTP _________________________________________________________________ 7.1) * How do I set up anonymous ftp on my machine? See the ftpd man page, and follow its instructions. You will also need to set up nsswitch.conf in etc. However, you should consider using a different ftpd, such as http://www.wu-ftpd.org. Solaris "pkg" versions of proftpd and wuftpd are available at: http://metalab.unc.edu/pub/packages/solaris/sparc/ ftp://ftp.adelaide.edu.au/pub/4.3/ftpd-sirius.tar.Z The stock Sun ftpd will log some information if you add the "-l" flag in /etc/inetd.conf: ftp stream tcp nowait root /usr/etc/in.ftpd in.ftpd -l Warning: it will log passwords of ordinary users. Also enable syslogd by adding: daemon.info /var/adm/syslog to "/etc/syslog.conf". _________________________________________________________________ 7.2) + Where can I get a Web server for Solaris? The open-source Apache web server and related tools are available on the Solaris Software Companion CD, which is part of the media kit for the Solaris distribution. The contents of this CD are also available for free download at http://www.sun.com/software/solaris/freeware. Apache binaries can also be retrieved from the following sites and many others: * http://www.sun.com/software/solaris/freeware * ftp://metalab.unc.edu/pub/packages/solaris/sparc/ * http://www.gnu.org/order/ftp.html * http://sunfreeware.com The Sun Java System Web server is available for download from Sun at http://www.sun.com/software/products/web_srvr/home_web_srvr.xml; the Sun Java System Application Server is available for purchase from Sun at http://www.sun.com/software/products/appsrvr. _________________________________________________________________ 8. Consoles, Keyboards and Key Remapping _________________________________________________________________ 8.1) How do I make the numeric keypad on a sun keyboard work with xterm? You need to patch the /usr/lib/X11/app-defaults/XTerm and $OPENWINHOME/lib/app-defaults/XTerm files as described in sun patch 100713-01 or later. Thanks to Margarita Suarez _________________________________________________________________ 8.2) How do I swap the CAPS LOCK and CONTROL keys on a sun keyboard? There are two ways to do it, one with xmodmap (for X11 only), and the other using keytables. Margarita Suarez suggests editing $OPENWINHOME/etc/keytables/US5.kt. There are two places where keys 119 (CapsLock) and 76 (Control) should be swapped: the MODMAP section and the KEYSYMMAP section. The latter is most important, because that's where the "Pseudo-Lock" function (which controls the locking behaviour of the key) is defined. Doug Hughes suggests using xmodmap with the following: remove Lock = Caps_Lock remove Control = Control_L keysym Control_L = Caps_Lock keysym Caps_Lock = Control_L add Lock = Caps_Lock add Control = Control_L In X11, you can change your keyboard layout as you please using the xkeycaps application, which allows you to edit and remap your keyboard on the fly, as well as save configurations to be sourced by xmodmap. xkeycaps is available from http://www.jwz.org/xkeycaps/ and in the contrib section of your friendly X11 source archive. Thanks to Dan Pritts for the info on xkeycaps. _________________________________________________________________ 8.3) How do I use a Windows PC for a Sun serial console? Wire up a serial cable from the Sun's serial cable to one of the PC serial ports. PC serial ports are usually (but not always) DB9 (9-pin), while Sun serial console ports are usually (but not always) 25-pin (DB25). You generally need to connect them through a "null modem adapter". For more information on serial ports, see Sunhelp's UNIX serial port resources page, at http://www.sunhelp.org/unix-serial-port-resources The next problem is that the version of Hyperterminal which comes with some versions of Windows cannot generate a BREAK signal. You can obtain a new version of Hyperterminal from http://www.hilgraeve.com/htpe/index.html There are many free alternative terminal programs. Special mention should be made of TeraTerm: http://hp.vector.co.jp/authors/VA002416/teraterm.html which has been updated with SSH support as Teraterm Pro, which is available from http://www.ayera.com/teraterm For newer suns which support ALOM, a serial or telnet connection to the ALOM is generally preferable. A pinout of the serial RJ-45 ALOM connector can be found in Sun's "Sun Advanced Lights Out Manager (ALOM) 1.6 Administration Guide". Thanks to Harvey Wamboldt _________________________________________________________________ 9. Sun models and OS Versions _________________________________________________________________ 9.1) * Which Sun models run which versions of SunOS? SunOS 5.x = Solaris 2.x Sun dropped the "2." when Solaris (2.)7 came out. i.e. Solaris 7 = "Solaris 2.7" = SunOS 5.7, Solaris 8 = "Solaris 2.8" = SunOS 5.8 and so on. In the following list, the specified OS is the earliest supported on the specified hardware. Some CPU modules may require later OS versions than listed. * Ultra 1 model 140, 170: Solaris 2.5 * Ultra 1 model 140E, 170E, 200E: Solaris 2.5.1 * Ultra 2: Solaris 2.5.1 * Ultra 5,10,30,60,250,450: Solaris 2.5.1HW1297 or Solaris 2.6HW0398 * Ultra Enterprise: Solaris 2.5.1 * SunBlade 100, SunBlade 1000: Solaris 8HW1000 * SunBlade 150: Solaris 8 5/03; Solaris 9 4/03 * 3800, 4800, 4810, 6800: Solaris 8HW0401 * B100s: Solaris 8 12/02, Solaris 9 4/03 * V100: Solaris 8 2/02 * V120: Solaris 8 10/01 * V210, V240: Solaris 8 12/02, Solaris 9 4/04 * V250: Solaris 8 7/03, Solaris 9 8/03 * 280R: Solaris 8 2/02, Solaris 9 12/02 * V440: Solaris 8 7/03, Solaris 9 12/03 * V490,V890: Solaris 8 2/04, Solaris 9 4/04, Solaris 10 3/05 * V880: Solaris 8 10/01, Solaris 9 4/03 * E2900,E4900,E6900: Solaris 8 2/04, Solaris 9 4/04, Solaris 10 3/05 * B200x, v20z, v40z: Solaris 9 x86 4/04 * v20z,v40z single-core: Solaris 10 x86, Solaris 9 HW 4/05 x86 * v20z,v40z dual-core: Solaris 10 x86, Solaris 9 HW 9/05 x86 * X2100: Solaris 10 x86 * X4100,4200: Solaris 10 x86 3/05HW1 * T1000: Solaris 10 1/06 * T2000: Solaris 10 3/05HW2 9.2) How can my program tell what model Sun it is running on? On older suns, the model type is encoded in the hostid, and /usr/sbin/prtconf will reveal the model type. "Suntype", written by John DiMarco (jdd at cs.toronto.edu) is a shell script which does the appropriate thing on all suns. It is available for anonymous ftp at ftp://ftp.cs.toronto.edu/pub/jdd/suntype Alternatively, grab Michael Cooper's "sysinfo" program, which provides all sorts of information about a given system, including the machine type. sysinfo is available on the web at http://www.magnicomp.com/, although it is now a commercial product that is free only for educational and non-profit organizations. _________________________________________________________________ 9.3) How do I find out a Sun's boot prom revision? Type "banner" at the prom, or type "/usr/sbin/prtconf -V" to determine the prom revision of a particular machine. Alternatively, grab Michael Cooper's "sysinfo" program, which provides all sorts of information about a given system, including the prom revision. sysinfo is available on the web at http://www.magnicomp.com, although it is now a commercial product that is free only for educational and non-profit organizations. _________________________________________________________________ 9.4) * Which hardware/software is capable of 64-bit? Which is only 64-bit? How can I tell which is running? All UltraSPARC and SPARC64 (Primepower) hardware is capable of running in 64-bit mode; earlier SPARCs (HyperSPARC, SuperSPARC, etc.) are 32-bit only. Only some UltraSPARC-I, UltraSPARC-II, and UltraSPARC-II-i systems are capable of both 32-bit and 64-bit operation; later UltraSPARC systems are 64-bit only. Early UltraSPARC-I hardware (up to 200MHz) suffers from a bug where, in 64-bit mode, a certain code sequence can cause the processor to stall, and thus UltraSPARC-I machines run in 32-bit mode by default. To allow a 64-bit kernel on such a machine, edit/create /platform//boot.conf and add the line: ALLOW_64BIT_KERNEL_ON_UltraSPARC_1_CPU=true All Sun Opteron hardware is capable of both 64-bit and 32-bit operation, but Solaris x86 on some Opteron models (X2100, X4100, X4200) runs in 64-bit mode only. Sun Xeon and Pentium-III hardware are capable only of 32-bit operation. "isainfo -kv" or "isainfo -b" will indicate whether a system is running in 32-bit or 64-bit mode. _________________________________________________________________ 10. Miscellaneous Software _________________________________________________________________ 10.1) My remote ufsdump is failing with a "Protocol botched" message. What do I do? The problem produces output like the following: ... DUMP: Dumping /dev/rsd0a (/) to /dev/nrst8 on host foo DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 8232 blocks (4.02MB) on 0.00 tape(s). DUMP: Protocol to remote tape server botched (in rmtgets). rdump: Lost connection to remote host. DUMP: Bad return code from dump: 1 This occurs when something in .cshrc (or .profile) on the remote machine prints something to stdout or stderr (eg. stty, echo). The remote ufsdump command doesn't expect this, and chokes. Other commands which use the rsh protocol (eg. rdist, rtar) may also be affected. The way to get around this is to add the following line near the beginning of .cshrc, before any command that might send something to stdout or stderr: if ( ! $?prompt ) exit This causes .cshrc to exit when prompt isn't set, which distinguishes between remote commands (eg. rdump, rsh) where these variables are not set, and interactive sessions (eg. rlogin) where they are. _________________________________________________________________ 10.2) * Where can I get a C compiler for Solaris? Sun's "Studio" compiler suite can be obtained at http://www.sun.com/software/products/studio. Various third-party commercial SPARC compilers are also available, including: * http://www.ghs.com * http://www.apogee.com * http://www.windriver.com * http://www.pgroup.com * http://www.intel.com (Solaris x86 only) The open-source GCC compiler and related tools are available on the Solaris Software Companion CD, which is part of the media kit for the Solaris distribution. The contents of this CD are also available for free download at http://www.sun.com/software/solaris/freeware Thanks to Eric Boutilier GCC binaries can be retrieved from the following sites and many others: * http://www.sun.com/software/solaris/freeware * ftp://metalab.unc.edu/pub/packages/solaris/sparc/ * http://www.gnu.org/order/ftp.html * http://sunfreeware.com More information on this topic is available at http://www.kevininscoe.com/geek/sun/compilesun/ Thanks to Kevin Inscoe _________________________________________________________________ 10.3) How do I read Microsoft Word documents on my Sun? You can obtain some of the raw content of the document by using the "strings" command. Note that Word documents (and documents produced by other Microsoft Office programs, like Excel) can sometimes contain hidden information that is not normally accessible from Word, but is visible using "strings" (this can be a good reason not to distribute documents in MS Office formats). It is possible to run some versions of Microsoft Word on your Sun, using Bochs, WABI, SoftWindows, WinCenter, WinDD, SunPC, or some other Windows integration product. You can use a word-processor that can import the various MS Word formats. For example, Word Perfect from Corel Corporation is capable of reading and saving in various MS Word formats. Word Perfect is available for several versions of UNIX, including SPARC/Solaris 2.x. Sun's StarOffice is available for various operating systems, including Solaris/SPARC, from http://www.sun.com/staroffice. OpenOffice is also freely available for Solaris x86 and SPARC from http://www.openoffice.org. From a PC/Mac, you can print postscript output to a file, and view the postscript on the Sun using docviewer or ghostscript/ghostview. Thomas Anders points out that LAOLA (a Perl4 package that can read Word6 and Word7 format is available on the web at http://user.cs.tu-berlin.de/~schwartz/pmh/. Another option (suggested by Thomas ) is a GPL-licensed command-line utility called "antiword". His mutt mailcap file is setup as follows: application/msword; antiword %s; copiousoutput; description="Microsoft Word Tex t"; nametemplate=%s.doc Antiword is available from http://www.winfield.demon.nl. _________________________________________________________________ 10.4) How do I restore to a different location the contents of a tarfile created with absolute pathnames? Tarfiles should not normally be created with absolute pathnames, only with relative pathnames. Do not type "tar c /path/name" to create a tar archive, type "(cd /path; tar c name)" instead. Note: if you do "(cd /path/name; tar c .)", you will indeed avoid absolute pathnames, but beware that the tarfile created may silently overwrite the permissions of the current directory when unpacked. That's OK if you unpack it via: "mkdir name; cd name; tar xf /my/tarfile.tar That's not OK if you unpack it via: "cd /tmp; tar xf /my/tarfile.tar" It's not OK because you will change the permissions of /tmp. If you do have an archive created with absolute pathnames, you can unpack it in a different location by using GNU's version of tar, which will strip off the leading /. Alternatively, you can use pax to strip off the leading /, as follows: pax -r -s '/^\///' and Stephen Kives _________________________________________________________________ 11. Miscellaneous Hardware _________________________________________________________________ 11.1) * How come my mouse occasionally doesn't work? If it is a mechanical mouse, it may need cleaning. Open up the bottom panel by rotating it, and remove the mouse ball. Clean the mouse ball. With a Q-tip, clean off any grime on the rotors inside the mouse. _________________________________________________________________ 11.2) How can I turn my old sun into an X-Terminal? You can simply replace the ttymon entry for the console in /etc/inittab with a command that starts up an X server. _________________________________________________________________ 11.3) * How can I use an SVGA monitor on my Sun? Some older suns use a 13W3 video connector, which looks something like this: ----------------- \ O O ::::: O / ------------- A simple adapter will connect a Sun to a SVGA multi-sync monitor, providing the monitor (like most better monitors these days) will accept composite sync and operate in 1152x900 66 Hz (or whatever output your sun produces) mode. (Check the manufacturer's data sheets, usually on the Web.) Similarly, adapters are available to connect Sun 13W3 monitors to PCs or newer Suns with SVGA connectors. Adapters are available from many vendors: search for 13W3 on Google. This and many other interesting facts about Sun video are answered in the Framebuffer FAQ, at one of: * http://www.uark.edu/sunfaq/FrameBuffer.html * http://bul.eecs.umich.edu/~crowej/sunfaq/FrameBuffer.html A related FAQ by the same person is the Colormap FAQ at one of: * http://www.uark.edu/sunfaq/ColormapFAQ.html * http://bul.eecs.umich.edu/~crowej/sunfaq/ColormapFAQ.html _________________________________________________________________ 11.4) Where can I find alternate pointing devices for my Sun? Bert N. Sure claims that Mousetrak makes an excellent line of pointing devices. The url is "">http://www.mousetrak.com". SunExpress (http://sunexpress.usec.sun.com) and Qualix (http://www.qualix.com) distribute them. Bert uses the top-of-the-line "Evolution" trackball, which has six user-definable buttons and a large ball which is manufactured by a billiard ball company in Belgium. For 3-D input, SunExpress (http://sunexpress.usec.sun.com) sells the SpaceBall 3003, in addition to the standard Sun "SunDials" product. Dan Pritts indicates that one can buy a box from sun called the sun interface converter for $75 that allows you to use a ps/2-style keyboard or pointing device, or both, and still use your sun keyboard or mouse. In particular, the sun interface converter supports the Microsoft "natural keyboard". _________________________________________________________________ 12. Networking _________________________________________________________________ 12.1) Why do both my net interfaces have the same ethernet address? The Ethernet version 2.0 specification (November 1982) states: The physical address of each station is set by network management to a unique value associated with the station, and distinct from the address of any other station on any Ethernet. The setting of the station's physical address by network management allows multiple multiple data link controllers connected to a single station to respond to the same physical address. This doesn't normally constitute a problem because each interface will typically be on a different subnet. If, for some reason, different ethernet addresses are required on different interfaces (for example, to attach two interfaces to the same subnet), a new one may be assigned using the ifconfig command. Alternatively, for all modern Sun hardware, you can set the "local-mac-address?" eeprom variable to "true", which will cause each NIC to use a unique MAC address. This is needed for many failover and trunking configurations. _________________________________________________________________ 12.2) How can I know the hardware vendor from an ethernet address? The first three octets of a six-octet ethernet address typically uniquely identifies the hardware vendor of the particular network interface card. This is called the "Organizationally Unique Identifier" (OUI). OUI information, including the most recent list of public OUIs can be found at http://standards.ieee.org/regauth/oui Note that it is possible that an unidentified OUI could be used, since vendors are not required to make their OUIs public, and many network interfaces, including Suns, can be configured to use a custom ethernet address, so there is no guarantee that the OUI will correctly identify the vendor. _________________________________________________________________ 12.3) * How do I set my ethernet interface to e.g. 100Mb full duplex? The answer to this question assumes you have an hme ethernet interface; similar techniques should work for other ethernet interfaces; consult the man page for the ethernet driver (e.g. if you have an eri driver, "man eri") for more details. If you are not sure which ethernet driver is in use, "ifconfig -a" will tell you. For example, if ifconfig -a shows e.g. "hme0", you have an hme ethernet interface. All of Sun's ethernet network interfaces faster than 10Mbits are capable of negotiating with a network switch; if this is working, the ethernet interface will automatically choose the fastest supported setting. However, this may not necessarily work with some networking gear, or there may be some other reason to choose a slower setting, e.g. cat3 wiring. If the two ends have different ideas about what mode the link is, you may see "late collision" messages, dropped packets, or complete failure. To force a particular mode, e.g. 100Mb FD, you can use ndd as follows: # turn off autonegotiation ndd -set /dev/hme adv_autoneg_cap 0 # turn on 100Mb full-duplex capability ndd -set /dev/hme adv_100fdx_cap 1 # turn off 100Mb half-duplex capability ndd -set /dev/hme adv_100hdx_cap 0 # turn off 10Mb full-duplex capability ndd -set /dev/hme adv_10fdx_cap 0 # turn off 10Mb half-duplex capability ndd -set /dev/hme adv_10hdx_cap 0 You may have to force the other end (e.g. switch) to use the same mode. Consult the manual for your switch. NB: Fast ethernet hubs are always 100Mb half-duplex, and ethernet hubs are always 10Mb half-duplex. If you have more than one hme card in your system, before issuing the above ndd commands, you need to first select the specific hme card you want to set. For example, to select hme2, type: ndd -set /dev/hme instance 2 Subsequent ndd commands to /dev/hme will only apply to hme2. If you want to force all the hme cards on your system to a specific mode at machine boot, you can set hme driver variables in /etc/system. For example, to force all hme cards on the system to use 100Mbit FD, put the following in /etc/system: set hme:hme_adv_autoneg_cap=0 set hme:hme_adv_100fdx_cap=1 set hme:hme_adv_100hdx_cap=0 set hme:hme_adv_10hdx_cap=0 set hme:hme_adv_10fdx_cap=0 _________________________________________________________________ 12.4) How do I find out what process is using a particular port? Ports are held open in the same way as files are, by file handles within the process. In most states, a port will also have a handle into another process on the other side of that connection. If you need to find out which process is holding open a particular port, run lsof (ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof) and grep for the port number. Thanks to Stuart Whitby _________________________________________________________________ 12.5) I have a lot of ports in WAIT states. Why? The state of sockets can be seen with the "netstat -a" command. When a process attempts to close an ESTABLISHED connection, the transition will show a number of WAIT states, depending on which stage of the shutdown the port is at. When the initial FIN is sent from side a) of the connection, side a) will change to FIN_WAIT_1, side b) will change to CLOSE_WAIT, and acknowledge the FIN packet. The acknowledgement causes side a) to change to FIN_WAIT_2. A socket will rarely be in FIN_WAIT_1 for more than a couple of seconds unless there is a problem with communications. In this state, data may still be sent from side b) to side a), but not vice versa. When side b) receives a close from the associated application, or the FIN_WAIT_2_FLUSH_INTERVAL is reached without data being sent, it will send a FIN and change to LAST_ACK. Side a) moves to TIME_WAIT upon receiving this FIN and acknowledges the packet, causing any references to this connection on side b) to disappear. The socket in TIME_WAIT will remain for twice the maximum segment lifetime (normally a total of four minutes) before dropping, in case dropped data packets are resent and misinterpreted by a new application on this port. Thanks to Stuart Whitby _________________________________________________________________ 13. Electronic Mail _________________________________________________________________ 13.1) * Where can I get a POP or IMAP server for my sun? The PINE email package comes with both a POP and an IMAP server. PINE can be found at http://www.washington.edu/imap. An old, unmaintained Berkeley popd can be found at ftp://ftp.cc.berkeley.edu/pub/pop (not recommended), and Casper Dik's enhanced version of this for Solaris is found at ftp://ftp.fwi.uva.nl/pub/solaris/. A POP server can also be found as part of the Eudora ftp repository, at ftp://ftp.qualcomm.com/quest/unix/servers. A faster alternative is the CMU Cyrus IMAP server, which changes the mailbox format to something that is more efficient. It can be found at ftp://ftp.andrew.cmu.edu/pub/cyrus-mail. The Courier IMAP daemon also takes a similar approach; it's available at http://www.courier-mta.org/imap. Finally, Dovecot takes an intermediate approach by using the standard mailbox format but adding some autogenerated index files; Dovecot is available at http://dovecot.org. If a commercial package is desired, there are many, including Sun's Internet Mail Server. See http://www.sun.com _________________________________________________________________ 14. Printing _________________________________________________________________ 14.1) + How do I get started with LP-style printing in Solaris? Printing is configured using the "lpadmin" interface, which is extensively documented. For a general overview, however, start with the basic principles of Solaris printing, documented at http://developers.sun.com/solaris/articles/basicprinting.html, and the Solaris printing FAQ, at http://www.freelab.net/unix/sun/solarisfaq/printfaq.html. More information about printing in Solaris is available at http://www.opensolaris.org/os/community/printing/history. _________________________________________________________________ 14.2) How do I configure a non-postscript printer for postscript? Use the Printer Compatibility Database at http://www.linuxprinting.org (http://www.linuxprinting.org/database.html) to find out if a ghostscript driver is available for your non-PS printer. Then you can use ghostscript to translate postscript to something the printer can understand. There are various "any2ps" scripts and packages around (apsfilter, cups, foomatic, magicfilter). Ghostscript and foomatic are bundled in Solaris 10. Apsfilter in particular is one of the most flexible filters available: the most recent version can be found at http://www.apsfilter.org. For Solaris 2.x or later, you will need to add a BSD-style printing package such as LPRng (http://www.lprng/org): the system-V-style "lp" printing package that comes with Solaris will not easily work with apsfilter. Thanks to Andreas Klemm for this information. A much older version of APSfilter was posted to comp.sources.misc as part of volume 42, and is available from a comp.sources.misc archive site (eg. ftp://ftp.uu.net/usenet/comp.sources.misc/volume42/apsfilter). If you are using Solaris, follow Alexander V. Panasyuk's instructions in http://cfauvcs5.harvard.edu/SetGSprinter4Solaris.html _________________________________________________________________ 15. Misc System Administration _________________________________________________________________ 15.1) I've forgotten the root password; how can I recover? You need to have access to the machine's console. 1. Note the root partition (e.g. /dev/sd0a or /dev/dsk/c0t3d0s0) 2. Hit STOP-A or L1-A (or, on an ASCII terminal or emulator, send a ) to halt the operating system, if it's running. 3. Boot single-user from CD-ROM (boot cdrom -s) or network install/jumpstart server (boot net -s) (NB: if it asks you for a prom password, see below.) 4. Mount the root partition (e.g. /dev/dsk/c0t3d0s0) on "/a". "/a" is an empty mount point that exists at this stage of the installation procedure. (mount /dev/dsk/c0t3d0s0 /a) 5. Set your terminal type so you can use a full-screen editor, e.g. vi. (you can skip this step if you know how to use "ex" or "vi" from open mode). If you're on a sun console, type "TERM=sun; export TERM"; if you're using an ascii terminal (or terminal emulator on a PC) for your console, set TERM to the terminal type (e.g. TERM=vt100; export TERM). 6. Edit the passwd file (/a/etc/passwd for SunOS 4.x, /a/etc/passwd.adjunct for SunOS 4.x with shadow passwords/C2 security), /a/etc/shadow for Solaris 2.x and remove the encrypted password entry for root 7. cd to /; Type "umount /a" 8. reboot as normal in single-user mode ("boot -s"). The root account will not have a password. Give it a new one using the passwd command. Thanks to Stefan Voss PROM passwords: Naturally, you may not want anyone with physical access to the machine to be able to do the above to erase the root password. Suns have a security password mechanism in the PROM which can be set (this is turned off by default). The man page for the eeprom command describes this feature. If security-mode is set to "command", the machine only be booted without the prom password from the default device (i.e. booting from CD-ROM or install server will require the prom password). Changing the root password in this case requires moving the default device (e.g. the boot disk) to a different SCSI target (or equivalent), and replacing it with a similarly bootable device for which the root password is known. If security-mode is set to full, the machine cannot be booted without the prom password, even from the default device; defeating this requires replacing the NVRAM on the motherboard. "Full" security has its drawbacks -- if, during normal operations, the machine is power-cycled (e.g. by a power outage) or halted (e.g. by STOP-A), it cannot reboot without the intervention of someone who knows the prom password. _________________________________________________________________ 15.2) How do I disable/remap STOP-A/L1-A? First, be sure you want to do this. If the problem is that users are halting and rebooting the machine, note that disabling STOP-A will merely prompt them to powercycle the machine (or remove and re-insert the keyboard plug) instead. This is actually worse. But if you're sure you want to do this, compile and run this little program. /* Enable or disable abort sequence. John DiMarco */ #include #include #include #include #ifdef FILENAME_MAX #include #include #else /* !FILENAME_MAX */ #include #include #endif /* !FILENAME_MAX */ #define ERR -1 #define DISABLE 0 #define ENABLE 1 #define KEYBOARD "/dev/kbd" main(argc,argv) int argc; char *argv[]; { static struct kiockey k; int fd, mode=ERR; if(2==argc){ switch(*(argv[1])){ case 'e': mode=ENABLE; break; case 'd': mode=DISABLE; break; } } if(ERR==mode){ printf("Usage: %s [enable|disable]\n", argv[0]); exit(1); } if(0>(fd=open(KEYBOARD, O_RDWR))){ perror(KEYBOARD); exit(1); } k.kio_tablemask = KIOCABORT1; k.kio_station=mode; (void)ioctl(fd, KIOCSETKEY, &k); printf("Abort sequence is now %s.\n", mode?"enabled":"disabled"); } Stefan Voss points out that in Solaris 2.6 or later, you can type "kbd -a enable|disable" or put "KEYBOARD_ABORT=enable|disable" in /etc/default/kbd. As of Solaris 2.6 with patch 105924-10 installed, Solaris 7 with patch 107589-02 installed, or Solaris 8, you can also set the abort sequence to the Alternate Break character sequence (" ~ ", with at least half a second between characters, and at most 5 seconds for the whole string) with the command "kbd -a alternate", or by putting "KEYBOARD_ABORT=alternate" into /etc/default/kbd. Alternatively, you can disable all break signals by putting the line: set abort_enable=0 into /etc/system, and rebooting. Thanks to Dan Astoorian _________________________________________________________________ 15.3) How do I manage services in Solaris 10 and later? Do I still make links in /etc/rc*.d? In Solaris 10 build s10_64 and later, Sun introduced the service management facility (smf) which makes /etc/init.d and /etc/rc?.d scripts "legacy". Management of the services is now done through svc* commands. The legacy init.d scripts are now specified as running in run-level "milestone". From the man pages: * /etc/rcS.d (milestone/single-user:default) * /etc/rc2.d (milestone/multi-user:default) * /etc/rc3.d (milestone/multi-user-server:default) Each service name is now named with a Fault Management Resource Identifier (FMRI) with the scheme "svc:". For example, the sendmail service would have be "svc:/network/smtp:sendmail". You can also abbreviate the FMRI by using the instance name (e.g. sendmail) or using the last parts of the service name like: * sendmail * :sendmail * smtp:sendmail To check all services in the machine, run "svcs -a". From the list, you can enable and disable services through "svcadm". To disable, use "svcadm disable [options] ". For example: svcadm disable svc:/network/smtp:sendmail or svcadm disable sendmail One useful option is "-t", to temporarily disable the service until reboot. To enable, use "svcadm enable [options] ". For example: svcadm enable svc:/network/smtp:sendmail Useful options are "-r" to enable the service including all dependencies, and "-t" to temporarily disable the service until reboot. Dependencies and other information on the service can be invoked via "svcs -l " As an alternative to using "ps" to check service processes, you can now use "svcs -p " to list the processes associated with the service. For further information, check the man pages on smf, svcs, svcadm and svcfg. Thanks to Neil Quiogue From warren.liang at cox.net Tue Feb 17 14:07:54 2009 From: warren.liang at cox.net (Warren Liang) Date: Tue, 17 Feb 2009 14:07:54 -0500 Subject: How to determine which Software Group is installed Message-ID: <20090217140754.ILB3W.71390.imail@fed1rmwml32> Hello: How could I tell which Software Group, for example, whether Entire Solaris Software Group plus OEM support, is installed on a Solaris 10 box? Thanks. Warren From warren.liang at cox.net Tue Feb 17 14:28:43 2009 From: warren.liang at cox.net (Warren Liang) Date: Tue, 17 Feb 2009 14:28:43 -0500 Subject: SUMMARY: How to determine which Software Group is installed Message-ID: <20090217142843.8961H.71831.imail@fed1rmwml32> Hello: Thanks for all the replies. The file to verify is: /var/sadm/system/admin/CLUSTER SUNWCreq -- Core System Support SUNWCuser -- End User System Support SUNWCprog -- Developer System Support SUNWCall -- Entire Distribution SUNWCXall -- Entire Distribution plus OEM support My original post is: How could I tell which Software Group, for example, whether Entire Solaris Software Group plus OEM support, is installed on a Solaris 10 box? Thanks. Warren From rmp.dmd1229 at gmail.com Wed Feb 18 12:09:00 2009 From: rmp.dmd1229 at gmail.com (rmp dmd) Date: Wed, 18 Feb 2009 12:09:00 -0500 Subject: Error on Flash Archive Message-ID: <61d255bb0902180909i33029dbbh541ab1bfbaf022d9@mail.gmail.com> I'm restoring from a flash archive on an NFS server. When I point to NFS location, I'm getting "ERRROR: Could not mount archive" I'm using Solaris 10 CD. The NFS server is Ubuntu 6.06.2. The flar has no problem. Is there something I'm missing? Thanks! Roehl From stanb at panix.com Wed Feb 18 16:04:28 2009 From: stanb at panix.com (stan) Date: Wed, 18 Feb 2009 16:04:28 -0500 Subject: Link problems n 5.5.1 Message-ID: <20090218210428.GA19168@teddy.fas.com> Yes, I know it's old :-). But we have control systems that are locked at this version. I am trying to update my Amanda backup system, and Amanda has broken compatibility between new and old versions, so if I upgrade the server, I have to drag all the ancient clients along for the rid. Right at the moment, I think I am close to getting the current version (2.6.10 built on this old version of Solaris, but it has been a long time since I did porting on a daily basis, and this is probably a rookie question, but I cannot remember. My compile is failing with unresolved symbols. The functions I need are in libiberty. But the only version of this that gets installed by the GCC and friends from SunFreeware is a .a version, not a .so version. I added -liberty to our linker command line in the Makefiles by hand, but the symbols are still not getting resolved. here is the command the Makefile is generating: gcc -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wformat-security -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-strict-aliasing -Wno-unknown-pragmas -g -O2 -fno-strict-aliasing -o genversion genversion.o .libs/versuff.o -L/usr/local/lib -L/usr/lib -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/openwin/lib ../gnulib/.libs/libgnu.a /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgthread-2.0.so -lpthread -lthread /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so -lsec -lc /usr/local/lib/libiconv.so -lresolv -lcrypto -lsocket -lnsl -liberty -R/usr/local/lib -R/usr/local/lib What do I need to do to request the linker to try to obtain the functions from the archive library? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From snrajeswari84 at yahoo.com Wed Feb 18 23:50:25 2009 From: snrajeswari84 at yahoo.com (Raji) Date: Thu, 19 Feb 2009 10:20:25 +0530 (IST) Subject: need book materials In-Reply-To: Message-ID: <589967.81569.qm@web94807.mail.in2.yahoo.com> Hello sir, Good Morning. I am working as a Lab Technician in Arulmigu Kalasalingam college of Engineering, Tamil Nadu. we need Sun Certification book materials to write SCSA, SCNA, SCJP exams for our college students. so I kindly request to send the pdf files in this mailid or send the books to our bellow collge address. Arulmigu Kalasalingam College of Engineering Anand Nagar, Krishnankoil - 626190 srivilliputtur, virudhunagar district. Advance Thanks S. Rajeswari --- On Fri, 13/2/09, sunmanagers-request at sunmanagers.org wrote: From: sunmanagers-request at sunmanagers.org Subject: sunmanagers Digest, Vol 23, Issue 8 To: sunmanagers at sunmanagers.org Date: Friday, 13 February, 2009, 11:48 PM Send sunmanagers mailing list submissions to sunmanagers at sunmanagers.org To subscribe or unsubscribe via the World Wide Web, visit http://www.sunmanagers.org/mailman/listinfo/sunmanagers or, via email, send a message with subject or body 'help' to sunmanagers-request at sunmanagers.org You can reach the person managing the list at sunmanagers-owner at sunmanagers.org When replying, please edit your Subject line so it is more specific than "Re: Contents of sunmanagers digest..." Today's Topics: 1. Netbackup 6.5 with Solaris 2.6 and 7 clients (Eric Rodger) 2. DISPLAY issue (Sal Serafino) 3. SUMMARY: DISPLAY issue (Sal Serafino) 4. Windows permission for Samba (Ajay.Gupta at fly.virgin.com) 5. language switcher in JDS (Jan M. Stankovsky) 6. ZFS and hw raid (Kantor, Spencer) 7. Virus Scan (Steven Dunton) 8. SUMMARY: WWNNs and WWPNs (Sengor) 9. serial number on a 5120? (David_Lowenstein at sd.vrtx.com) 10. SUMMARY: serial number on a 5120? (David_Lowenstein at sd.vrtx.com) 11. Weird perms issue (David McWilliams) ---------------------------------------------------------------------- Message: 1 Date: Tue, 10 Feb 2009 10:50:36 -0600 From: "Eric Rodger" Subject: Netbackup 6.5 with Solaris 2.6 and 7 clients To: Message-ID: <2D7CEF7F8F759C4AB79D7C46666F329C04CB5DBB at eusrcmw721.eamcs.ericsson.se> Content-Type: text/plain; charset="US-ASCII" Has anyone successfully found a netbackup client for Solaris 2.6 and Solaris 7 that works with Netbackup Server 6.5? I know it's not supported by Symantec, but figured someone here would have a solution. Thanks, Eric Rodger Ericsson ------------------------------ Message: 2 Date: Tue, 10 Feb 2009 13:00:18 -0500 From: Sal Serafino Subject: DISPLAY issue To: Sun Managers List Message-ID: <1234288818.6497.4.camel at zathura.cshl.edu> Content-Type: text/plain; charset="us-ascii" Hi all- Strange thing happening that I can't figure out. Running 5.10 on Ultra-45 patched to the latest. Whether using 'ssh -X' or 'xterm -display hostname:0' I can't get a window from a remote machine to display on my local desktop. Removed ~/.ICEauthority, .TTauthority, and ~/.Xauthority. Looged out, logged in again and it's not working. Removed files again and rebooted local workstation, but it's still not working. NEED to display remote process window on my workstation. I think it's something with the local Xserver because it's not tied to ssh and I can get the remote X clients to display on a [very inconvenient] alternate workstation. TIA, -Sal ------------------------------ Message: 3 Date: Tue, 10 Feb 2009 16:53:23 -0500 From: Sal Serafino Subject: SUMMARY: DISPLAY issue To: Sun Managers List Message-ID: <1234302803.1345.14.camel at zathura.cshl.edu> Content-Type: text/plain; charset="us-ascii" Thanks to Peter Kunst, Hong Duong, Sean Walmsley, Crist Clark, Matt Clausen, Mr. D R Hughes, Francisco Roque , John Hallman, and Rodney Rodgers for responding. Almost all said to 'xhost +' or 'ssh -X', but that wasn't the problem (as stated in my original post). And the Grammy goes to.... Sean Walmsley pointed out that Xsun was starting with "-nolisten" because of options in the service configuration. He says: svccfg -s x11-server setprop options/tcp_listen = true svcadm refresh x11-server I set "options/tcp_listen=true" but couldn't refresh x11-server (no such service). Instead, it worked fine once I logged out and then logged back in. Don't know what could have changed this in any recent patches. Can't remember the last time I *NEEDED* to export DISPLAY, but it used to work just fine and then it stopped. -----Forwarded Message----- > From: Sal Serafino > To: Sun Managers List > Subject: DISPLAY issue > Date: Tue, 10 Feb 2009 13:00:18 -0500 > > Hi all- > > Strange thing happening that I can't figure out. Running 5.10 on > Ultra-45 patched to the latest. > > Whether using 'ssh -X' or 'xterm -display hostname:0' I can't get a > window from a remote machine to display on my local desktop. Removed > ~/.ICEauthority, .TTauthority, and ~/.Xauthority. Looged out, logged > in again and it's not working. Removed files again and rebooted local > workstation, but it's still not working. NEED to display remote > process window on my workstation. > > I think it's something with the local Xserver because it's not tied to > ssh and I can get the remote X clients to display on a [very > inconvenient] alternate workstation. > > TIA, > -Sal ------------------------------ Message: 4 Date: Wed, 11 Feb 2009 10:52:31 +0000 From: Ajay.Gupta at fly.virgin.com Subject: Windows permission for Samba To: sunmanagers at sunmanagers.org Message-ID: Content-Type: text/plain; charset="iso-8859-1" Hi All, I am looking to give permission to samba shares from Unix servers to windows users. Currently, the users log in via AD and are not created at Unix end. The access mode of the Samba shares is not based on AD users and rather based on the permission at the Unix end. I googled in to find the right documentation to setup this configuration but nothing sounded to work for me. It would be of gr8 help if anyone can provide the process or point me to the documentation. Thank you Ajay Gupta Virgin Atlantic is still red hot in its 25th birthday year. Winner of Best Scheduled Airline to the USA, and Best Airline Business Lounge, find out more at www.virginatlantic.com/stillredhot ***************************************************************************** ****** Visit the Virgin Atlantic website for all the latest news and fantastic offers - http://www.virgin.com/atlantic. This email (and any attachments) may contain privileged and/or confidential information. If you are not the intended recipient please do not disclose, copy, distribute, disseminate or take any action in reliance on it. If you have received this message in error please reply and tell us and then delete all copies on your system. Any opinion on, or advice or information contained in this email is not necessarily that of Virgin Atlantic or its owners or officers. Virgin Atlantic shall have no liability (including in negligence) for any loss or damage that may arise in relation to this email (or any attachments to it) including viruses. Virgin Atlantic reserves the right to retain and monitor all email communications. Nothing in this email shall be deemed as forming or constituting a binding contract with, or representation on behalf of, Virgin Atlantic, its representatives, its clients or any member of the Virgin Group, unless expressly specified otherwise in writing. Virgin Atlantic Airways Limited. Registered office: Company Secretariat, The Office, Manor Royal, Crawley, West Sussex, RH10 9NU. Registered in England, company number: 1600117 ***************************************************************************** ******* ------------------------------ Message: 5 Date: Wed, 11 Feb 2009 16:56:16 +0100 From: "Jan M. Stankovsky" Subject: language switcher in JDS To: sunmanagers at sunmanagers.org Message-ID: <4992F520.3060800 at univie.ac.at> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Hello! After I installed UTF-8 I've got this language switcher attached to every window. Which is very annoying. How do I get rid of that. This is Solaris 10 with JDS. No, switching to locale C oder anything else is not an option... thanks jan ------------------------------ Message: 6 Date: Wed, 11 Feb 2009 16:13:08 -0500 From: "Kantor, Spencer" Subject: ZFS and hw raid To: "sunmanagers at sunmanagers.org" Message-ID: <8B6A9EC265011E4CB70F99C64426E8C20351B82980 at rrc-dte-exmb2.dte.telcordia.com> Content-Type: text/plain; charset="us-ascii" We recently obtained a Sun T5440 with four internal SAS 146GB disks. The system will house a large number of zones, not certain at this point if we'll be creating multiple LDOM's. The only additional external storage will be NAS devices, no SAN. My initial thought is to use the built-in hardware raid controller for the boot drive mirror (disks 0 & 1) and use ZFS for a storage pool comprising disks 2 & 3 as we prefer the flexibility ZFS provides. That said, would there be any advantage to creating a second hardware raid volume using disks 2 & 3 and then allocate space via ZFS, or bypass a second hw raid mirror and just create a zfs mirror pool. We're not yet prepared to us zfs as our boot device. Thanks. Spencer Kantor ------------------------------ Message: 7 Date: Wed, 11 Feb 2009 21:53:00 -0000 From: "Steven Dunton" Subject: Virus Scan To: Message-ID: <002801c98c93$1be3b9c0$53ab2d40$@org.uk> Content-Type: text/plain; charset="us-ascii" We don't usually think of Solaris & virus issues. However is there such a thing as a virus scanner for Solaris 9 (SPARC). If so any recommendations? Thanks in advance. ------------------------------ Message: 8 Date: Thu, 12 Feb 2009 11:05:25 +1100 From: Sengor Subject: SUMMARY: WWNNs and WWPNs To: sunmanagers Message-ID: <8417e52e0902111605k56b3891ag5698c91f8eb3dc2b at mail.gmail.com> Content-Type: text/plain; charset="us-ascii" Thanks to all who replied (Dennis, Phillip). Official answer from both Emulex and Qlogic is: Only targets (Arrays/VTLs/Filers) follow the "same Node WWN on all public FC ports", initiators (HBA cards) don't follow this convention/rule. So having different Node WWNs on the physically same HBA is "ok". ---------- Forwarded message ---------- From: Sengor Date: Mon, Jan 5, 2009 at 6:53 PM Subject: WWNNs and WWPNs To: sunmanagers Hi colleagues, Let's assume I've got a single HBA card with 2 fibre ports on it (in this case Emulex card). From what I've understood World Wide Port Names on such a card should be different and World Wide Node Name shold be the same according to the theoretical rules. # luxadm -e dump_map /devices/pci at 15d,600000/SUNW,emlxs at 1/fp at 0,0:devctl Pos Port_ID Hard_Addr Port WWN Node WWN Type ...... 3 1f0027 0 10000000c95d21eb 20000000c95d21eb 0x1f (Unknown Type,Host Bus Adapter) # luxadm -e dump_map /devices/pci at 15d,600000/SUNW,emlxs at 1,1/fp at 0,0:devctl Pos Port_ID Hard_Addr Port WWN Node WWN Type ...... 3 b0055 0 10000000c95d21ec 20000000c95d21ec 0x1f (Unknown Type,Host Bus Adapter) Does anyone know why the WWN Node numbers are different on the physically same card? Is this a Solaris driver issue or the manufacturer has not followed the theoretical standard of WWN Node being the same on each port of the same physical card? -- sengork -- sengork ------------------------------ Message: 9 Date: 12-Feb-2009 10:08:07 PST From: David_Lowenstein at sd.vrtx.com Subject: serial number on a 5120? To: sunmanagers Message-ID: Content-Type: text/plain; charset=US-ASCII Silly question, but I can't seem to find the serial number on a sun 5120. Sneep says "unknown" Do you know where it is on the chassis? I can't pull it from the rack right now to look on the top of it, but it doesn't seem to be on the back or front. ------------------------------ Message: 10 Date: 12-Feb-2009 10:26:55 PST From: David_Lowenstein at sd.vrtx.com Subject: SUMMARY: serial number on a 5120? To: sunmanagers Message-ID: Content-Type: text/plain; charset=US-ASCII Thanks to all who wrote. It's on the left front bezel as per the manual (rtfm I suppose is the lesson learned here) here's tfm: http://sunsolve.sun.com/handbook_pub/validateUser.do?target=Systems/SE_T5120/ SE_T5120 What I have on my left front bezel looks more like a part number than a serial number so it made me second guess whether it was really what I was looking for. ------------------------------ Message: 11 Date: Fri, 13 Feb 2009 13:18:07 -0500 From: David McWilliams Subject: Weird perms issue To: sunmanagers at sunmanagers.org Message-ID: <7d60773b0902131018s310c6ce6i5d7becb7d35f580 at mail.gmail.com> Content-Type: text/plain; charset="us-ascii" One of our Windows admins tried to 'fix' what he thought was a perms problem on one of our NetApp mixed qtrees. I've spent most of the day working on it and it looks to be solved, apart from an error we get while using a particular CAD application - Ideas from Siemens running on Solaris 10. We can save files, etc, but we get an error whenever it runs a file that has the SUID bit set. I did a truss -f on the script that starts the process and i get the following output. I appreciate any help anyone can give; 1740: read(0, " / u g s / n x i 5 / g e".., 8192) = 25 1740: read(0, 0x00023238, 8192) = 0 1740: close(0) = 0 1740: _exit(1) 1736: read(0, 0x000243EC, 5120) = 0 1736: ioctl(1, TCGETA, 0xFFBFBA9C) Err#22 EINVAL 1736: fstat64(1, 0xFFBFBB10) = 0 1736: fstat64(1, 0xFFBFB9B8) = 0 1736: llseek(0, 0, SEEK_CUR) Err#29 ESPIPE 1736: close(0) = 0 1736: write(1, " 0\n", 9) = 9 1728: read(10, " 0\n", 1024) = 9 1728: sigaction(SIGCLD, 0xFFBFAED8, 0xFFBFAF78) = 0 1728: waitid(P_ALL, 0, 0xFFBFAED8, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0 1728: sigaction(SIGCLD, 0xFFBFAED8, 0xFFBFAF78) = 0 1736: _exit(0) 1728: Received signal #18, SIGCLD, in read() [caught] 1728: siginfo: SIGCLD CLD_EXITED pid=1736 status=0x0000 1728: read(10, 0xFFBFB788, 1024) Err#4 EINTR 1728: lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF] 1728: setcontext(0xFFBFAA88) 1728: read(10, 0xFFBFB788, 1024) = 0 1728: ioctl(10, TCGETA, 0xFFBFB04C) Err#22 EINVAL 1728: sigaction(SIGCLD, 0xFFBFB4B0, 0xFFBFB550) = 0 1728: waitid(P_ALL, 0, 0xFFBFB4B0, WEXITED|WTRAPPED|WSTOPPED) = 0 1728: sigaction(SIGCLD, 0xFFBFB4B0, 0xFFBFB550) = 0 1728: close(10) = 0 1728: fork1() = 1742 1742: fork1() (returning as child ...) = 1728 1742: getpid() = 1742 [1728] 1742: lwp_self() = 1 1742: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF] 1742: getpid() = 1742 [1728] 1742: sigaction(SIGXFSZ, 0xFFBFBF10, 0xFFBFBFB0) = 0 1742: sigaction(SIGQUIT, 0xFFBFBF10, 0xFFBFBFB0) = 0 1728: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF] 1728: sigaction(SIGCLD, 0xFFBFBF28, 0xFFBFBFC8) = 0 1742: execve("/ugs/nxi5/geo/geomod.exe", 0x0005CE78, 0x0005CE80) 1742: *** cannot trace across exec() of /ugs/nxi5/geo/geomod.exe *** 1666: waitid(P_ALL, 0, 0xFFBFE378, WEXITED|WTRAPPED|WSTOPPED) (sleeping...) 1726: waitid(P_PID, 1728, 0xFFBFC6A8, WEXITED|WTRAPPED|WNOWAIT) (sleeping...) 1728: waitid(P_ALL, 0, 0xFFBFBF28, WEXITED|WTRAPPED|WSTOPPED) (sleeping...) *** I-DEAS VMI Diagnostic (fiinq_c) *** ---------------------------------------------------------------- *** Operating System Function - *** stat() on directory name failed : Permission denied (errno=13) *** ---------------------------------------------------------------- The executable that it refers to /ugs/nxi5/geo/geomod.exe is on a different qtree that was messed with, the perms on the file are 4755, which are correct. Slainte, *David* "Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life." ~ *Terry Pratchett , author, Discworld series* ------------------------------ _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers End of sunmanagers Digest, Vol 23, Issue 8 ****************************************** Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/ From chris.boler at sanpulse.com Thu Feb 19 10:37:39 2009 From: chris.boler at sanpulse.com (Chris Boler) Date: Thu, 19 Feb 2009 10:37:39 -0500 Subject: 280R jumpstart problem. Message-ID: Hi, I'm having problems trying to jumpstart an old 280R that I've inherited. I want Solaris 8 on it for some testing, but I've tried 9 too and that gives similar problems. Jumpstart configuration is fine, I think, it gets an IP then snoop reveals load of NFS activity as expected, then it hangs. Solaris 8 hangs at: ... se0 at ebus0: offset 1,400000 se0 is /pci at 8,700000/ebus at 5/serial at 1,400000 cpu0: UltraSPARC-III+ (portid 0 impl 0x15 ver 0x23 clock 900 MHz) Solaris 9 hangs at: ... se0 at ebus0: offset 1,400000 se0 is /pci at 8,700000/ebus at 5/serial at 1,400000 cpu0: UltraSPARC-III+ (portid 0 impl 0x15 ver 0x23 clock 900 MHz) PCI-device: SUNW,qlc at 4, qlc0 qlc0 is /pci at 8,600000/SUNW,qlc at 4 pseudo-device: fcp0 fcp0 is /pseudo/fcp at 0 fp0 is /pci at 8,600000/SUNW,qlc at 4/fp at 0,0 ssd0 at fp0: name w21000004cf58f264,0, bus address e8 ssd0 is /pci at 8,600000/SUNW,qlc at 4/fp at 0,0/ssd at w21000004cf58f264,0 PCI-device: usb at 5,3, ohci0 ohci0 is /pci at 8,700000/usb at 5,3 ssd1 at fp0: name w2100000c5007241e,0, bus address ef ssd1 is /pci at 8,600000/SUNW,qlc at 4/fp at 0,0/ssd at w2100000c5007241e,0 /pci at 8,600000/SUNW,qlc at 4/fp at 0,0/ssd at w21000004cf58f264,0 (ssd0) online Anyone seen anything similar ? Regards, Chris From rmp.dmd1229 at gmail.com Thu Feb 19 13:01:30 2009 From: rmp.dmd1229 at gmail.com (rmp dmd) Date: Thu, 19 Feb 2009 13:01:30 -0500 Subject: Planning for Solaris 10 Upgrade Message-ID: <61d255bb0902191001v4f76d152w669c23a151686403@mail.gmail.com> Hi Managers, We have an upcoming project to Upgrade our production Server from Solaris 9 to Solaris 10. Part of the objective is to ensure that applications and databases will run fine after the upgrade. We have customized applications that needed to be checked. I've come up with a high level plan but have some questions which I hope you can help me clear out. Please comment also on the plan, if you have some experience doing the upgrade. Thanks in advance! == I. First, is to create clone machine to perform "dry run" of the upgrade - use flar to create archive and restore. - use SUNFIRE V240 with 2x72G as the clone machine Questions: 1.can we restore flash archive created on SUNFIRE V400, SUNFIRE V40z, SUNFIRE V1280 to a SUNFIRE V240 2.Solaris Volume Manager is set-up on the production servers, do we need to do something before the flar archive? 3.There are some servers which are using SAN and cluster, how will this affect the flar archive? Do I need to do something before the flar archive and restore? Filesystem size used avail capacity Mounted on /dev/vx/dsk/bootdg/rootvol 14G 11G 3.1G 79% / /proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% /etc/mnttab fd 0K 0K 0K 0% /dev/fd /dev/vx/dsk/bootdg/var 14G 9.4G 4.9G 66% /var swap 29G 128K 29G 1% /var/run dmpfs 29G 0K 29G 0% /dev/vx/dmp dmpfs 29G 0K 29G 0% /dev/vx/rdmp swap 42G 13G 29G 32% /tmp /dev/vx/dsk/nfsdg/hanfs_fs 1.3T 206G 1.1T 17% /global/msgstor /dev/vx/dsk/bootdg/rootdg_26vol 519M 4.7M 462M 2% /global/.devices/node at 2 /dev/vx/dsk/bootdg/rootdg_16vol 519M 4.7M 462M 2% /global/.devices/node at 1 ** II. Then, perform the upgrade on test machine and test the applications Questions: 1. I've been reading and Live Upgrade ( http://www.sun.com/bigadmin/features/articles/live_upgrade.jsp) seems to be the way to do the upgrade? Are there other method? 2. What are the patches required on 5.9 to do live upgrade to Solaris 10? 3. How do upgrade for system using SAN? The same server mentioned above 4. What are the considerations for LiveUpgrade with cluster environment? 5. What are the fallback methods that we can use? III. Perform the upgrade on the actual server From mike at last.fm Thu Feb 19 13:13:48 2009 From: mike at last.fm (Mike Brodbelt) Date: Thu, 19 Feb 2009 18:13:48 +0000 Subject: NFS issue on Sun 7410 storage Message-ID: <499DA15C.5040903@last.fm> Hi Managers, We have a Sun 7410 storage system, and have been setting it up recently to store a Postgres database backup. The setup works exporting a directory to a Linux client with NFSv3, but we're trying to setup NFSv4 to increase performance. So, I've configured the idmap domain to be the same at both ends, and mounted the export on the Linux client. The mount options are sec=sys, rw, noatime, and all looks happy. Root squashing is disabled for this client (I've set up an exception on the 7410). As root on the client, I can create, chmod and chown files, and the ownership all looks fine. For the database to work, the files in question must be writable for the postgres user, and this is where I'm having trouble. When I "su - postgres", this is what I get:- $ id uid=106(postgres) gid=500(postgres) groups=500(postgres) $ ls -ld /db/data drwx------ 10 postgres postgres 24 2009-02-19 15:28 /db/data $ cd /db/data -su: cd: /db/data: Permission denied Any pointers appreciated. I'm sure this is some subtlety of the NFSv4 access controls we're missing, but I'm not sure what it is.... Thanks, Mike From uzee001 at yahoo.com Thu Feb 19 22:15:13 2009 From: uzee001 at yahoo.com (U Zee) Date: Thu, 19 Feb 2009 19:15:13 -0800 (PST) Subject: Sunfire 880 config problem with HP Autoloader - no dev files created Message-ID: <549149.49231.qm@web52510.mail.re2.yahoo.com> Hi Guys, We have a Sun server (Sun fire 880) , it was originally connected to StoredgeL9 library for backups and was using Solstice backup/Networker. We want to connect it to a HP Autoloader 1/8 G1 and configure Data Protector tool for backups (to replace Solstice backup/networker). After the HP Autoloader was connected, we executed steps provided by Data Protector in order to configure the tool. Part of that procedure is to get the scsi device information to put in the sst.conf file. The server doesn't seem to generate the appropriate device files which should be something like /dev/rsst*. Although the server does seem to recognize the device after devfsadm but no device files created. >From messages: Feb 12 18:43:06 LOCALHOST sst: [ID 902828 kern.notice] sst0: No response from target 1, lun 0 Feb 12 18:43:06 LOCALHOSTsst: [ID 902828 kern.notice] sst1: No response from target 1, lun 0 Feb 12 18:43:06 LOCALHOST sst: [ID 902828 kern.notice] sst2: found Sequential Access device at tgt1, lun0 Feb 12 18:43:06 LOCALHOST sst: [ID 902828 kern.notice] sst2: Vendor/Product ID = HP Ultrium 1-SCSI Feb 12 18:43:06 LOCALHOST scsi: [ID 193665 kern.info] sst2 at glm2: target 1 lun 0 Feb 12 18:43:06 LOCALHOST genunix: [ID 936769 kern.info] sst2 is /pci at 9,600000/scsi at 1,1/sst at 1,0 >From iostat -En: rmt/0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 6 Vendor: HP Product: Ultrium 1-SCSI Revision: E36R Serial No: c30Sp.24 LOCALHOST:/>cfgadm -al Ap_Id Type Receptacle Occupant Condition c0 scsi-bus connected configured unknown c0::/dev/lus unknown connected configured unknown c0::dsk/c0t6d0 CD-ROM connected configured unknown c1 fc-private connected configured unknown c1::21000004cf4cf852 disk connected configured unknown c1::21000004cf7f1799 disk connected configured unknown c1::21000004cf7f18a0 disk connected configured unknown c1::21000004cf7f18b2 disk connected configured unknown c1::21000004cf7f1cfa disk connected configured unknown c1::21000004cf8f0689 disk connected configured unknown c1::21000004cf8f0f2b disk connected configured unknown c1::21000004cf8f1023 disk connected configured unknown c1::21000004cf8f10e0 disk connected configured unknown c1::21000004cf8f11e5 disk connected configured unknown c1::2100000c507bcdbe disk connected configured unknown c1::2100001862bdba48 disk connected configured unknown c1::508002000016f569 ESI connected configured unknown c2 scsi-bus connected configured unknown c2::lus1 unknown connected configured unknown c3 scsi-bus connected configured unknown c3::lus2 med-changer connected configured unknown c3::rmt/0 tape connected configured unknown c4 fc-private connected configured unknown c4::210000e08b1e5cbc unknown connected unconfigured unknown c4::226000c0ff086321 disk connected configured unknown c4::226000c0ffa86321 ESI connected configured unknown c5 fc connected unconfigured unknown pcisch0:hpc1_slot0 fibre/hp connected configured ok pcisch0:hpc1_slot1 unknown empty unconfigured unknown pcisch0:hpc1_slot2 unknown empty unconfigured unknown pcisch0:hpc1_slot3 unknown empty unconfigured unknown pcisch2:hpc2_slot4 fibre/hp connected configured ok pcisch2:hpc2_slot5 unknown empty unconfigured unknown pcisch2:hpc2_slot6 unknown empty unconfigured unknown pcisch3:hpc0_slot7 unknown empty unconfigured unknown pcisch3:hpc0_slot8 mult/hp connected configured ok usb0/1 unknown empty unconfigured ok usb0/2 unknown empty unconfigured ok usb0/3 unknown empty unconfigured ok usb0/4 unknown empty unconfigured ok LOCALHOST :/> Here are the steps provided by DataProtector: 1. Template file "/opt/omni/spt/sst.conf" to be copied to "/usr/kernel/drv/sst.conf " 2. probe-sci-all command run to output the configuration of the robotic controller 3. Information added to the sst.conf file in the corresponding /usr/kernel directory as in sample: "name="sst" class="scsi" target=4 lun=0;" 4. Add the driver to the Solaris kernel and/or a reboot of system if necessary: add_drv sst After the last step, even though it returns the prompt, the device files are not there. I've heard that Solaris sometimes has issues with not being able to generate the symlinks from /devices to /dev and those symlinks then need to be manually created..?? I did execute a probe-scsi-all thru a local admin. Update: We had to connect the StoredgeL9 again to get backups, and we now have reconnected the Autoloader, but this time I dont even see the device recognized in the messages file. I just tried a fresh devfsadm -C and a reconfig reboot, but now add_drv sst gives this error.. Does it again need a probe-scsi-all even after a reconfig reboot?? LOCALHOST :/>add_drv sst devfsadm: driver failed to attach: sst Warning: Driver (sst) successfully added to system but failed to attach Currently the server is attached to the HP Autoloader, however Networker processes are still running. Now I don't see the device in iostat or messages file. Sorry for the length of the email but I'm trying to provide most of the information that someone would want to look at to better understand. Any help or advice would be greatly appreciated. Thanks uzee From sunhux at gmail.com Fri Feb 20 07:07:05 2009 From: sunhux at gmail.com (sunhux G) Date: Fri, 20 Feb 2009 20:07:05 +0800 Subject: Sun HA cluster or any Solaris DIY clustering solution Message-ID: <60f08e700902200407k64973e60t85cf5c0cb1f2177a@mail.gmail.com> We have 2 units of T5120s connected up to a common IBM DS4700 SAN. Have loaded them with identical Java applications on both boxes. Need some urgent help on Sun HA clustering : a)What else do I need to do to ensure that at any one time, one of the above two servers has write access to a file on the SAN? Would Sun HA cluster help with this? b) Is Sun HA free of charge? c) I've never tried setting up SUN HA cluster, so appreciate step by step instructions or a link that I can read this up Or any simple DIY solution (say using Shell scripts with NFS) would be most appreciated Thanks U From sunhux at gmail.com Fri Feb 20 07:21:31 2009 From: sunhux at gmail.com (sunhux G) Date: Fri, 20 Feb 2009 20:21:31 +0800 Subject: Summary: Sun equivalent of Redhat Satellite (for centralized patch management) Message-ID: <60f08e700902200421p52734b67p3a00f559273ba41b@mail.gmail.com> Thanks Brett, Musa and Maciej. Below are their replies : ********************************************************************************** > a) if it's free of charge or what's the initial cost (excluding the > hardware) > and the annual subscription like? > It is not free. There is an initial cost and an annual subscription, the costs vary on what OS is on the machines. > b) Is this limited to Recommended / jumbo patches only or any little > vulnerability that's just released will be addressed by this patch > management product > Any patch, package even your own custom packages and files. > c)suppose I have multiple versions of Solaris and several versions of Redhat > Linux in our environment, can it patch them all? > Yes. > d) I know Redhat Satellite requires annual subscription to Redhat, so > supposedly > this Sun product needs subscription to Redhat as well? > The sun product can use your Redhat support subscription to fetch the updates from Redhat and deploy them to your RHEL machines. You need a Sun support subscription to fetch the patches from sun > e)appreciate any comparison between Redhat Satellite vs this Sun product > I cannot give you one but we have been very happy with the Sun product. It allows us to manage our patching, baseline and report on machines in a simple and consistent manner. If you have a reasonable number of Sun machines then it is worth your while getting UCE to manage the patches though you may want to hold off trying to buy UCE because the functionality is apparently being rolling into the xVM Opscenter product. ======================================================== Hello U, Sun's current product based on now named 'xVM Ops Center'[1]. - I don't know what's the cost, I only know that it's not free - It's still under development - It can install any patchset you want (not only 10_Recommended) - It can manage configuration files, packages and patches - I can manage RedHat as well as Solaris, but I haven't managed any Linux systems with it The above features look nice, but my team decided not to use it after all. The main reason was lack of possibilities of integrating Ops Center with other bits of infrastructure. Sun seem to concentrate heavily on the GUI. The first version of Ops Center has a desktop application written in Java, which has a pretty cumbersome GUI. There is a command-line tool, but it's so slow, it's not actually usable. The second version of Ops Center (2.0?) has a better, web-based GUI, but it still lacks any API. There was some API for other bits of xVM, but I couldn't find anything relevant to the Ops Center (xVM seems to be suite of products, Ops Center is one of them). Link [2] shows something promising (com.sun.xvm.services.opscenter) but my company was asking Sun about Ops Center API for over half a year, and Sun haven't come up with anything concrete. The Ops Center API still seems to be only a promise. One more problem with Ops Center is that it doesn't support Live Upgrade. It brings the system to single user mode when patching. It wasn't acceptable in my infrastructure, and in effect I couldn't use Ops Center for patching. My team ended up not using Ops Center. Patching is done with a custom set of scripts (supporting only Solaris), configuration management is done with Puppet (supporting both Linux and Solaris). We haven't solved package management yet, the plan is to build a package repository based on CSW and a custom set of scripts to deploy packages. [1] http://www.sun.com/software/products/xvmopscenter/index.jsp [2] http://wikis.sun.com/display/xvmOC2dot0/List+of+Public+APIs Maciej =================================================== We tried to use sun connection/patch pro with Opsware. We didn't have much success but there were other factors not sun connection/patch pro. But you have to remember Sun connection/patch pro does not do recommended patch clusters. It checks each individual box and then checks the patchdiag.xref file and then applies the patches that are applicable to that box. So on V240 it might apply 200 patches but on T2000 it might only apply 100 patches. Sun connection/patch pro is all good but it depends heavily on Java. Each version of Sun connection/patch pro requires some basic Java version. If you applications on the server does not relies on specific version of Java then you can go ahead but if not then you have to look for workaround. The basic Sun connection/patch pro will connect directly to Sunsolve server, you will have to reconfigure it to point to your in house patching repo server. regards Nitin ================================================== There is a product called XvM OpsCenter, which is not free. You can get more information from http://www.sun.com/software/products/xvmopscenter/podcasts.jsp Another product, though not Sun based (nor supported by Sun) but is free is CFEngine: http://www.cfengine.org/about.php We had a demo of OpsCenter, which failed miserably in our environment (due to our improper utilization/installation of updates) but cfengine works fine And "yes", if you plan to implement OpsCenter, you will need a Redhat subscription in order to use the updates. Musa On Mon, Feb 16, 2009 at 11:50 PM, sunhux G wrote: > Hi, > > > Saw this : > > Sun has had a solution available for some time that can patch Solaris, > SuSE and Red Hat systems: > http://www.sun.com/service/sunconnection/index.jsp > Has anyone used the above Sun's product? > > Would like to know : > > a) if it's free of charge or what's the initial cost (excluding the > hardware) > and the annual subscription like? > > b) Is this limited to Recommended / jumbo patches only or any little > vulnerability that's just released will be addressed by this patch > management product > > c)suppose I have multiple versions of Solaris and several versions of > Redhat > Linux in our environment, can it patch them all? > > d) I know Redhat Satellite requires annual subscription to Redhat, so > supposedly > this Sun product needs subscription to Redhat as well? > > e)appreciate any comparison between Redhat Satellite vs this Sun product > > > Thanks > U From tammy-lists at wiztech.biz Fri Feb 20 17:14:20 2009 From: tammy-lists at wiztech.biz (Tammy A. Wisdom) Date: Fri, 20 Feb 2009 15:14:20 -0700 (MST) Subject: MII transceiver help needed In-Reply-To: <47416643.1421235167944170.JavaMail.root@lordsofacid.wiztech.biz> Message-ID: <210657413.1441235168060786.JavaMail.root@lordsofacid.wiztech.biz> Hi all, I am needing some direction if anyone has some on where to dig up MII transceivers these days? I need ones that are for copper & cant seem to find any. Long story short I now need two of them for one of our sun servers. If you happen to have one or two kicking around that you'd sell I'd defiantly be interested. Thanks --Tammy ****************************************************************************** Disclaimer: This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation. ****************************************************************************** From randrija at yahoo.fr Mon Feb 23 00:32:17 2009 From: randrija at yahoo.fr (rija randriamanana) Date: Sun, 22 Feb 2009 21:32:17 -0800 (PST) Subject: errors on server Netra T2000 Message-ID: <637178.17443.qm@web24701.mail.ird.yahoo.com> Hi all, do you know, how to erase those messages: WARNING: PCIe link width not set to x4 on J2201 !!!B (during the POST) # SUNW-MSG-ID: SUNOS-8000-4P, TYPE: Defect, VER: 1, SEVERITY: Minor # fmadm faulty B STATE RESOURCE / UUID -------- ---------------------------------------------------------------------- degraded dev:////pci at 7c0/pci at 0 B B B B B B a36e605a-3f10-c36d-a08d-ad0fc7b467fa -------- ---------------------------------------------------------------------- degraded dev:////pci at 7c0/pci at 0/pci at 8 B B B B B B a36e605a-3f10-c36d-a08d-ad0fc7b467fa I cleared the FMA but those errors still occur after rebooting the server. B Regards Rija From chris.boler at sanpulse.com Mon Feb 23 03:19:37 2009 From: chris.boler at sanpulse.com (Chris Boler) Date: Mon, 23 Feb 2009 03:19:37 -0500 Subject: UPDATE: 280R jumpstart problem. In-Reply-To: <559531dc0902200935s83e7ef9j7048ac9e18c261ad@mail.gmail.com> References: <559531dc0902200935s83e7ef9j7048ac9e18c261ad@mail.gmail.com> Message-ID: Thanks for the replies. Still no solution to jumpstarting Solaris 8, though. Solaris 10 jumpstarts fine, hence I don't think there's any problem with the jumpstart server setup. I have managed to install it, however, by booting Solaris 10 from the jumpstart server and installing 8. This gets a bit messy and I had to re-create /dev/ and /devices/ while booted from 10, and I then patched with the most recent Recommended set I could get, then I could boot into Solaris 8. This has enabled us to do the testing we need for now, but I'd still like to get it jumpstarting properly. Vikas pointed out that the hang seems to occur during the Qlogics probing which is the one on the motherboard, can't be removed. From what I've read the firmware for this is included in the OBP firmware, so I'm wondering if this is too new for the Solaris release. When I get a chance I might try patching the Solaris 8 mini-root on the jumpstart server with the newer Recommended set. Thanks, Chris. On Thu, Feb 19, 2009 at 7:37 AM, Chris Boler > wrote: Hi, I'm having problems trying to jumpstart an old 280R that I've inherited. I want Solaris 8 on it for some testing, but I've tried 9 too and that gives similar problems. Jumpstart configuration is fine, I think, it gets an IP then snoop reveals load of NFS activity as expected, then it hangs. Solaris 8 hangs at: ... se0 at ebus0: offset 1,400000 se0 is /pci at 8,700000/ebus at 5/serial at 1,400000 cpu0: UltraSPARC-III+ (portid 0 impl 0x15 ver 0x23 clock 900 MHz) Solaris 9 hangs at: ... se0 at ebus0: offset 1,400000 se0 is /pci at 8,700000/ebus at 5/serial at 1,400000 cpu0: UltraSPARC-III+ (portid 0 impl 0x15 ver 0x23 clock 900 MHz) PCI-device: SUNW,qlc at 4, qlc0 qlc0 is /pci at 8,600000/SUNW,qlc at 4 pseudo-device: fcp0 fcp0 is /pseudo/fcp at 0 fp0 is /pci at 8,600000/SUNW,qlc at 4/fp at 0,0 ssd0 at fp0: name w21000004cf58f264,0, bus address e8 ssd0 is /pci at 8,600000/SUNW,qlc at 4/fp at 0,0/ssd at w21000004cf58f264,0 PCI-device: usb at 5,3, ohci0 ohci0 is /pci at 8,700000/usb at 5,3 ssd1 at fp0: name w2100000c5007241e,0, bus address ef ssd1 is /pci at 8,600000/SUNW,qlc at 4/fp at 0,0/ssd at w2100000c5007241e,0 /pci at 8,600000/SUNW,qlc at 4/fp at 0,0/ssd at w21000004cf58f264,0 (ssd0) online Anyone seen anything similar ? Regards, Chris _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers -- - Vikas From aleks.feltin at sunsetwireless.fi Mon Feb 23 05:49:35 2009 From: aleks.feltin at sunsetwireless.fi (Aleks Feltin) Date: Mon, 23 Feb 2009 12:49:35 +0200 Subject: Distributed print queues Message-ID: <20090223104935.GA24936@dev.scms.fi> Hi Managers, I came that close now with my duties to touch a topic I am not very familiar with. I have been assigned a goal to research availability methods for Solaris printing. Namely, I thought about distributed queue, a class of printers. Goal is to have some kind of load balancing between queues pointing to remote printers so that if one printer fails, jobs will be submitted to available one. When faulty printer is recovered, jobs must start using it, e.g. perform a kind of failback. I wonder if anybody have already done something similar. P.S. I am bound to using either Solaris or BSD print services. TIA, -- A [demime 1.01b removed an attachment of type application/pgp-signature which had a name of signature.asc] From viswagop at in.ibm.com Mon Feb 23 06:06:06 2009 From: viswagop at in.ibm.com (Viswanathan Gopalakrishnan) Date: Mon, 23 Feb 2009 12:06:06 +0100 Subject: Removal of IPLANET DIRECTORY SERVER software Message-ID: Hello Managers I want to remove the IPLANET DIRECTORY SERVER software on solaris 9&10.Could you please give me step by step removal procedure. Thanks viswa Viswanathan Gopalakrishnan, Technical Service ProfessionalB - ITD b Global Delivery , India (Embedded image moved to file: pic19035.gif) + : DLF IT Park (DC1-1B-306, Extn: 20802), 1A/124 Shivaji Garden, Ramapuram, Chennai - 600089. India. ) : T: +91-44-22720802 , (M) : 91-9840912256B , : viswa.gop at in.ibm.com [demime 1.01b removed an attachment of type image/gif which had a name of pic19035.gif] From Jonathan.K.Adams.ctr at nga.mil Mon Feb 23 06:45:16 2009 From: Jonathan.K.Adams.ctr at nga.mil (Adams Jonathan K NGA-EGMC USA CTR) Date: Mon, 23 Feb 2009 06:45:16 -0500 Subject: Two Unrelated Questions - C Compiler for 5.10 & D2 Array Message-ID: <3035A6E5AF845F48991917D6F0277C599E8206@XCGWSH03.gold.rtgold.nima.mil> Here goes: Q1: I am trying to compile an ancient perl - 5.00503 on Solaris 10 for some old old old perl code I wont recognize my GCC under /usr/sfw or the SFWspro package under opt. Under GCC I get an error about not finding -ldb and the Sun compiler does not work at all with Perl. Q2: I have a pair of V240 servers and a pair of D2 array. Is it possible to share these arrays? The SCSI port configuration on the back of the arrays lead one to believe they are shareable. I have them running in single bus mode (all 12 disks visible) on one bus. When I connect both servers I get a series of SCSI Bus resets. I havent read any documentation that gives a definitive answer. Do I need to have SUN VTS working (I have not had much luck with it)? --Jon From fabiomiranda at ice.co.cr Mon Feb 23 10:21:07 2009 From: fabiomiranda at ice.co.cr (Fabio A. Miranda) Date: Mon, 23 Feb 2009 09:21:07 -0600 Subject: Solaris 10 / Netbackup I/O error on a SL-48 Message-ID: <49A2BEE3.6020005@ice.co.cr> Dear managers: I am having problems with Solaris 10, Netbackup 6.5.3 and SL-48 ( 2xFC). Certain media ( 3 of 50 brand new) is getting: Error tprm (pid=24322) cannot write image to media id 0033L4, drive index 0, I/O error I wonder if this is related to unmodified st.conf to meet SL-48 requeriment (if any) or this is something that can be tackled from Solaris or SL-48 side. thanks in advance, From aluoor at gmail.com Mon Feb 23 11:16:13 2009 From: aluoor at gmail.com (Sven) Date: Mon, 23 Feb 2009 17:16:13 +0100 Subject: C Shell: .cshrc color prompt Message-ID: <6317d8990902230816y226d2c29r992d91a0b34cd522@mail.gmail.com> Hi folks In my .cshrc there is # User Prompt set prompt="`/usr/ucb/whoami`@`hostname` $ " How to make the hole prompt red? There is documentation[0] but I didn't work for me. thanks cheers Sven Aluoor [0] http://understudy.net/custom.html#color_prompts From sunmanagers at freehome.ch Mon Feb 23 11:50:30 2009 From: sunmanagers at freehome.ch (sunmanagers at freehome.ch) Date: Mon, 23 Feb 2009 17:50:30 +0100 Subject: pkgadd -d within none Global Zone for sunfreeware package does not anymmore work Message-ID: Hi Sunmanagers I used the latest Recommended Cluster from Feb 2009 to patch my System with Solaris 10 Sparc (SunOS atos 5.10 Generic_138888-03 sun4u sparc SUNW,Ultra-4) with Zones. Within the Global Zone I created a link which points /usr/local to -> /opt/local/ . The reason for this was to be able to install within none Global Zones sunfreeware package. In the past this worked fine and I was able to install within a none Global Zone with pkgadd -d [package name] a package from sunfreeware. Since I patched the system with the latest Recommended Cluster this is not anymore working and if pkgadd command is launched following happens: # pkgadd -d libintl-3.4.0-sol10-sparc-local The following packages are available: 1 SMClintl libintl (sparc) 3.4.0 Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: all Processing package instance from libintl(sparc) 3.4.0 FSF Using as the package base directory. ## Processing package information. ## Processing system information. 2 package pathnames are already properly installed. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs. Installing libintl as ## Installing part 1 of 1. /usr/local/include/libintl.h ERROR: attribute verification of failed pathname does not exist /usr/local/lib/libintl.a ERROR: attribute verification of failed pathname does not exist /usr/local/lib/libintl.la ERROR: attribute verification of failed pathname does not exist /usr/local/lib/libintl.so /usr/local/lib/libintl.so.8 /usr/local/lib/libintl.so.8.0.2 ERROR: attribute verification of failed pathname does not exist [ verifying class ] ERROR: attribute verification of failed pathname does not exist ERROR: attribute verification of failed pathname does not exist ERROR: attribute verification of failed pathname does not exist ERROR: attribute verification of failed pathname does not exist Installation of partially failed. Now even I looked arround I could not find any hints regarding changes within pkgadd etc. which probably explains the behaviour. PS: By the way within the Global Zone as within a whole root Zone the installation of a sunfreeware package works perfect only within a spare root Zone it does not work. Could anybody point me to the correct direction/solution? Andrea From sunhux at gmail.com Mon Feb 23 18:52:25 2009 From: sunhux at gmail.com (sunhux G) Date: Tue, 24 Feb 2009 07:52:25 +0800 Subject: Newer Sparc hardware models that still support Solaris 8 Message-ID: <60f08e700902231552s27151757hefef69d053051e78@mail.gmail.com> We have a couple of E250/450 that's going to be end of hardware maintenance (Dec 2009) and we can't buy further maintenance support from Sun. As our legacy applications run on Solaris 8 and Oracle 8, we plan to get newer hardware models and just port over Solaris/Oracle 8 to the newer hardware. Any idea which models can still support Solaris 8? Can Oracle 8 run on Solaris 10? Thanks U From jdd at cs.toronto.edu Tue Feb 24 00:30:02 2009 From: jdd at cs.toronto.edu (John DiMarco) Date: Tue, 24 Feb 2009 00:30:02 -0500 (EST) Subject: IMPORTANT: Read this before posting to Sun-Managers Message-ID: <20090224053002.3D88D6E001A@apps0.cs.toronto.edu> Archive-name: sunmanagers-before-posting Last Updated: $Id: before.posting,v 1.21 2005/12/28 21:05:10 jdd Exp $ NOTE: This message is posted periodically to sunmanagers on behalf of all members of the Sunmanager's mailing list. Please read it carefully before posting. This document can be retrieved from: ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/before.posting Dear prospective sunmanagers poster, Before posting, please stop for a minute and consider whether or not your posting is suitable for Sunmanagers. The list is not intended for just any possible question related to managing Sun equipment or software. The only appropriate questions for Sun Managers are time-critical questions about Sun system management problems that are not answered in the manuals or system documentation, or in the Sunmanager's FAQ. In particular, the following kinds of postings are not appropriate: - Subscribe and unsubscribe messages. Point your web browser to http://www.sunmanagers.org instead. - Test messages of any sort. - Discussions about anything, including discussions about the list itself, or followups to any posting, with the exception of a single summary to one's own question summarizing the email responses. Use instead one of the Sun newsgroups, eg. comp.sys.sun.admin, comp.sys.sun.hardware or comp.unix.solaris. - Replies to any SunManagers posting, even if the reply is a separate question. Please send a separate message instead. - Postings not related to Sun equipment or software. Use the appropriate newsgroup or mailing list instead. For example, if your question concerns "sendmail", please consult the comp.mail.sendmail newsgroup or the www.sendmail.org website. - General UNIX or network questions. Use the appropriate newsgroup, eg. comp.unix.questions instead. - Postings that are not time-critical. Use one of the Sun newsgroups, eg. comp.sys.sun.admin, comp.sys.sun.hardware or comp.unix.solaris. - Questions answered in the FAQ. Read the FAQ instead. If you're not sure if the question is in the FAQ, please check before asking. You can find the FAQ at: ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq.html ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq - Questions that are answered in the manuals, http://docs.sun.com or system documentation. Read the manuals instead. If you're not sure if the question is answered in the manuals, please check first! - Job postings, requests for jobs, sales pitches, etc. Use the appropriate newsgroup instead. - Please, no postings in HTML, rich-text-format, Microsoft Word, Word Perfect, or any format that some people on the list would not easily be able to read. Also, please post in English only; most of our readers are not able to read other languages. - Please do not BCC (blind carbon copy) the list. Many of our list members depend on the list address appearing on incoming mail messages, so that they can automatically distinguish list traffic from other traffic. Please note that we are not saying these postings are necessarily "bad" or "stupid". They are not. They are merely inappropriate for this list. There are many other lists and newsgroups for which the question may be completely appropriate, and we encourage you to submit the posting there. Note also that your question may have been already answered in the past. Please spend a minute or two checking one of the Sunmanager's archives, for example, at http://www.sunmanagers.org, or one of the archive sites mentioned in the FAQ. Here's an example of an appropriate question: I have a SPARCserver 99 running Solaris 9.8.7 with the fizbozz patch and the jumbo kernel patch version 158. After I installed Futzbarworks version 3.2, the machine locks up every couple of hours. When it locks up, the following message appears on the console: zz0: out of futzbufs. Barworks table is full. I need to get this machine working as soon as possible. Please help! Send email and I will summarize to the list. To submit a question, email it to sunmanagers at sunmanagers.org. When you do this, please indicate all relevant information, including machine type, OS version and patches. Collect email replies, and then summarize them to the list. If your question was posted with a subject of "foobar", for example, then please post your summary with a subject of "SUMMARY: foobar". Why are we asking that only certain types of postings be submitted to the list? Very simply, the reason is this: we want the list to have a very short turnaround time, and the only reasonable way to do this is to keep it unmoderated. But this means that every message sent to the list ends up in the mailboxes of all the list members. To keep all the members of the list from being deluged by inappropriate messages, we need everyone's co-operation in ensuring that only appropriate messages are sent to the list. Please remember, Sunmanagers is a public forum: we have thousands of subscribers, all posts are archived on numerous archive sites, and these are searchable via various web engines. A great number of people will read your message. Keep in mind that the person reading your message may be your boss, your future boss, your customer, your seminar instructor, your colleague, or someone else that you work with today or may find yourself working with tomorrow. We do not want you to embarrass yourself by sending an inappropriate or poorly thought-out posting. Regards, John -- John DiMarco Sunmanagers Information Files Maintainer http://www.cs.toronto.edu/~jdd From Jonathan.K.Adams.ctr at nga.mil Tue Feb 24 08:47:50 2009 From: Jonathan.K.Adams.ctr at nga.mil (Adams Jonathan K NGA-EGMC USA CTR) Date: Tue, 24 Feb 2009 08:47:50 -0500 Subject: SUMMARY: (Partial) Two Unrelated Questions - C Compiler for 5.10 & D2 Array Message-ID: <3035A6E5AF845F48991917D6F0277C599E820A@XCGWSH03.gold.rtgold.nima.mil> Thanks to all who responded, especially John Stoffel and D. Ross-Smith Re: the D2 Array I was able to see the D2's with both servers by using the eeprom command to change the scsi-initiator id on one of the servers. Re: the C Compiler - I am still working the issue, but as Mr. Stoffel told me I am likely just missing the BerkelyDB where the compiler can see it. Original Posting: "Q1: I am trying to compile an ancient perl - 5.00503 on Solaris 10 for some old old old perl code I wont recognize my GCC under /usr/sfw or the SFWspro package under opt. Under GCC I get an error about not finding -ldb and the Sun compiler does not work at all with Perl. Q2: I have a pair of V240 servers and a pair of D2 array. Is it possible to share these arrays? The SCSI port configuration on the back of the arrays lead one to believe they are shareable. I have them running in single bus mode (all 12 disks visible) on one bus. When I connect both servers I get a series of SCSI Bus resets. I havent read any documentation that gives a definitive answer. Do I need to have SUN VTS working (I have not had much luck with it)?" Thx. From Crist.Clark at globalstar.com Tue Feb 24 15:39:14 2009 From: Crist.Clark at globalstar.com (Crist Clark) Date: Tue, 24 Feb 2009 12:39:14 -0800 Subject: "svcadm enable" for Next Reboot Message-ID: <49A3EA6D.33E4.0097.0@globalstar.com> I hope this is an easy one. How do I enable a service to start at the next reboot, but I don't want to actually start it now in the Solaris 10 SMF? I don't see an option for "svcadm enable" for this. I tried to go in and just set the "general/enabled" property of the service to "true" using the "svccfg" command, but to my surprise, that actually tried to start the service just like "svcadm enable" would. Is there a way within SMF to do this gracefully? From Roland.Rebstock at usi.com Tue Feb 24 17:18:49 2009 From: Roland.Rebstock at usi.com (Rebstock, Roland) Date: Tue, 24 Feb 2009 17:18:49 -0500 Subject: Issues with Solaris 10 x86 and ports not responding Message-ID: <94AC46A0B0369843B8680982BBC8FE2D028AD9DB@mds3aex07.USIEXCHANGE.COM> All, I have 2 Solaris 10x86 servers running a custom java application, periodically, these java engines stop responding.. Here are the symptoms server:> uname -a SunOS mdsuaah0r 5.10 Generic_127112-10 i86pc i386 i86pc >From a process level they are running via ps -ef user 5418 1 0 02:21:00 ? 10:49 /u01/jdk/jdk1.6.0_06/bin/java -DENGINEID=ENG_share_2_X -cp :../data:../../../li user 5057 1 0 17:04:36 ? 0:17 /u01/jdk/jdk1.6.0_06/bin/java -DENGINEID=ENG_share_1_X -cp :../data:../../../li >From a netstat -an | grep EST they are listening *.11061 *.* 0 0 49152 0 LISTEN *.11062 *.* 0 0 49152 0 LISTEN During normal operations, they respond/connect with a remote application and local telnet localhost 11061 or 11062. During the time of issues, all the above is the same however I can no longer telnet to localhost 11061 or 11062 successfully but netstat -an states "listen" Running a truss -fp pid shows the process is active. Normally within a hour the application starts to respond again and no application restart is required. Any ideas? RR From sanelson at gmail.com Tue Feb 24 18:00:32 2009 From: sanelson at gmail.com (Stephen Nelson-Smith) Date: Tue, 24 Feb 2009 23:00:32 +0000 Subject: Help with core dump Message-ID: Hi, Firstly, apologies if this isn't strictly within the remit of the list, but I figure it's better to ask for forgiveness than permission.... A client of ours doesn't have a Solaris subscription, but requires a core dump to be analysed. I don't have the skills to do this myself, and it doesn't make sense to spend hours / days learning to. If there's anyone on the list who could do this for me, I would be happy to subcontract the work. Please let me know if this is possible, and what would be involved. Thanks, -- Stephen Nelson-Smith Technical Director Atalanta Systems Ltd www.atalanta-systems.com From arvindhonline at gmail.com Wed Feb 25 07:17:03 2009 From: arvindhonline at gmail.com (arvindh l) Date: Wed, 25 Feb 2009 17:47:03 +0530 Subject: DISK ERRORS Message-ID: Hi ALL, Im running solaris in netra 440 machine with disk array (stor edge 3320) connected to it.In all my machines i see *disk errors*.Is there any way to avoid this.Will this affect. *Machine 1*: c0t8d0 Soft Errors: 0 Hard Errors: 1 Transport Errors: 42 c0t9d0 Soft Errors: 0 Hard Errors: 1 Transport Errors: 0 c0t10d0 Soft Errors: 0 Hard Errors: 1 Transport Errors: 2 c0t11d0 Soft Errors: 0 Hard Errors: 1 Transport Errors: 0 c0t12d0 Soft Errors: 0 Hard Errors: 1 Transport Errors: 0 c0t13d0 Soft Errors: 0 Hard Errors: 1 Transport Errors: 0 c1t8d0 Soft Errors: 0 Hard Errors: 1 Transport Errors: 10 c1t9d0 Soft Errors: 0 Hard Errors: 1 Transport Errors: 1 c1t10d0 Soft Errors: 0 Hard Errors: 1 Transport Errors: 6 c1t11d0 Soft Errors: 1 Hard Errors: 1 Transport Errors: 3 c1t12d0 Soft Errors: 0 Hard Errors: 1 Transport Errors: 0 c1t13d0 Soft Errors: 0 Hard Errors: 1 Transport Errors: 0 c3t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 c3t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 *Machine 2*: c0t13d0 Soft Errors: 0 Hard Errors: 2 Transport Errors: 8 c2t0d0 Soft Errors: 24 Hard Errors: 2 Transport Errors: 1 c3t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 c3t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 c1t8d0 Soft Errors: 1 Hard Errors: 0 Transport Errors: 0 c0t8d0 Soft Errors: 1 Hard Errors: 2 Transport Errors: 0 c0t9d0 Soft Errors: 0 Hard Errors: 2 Transport Errors: 14 c1t9d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 c0t10d0 Soft Errors: 0 Hard Errors: 2 Transport Errors: 26 c1t10d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 c0t11d0 Soft Errors: 0 Hard Errors: 2 Transport Errors: 23 c1t11d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 c0t12d0 Soft Errors: 0 Hard Errors: 2 Transport Errors: 40 c1t12d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 c1t13d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Please suggest me how can i clear all this. Regards, Arvindh.L From aleks.feltin at sunsetwireless.fi Wed Feb 25 08:46:31 2009 From: aleks.feltin at sunsetwireless.fi (Aleks Feltin) Date: Wed, 25 Feb 2009 15:46:31 +0200 Subject: SUMMARY: Distributed print queues In-Reply-To: <20090223104935.GA24936@dev.scms.fi> References: <20090223104935.GA24936@dev.scms.fi> Message-ID: <20090225134631.GA12202@dev.scms.fi> Thanks to all who answered. Counting possibilities to implement HA on a spooler side, we finally decided to implement it on Windows server side. Vast amount of answers contained CUPS as a keyword. On 23/02/09 12:49 +0200, Aleks Feltin wrote: >Hi Managers, > >I came that close now with my duties to touch a topic I am not very familiar >with. >I have been assigned a goal to research availability methods for Solaris >printing. Namely, I thought about distributed queue, a class of printers. >Goal is to have some kind of load balancing between queues pointing to remote >printers so that if one printer fails, jobs will be submitted to available >one. When faulty printer is recovered, jobs must start using it, e.g. perform >a kind of failback. > >I wonder if anybody have already done something similar. P.S. I am bound to >using either Solaris or BSD print services. > >TIA, >-- >A > >[demime 1.01b removed an attachment of type application/pgp-signature which had a name of signature.asc] >_______________________________________________ >sunmanagers mailing list >sunmanagers at sunmanagers.org >http://www.sunmanagers.org/mailman/listinfo/sunmanagers -- A [demime 1.01b removed an attachment of type application/pgp-signature which had a name of signature.asc] From jesse-carroll at usa.net Wed Feb 25 09:07:32 2009 From: jesse-carroll at usa.net (JESSE CARROLL) Date: Wed, 25 Feb 2009 09:07:32 -0500 Subject: SSH and ps Message-ID: <007NByogG6502S12.1235570852@cmsweb12.cms.usa.net> Interesting issue: I ssh to a system using either "ssh systemX" or "ssh -2 -X -L 2401:localhost:2401 systemX" (tunneling). In either case when I run "ps -ef" I only see my processes. If I run the ps command as root I see all the processes. If I connect to the console ps runs as normal. systemX is a remote system via a cable modem and router. The router is set to forware port 22 and 80 only. All other types of display (e.g. vi) appear norman and if I tunnel I can run Xwindows things (xterm). Any ideas? JC From dave.markham at fjserv.net Wed Feb 25 12:32:38 2009 From: dave.markham at fjserv.net (Dave Markham) Date: Wed, 25 Feb 2009 17:32:38 +0000 Subject: How to check HBA speed on solaris9 Message-ID: <49A580B6.70800@fjserv.net> Guys i've been trying to search on sunsolve, google plus looked through the docs for the HBA, but i can't find anywhere how to check its installed correctly and getting the right speeds. We have an oldish E220R and have just installed a PCI Ultra320 Dual SCSI card and attached an SL24 with 2 x LTO3 drives. In order to do this we put Solaris 9 09/05 release on the box so the mpt driver is used. I can see the mpt driver loaded but there is no /kernel/drv/mpt.conf file. I have added the tape drives with cfgadm and can see the correct channels and /dev/rmt entries as i'd expect. I just want some confidence and to find out where to check :- a) that the HBA is installed correctly and using the correct drivers etc b) that there are no speed issues with the HBA through configuration. Doing a ufsdump to the drives through the /dev/rmt/0cbn device i'm getting about 20mb/s on a 1gb file. Just seems rather slow to me, but is that the bus of the E220r ? Cheers From Crist.Clark at globalstar.com Wed Feb 25 13:46:58 2009 From: Crist.Clark at globalstar.com (Crist Clark) Date: Wed, 25 Feb 2009 10:46:58 -0800 Subject: SUMMARY: "svcadm enable" for Next Reboot In-Reply-To: <49A3EA6D.33E4.0097.0@globalstar.com> References: <49A3EA6D.33E4.0097.0@globalstar.com> Message-ID: <49A521A2.33E4.0097.0@globalstar.com> I got quite a few responses. Several suggested using legacy rc*.d scripts. Yes, that is an option, but I was asking about doing it all within SMF. A Darren Dunham helped me with the piece I was missing. The following works, # svcadm disable -t # svccfg -s setprop general/enabled=true Running that first "disable -t" command, even though the service is already disabled, tells the running SMF daemons not to start it up when you change the "general/enabled" property to "true." Precisely what voodoo does that, I am not sure. Also in my particular case, I could work around the problem. The service in question, NTP, will fail to start and fall into the "maintenance" state when started without the /etc/inet/ntp.conf file. So, I could enable the service without the configuration file, let it fall into maintenance, and then put the configuration file in place. The system will not clear the maintenance state without intervention or a reboot, so I could get away without the explicit temporary disable. Thanks for all of the responses. On 2/24/2009 at 12:39 PM, "Crist Clark" wrote: > I hope this is an easy one. How do I enable a service to start > at the next reboot, but I don't want to actually start it now > in the Solaris 10 SMF? > > I don't see an option for "svcadm enable" for this. I tried > to go in and just set the "general/enabled" property of the > service to "true" using the "svccfg" command, but to my > surprise, that actually tried to start the service just like > "svcadm enable" would. > > Is there a way within SMF to do this gracefully? From Matthew.Stier at us.fujitsu.com Wed Feb 25 16:52:20 2009 From: Matthew.Stier at us.fujitsu.com (Matthew Stier) Date: Wed, 25 Feb 2009 16:52:20 -0500 Subject: Packages needed to add SNMP to a Solaris 10 'core' configuration. Message-ID: <49A5BD94.6080507@us.fujitsu.com> I have a T5140 which is configured to support LDOMs. In the interest of minimizing the resources needed by the 'primary' domain, I loaded the 'core' cluster with a few tweaks. Now I want to add SNMP monitoring, I find I need to add a few additional packages, but apparently I haven't found them all. Anyone have a complete list of packages that need to be installed to add SNMP services? [demime 1.01b removed an attachment of type text/x-vcard which had a name of Matthew_Stier.vcf] From Mark.Andrews at cryptologic.com Thu Feb 26 09:55:05 2009 From: Mark.Andrews at cryptologic.com (Mark Andrews) Date: Thu, 26 Feb 2009 09:55:05 -0500 Subject: Solaris 10 x86 fibre channel kernel configuration Message-ID: Hello, We have a SunFire x4200 M2 server with four single-port fibre channel HBAs (Sun part# SG-XPCIE1FC-QF4) and Solaris 10 x86 update 5 installed along with the December 2008 Solaris 10 x86 recommended patch set. The fibre channel cards are connected to two Brocade 200e fibre channel switches, which provide a point-to-point connection between the SunFire server and two Storedge 3510 fibre channel disk arrays: SunFire x4200 M2 server w/ 4x single-port fibre channel HBAs > 2x Brocade 200e fibre channel switches > 2x Sun Storedge 3510 fibre channel disk arrays with hardware mirroring Mpxio is managing the multiple logical device paths to the luns defined on each disk array. It's all working very nicely with zero modifications to the base Solaris 10 installation. However, I have a question regarding the contents of the default fibre channel port driver configuration file (/kernel/drv/fp.conf). The top of the file contains the following entries: name="fp" class="fibre-channel" port=0; name="fp" class="fibre-channel" port=1; Do these entries represent the first two (of four) fibre channel cards? Do I have to add two additional entries for fibre channel cards two and three?: name="fp" class="fibre-channel" port=0; name="fp" class="fibre-channel" port=1; name="fp" class="fibre-channel" port=2; name="fp" class="fibre-channel" port=3; Thanks --------------------------------------------------------- Mark Andrews Senior UNIX and Weblogic Administrator Cryptologic Inc. 55 St Clair Ave West, 3rd Floor Toronto, Ontario Canada, M4V 2Y7 P: 416-545-1453, x5211 F: 416-545-1454 C: 416-710-0524 Skype: mark.t.andrews www.cryptologic.com This message, including any attachments, is confidential/or privileged and contains information intended only for the persons(s) named above. Any other distribution, copying or disclosure is strictly prohibited. If you are not the intended recipient or have received this message in error, please notify us immediately by reply email and permanently delete the original transmission from all of your systems and hard drives, including any attachments, without making a copy. From druzeu at au1.ibm.com Thu Feb 26 12:01:19 2009 From: druzeu at au1.ibm.com (Daniel Ruzeu) Date: Fri, 27 Feb 2009 04:01:19 +1100 Subject: AUTO: Daniel Ruzeu/Australia/IBM is out of the office. (returning 01/03/2009) Message-ID: I am out of the office until 01/03/2009. My delegates while on leave are Sreenivasan Manikoth My manager is Ben Fon. Note: This is an automated response to your message "sunmanagers Digest, Vol 23, Issue 13" sent on 27/2/09 1:57:48. This is the only notification you will receive while this person is away. From rmp.dmd1229 at gmail.com Thu Feb 26 15:16:41 2009 From: rmp.dmd1229 at gmail.com (rmp dmd) Date: Thu, 26 Feb 2009 15:16:41 -0500 Subject: Upgrading from Solaris 9 to 10 with Sun Cluster Environment Message-ID: <61d255bb0902261216m166ba73cp3c768425b1baa805@mail.gmail.com> Hi, We're planning to upgrade our production Server Solaris 9 to Solaris 10 with Cluster environment - veritas volume manager. The most obvious path is to use Live Upgrade but I'm not sure if there are special procedures for the Cluster environment. The bad thing is we do not have a development cluster environment. We only have the production so I'm taking as much information as I can. Any help will be greatly appreciated. Thanks! Roehl From jesse-carroll at usa.net Fri Feb 27 16:12:17 2009 From: jesse-carroll at usa.net (JESSE CARROLL) Date: Fri, 27 Feb 2009 16:12:17 -0500 Subject: SUMMARY: SSH and ps Message-ID: <423NBAVLR3686S19.1235769137@cmsweb19.cms.usa.net> Alas it turned out that the issues wasn't with SSH or ps. The poor old Ultra10 has developed some serious issues. Once (again) on the console I started getting bus errors. Guess I'll either abandon the old thing or maybe try to upgrade to Solaris 10 to see it it's any better. Many thanks to Casper Dik who tried his best to help me. ------ Original Message ------ Received: Wed, 25 Feb 2009 09:07:32 AM EST From: "JESSE CARROLL" To: Subject: SSH and ps Interesting issue: I ssh to a system using either "ssh systemX" or "ssh -2 -X -L 2401:localhost:2401 systemX" (tunneling). In either case when I run "ps -ef" I only see my processes. If I run the ps command as root I see all the processes. If I connect to the console ps runs as normal. systemX is a remote system via a cable modem and router. The router is set to forware port 22 and 80 only. All other types of display (e.g. vi) appear norman and if I tunnel I can run Xwindows things (xterm). Any ideas? JC From sunhux at gmail.com Fri Feb 27 22:39:56 2009 From: sunhux at gmail.com (sunhux G) Date: Sat, 28 Feb 2009 11:39:56 +0800 Subject: Summary: Newer Sparc hardware models that still support Solaris 8 Message-ID: <60f08e700902271939x23e6c64anab83de56cd36ca97@mail.gmail.com> Thanks a lot, extracted below the replies : You just need to use Solaris 8 and 9 containers on Solaris 10 and tyou can then take advantage of your nice new hardware... Take a look at the website for it here which has plenty of info. http://www.sun.com/software/solaris/containers/index.jsp +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ You just need to use Solaris 8 and 9 containers on Solaris 10 and tyou can then take advantage of your nice new hardware... Take a look at the website for it here which has plenty of info. http://www.sun.com/software/solaris/containers/index.jsp +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ You should just try the app on solaris 10. It will probably just work. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > Can Oracle 8 run on Solaris 10? While not supported by Oracle (not that Oracle 8 is still supportable outside of extended contract) you can run Oralce 8 on Solaris 10. I have a few T2000 servers running in that setup. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ You can use Solaris 10 zones to encompass Solaris 8 and 9 installs, provided you don't need any extremely special hardware access. So you could buy any newer hardware running Solaris 10, install a Solaris 8 zone inside, and migrate your app to that zone: http://docs.sun.com/app/docs/doc/820-2914 Otherwise you can look through the Sun System Handbook and see if anything is listed as supporting Solaris 8, but i don't think you will find anything: http://sunsolve.sun.com/handbook_pub/validateUser.do?target=Systems/index If you really need real hardware for the OS, you could try buying something off of ebay. Last i checked, fully loaded v880's go for around $4k. You can again check the Sun System Handbook for more recent hardware models that support Solaris 8 and might still get Sun support for, such as a v890. You might also try a third party support provider and see if they will support the older hardware for you. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ We faced the same issue where I work and I ended up getting new Sun Sparc hardware (Sunfire T2000's) and running solaris 10 on them. With solaris 10 you can use containers to run solaris8 and 9 virtual machines through something called a "branded zone". I use solaris 8 branded zones to run legacy seismic applications and they seem to work fine. You can download solaris 10 and the solaris 8 and 9 branded zone software for free from sun.com so you could try it out on some older sun hardware to make sure it's going to work for you. Let me know if you have any questions. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Yes, Oracle 8 runs on Solaris 10 :) You can consolidate serveral 'old' servers into Solaris zones, either 8/9/10 with Solaris 10. Solaris binary compatible even backwards. Francisco Puente +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ You can run Solaris 8 in a Zone on a Solaris 10 machine, or Oracle 8 and any other Solaris 8 binary should run on Solaris 10. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Firstly, I believe the latest boxes running Solaris 8 are the Sun V440s; Secondly, if Oracle 8 can run on Solaris 9, you may be able to get V445s; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Hi, only SF490 with 1.35Ghz boards are able to run Solaris 8. There is no other system that you can currently buy. Maybe you could migrate your databases to Solaris 10. And use your Solaris 8 applications with Solaris 8 containers running on Solaris 10;-) +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ If you've got E450s then a likely option would be a 2nd user v480. You can pick them up for about $1500. Otherwise a v490/v880/v890 would fit the bill. Oracle 8 (must be EOL by now surely?) probably would run on Sol10 but I'm guessing it's not supported. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ You might want to look at the Solaris 8 compatibility stuff that's included with Solaris 10's zones. You're not going to be able to image a disk and boot on new hardware though... +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ I checked with out DBA and he says that Oracle 8 will run on Solaris 10 (albeit unsupported) so I would go for that. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ try creating a flar archive of the old machines with oracle stuff included. Then create a branded zone for Solaris 8 on a Solaris 10 box with big enough capacity to hold the flar. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Wikipedia tells me Solaris 8 will be supported until March 2012: http://en.wikipedia.org/wiki/Solaris_(operating_system)#Versions +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ You might want to look at the Solaris 8 compatibility stuff that's included with Solaris 10's zones. You're not going to be able to image a disk and boot on new hardware though... On Tue, Feb 24, 2009 at 7:52 AM, sunhux G wrote: > > We have a couple of E250/450 that's going to be end of hardware > maintenance (Dec 2009) and we can't buy further maintenance > support from Sun. > > As our legacy applications run on Solaris 8 and Oracle 8, we plan > to get newer hardware models and just port over Solaris/Oracle 8 > to the newer hardware. > > Any idea which models can still support Solaris 8? > > Can Oracle 8 run on Solaris 10? > > > Thanks > U