From glowe1 at san.rr.com Mon Apr 1 00:19:02 2002 From: glowe1 at san.rr.com (Grant Lowe) Date: Mon Apr 1 00:19:02 2002 Subject: PARTIAL SUMMARY: openssh Message-ID: Hi again gurus. I have received about a dozen or so responses so far. Some have said that it doesn't run from the installed package. Others said that it does work, but you have to do a little tweaking of the default installs (for example ssh now installs in /usr/local/ssh/bin, and before it installed in /usr/local/bin, so I put in some symbolic links to make sure). Others asked if I had the correct packages in the first place (zlib, openssl, etc.). I made sure I have all the packages. A couple of people suggested I read the instructions that are hyperlinked on the openssh-3.1p1 package area of sunfreeware (one is a Microsnot Word document, the other is a hypertext document, but are basically the same thing). I followed those instructions to the letter. Somebody said that on the openssh mailing list the reason for the segmentation fault is the versions of openssl and openssh are incompatible. Lastly, somebody suggested that I check my LD_LIBRARY_PATH variable, especially to include /usr/local at the beginning of the path. One thing I do remember from a couple of years ago when I built this from scratch is I needed the libwrap.a and tcpd.h files from tcp wrappers. Well, the tcpd.h is still with tcp wrappers. I couldn't find the libwrap.a however. Does this ring a bell with anyone? It still doesn't work, though, so if anybody else has some more ideas, or whatever, I'll add them to the final summary. Thanks. Grant Original post: Hi gurus. I have a brand new, Solaris for Intel box. It is Solaris 8, fully-patched, with 128 MB RAM. It is networked, and working just fine, except for SSH. The problem I'm having is with openssh3.1p1. I have installed gcc-3.0.3, openssl-0.9.6c, and zlib-1.1.4. These packages, as well as openssh-3.1p1, came from www.sunfreeware.com. When I try to run ssh, it give me a coredump. Here's the truss of it: # truss ssh execve("/usr/local/ssh/bin/ssh", 0x080476DC, 0x080476E4) argc = 1 open("/usr/lib/ld.so.1", O_RDONLY) = 3 fxstat(2, 3, 0x08047574) = 0 mmap(0x00000000, 215720, PROT_READ|PROT_EXEC, MAP_SHARED, 3, 0) = 0xDFB20000 mmap(0x00000000, 204800, PROT_READ|PROT_EXEC, MAP_SHARED, 3, 0) = 0xDFAE0000 mmap(0xDFAE0000, 126060, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xDFAE0000 munmap(0xDFAFF000, 65536) = 0 mmap(0xDFB0F000, 9908, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 126976) = 0xDFB0F000 open("/dev/zero", O_RDWR) = 4 mmap(0xDFB11000, 1716, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xDFB11000 close(3) = 0 Incurred fault #6, FLTBOUNDS %pc = 0xDFAE9DEB siginfo: SIGSEGV SEGV_MAPERR addr=0x00000008 Received signal #11, SIGSEGV [default] siginfo: SIGSEGV SEGV_MAPERR addr=0x00000008 *** process killed *** # Any idea of what's going on? Thanks for any and all help! Grant From rshukla at prl.ernet.in Mon Apr 1 03:15:05 2002 From: rshukla at prl.ernet.in (RAGHVENDRA SHUKLA) Date: Mon Apr 1 03:15:05 2002 Subject: Reflect the server pdations to all Nis+ clientts Message-ID: Hello To all , How can i immediately reflect the server's ( nis + root server ) new acconts/chnages to all the nis + clients . Regards ------------------------------------------------------------------------------------- Name : Raghvendra Narain Shukla ( Engineer - SC ) Address:Computer Centre, Email: rshukla at prl.ernet.in , Physical Research Laboratory raghav at prl.ernet.in , Ahmedabad 380 015 raghvendra55 at yahoo.com INDIA Phone: +91 79 630-2129 ext. 4035 FAX : +91 79 630-1502 -------------------------------------------------------------------------------------- From mangesh.v at xaalliance.com Mon Apr 1 04:35:03 2002 From: mangesh.v at xaalliance.com (Mangesh) Date: Mon Apr 1 04:35:03 2002 Subject: Filesystem Message-ID: <000001c1d968$60774560$3529a8c0@Mangesh> Hi Unix Gurus, I am facing some problem for quite a long time. I have one Sun Blade 1000 machine running Solaris 8. It has got 2 internal disks of 18 GB each. One disk has got 12GB of /root filesystem & 4 GB of swap. The other disk is divided in to 4 filesystems of 4GB each. One of the filesystem from the 2nd disk is showing 100% full, when it has got around 1.2GB of free disk space. I rebooted the system, it showed me 75%, then after some time again it showed me 100% full. This is going from a long time. Now it even do not allow to bring up the database. When I do fsck it shows me the following error :- # fsck ** /dev/rdsk/c1t1d0s0 ** Currently Mounted on / ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups FILE SYSTEM STATE IN SUPERBLOCK IS WRONG; FIX? yes 57893 files, 4084692 used, 11261835 free (4179 frags, 1407207 blocks, 0.0% frag mentation) ** /dev/rdsk/c1t2d0s0 ** Last Mounted on /u0 ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups FILE SYSTEM STATE IN SUPERBLOCK IS WRONG; FIX?yes For the above filesystem it showed me 1.2% fragmentation. Later when I mounted the filesystems. It showed me 75% & later after some time it again showed me 100%. I really don't know what should be done. Please give me some permanent solution. All the help is highly appreciated. Thanks in Advance. Thanks & Regards Mangesh Vengsarkar From aredondo at indra.es Mon Apr 1 05:01:21 2002 From: aredondo at indra.es (Redondo Escobar, Alejandro) Date: Mon Apr 1 05:01:21 2002 Subject: Visio Stencils for Sun Hardware Message-ID: <1292796112760E419700AC368B722D8A63AF59@MADARRCLEX3.indra.es> Hi all sunmanagers! Please does anybody knows about a URL or "something" to download updated visio stencils for sun hardware?? I am trying to make some maps about a client config with V880s, 280Rs, A5200s, D1000s and a tape robot (from SUN too) but I am not able to find this stencils... I have googled it and even sunsolved it, but no hits... Thanks for all in advance! From chakri78 at yahoo.com Mon Apr 1 05:34:02 2002 From: chakri78 at yahoo.com (chakravarthi s viswanadh) Date: Mon Apr 1 05:34:02 2002 Subject: Unable to boot through LOcal CDROM on for installating SOlaris 8 on sun fire 280r In-Reply-To: Message-ID: <20020401113307.30129.qmail@web13502.mail.yahoo.com> Hi all, When i'm trying to install Solaris 8 on Sun fire 280 R i'm getting the following error message ok boot cdrom boot: cannot open /kernel/sparcv9/unix any suggestions regards chakri Yahoo! Greetings - send holiday greetings for Easter, Passover http://greetings.yahoo.com/ From subu_techdocs at indiatimes.com Mon Apr 1 06:34:01 2002 From: subu_techdocs at indiatimes.com (subu_techdocs) Date: Mon Apr 1 06:34:01 2002 Subject: NIS problem !!! Message-ID: <200204011220.RAA18819@WS0005.indiatimes.com> Hello, I got the following error message while E-450 was rebooted and machine got stuck. ============================================================= Warning : Timed out waiting for NIS to come up ============================================================= Server was rebooted again in the single user mode and NIS was reconfigured again. Even though NIS server was running properly still I got the above message and no other servers gave similar message which were also rebooted during the same time. Please suggest how to avoid such occurences again and the reasons there of. Thanks Venky. Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in From ben_f_falls at hotmail.com Mon Apr 1 07:35:02 2002 From: ben_f_falls at hotmail.com (Ben Falls) Date: Mon Apr 1 07:35:02 2002 Subject: Solaris Resource Manager Message-ID: Hi, We are considering using Solaris Resource Manager on a number of our large App servers. I am just looking to get a feel for everybodies experience with this product. The marketing spiel certainly sounds good, but then it usually does. Overall is this a good product? Any operational/logistical gothcha's? Any security issues, etc... Any input would be greatly appreciated. TIA, Ben _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com From val at research.telcordia.com Mon Apr 1 09:31:02 2002 From: val at research.telcordia.com (Valeriy Glinskiy) Date: Mon Apr 1 09:31:02 2002 Subject: E4500 side covers Message-ID: <200204011530.g31FUJxv029615@breeze.research.telcordia.com> Hi, gurus! I have SUN E4500 I want to put in "shark" rack, but I can not deattach side covers. I checked sun website and E4500 is shown without those covers. Could you, please, explain me how to remove side covers or provide with link to website? Thanks in advance From padair at pntsi.ca Mon Apr 1 09:41:02 2002 From: padair at pntsi.ca (Paul Adair) Date: Mon Apr 1 09:41:02 2002 Subject: Mail forwarding Message-ID: <017601c1d993$5cfa1e00$6f15c50a@sykescanada.com> I am looking to find a way to automatically forward email based on the senders domain. As in if a message comes from ????@xyz.com it gets automatically delivered in my inbox as well as forwarded to a specific user/list of users. If the message is from any one other than ????@xyz.com it just goes into my inbox. I have played with the .forward file but from what I can read it looks like it fowards all or nothing. I am using a fairly basic with Sendmail 8.10.2+Sun which was included with Solaris 8. Thanks, Paul. From mark at solinus.com Mon Apr 1 10:12:01 2002 From: mark at solinus.com (Mark) Date: Mon Apr 1 10:12:01 2002 Subject: having problems with JumpStart Message-ID: <20020401161131.GB8888@arakkis.solinus.com> Hey all -- I'm currently experiencing problems with a custom jumpstart install. I've been going though the Advanced Installation Guide, and have jumpstart all set up on my installation server at /jumpstart, and the solaris media on /export/sol_8_202. (Solaris 8 2/02) beta1: 10.0.0.1 beta2: 10.0.0.2 contents of /etc/bootparams on the install server: -------------------------------------------------- beta2 root=beta1:/export/sol8_202/Solaris_8/Tools/Boot install=beta1:/export/sol8_202 boottype=:in sysid_config=10.0.0.1:/jumpstart install_config=10.0.0.1:/jumpstart rootopts=:rsize=32768 showmount -e shows that /export/sol8_202 and /jumpstart are available to everyone The problem I'm having is that when I do a "boot net - install" on the box to be installed (beta2), I get this: ------------------------------------------------------- ok boot net - install Res LOM event: +3d+17h4m48s host reset etting ... < ... skip various Netra X1 diagnostics ... > Sun Netra X1 (UltraSPARC-IIe 400MHz), No Keyboard OpenBoot 4.0, 1024 MB memory installed, Serial #50663598. Ethernet address 0:3:ba:5:10:ae, Host ID: 830510ae. Environment monitoring: disabled Executing last command: boot net - install Boot device: /pci at 1f,0/ethernet at c File and args: - install Using Onboard Transceiver - Link Up. Timeout waiting for ARP/RARP packet Timeout waiting for ARP/RARP packet Timeout waiting for ARP/RARP packet Timeout waiting for ARP/RARP packet 2ae00 Server IP address: 10.0.0.1 Client IP address: 10.0.0.2 Using Onboard Transceiver - Link Up. Requesting Internet address for 0:3:ba:5:10:ae SunOS Release 5.8 Version Generic_108528-13 64-bit Copyright 1983-2001 Sun Microsystems, Inc. All rights reserved. NOTICE: dmfe0: PHY 1 link up 100 Mbps Full-Duplex NOTICE: dmfe1: PHY 1 link down whoami: no domain name Configuring /dev and /devices Using RPC Bootparams for network configuration information. Skipping interface dmfe1 Configured interface dmfe0 Usage: mount [-v | -p] mount [-F FSType] [-V] [current_options] [-o specific_options] {special | mount_point} mount [-F FSType] [-V] [current_options] [-o specific_options] special mount_point mount -a [-F FSType ] [-V] [current_options] [-o specific_options] [mount_point ...] Unable to mount /cdrom/Solaris_*/Tools/Boot/usr ------------------------------------------------------- After this, I get dumped to a shell prompt, but with the "| / - \ |" sequence still running, like it's trying to do something else. I can do a df -k at that point: Filesystem kbytes used avail capacity Mounted on beta1:/export/sol8_202/Solaris_8/Tools/Boot 8376817 744489 7548560 9% / swap 983072 216 982856 1% /tmp proc 0 0 0 0% /proc mnttab 0 0 0 0% /etc/mnttab /tmp/devices 983072 216 982856 1% /devices /tmp/dev 983072 216 982856 1% /dev 10.0.0.1:/export/sol8_202 8376817 744489 7548560 9% /cdrom Does anyone know why I'm getting a mount failure? Or why it's trying to mount /cdrom anything? Or anything else I'm doing wrong? It should be doing a regular net install (I've run setup_install_server and such). I have a fairly simple sysidcfg set up in /jumpstart: name_service=none system_local=C timezone=US/Central I will post the summary answers (if any). Thanks. -- Mark Maurer mark at solinus.com From George.Monappallil at newsedge.com Mon Apr 1 10:27:01 2002 From: George.Monappallil at newsedge.com (George Monappallil) Date: Mon Apr 1 10:27:01 2002 Subject: pnm daemon logs Message-ID: <3D3BC823D85ED211BC9700805FC7B39607F4A0E5@exchange1.newsedge.com> Hi guys: Public Network Management (PNM) sends error messages to syslog. Is there a way I can configure syslog so that syslog writes error messages on to a separate file like /etc/pnmlog. Your insights would be appreciated. Thanks George From unix at vermeermfg.com Mon Apr 1 11:26:03 2002 From: unix at vermeermfg.com (Kevin Van Der Hart) Date: Mon Apr 1 11:26:03 2002 Subject: Ultra 10 keeps crashing Message-ID: <5.1.0.14.0.20020401112152.00a69708@mail.vermeermfg.com> I have an Ultra 10/440 Mhz with 256MB of RAM that keeps crashing and rebooting with the attached error message approximately every 15 minutes. I have booted from CDROM and it crashes there also so I know it is not an OS problem. How can I tell if this is a RAM, CPU, or motherboard problem? Thanks! ----- Kevin Van Der Hart Systems Administrator Vermeer Mfg Co WARNING: [AFT1] EDP event on CPU0 Instruction access at TL>0, errID 0x00000037.04cd6114 AFSR 0x00000000.80400010 AFAR 0x00000000.1f8c43b0 AFSR.PSYND 0x0010(Score 95) AFSR.ETS 0x00 Fault_PC 0x100c4398 UDBH 0x0000 UDBH.ESYND 0x00 UDBL 0x0000 UDBL.ESYND 0x00 panic[cpu0]/thread=30000c83100: [AFT1] errID 0x00000037.04cd6114 EDP Error(s) See previous message(s) for details 000002a1003f6c50 SUNW,UltraSPARC-IIi:cpu_aflt_log+4e0 (2a1003f6d0e, 1, 10147be0, 2a1003f6e98, 2a1003f6d5b, 10147c08) %l0-3: 0000000000000000 000002a1003f6f60 0000000000000003 0000000000000010 %l4-7: 0000000000200000 0000000000400000 00000000000fc000 0000000000000000 000002a1003f6ea0 SUNW,UltraSPARC-IIi:cpu_async_error+868 (1, 2a1003f6f60, 80400010, 0, 4140000080400010, 2a1003f7120) %l0-3: 0000000000000001 000000000000000a 0000000000000000 0000000000000000 %l4-7: 0000000000000228 0000000000000001 0000030000964412 0000000000000000 000002a1003f7070 unix:prom_rtt+0 (30000aa8da0, 30000aa8e12, 0, 0, 0, fad00000) %l0-3: 0000000000000007 0000000000001400 0000004414001606 000000001013f894 %l4-7: 00000000f4010000 0000031000207360 0000000000000000 000002a1003f7120 000002a1003f71c0 genunix:segvn_lockop+24 (30000c775e0, 0, 8, 0, 3, 0) %l0-3: 0000030000874e30 00000000fad00000 0000000000000000 0000000000000003 %l4-7: 0000030000c850a0 0000000000000000 0000030000aa8da0 0000000000000000 000002a1003f7350 genunix:segvn_unmap+114 (fad00000, fad00000, 72000, 300007ed538, 3000002a000, 0) %l0-3: 0000000010168464 0000000010132518 0000030000c775e0 0000030000c850a0 %l4-7: 0000000000072000 00000000104121b0 0000000000000000 0000030000335e00 000002a1003f7420 genunix:as_free+d8 (30000769b88, 10423910, 3000004fdc8, 30000769bb8, 30000769b92, 30000769b88) %l0-3: 00000000100c0f58 00000000001460bc 0000000000000004 00000000000000a0 %l4-7: 0000030000813478 000002a1003f7690 0000000000000008 000002a1003f7af0 000002a1003f74d0 genunix:exec_args+25c (e0, 2a1003f7938, 300007ed828, 300007ed538, 0, 2a1003f7918) %l0-3: 000002a1003f7938 0000000000002000 0000030000be8b00 0000000000000000 %l4-7: 00000000ffbf0000 000002a1003f7678 0000000000002000 0000000000000001 000002a1003f7580 elfexec:elf32exec+1c0 (0, 300007ed538, 3000017c714, 3000017c648, 2a1003f7910, 2a1003f79dc) %l0-3: 0000030000389f28 000002a1003f7918 0000000000000000 0000000000000008 %l4-7: 00000300007ed828 0000000000000001 0000000000000001 000002a1003f7938 000002a1003f76d0 genunix:gexec+21c (2a1003f7910, 0, 2a1003f7938, 0, 0, 30000813508) %l0-3: 0000000010289f00 000002a1003f7918 0000000010410218 0000000000000000 %l4-7: 0000000000000000 0000030000389f28 00000300007ed538 000002a1003f79dc 000002a1003f7850 genunix:exec_common+1cc (1042fea8, 1, 0, 10000, 1460b8, f05e0) %l0-3: 0000030000c75838 00000300007ed538 00000300007ed828 00000000fae7fc1c %l4-7: 0000000000010031 0000030000c75838 0000000000000000 0000000000000001 000002a1003f7a40 genunix:exece+c (fae7fc1c, f05e0, 1460b8, 1460bc, 25580, ff238724) %l0-3: 0000000082001a02 0000000000000016 0000000000000000 0000000000000003 %l4-7: 0000000000000000 0000000000000000 0000030000c83100 000002a1003f7ba0 From raoul_s2001 at yahoo.com Mon Apr 1 11:28:02 2002 From: raoul_s2001 at yahoo.com (raoul s) Date: Mon Apr 1 11:28:02 2002 Subject: ultra-scsi disks Message-ID: <20020401172712.33905.qmail@web21106.mail.yahoo.com> hi, like to connect my left over scsi disk to my ultra and read data off of it. Do i have to use scsi card in its pci slot?. what kind/brand is the best?. just hook it up and do "boot -r" to see the scsi disk?. ..it is ext. disk. r. Yahoo! Greetings - send holiday greetings for Easter, Passover http://greetings.yahoo.com/ From donunix at yahoo.com Mon Apr 1 11:56:06 2002 From: donunix at yahoo.com (Don Jones) Date: Mon Apr 1 11:56:06 2002 Subject: NFS/AUTOMOUNT Message-ID: <003401c1d9a6$6910c5f0$8d440481@TRW7WB46W87V7R> Hello all, We relocated couple of servers over weekend that used to house the users home accounts. Now, bunch of servers are hanging when df -k is executed and nobody can access home accout. I tryed solving the problem by commenting out morpheus:/home ( home accout server ) from mnttab then restart nfs client, it won't let me and says that /net/morheus/home is busy.. Do I have to comment out the auto.morpheus also? any idea how to solve this problem? thank you, -DJ From raoul_s2001 at yahoo.com Mon Apr 1 12:35:03 2002 From: raoul_s2001 at yahoo.com (raoul s) Date: Mon Apr 1 12:35:03 2002 Subject: scsi disk Message-ID: <20020401183449.4518.qmail@web21109.mail.yahoo.com> I have an harddisk that i need to attach it to an ultra10. It does not have any scsi card or scsi interface inside. 1)what scsi card is the best for the ultra10 440mhz.solaris2.5.1. 2) what is the best way i can connect this scsi disk to the ultra10 to see/read the contents of the scsi disk?. 3) how can i insert the scsi card and the disk attached to it so that something like mount /dev/sda /mnt/mydisk will get the data out. r. Yahoo! Greetings - send holiday greetings for Easter, Passover http://greetings.yahoo.com/ From raoul_s2001 at yahoo.com Mon Apr 1 12:35:20 2002 From: raoul_s2001 at yahoo.com (raoul s) Date: Mon Apr 1 12:35:20 2002 Subject: scsi disk Message-ID: <20020401183450.19502.qmail@web21107.mail.yahoo.com> I have an harddisk that i need to attach it to an ultra10. It does not have any scsi card or scsi interface inside. 1)what scsi card is the best for the ultra10 440mhz.solaris2.5.1. 2) what is the best way i can connect this scsi disk to the ultra10 to see/read the contents of the scsi disk?. 3) how can i insert the scsi card and the disk attached to it so that something like mount /dev/sda /mnt/mydisk will get the data out. r. Yahoo! Greetings - send holiday greetings for Easter, Passover http://greetings.yahoo.com/ From mikelist at sky.net Mon Apr 1 12:39:01 2002 From: mikelist at sky.net (Mike's List) Date: Mon Apr 1 12:39:01 2002 Subject: sendmail log Message-ID: I recently sees more of the below in the system log, I'm not too familiar with sendmail but I think I can decipher the portion "Spamblock" lines. However, what about the "mail2/sendmail sendmail-connrefused" lines, are these the domains/servers that attempting to relay through my mail2 server? and was denied (seems like it) or my mail2 server attempting to deliver e-mails but cannot connect to the destination server/domain? Thanks. The following groupcounts were found: (>5) mail2/sendmail Spamblock naraphone at naraphone.co.kr: 6 mail2/sendmail Spamblock mrhealth at btamail.net.cn: 7 mail2/sendmail Spamblock newsletter at mail.clickprice.co.kr: 11 mail2/sendmail Spamblock newsletter at return.ncsoft.co.kr: 67 mail2/sendmail sendmail-connrefused confirmation106.atbestcheapstuff.com.: 48 mail2/sendmail sendmail-connrefused confirmation84.atbestcheapstuff.com.: 7 mail2/sendmail sendmail-connrefused mail.fromyfrom.com.: 6 mail2/sendmail sendmail-connrefused mta1.mail.hotbot.com.: 44 mail2/sendmail sendmail-connrefused mta2.mail.hotbot.com.: 52 mail2/sendmail sendmail-connrefused postoffice.randbad.com.: 49 - Mike From donunix at yahoo.com Mon Apr 1 13:45:03 2002 From: donunix at yahoo.com (Don Jones) Date: Mon Apr 1 13:45:03 2002 Subject: SUMMARY:NFS/AUTOMOUNT Message-ID: <008601c1d9b5$9dd25600$8d440481@TRW7WB46W87V7R> Hello, I was able to figure this one out by myself.. but I am not sure if it can cause secondry problems.. This is what I did.. removed completly /etc/mnttab restart aumount.. -DJ From unix at vermeermfg.com Mon Apr 1 14:02:06 2002 From: unix at vermeermfg.com (Kevin Van Der Hart) Date: Mon Apr 1 14:02:06 2002 Subject: Summary: ultra 10 keeps crashing Message-ID: <5.1.0.14.0.20020401135654.00a68e30@mail.vermeermfg.com> Thanks to the following people for their quick responses: Donovan Reetz Michael Kalus Jeff Kennedy Michael Hocke Miller Sutfin Tony Tran The majority consensus is that my problem is definitely a CPU problem. One user suggested that I run the iscda.sh script but I have been unable to get the machine to stay running long enough to run the script. Original Message: I have an Ultra 10/440 Mhz with 256MB of RAM that keeps crashing and rebooting with the attached error message approximately every 15 minutes. I have booted from CDROM and it crashes there also so I know it is not an OS problem. How can I tell if this is a RAM, CPU, or motherboard problem? Thanks! ----- Kevin Van Der Hart Systems Administrator Vermeer Mfg Co From jeffw at pbs.com Mon Apr 1 14:17:02 2002 From: jeffw at pbs.com (Jeff Wellens) Date: Mon Apr 1 14:17:02 2002 Subject: What is starting this process? Message-ID: I am having a hard time determining why the program 'hotjava' is starting every time this user signs into OpenWindows. Here is the ps list of the java process. It is being started by the Xsession process. What can I modify to get hotjava to NOT run when they sign into OpenWindows? I have closed hotjava, then saved workspace in OpenWindows, but it still keeps coming up. ps -ef | grep 2841 cjf 2841 2839 0 07:57:03 ? 0:00 /bin/ksh /usr/dt/bin/Xsession cjf 2851 2841 0 07:57:04 ? 0:00 /usr/openwin/bin/fbconsole cjf 2891 2841 0 07:57:05 pts/2 0:00 /usr/dt/bin/sdt_shell -c unset DT; DISPLAY=:0; /usr/dt/bin/dt cjf 2877 2841 0 07:57:05 ? 0:09 /usr/java/bin/sparc/native_threads/java -classpath /usr/dt/appconfig/hotjava/cl root 5524 5506 0 11:29:10 term/a 0:00 grep 2841 Thanks in advance! Jeff Wellens Jeff Wellens Publishing Business Systems Technical Support Analyst 651-634-9218 Ext. 418 From glowe1 at san.rr.com Mon Apr 1 15:53:01 2002 From: glowe1 at san.rr.com (Grant Lowe) Date: Mon Apr 1 15:53:01 2002 Subject: PARTIAL SUMMARY: openssh Message-ID: Hi again everybody. Just for grins and giggles, I tried installing the two earlier revisions of openssh from sunfreeware. The 3.0.1 version gave me a segmentation fault. The 2.9.2 version however works just fine with no extra steps needed. I'm thinking that the best thing to do is to compile it myself, but I'll wait a while longer in case somebody comes up with some other ideas. Besides, I just tried using the gcc from sunfreeware and when I tried the configure file, I get the message "error: C compiler cannot create executables." Could this have to do with the Solaris installation chosen? I chose the Core version, and I know that there are a couple of other installs that install more (End user, Developer, OEM, etc.). What do you think? Grant From val at research.telcordia.com Mon Apr 1 16:19:02 2002 From: val at research.telcordia.com (Valeriy Glinskiy) Date: Mon Apr 1 16:19:02 2002 Subject: SUMMARY:E4500 side covers Message-ID: <200204012218.g31MItjr014889@breeze.research.telcordia.com> Thanks to Deborah Crocker Mike Mazdeh Darren Dunham Michael Kalus Gaziz Nugmanov "Weigert," Daniel Troy Abernathy Paul LaMadeleine Michael Kalus Obviously, I did not try hard enough. Those covers slide back. I had to use rubber hummer to push them. original question Hi, gurus! I have SUN E4500 I want to put in "shark" rack, but I can not deattach side covers. I checked sun website and E4500 is shown without those covers. Could you, please, explain me how to remove side covers or provide with link to website? Thanks in advance From mark at solinus.com Mon Apr 1 16:31:06 2002 From: mark at solinus.com (Mark) Date: Mon Apr 1 16:31:06 2002 Subject: SUMMARY: having problems with JumpStart Message-ID: <20020401223019.GA9670@arakkis.solinus.com> Thanks to all who replied, but all suggestions, while good things to look out for, weren't the problem for me. They included: Checking for rogue servers (this one had bit me before and wasn't the case) Making sure that the jumpstart directory was mounted/shared as ro, not rw (mines was ro). I did manage to get it working, however I don't know what exactly was wrong. I just blew away the old dirs, and started from scratch with setup_install_server and such. It worked then. Thanks for all the replies! -- Mark Maurer mark at solinus.com From blanham at cleartrack.com Mon Apr 1 16:56:12 2002 From: blanham at cleartrack.com (Brett Lanham) Date: Mon Apr 1 16:56:12 2002 Subject: Installing D1000 Message-ID: <99D3F28DED76D511BA4A00B0D0781E143B66E7@email.cleartrack.com> I've got a D1000 that I need to attach to a Netra T1 105 running solaris 8 and I'm having trouble finding documentation for it. I've got the UDWIS PCI card to install in the netra but I've not been able to find information on installing the card. I've been looking on docs.sun.com but have been unable to find exactly what I'm looking for. The D1000 manual talks about adding devices to your D1000 which I guess applies to me except that I will be adding all the drives that are in the D1000. My question is where can I find information on installation and setup of the PCI card in solaris? I've got the physical part of installaiton down I just need info on setting the card up in Solaris once it's installed. Must admit I haven't began this project yet so this might seem like a dumb question if it turn out to just work. I just wanted to find as much info as possible before taking my box down. Thanks. Brett Lanham System Operations Analyst Cleartrack Information Network, Inc. 5301 Virginia Way Suite 110 Brentwood, TN 37027 615.377.4413 (phone) www.cleartrack.com From ak94601 at yahoo.com Mon Apr 1 17:35:07 2002 From: ak94601 at yahoo.com (Ath Kar) Date: Mon Apr 1 17:35:07 2002 Subject: Tape Struck Message-ID: <20020401233453.55676.qmail@web14806.mail.yahoo.com> Hi I recd a error msg "Periodic head cleaning required and/or replace tape cartridge", then I loaded a cleaning Tape in 4mm DAT drive for cleaning. Now Cleaning Tape is not coming out. Normally it should come out after cleaning cycle ... Now What should I do to unmount/remove cleaning tape from Drive ? Rebooting may help me ? But is there any other way to remove it ? Its a Production Server Sun Ent-3000 running Solaris-7. Thanks Ath Yahoo! Greetings - send holiday greetings for Easter, Passover http://greetings.yahoo.com/ From don at sirius.utc.edu Mon Apr 1 19:12:04 2002 From: don at sirius.utc.edu (Don Elrod) Date: Mon Apr 1 19:12:04 2002 Subject: SUMMARY and update: hanging POP connections Message-ID: <5.1.0.14.0.20020329150316.00a7a0d8@sirius.utc.edu> Thanks to: Brian Dunbar, Karl Vogel, Martin Hepworth, Matthew Boeckman, Scott Hollatz, and Tim Chipman for their responses. Suggestions included: 1. upgrade to Solaris 8, 2. replace sendmail with postfix or qmail, 3. replace ipop3d with qpopper or Courier, 4. turn on priority paging and check the system for signs that other system parameters should be altered, 5. run virtual_adrian.se and Orca to monitor the system, 6. split the smtp, pop, and web services among several servers and/or upgrade the mail server hardware, 7. use a sniffer to find out what's happening on the network side, 8. use a tool such as MRTG (Multi Router Traffic Grapher at http://people.ee.ethz.ch/~oetiker/webtools/mrtg/) to monitor the network, 9. use snoop to find out what's happening on ports 25 and 110 from the server side. Karl Vogel also recommended the following sources of information: http://Web.InfoAve.Net/~dsill/lwq.html, a qmail installation and usage guide. http://www.sun.com/sun-on-net/performance/priority_paging.html, http://docs.sun.com/ab2/coll.709.2/SOLTUNEPARAMREF/, Overview of Solaris System Tuning http://sunsolve.sun.com/private-cgi/retrieve.pl?type=2&doc=stb/1442 White Papers/Tech Bulletins 1442 Delivering Performance on Sun: System Tuning Greg Schmitz and Allan Esclamado 30-Apr-1999 * http://www.carumba.com/talk/random/tuning-solaris-checkpoint.txt * Tuning Solaris for FireWall-1 * Rob Thomas robt at cymru.com * 14 Aug 2000 In addition, we referred the problem to Sun's sendmail group and, on request, sent them output from netstat and snoop commands. They found that 1. either clients or the router were resetting sendmail connections too quickly and 2. that sendmail was taking a long time to respond due to network load. They also suggested that smtp, pop, and web services be put onto different servers so that the servers could be tuned to support their primary functions. About the time I wrote my original e-mail message, one or more users used up 100% of the cpu time on the border router and caused the router to crash several times. In response, Network Services placed limitations on the use of file sharing programs. We have experienced relatively few problems with hung sendmail or pop connections since those limitations were put into place. >Dear Managers, >Over the last several weeks, we have been having problems off and on with >tcp connections hanging on our Sun faculty/staff mail and web server. POP >and sendmail seem to hang most often; but ftp and telnet connections are >also affected. If I truss one of the POP processes that has hung, truss >reports that it is sleeping. sendmail is writing far more "Broken pipe" >messages than usual to /var/adm/messages. >The IT staff has been asked to come up with suggestions on how to improve >performance by tuning, upgrading, or replacing the existing server hardware >and software. Various Sun and non-Sun options are under consideration. At >the moment, the favored ones seem to be to replace the Sun E3500 with two >or more Linux boxes and split up the Web and mail functions and to replace >sendmail with Novell Internet Messaging System. If any of you have >experience with running multi-user mail servers on Red Hat Linux or with >NIMS on any platform, I would appreciate hearing your opinions, pro and con. >There is some indication that the problem may really lie in the network >being periodically overwhelmed with traffic rather than with the >server. Is it possible to determine from the server side whether the >problem lies with the server or the network? Can the server be tuned to >compensate for overtaxed network hardware? Don Elrod University or Tennessee at Chattanooga From duprec at scorec.rpi.edu Mon Apr 1 19:12:24 2002 From: duprec at scorec.rpi.edu (Christophe Dupre) Date: Mon Apr 1 19:12:24 2002 Subject: SUMMARY: Re: acctadm in Solaris 8 7/01 In-Reply-To: Message-ID: After a week, not one answer. I'll assume nobody uses that feature. On Mon, 25 Mar 2002, Christophe Dupre wrote: > I'm experimenting with Solaris8 new features, and I'm trying to use the > extended accounting functions. I used acctadm to enable accounting to > /var/acct-file but then I have no idea what to do with the resulting file > - prtacct can't seem to properly read the file as it prints out garbage. > > I will summarize. -- Christophe Dupre System Administrator, Scientific Computation Research Center Rensselaer Polytechnic Institute Troy, NY USA Phone: (518) 276-2578 - Fax: (518) 276-4886 From WHedrick at amccorp.com Mon Apr 1 19:12:42 2002 From: WHedrick at amccorp.com (Walter Hedrick) Date: Mon Apr 1 19:12:42 2002 Subject: Help with Hitachi 9200 and E5500 with JNI Message-ID: <1F4D25F0DA46D440AC011CA725412EDBD234CD@nymail.amccorp.com> I am trying to get an Hitachi 9200 to be seen from an E5500 with JNI HBAs. Solaris can see the disks with no trouble but when I place a heavy load on the disk or run vxinstall to complete the Veritas VM install I get various tran_err errors and timeouts. The current configuration and the errors follow. Any help would be appreciated. Solaris 8 MU 7 applied Recommended cluster for Solaris 8 applied Volume Manager 3.2 with patch 1 applied JNIC FCE-1063 with version 3.8.1 firmware and 4.1 driver version sd_max_throttle=16 sd_io_time=0x3c 9200 is directly connected with a private loop config I have tested multiple cables. I had the same results on an E6500 AVAILABLE DISK SELECTIONS: 0. c1t14d0 /sbus at 7,0/SUNW,fas at 3,8800000/sd at e,0 1. c1t15d0 /sbus at 7,0/SUNW,fas at 3,8800000/sd at f,0 2. c6t0d0 /sbus at a,0/fce at 2,400000/sd at 0,0 3. c6t0d1 /sbus at a,0/fce at 2,400000/sd at 0,1 4. c6t0d2 /sbus at a,0/fce at 2,400000/sd at 0,2 5. c6t0d3 /sbus at a,0/fce at 2,400000/sd at 0,3 6. c6t0d4 /sbus at a,0/fce at 2,400000/sd at 0,4 7. c6t0d5 /sbus at a,0/fce at 2,400000/sd at 0,5 8. c6t0d6 /sbus at a,0/fce at 2,400000/sd at 0,6 9. c6t0d7 /sbus at a,0/fce at 2,400000/sd at 0,7 10. c6t0d8 /sbus at a,0/fce at 2,400000/sd at 0,8 11. c6t0d9 /sbus at a,0/fce at 2,400000/sd at 0,9 12. c6t0d10 /sbus at a,0/fce at 2,400000/sd at 0,a 13. c6t0d11 /sbus at a,0/fce at 2,400000/sd at 0,b 14. c6t0d12 /sbus at a,0/fce at 2,400000/sd at 0,c 15. c6t0d13 /sbus at a,0/fce at 2,400000/sd at 0,d 16. c6t0d14 /sbus at a,0/fce at 2,400000/sd at 0,e Mar 30 15:06:08 e5500 SCSI transport failed: reason 'tran_err': retrying comma nd Mar 30 15:07:08 e5500 jnic: jnic3: Target0 Lun0: Command Timeout. (oxid: 0x00B9) Mar 30 15:08:08 e5500 jnic: jnic3: Target0 Lun0: Command Timeout. (oxid: 0x00C2) Mar 30 15:08:08 e5500 scsi: WARNING: /sbus at a,0/fce at 2,400000/sd at 0,0 (sd120): Mar 30 15:08:08 e5500 SCSI transport failed: reason 'tran_err': retrying comma nd Mar 30 15:09:08 e5500 jnic: jnic3: Target0 Lun0: Command Timeout. (oxid: 0x00DD) Mar 30 15:09:08 e5500 scsi: WARNING: /sbus at a,0/fce at 2,400000/sd at 0,0 (sd120): Mar 30 15:09:08 e5500 SCSI transport failed: reason 'tran_err': retrying comma nd Mar 30 15:09:36 e5500 jnic: jnic3: Link not operational - performing reset Mar 30 15:09:36 e5500 jnic: jnic3: Link Down Mar 30 15:09:36 e5500 jnic: jnic3: Target0: Port 0000EF (WWN 50060E8000028512:50 060E8000028512) offline. Mar 30 15:09:38 e5500 jnic: jnic3: Link Up Mar 30 15:09:38 e5500 jnic: jnic3: Target0: Port 0000EF (WWN 50060E8000028512:50 060E8000028512) online. Mar 30 15:10:39 e5500 jnic: jnic3: Target0 Lun0: Command Timeout. (oxid: 0x000A) Mar 30 15:10:39 e5500 scsi: WARNING: /sbus at a,0/fce at 2,400000/sd at 0,0 (sd120): Mar 30 15:10:39 e5500 SCSI transport failed: reason 'tran_err': retrying comma nd Mar 30 15:11:39 e5500 jnic: jnic3: Target0 Lun0: Command Timeout. (oxid: 0x0014) Mar 30 15:11:39 e5500 scsi: WARNING: /sbus at a,0/fce at 2,400000/sd at 0,0 (sd120): Mar 30 15:11:39 e5500 SCSI transport failed: reason 'tran_err': retrying comma nd Mar 30 15:12:39 e5500 jnic: jnic3: Target0 Lun0: Command Timeout. (oxid: 0x0066) Mar 30 15:12:39 e5500 scsi: WARNING: /sbus at a,0/fce at 2,400000/sd at 0,0 (sd120): Mar 30 15:12:39 e5500 SCSI transport failed: reason 'tran_err': retrying comma nd Mar 30 15:13:39 e5500 jnic: jnic3: Target0 Lun0: Command Timeout. (oxid: 0x0072) Mar 30 15:13:39 e5500 scsi: WARNING: /sbus at a,0/fce at 2,400000/sd at 0,0 (sd120): Mar 30 15:13:39 e5500 SCSI transport failed: reason 'tran_err': retrying comma nd Mar 30 20:44:43 e5500 scsi: Requested Block: 952608 Error Block: 952608 Mar 30 20:44:43 e5500 scsi: Vendor: HITACHI Seria l Number: DF500-000000 Mar 30 20:44:43 e5500 scsi: Sense Key: Aborted Command Mar 30 20:44:43 e5500 scsi: ASC: 0x4b (data phase error), ASCQ: 0x0, FRU: 0x 0 Mar 30 20:44:43 e5500 jnic: jnic3: Link Down Mar 30 20:44:43 e5500 jnic: jnic3: Target0: Port 0000EF (WWN 50060E8000028512:50 060E8000028512) offline. Mar 30 20:44:44 e5500 jnic: jnic3: Link Up Mar 30 20:44:45 e5500 jnic: jnic3: Target0: Port 0000EF (WWN 50060E8000028512:50 060E8000028512) online. Mar 30 20:44:45 e5500 jnic: jnic3: Link Down Mar 30 20:44:45 e5500 jnic: jnic3: Target0: Port 0000EF (WWN 50060E8000028512:50 060E8000028512) offline. Mar 30 20:44:47 e5500 jnic: jnic3: Link Up Mar 30 20:44:47 e5500 jnic: jnic3: Target0: Port 0000EF (WWN 50060E8000028512:50 060E8000028512) online. Mar 30 20:44:47 e5500 jnic: jnic3: Link Down Mar 30 20:44:47 e5500 jnic: jnic3: Target0: Port 0000EF (WWN 50060E8000028512:50 060E8000028512) offline. Mar 30 20:44:49 e5500 jnic: jnic3: Link Up Mar 30 20:44:50 e5500 jnic: jnic3: Target0: Port 0000EF (WWN 50060E8000028512:50 060E8000028512) online. Mar 30 20:44:52 e5500 scsi: WARNING: /sbus at a,0/fce at 2,400000/sd at 0,0 (sd120): Mar 30 20:44:52 e5500 Error for Command: write(10) Error Level: Retryable Mar 30 20:44:52 e5500 scsi: Requested Block: 1019968 Error Block: 1019968 Mar 30 20:44:52 e5500 scsi: Vendor: HITACHI Seria l Number: DF500-000000 Mar 30 20:44:52 e5500 scsi: Sense Key: Aborted Command Mar 30 20:44:52 e5500 scsi: ASC: 0x4b (data phase error), ASCQ: 0x0, FRU: 0x 0 Mar 30 20:45:50 e5500 jnic: jnic3: Target0 Lun1: Command Timeout. (oxid: 0x014D) Mar 30 20:45:50 e5500 scsi: WARNING: /sbus at a,0/fce at 2,400000/sd at 0,1 (sd184): Mar 30 20:45:50 e5500 SCSI transport failed: reason 'tran_err': retrying comma nd From pkunst at csksoftware.com Mon Apr 1 19:36:02 2002 From: pkunst at csksoftware.com (Peter Kunst) Date: Mon Apr 1 19:36:02 2002 Subject: PARTLY SUMMARY: Ultra1 flash update failed - how to recover ? References: <3C9FA4C0.BFAEE7DD@csksoftware.com> Message-ID: <3CA90B11.DB1B6EEA@csksoftware.com> Peter Kunst wrote: > just got an AXUS Ultra1 box (SUNW,501-2486, labeled "MB-ULTRA14") with a 200MHz > CPU module (x1188a) installed and was about to install the latest flash-update, > to be able to install Solaris8 on it, but erroneuosly installed the flash image > for an Ultra1E. Yes, call me a moron, but... ...is just in progress. Thanks to AXUS support for providing me a 1:1 copy of the flash PROM. I'm now searching for a local flash-programming ressource, since my programming hardware seems not to be capable of burning AM29F400 devices, even after soldering a custom DIL44-to-S044 adapter. Summary and/or success story follows. Thanks so far to: Tony Walsh Casper Dik Simon Wu Willie Flint Cheers, Peter Kunst From raoul_s2001 at yahoo.com Mon Apr 1 19:44:01 2002 From: raoul_s2001 at yahoo.com (raoul s) Date: Mon Apr 1 19:44:01 2002 Subject: vfstab : fsck pass Message-ID: <20020402014308.47378.qmail@web21104.mail.yahoo.com> in ssolaris 2.8, in /etc/vfstab file, can I specify 3,4,.. under "fsck pass"?. I have more than 2 mounting filesystems?. I want them all pass fsck during boot up. r. Yahoo! Tax Center - online filing with TurboTax http://http://taxes.yahoo.com/ From Ivan.Wong at fujitsu.com.au Mon Apr 1 21:27:01 2002 From: Ivan.Wong at fujitsu.com.au (Wong, Ivan) Date: Mon Apr 1 21:27:01 2002 Subject: xwin32 and solaris Message-ID: <6B1F306A6F659A4D9A60B808F851D537045BF4@per0185.au.fjanz.com> hi all, i have installed solaris 8 on an intel box. i have also setup XFree86 4.1.0 as the xserver instead of the XSun server. the dtlogin daemon runs normally and i can logon locally to a CDE session without problems. however, i am having problems making a remote connection with Xwin32. when i try to establish the XDMCP connection, the dtlogin screen doesnt appear and all i get is a blank screen in Xwin32. here are the steps i followed. ###################### Dear Friends , Thanks for your help. I have installed XFree86 4.0.2 on Solaris 8 (Intel Platform Edition) successfully , it works well. Thank you for help. I show my steps ,XF86Config , Xservers and sharing with you , I hope it's useful for you or others. Thanks for your help. BR, Jimmy Chang ====================================================================== Installation XFree86 4.0.2 on Solaris 8 (Intel platform Edition) 1. Downloading the XFree 4.0.2 binaries URL:ftp://ftp.xfree86.org/pub/XFree86/4.0.2/binaries/Solaris-8 2. Checking your platform and OS sh Xinstall.sh -check 3. Installing XFree86 4.0.2 using the Xinstall.sh script sh Xinstall.sh 4. After the installation is complete ,creating your own XF86Config . XFree86 -configure 5. cd /usr/openwin/bin unlink X 6. create a symbolic link from /usr/X11R6/bin/X to /usr/openwin/bin/X. ln -s /usr/X11R6/bin/X /usr/openwin/bin/X 7. cd /etc/dt/config (you might need to mkdir the config directory first) cp /usr/dt/config/Xservers /etc/dt/config 8. edit /etc/dt/config/Xservers # :0 Local local_uid at console root /usr/openwin/bin/Xsun :0 -nobanner unix:0 Local local_uid at console root /usr/X11R6/bin/X :0 -bpp 16 9. edit /XF86Config.new Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "PS/2" Option "Device" "/dev/kdmouse" EndSection To edit /dev/mouse to /dev/kdmouse , "auto" to "PS/2". 10.To test the server , run 'XFree86 -xf86config XF86Config.new' 11.cp /XF86Config.new /etc/X11/XF86Config 12.After the X server configuration is done, it may be advisable to reboot. ###################### i will summarise. thanks for the help. From Ivan.Wong at fujitsu.com.au Mon Apr 1 22:25:04 2002 From: Ivan.Wong at fujitsu.com.au (Wong, Ivan) Date: Mon Apr 1 22:25:04 2002 Subject: summary: xwin32 and solaris Message-ID: <6B1F306A6F659A4D9A60B808F851D537045BF6@per0185.au.fjanz.com> hi all, a remote connection via Xwin32 is now possible. the errorlog in ~/.dt stated that the hostname of the pc was not found in hosts database. i then added the name of the pc into /etc/hosts and that fixed it. thanks to: michael hocke jim hart tim hespe rachel -- ivan :) From jdd at cs.toronto.edu Mon Apr 1 23:31:08 2002 From: jdd at cs.toronto.edu (John DiMarco) Date: Mon Apr 1 23:31:08 2002 Subject: Sun Managers Frequently Asked Questions (FAQ) Message-ID: <02Apr2.003004edt.453177-23574@jane.cs.toronto.edu> Archive-name: sunmanagers-faq Sun-Managers' Frequently Asked Questions $Id: faq,v 4.24 2002/03/27 21:01:44 jdd Exp $ 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 "sunmanagers-faq at sunmanagers.org". 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 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/SunOS4? 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 upgrading to Solaris 2.x? 2.3) How do I access Sun's Answerbooks over the net? 2.4) To which web sites can I go for help? 3. NIS, NIS+, DNS, and NFS 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) Why does my OpenWindows File Manager abort with a "mknod: permission denied"? 5. Disks, Tapes and SCSI 5.1) What is the format.dat entry for drive X? 5.2) Can I replace the internal drive in a desktop 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. 5.11) How do I use an EIDE/ATA disk larger than 8GB? 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? 6.6) How do I add more PTYs? 7. Anonymous FTP Service 7.1) How do I set up anonymous ftp on my machine? 7.2) Where can I get a version of ftp that does logging? 8. Consoles, Keyboards and Key Remapping 8.1) How do I make the numeric keypad on a type 5 keyboard work with xterm? 8.2) How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard under Openwindows 3.x? 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) What MBUS CPU modules are available? How can I tell what module(s) is/are in what model of SS10/SS20/SS600? 9.4) Which versions of SunOS/Solaris are Y2000 compliant? Are there patches for older versions of SunOS/Solaris? 9.5) What is the Y2000 compliance status of Sun hardware? 9.6) How do I find out a Sun's boot prom revision? 10. Miscellaneous Software Subject: 10.1) My remote ufsdump is failing with a "Protocol botched" message. What do I do? 10.2) Solaris 2.x does not have a C compiler. Where can I get one? 10.3) How do I read Microsoft Word documents on my Sun? 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 a VGA monitor on my Sun? 11.4) Where can I find alternate pointing devices for my Sun? 11.5) What should I do about my Ultra-1's CPU cooling fan? 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 hme 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) Is there a third-party source for SPARCprinter consumables? 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? Answers ----------------------------------------------------------------------------- 1. The Sun-Manager's Mailing list ----------------------------------------------------------------------------- Subject: 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 ----------------------------------------------------------------------------- Subject: 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. 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, it should contain the word "SUMMARY" as 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? 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. ----------------------------------------------------------------------------- Subject: 1.3) Are there any archives for the sunmanagers list? Sunmanagers' official archive is accessible at http://www.sunmanagers.org There is another archive at 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 (try http://193.79.209.176/sunman.lp if this doesn't work) 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 ----------------------------------------------------------------------------- Subject: 1.4) What should I keep in mind when posting to sunmanagers? o VERY IMPORTANT! Before you post, read the sunmanager's list policy, which is available at http://www.sunmanagers.org o 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. o 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. o 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. o 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. o 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. o 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. ----------------------------------------------------------------------------- Subject: 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 entire USENET heirarchy 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 2.x 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 solarisonintel-subscribe at egroups.com add/remove requests solarisonintel at egroups.com submissions solarisonintel-owner at egroups.com human list manager 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 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. ----------------------------------------------------------------------------- Subject: 1.6) Where are the answers to questions about old Suns/SunOS4? Those questions and answers used to be in this FAQ, but since they're no longer frequently asked, they've been moved to a different file, available at ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq-old ----------------------------------------------------------------------------- Subject: 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 ----------------------------------------------------------------------------- Subject: 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. Sun recommended patches can be obtained from sun via anonymous ftp to sunsolve1.sun.com. Many anonymous ftp sites have partial collections of patches. The archie service can be consulted. 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. There is a special patch tape (U1) available from sun for Sun3's running SunOS 4.1.1 which fixes many of the bugs that were fixed for Sparcs in later releases. Note that sun3's don't run anything later than 4.1.1. ----------------------------------------------------------------------------- Subject: 2.2) How do I get help upgrading to Solaris 2.x? Start by reading the Solaris FAQ, maintained and posted periodically to comp.unix.solaris by Casper Dik . It can be obtained by anonymous ftp to ftp.fwi.uva.nl, in /pub/solaris. An HTML version can be obtained at ftp://ftp.fwi.uva.nl/pub/solaris/solaris2.html. 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/ ----------------------------------------------------------------------------- Subject: 2.3) How do I access Sun's Answerbooks over the net? You can access Sun's complete set of Answerbooks on the World-Wide Web at http://docs.sun.com/ab2/ Thanks to Tim Evans for this pointer. ----------------------------------------------------------------------------- Subject: 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 ISP-Solaris http://www.isp-solaris.com SunHelp http://www.sunhelp.org SolarisCentral http://www.solariscentral.org SunGuru http://www.sunguru.com SunFreeware http://www.sunfreeware.com Gil Young runs a Solaris Forum at Brainbuzz: http://networking.brainbuzz.com/boards/viewboardmessages.asp,b~S2B43 Hisham Al Saad" recommends a Solaris-Specific search engine at http://www.searchSolaris.com Eric De Mund suggests the BigAdmin site run by Sun, at http://www.sun.com/bigadmin, and Celete Stokeley's site at http://www.stokely.com/unix.sysadm.resources ----------------------------------------------------------------------------- 3. NIS, NIS+, DNS, and NFS ----------------------------------------------------------------------------- Subject: 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" ----------------------------------------------------------------------------- Subject: 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. ----------------------------------------------------------------------------- Subject: 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 ----------------------------------------------------------------------------- Subject: 4.1) Why does my OpenWindows File Manager abort with a "mknod: permission denied"? Under Solaris 2.3, the first time filemgr is launched, it created a /tmp/.removable directory owned by the user who launched it. If a different user later starts up filemgr, it will try to create /tmp/.removable, but that directory will already exist from the last time, owned by the previous user, so the attempt will fail. Fix by installing patch 101514-02. ----------------------------------------------------------------------------- 5. Disks, Tapes and SCSI ----------------------------------------------------------------------------- Subject: 5.1) What is the format.dat entry for drive X? The answer can vary according to what OS you are running, the architecture of your machine or the type of SCSI/SMD/IPI controller you are using. Opinions also vary on how to format once you have all the information you need. If you are buying a Sun supported drive, you will likely find an entry for it in "/etc/format.dat". On third party drives, you should inquire with the vendor you bought it from. If you are on your own, contact the manufacturer, or try to get hold of the manufacturer's OEM manual for your drive model. You might be able to derive enough information from the manual to make up your own entry. Most drive manufacturers provide drive specifications from their web sites. Try these: http://www.seagate.com (Seagate, Connor, Imprimis, CDC) http://www.fujitsu.com/products/support.html (Fujitsu) http://www.maxtor.com (Maxtor, Quantum, Micropolis) http://www.samsungelectronics.com (Samsung) http://www.storage.ibm.com (IBM) http://www.westerndigital.com (Western Digital) It is also possible to contact drive manufacturers by telephone. Some relevant numbers: Fujitsu USA 800-626-4686 408-432-1300 Fujitsu FAXLINE 408-428-0456 Fujitsu Canada 416-602-5454 800-263-7091 Maxtor USA 800-2MA-XTOR Maxtor FAXBACK 303-678-2618 Seagate USA 800-468-3472 405-936-1200 Seagate FAX 408-438-8137 Seagate FAXBACK 408-438-2620 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 Note: do not post a format.dat request to the list or to the comp.sys.sun.admin newsgroup unless you have exhausted all these avenues. 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 generate an appropriate format.dat entry Tips for rolling your own format.dat: - 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. ----------------------------------------------------------------------------- Subject: 5.2) Can I replace the internal drive in a desktop Sun with a higher capacity model? Yes, so long as the drive does not pull more power and/or require more heat than the drive for which the machine was designed. For a SPARCstation 1, 1+, or 2, do not use a disk dissipating more than 10W. For a later SPARCstation, do not use a disk dissipating more than 11W. Most 5400rpm drives should be alright; 7200rpm drives or faster, particularly early 7200rpm drives, are likely to be too hot. For systems which support two drives, if only one drive is installed, it should be possible to relax this constraint somewhat. For desktop suns with EIDE drives running Solaris 2.6 or earlier, the operating system supports only the first 8GB of an EIDE drive; see question 5.11 for more details. ----------------------------------------------------------------------------- Subject: 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. ----------------------------------------------------------------------------- Subject: 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 . ----------------------------------------------------------------------------- Subject: 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. ----------------------------------------------------------------------------- Subject: 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/". ----------------------------------------------------------------------------- Subject: 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 ----------------------------------------------------------------------------- Subject: 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". ----------------------------------------------------------------------------- Subject: 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 ----------------------------------------------------------------------------- Subject: 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. ----------------------------------------------------------------------------- Subject: 5.11) How do I use an EIDE/ATA disk larger than 8GB? Versions of Solaris earlier than Solaris 7 don't support EIDE drives larger than 8GB -- if you try to use one, only the first 8GB will be accessible. If you are using a larger EIDE drive in this way (with only the first 8GB accessible), are upgrading to Solaris 7 or later, and want to use the full disk, first, back up any data that's on it (this procedure will effectively erase the disk), then zero the disk label: e.g. if your disk is c0t1d0, zero the disk label by: dd if=/dev/zero of=/dev/rdsk/c0t1d0s2 bs=1b count=16 and reboot. Solaris 7 or later will then recognize the full disk. Thanks to Michael DeSimone for this suggestion. There are some third-party patches to Solaris 2.5.1 and 2.6 to add support for disks larger than 8GB, at ftp://ftp.tadpolecycle.com/pub/bigdisks/ Thanks to Christian Iseli for the pointer. ----------------------------------------------------------------------------- 6. Resource Management and Performance Tuning ----------------------------------------------------------------------------- Subject: 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 ----------------------------------------------------------------------------- Subject: 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". ----------------------------------------------------------------------------- Subject: 6.3) How do I find out how much physical memory a machine has? Use /usr/sbin/prtconf if the machine is running Solaris. 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 ----------------------------------------------------------------------------- Subject: 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. ----------------------------------------------------------------------------- Subject: 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 ----------------------------------------------------------------------------- Subject: 6.6) How do I add more PTYs? For Solaris 7 and earlier, add a line in /etc/system that says set pt_cnt = where is the number of PTYs you want. Halt the system, and do a "boot -r". Solaris 2.x supports more than 3000 ptys. The default is 48. Solaris 8 and later create new PTY's as they are needed. ----------------------------------------------------------------------------- 7. Anonymous FTP Service ----------------------------------------------------------------------------- Subject: 7.1) How do I set up anonymous ftp on my machine? For Solaris 2.x, see the ftpd(1m) 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. ----------------------------------------------------------------------------- Subject: 7.2) Where can I get a version of ftp that does logging? These are many versions that have enhanced logging or can be modified to enable logging: 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". ----------------------------------------------------------------------------- 8. Consoles, Keyboards and Key Remapping ----------------------------------------------------------------------------- Subject: 8.1) How do I make the numeric keypad on a type 5 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 ----------------------------------------------------------------------------- Subject: 8.2) How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard under Openwindows 3.x? 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. ----------------------------------------------------------------------------- Subject: 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 Celeste Stokeley's UNIX serial port resources page, at http://www.stokely.com/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 is also available (as TTSSH) with SSH support, at: http://www.zip.com.au/~roca/ttssh.html Thanks to Harvey Wamboldt ----------------------------------------------------------------------------- 9. Sun models and OS Versions ----------------------------------------------------------------------------- Subject: 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. Sun2: SunOS 4.0.3 or earlier. Sun386i: SunOS 4.0, 4.0.1, 4.0.2 only. Sun3: SunOS 4.1.1 or earlier. 4/100, 4/200 series: SunOS 3.2, SunOS 4.0 through 5.4 4/300 series: SunOS 4.0.3 through 5.4 4/400 series: SunOS 4.1PSR_A through 5.4 600 models 120, 140: SunOS 4.1.2 through 5.5.1 600 model 41, 51: SunOS 4.1.3 through 5.5.1 SPARCstation 1, 1+, SLC, IPC: SunOS 4.0.3 through 5.7 SPARCstation 2, ELC, IPX: SunOS 4.1.1 through 5.7 SPARCstation 4: SunOS 4.1.4 or later. SPARCstation 5: SunOS 4.1.3_U1B or later. SPARCstation 10 models 20, 30, 40, 41, 51, 61, 71: SunOS 4.1.3 or later. SPARCstation 20 models 50, 51, 61, 71: SunOS 4.1.3_U1B or later. SPARCstation 20 model HS11, HS21, 151: SunOS 4.1.4 or later. SPARCclassic, SPARCstation LX: SunOS 4.1.3C or later. SPARCstation Voyager: Solaris 2.3 edition II or later. Ultra 1 model 140, 170: Solaris 2.5 or later. Ultra 1 model 140E, 170E, 200E: Solaris 2.5.1 or later. Ultra 2: Solaris 2.5.1 or later. Ultra 5,10,30,60,250,450: Solaris 2.5.1HW1297 or Solaris 2.6HW0398 or later. Ultra Enterprise: Solaris 2.5.1 or later. SunBlade 100, SunBlade 1000, SunFire 280R: Solaris 8HW1000 or later. SunFire 3800, 4800, 4810, 6800: Solaris 8HW0401 or later. The SX framebuffer on the SS10 and 20 is only supported under Solaris 2.x. SunOS 4.1.3 and later versions of SunOS 4.x have been reported to run on multiprocessor SuperSPARC configurations of the SS10, SS20, and 600, but this configuration is not supported by Sun. Anyone who tries this is on their own. The (unofficial) word from inside Sun about whether or not it actually works is as follows: Little testing of the SuperSPARC MP configurations under 4.1.3 have been done by Sun. What little was done showed that under heavy loads the system was prone to crash (What it really did was hang, so badly that even an L1-A would not work). ... We suspect, but do not know, that as the SuperSPARC chips get faster that the problems will manifest themselves more quickly. Caveat Emptor. However, multiprocessor HyperSPARC systems are supported by Ross under both SunOS 4.1.4 and Solaris 2.x. SunOS 5.0 runs only on SS1,1+,2,SLC,IPC,ELC,IPX. While SunOS 5.x does run on the 4/100 and 4/200 systems, the FPU (if present) is disabled, and floating point is emulated in software. The latest version of SunOS 5.x (Solaris 2.x) that runs on the 4/100, 4/200, 4/300, and 4/400 systems is 5.4 (Solaris 2.4). SunOS 5.3 (aka Solaris 2.3) is said to run on the SS5, but without support for the audio device. Solaris 2.3 Edition II, Solaris 2.3 Hardware 5/94, and later versions include audio support. Not all peripherals supported under SunOS 4.x are supported under SunOS 5.x and vice versa. Check with Sun or the peripheral manufacturer. Explanatory note: In general, Solaris = SunOS + Open Windows. Solaris 1.0 = SunOS 4.1.1 + Open Windows 2.0 Solaris 1.0.1 = SunOS 4.1.2 + Open Windows 2.0 Solaris 1.1 = SunOS 4.1.3 + Open Windows 3.0 Solaris 1.1C = SunOS 4.1.3C + Open Windows 3.0 (Classic/LX only) Solaris 1.1.1 = SunOS 4.1.3_U1 + Open Windows 3.0_U1 Solaris 1.1.1revB = SunOS 4.1.3_U1revB + Open Windows 3.0_U1revB Solaris 1.1.2 = SunOS 4.1.4 + Open Windows 3.0_414 Solaris 2.0 = SunOS 5.0 + Open Windows 3.0.1 Solaris 2.1 = SunOS 5.1 + Open Windows 3.1 Solaris 2.2 = SunOS 5.2 + Open Windows 3.2 Solaris 2.3 = SunOS 5.3 + Open Windows 3.3 Solaris 2.4 = SunOS 5.4 + Open Windows 3.4 Solaris 2.5 = SunOS 5.5 + Open Windows 3.5 Solaris 2.5.1 = SunOS 5.5.1 + Open Windows 3.5.1 Solaris 2.6 = SunOS 5.6 + Open Windows 3.6 Solaris 7 = SunOS 5.7 + Open Windows 3.6.1 Solaris 8 = SunOS 5.8 + Open Windows 3.6.2 ----------------------------------------------------------------------------- Subject: 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. For suns with the "Openboot" prom (All sparcstations and the 600 series), /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/sunmanagers/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. ----------------------------------------------------------------------------- Subject: 9.3) What MBUS CPU modules are available? How can I tell what module(s) is/are in what model of SS10/SS20/SS600? Three sun models, the SS10, SS20 and the SparcServer 600 series, support Sun's MBUS. All these machines have two MBUS slots. Both modules must be of the same type. SuperSPARC/w cache modules of different speeds are said to work, as are three-processor systems (by combining a single and a dual module of the same type), but such configurations are not supported by Sun. Modules without external cache are not separately clocked, and run at the clock rate of the MBUS. Modules with external cache are separately clocked, and must run at a clock rate higher than that of the MBUS. The SS20 has a switchable 40/50MHz MBUS, the SS600 has a 40MHz mbus, and the SS10 has a switchable 33/36/40MHz MBUS. Ross sells an SS20 derivitive called the Hyperstation 30, which has a 66Mhz MBUS. Warning: different module revisions may or may not work in different systems. Check the Sun part number. Further, newer modules may require that the machine have a sufficiently recent PROM revision to work. Module #CPUS Processor Clck Ex.Cache Comments ------- ------ ---------- ---- -------- ------------------------------- SM100 2 RT605/CY605 40 64k Rev 8 required for SunOS 5.x SM20 1 SuperSPARC 33 - SS10 only SM21 1 SuperSPARC 33 1M Not sold by Sun SM30 1 SuperSPARC 36 - SS10 only SM40 1 SuperSPARC 40 - SS10 or SS600 only SM41 1 SuperSPARC 40.3 1M SS10 or SS600 only SM50 1 SuperSPARC 50 - SS20 only SM51 1 SuperSPARC 50 1M SM51-2 1 SuperSPARC 50 2M SC2000 only SM52 2 SuperSPARC 45 1M Announced, never sold. SM512(?) 2 SuperSPARC 50 1M Dbl-width: 1 SBUS + 1 MBUS slot SM61 1 SuperSPARC 60 1M SM61-2 1 SuperSPARC 60 2M SC2000 only SM71 1 SuperSPARC2 75 1M SM81 1 SuperSPARC2 85 1M SS1000 only SM81-2 1 SuperSPARC2 85 2M SC2000 only RTS55 1 HyperSPARC 55 256k Non-Sun, SS10 or SS600 only RTD55 2 HyperSPARC 55 256k Non-Sun, SS10 or SS600 only RTS66 1 HyperSPARC 66 256k Non-Sun RTD66 2 HyperSPARC 66 256k Non-Sun RTS72 1 HyperSPARC 72 256k Non-Sun RTD72 2 HyperSPARC 72 256k Non-Sun RTS90 1 HyperSPARC 90 256k Non-Sun RTD90 1 HyperSPARC 90 256k Non-Sun RTS100 1 HyperSPARC 100 256k Non-Sun RTD110 1 HyperSPARC 110 256k Non-Sun RTS110/1024 1 HyperSPARC 110 1M Non-Sun RTD110/1024 2 HyperSPARC 110 1M Non-Sun RTS125 1 HyperSPARC 125 256k Non-Sun RTD125 2 HyperSPARC 125 256k Non-Sun RTS125/512 1 HyperSPARC 125 512k Non-Sun RTD125/512 2 HyperSPARC 125 512k Non-Sun RTS125/1024 1 HyperSPARC 125 1M Non-Sun RTD125/1024 2 HyperSPARC 125 1M Non-Sun RTS133/512 1 HyperSPARC 133 512k Non-Sun RTD133/512 2 HyperSPARC 133 512k Non-Sun RTS142/1024 1 HyperSPARC 142 1M Non-Sun RTD142/1024 2 HyperSPARC 142 1M Non-Sun RTS150/512 1 HyperSPARC 150 512k RTS166/512 1 HyperSPARC 166 512k Non-Sun RTS180/512 1 HyperSPARC 180 512k Non-Sun RTS200/512 1 HyperSPARC 200 512k Non-Sun RTD200/512 2 HyperSPARC 200 512k Non-Sun SMHS11 1 HyperSPARC 100 256k SS20 only SMHS12 2 HyperSPARC 100 256k Double-width: SS20 only SMHS21 1 HyperSPARC 125 256k SS20 only SM151 1 HyperSPARC 150 512k SS20 only Key to SS600/SS10/SS20 model numbers: RT605 (40Mhz SS2-class Ross) systems: Model "1n0", n=number of CPUs (2 or 4) Examples: 120, 140 SuperSPARC systems: Uniprocessor: Model "sc", s=clock speed, c=MBs of external cache Examples: 20, 30, 40, 41, 50, 51, 61, 71 Multiprocessor: Model "scn", s=clock speed, c=MBs of external cache (0 or 1), n=number of CPUs Examples: 402, 412, 502, 512, 612, 712 Speeds: 2=33Mhz, 3=36MHz, 4=40MHz, 5=50MHz, 6=60Mhz, 7=75Mhz, 8=85Mhz HyperSPARC systems: Model "HSsn", s=clock speed, n=number of CPUs Speeds: 1=100Mhz, 2=125Mhz Examples: HS11, HS12, HS14, HS21, HS22 Exception: SparcStation 151 is 1x150Mhz HyperSPARC, 152 is 2x150Mhz ----------------------------------------------------------------------------- Subject: 9.4) Which versions of SunOS/Solaris are Y2000 compliant? Are there patches for older versions of SunOS/Solaris? Sun's Y2000 efforts are documented on their web page, at http://www.sun.com/y2000 Solaris 2.6 with the recommended patch cluster is Y2000 compliant (no separate Y2000 patch kit is required). Solaris 2.3 through 2.5.1, SunOS 4.1.3U1B, and SunOS 4.1.4 are all Y2000 compliant after the appropriate Y2000 patch kit is installed. The Y2000 patch kit for Solaris 2.5.1 is available for anonymous ftp download from ftp://sunsolve1.sun.com/pub/patches/2.5.1_y2000.tar.Z and ftp://sunsolve1.sun.com/pub/patches/2.5.1_x86_y2000.tar.Z. Y2000 patch kits for Solaris 2.3, 2.4, and 2.5, and for SunOS 4.1.3U1B and 4.1.4 are available to support contract customers only, from http://sunsolve.sun.com/sunsolve ----------------------------------------------------------------------------- Subject: 9.5) What is the Y2000 compliance status of Sun hardware? Sun's Y2000 efforts are documented on their web page, at http://www.sun.com/y2000 For all Sun hardware that runs a Y2000-compliant version of SunOS/Solaris, the following also need PROM upgrades and/or special patches to be Y2000 compliant: SPARCserver 1000, 1000E, SPARCcenter 2000, 2000E: - requires Prom revision 2.31 or later All Ultra Enterprise X000 machines: - patch ID 103346-08 or later required for systems with Prom revision 3.2.9 or earlier. Enterprise Tape Library 4/1000,1800,3500, StorEdge L1800,L1000,L3500: - Requires LibMON 2.0, available September 1998. Newsprint Printers: - requires Newsprint 2.5b and patch 101941-03 or later. Sun does not test older hardware for Y2000 compliance if it does not run one of the versions of Solaris/SunOS listed in question 9.4. ----------------------------------------------------------------------------- Subject: 9.6) How do I find out a Sun's boot prom revision? Type "banner" at the prom, or type "/usr/sbin/prtconf -V" (Solaris 2.5.1 or later) 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. ----------------------------------------------------------------------------- 10. Miscellaneous Software ----------------------------------------------------------------------------- Subject: 10.1) My remote ufsdump is failing with a "Protocol botched" message. What do I do? The problem produces output like the following: DUMP: Date of this level 0 dump: Wed Jan 6 08:50:01 1993 DUMP: Date of last level 0 dump: the epoch 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 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. ----------------------------------------------------------------------------- Subject: 10.2) Solaris 2.x does not have a C compiler. Where can I get one? You can buy one from Sun and various third-party vendors. Recent GCC binaries (for SPARC and, in some cases, i386) can be retrieved from the following FTP sites: 1) ftp://ftp.lanet.lv/pub/unix/solaris2/ 2) ftp://sunsite.cnlab-switch.ch/mirror/solaris-binaries This site contains various programs/libraries for Solaris2.x (both SPARC and x86 binaries) 3) ftp://metalab.unc.edu/pub/packages/solaris/sparc/ 4) http://smc.vnet.net/solaris_2.5.html 5) http://www.gnu.org/order/ftp.html 6) http://gamma.magnet.fsu.edu/download/gnu 7) http://sunfreeware.com 8) http://www.freeware4sun.com More information on this topic is available at http://www.inscoe.org/compilesun Thanks to Kevin Inscoe ----------------------------------------------------------------------------- Subject: 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 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 Personal Edition is freely available for various operating systems, including Solaris/SPARC, from http://www.sun.com/staroffice From a PC/Mac, you can print postscript output to a file, and view the postscript on the Sun using docviewer or ghostscript/ghostview. Rachel Polanskis suggests word2x by Duncan Simpson , which translates a Word 6.x document into text or LaTeX. She ported it to Solaris; it's available at ftp://ftp.zeta.org.au/home/grove/stuff/word2x-sol.2.5.1.tar.gz Sun produces the PC File Viewer software, which is free to Solaris 2.6 SPARC customers. It allows MS Word files and other common PC application files (e.g. Word Perfect) to be viewed on the Solaris desktop. It's at: http://www.sun.com/desktop/products/software/pcviewer.html 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/. Other suitable packages include wvWare, which is available at http:/www.wvWare.com, and "wordview", which is available at http://www.fe.msk.ru/~vitus/catdoc/. ----------------------------------------------------------------------------- 11. Miscellaneous Hardware ----------------------------------------------------------------------------- Subject: 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. However, if it is an optical mouse, read on: Eugene Kramer points out that type 3 and type 4 optical mouse pads only work in one orientation (long side in the width); if the pad has been rotated, the mouse will only move in one axis, and will appear to be broken. It may not be; just rotate the pad 90 degrees. Alternatively, you may have an old mouse. martin at gea.hsr.it (Martin Achilli) writes: Sun optical mice P/N 370-1170-01 have two LEDs on the underside. One is a normal red LED, the other is an infrared LED. Old mice (4+ years) can have trouble tracking horizontal motion. Cleaning the mouse pad with a solvent may improve things slightly but not completely. I have replaced the red LED on the mouse PCB for eight of my twelve optical mice and the problem has gone. All you need to do is purchase a red LED of the type than focus the beam, NOT the unfocused type that are normally found as indicator lights on equipment. Open the mouse and remove the PCB by unplugging the small black connector. Be careful with the two small spherical lenses which can fall out and easily be lost. Mark the PCB and one of the LED's leads to note the orientation, then desolder the LED marked L1. Pull out the leads from above and pull the LED out of the black plastic mounting. Be careful since the mounting is only glued to the PCB. Check for polarity before inserting the new LED, I noticed that for all the LEDs that I installed, the longer lead must go into the PCB hole close to the letters L1. First fold the LED leads like the ones of the one you are replacing, and then insert it into the mounting, solder the leads and close the mouse. After this, horizontal motion should be much smoother. Disclaimer: I will not take any responsibility for any failure or damage arising from the above procedure Thanks to Martin Achilli . Finally, the wire inside the mouse cable may be suffering from fatigue, usually where the cable is attached to the mouse. If you turn the mouse over, and wiggle the cable where it is attached to the mouse, and if you see the visibly lit LED flickering while you do this, this is your problem. ----------------------------------------------------------------------------- Subject: 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. ----------------------------------------------------------------------------- Subject: 11.3) How can I use a VGA monitor on my Sun? A simple adapter will connect a Sun to a VGA 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.) Adapters are available from: Ultraspec Cables, Inc., Lakewood, NJ, USA (voice) (NA) 1-800-622-2537 (int'l) 1-908-901-0200 (fax) (NA) 1-800-222-5337 (int'l) 1-908-901-0240 (e-mail) sales at ultraspec.com The Sun -> VGA adapter is part number 1395 Nudata (908-842-1161, fax 908-905-5708) part number DA1152 Thanks to Randolph Fritz for the above. Bert N. Shure points out that Integrix sells a VGA SBUS framebuffer, the HD15, which permits ordinary VGA monitors to be used on Suns. Integrix also sells various SVGA framebuffers. For more information, consult http://www.integrix.com This and many other interesting facts about Sun Framebuffers 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 ----------------------------------------------------------------------------- Subject: 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". ----------------------------------------------------------------------------- Subject: 11.5) What should I do about my Ultra-1's CPU cooling fan? The small five or seven-blade fan that sits on the Ultra-1 CPU heat sink fails over time. Only the Ultra-1 is affected. This known problem is fixed by Field Change Order FCO #A0089-1, which replaces the CPU cooling fan with a better one. Call Sun (in the US, 800-872-4786, and in Canada, 800-722-4786) with the Ultra-1's serial number and Sun will ship a fan free. If you have more than one Ultra-1, ask for several fans. The CPU cooling fan part number is 540-2761. Note that some Sun Spares Reference Guides indicate that it is the fan for the front of the cabinet, which is incorrect. Replacement Technique: 1. Move Power Supply. (a) loosen 2 screws near power connection (b) slide power supply forward and lift out of way. 2 Loosen 4 screws around fan and slide fan out into space that was occupied by power supply. Be sure to open the connector latch. If you pull too hard, the socket comes off the motherboard too. Thanks to Greg Polanski ----------------------------------------------------------------------------- 12. Networking ----------------------------------------------------------------------------- Subject: 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. ----------------------------------------------------------------------------- Subject: 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/db/oui/index.html" 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. ----------------------------------------------------------------------------- Subject: 12.3) How do I set my hme interface to e.g. 100Mb full duplex? This applies only to Solaris 2.5 or later; hme interfaces are not supported under SunOS 4.x or earlier versions of Solaris. Sun's 10/100 network interface on the Ultra systems and on the SunSWIFT network cards are capable of negotiating with a network switch; if this is working, and if the other end is capable of 100Mb full duplex (FD) operation, the hme card will automatically set itself properly. However, this may not necessarily work with some networking gear. 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 ----------------------------------------------------------------------------- Subject: 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 ----------------------------------------------------------------------------- Subject: 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 ----------------------------------------------------------------------------- Subject: 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 ftp://ftp.cac.washington.edu/pine/. An old, unmaintained Berkeley popd can be found at ftp://ftp.cc.berkeley.edu/pub/pop (not recommended), and Casper Dik's enhanced version 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/ Finally, the CMU Cyrus IMAP server can be used. It can be found at ftp://ftp.andrew.cmu.edu/pub/cyrus-mail. If a commercial package is desired, Sun's new SIMS (Solstice Internet Mail Server) supports POP3 and IMAP4. See http://www.sun.com ----------------------------------------------------------------------------- 14. Printing ----------------------------------------------------------------------------- Subject: 14.1) Is there a third-party source for SPARCprinter consumables? Yes, there is. The SPARCprinter is OEM'ed by Xerox, and uses the same consumables as the Xerox 4030 laserprinter. The appropriate part numbers are: Toner cartridge: 365-1124-01 Sun 6R281 Xerox Drum cartridge: 365-1125-01 Sun 13R32 Xerox Fuser Lubricant/oil: 370-1371-01 Sun 94E95090 Xerox Fuser wick: 811-1687 Sun (Sun Express) These parts are available from various resellers. ----------------------------------------------------------------------------- Subject: 14.2) How do I configure a non-postscript printer for postscript? If a ghostscript driver is available for that printer, you can use ghostscript to translate the postscript to something the printer can understand. To do this for SunOS, use the APSfilter package. APSfilter was posted to comp.sources.misc as part of volume 42, and is available from your favourite 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 ----------------------------------------------------------------------------- Subject: 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. ----------------------------------------------------------------------------- Subject: 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 From cssaru at miel.mot.com Tue Apr 2 03:09:08 2002 From: cssaru at miel.mot.com (Saravanan C S) Date: Tue Apr 2 03:09:08 2002 Subject: ***SENDMAIL PROBLEM*** Message-ID: <3CA973F1.EB78D8F0@miel.mot.com> Hi Sun Experts I am new to sendmail, Please suggest your solutions to the problem what I am facing. The Problem on a Mail Server is, intermittently the users are not able receive mails and the mails sent by them to the recipient is also not reaching. I ran mailq and observed the following errors. NAA08312 2679 Tue Apr 2 13:52 MAILER-DAEMON (I/O error) root NAA08333 2724 Tue Apr 2 13:53 MAILER-DAEMON (I/O error) root NAA08040 2724 Tue Apr 2 13:49 MAILER-DAEMON (I/O error) root NAA09040 2695 Tue Apr 2 13:59 MAILER-DAEMON (I/O error) root I checked up in /var/log/syslog file and noticed the following errors. Apr 2 13:49:42 hpux4 sendmail[8040]: NAA08040: to=root, delay=00:00:01, xdelay=00:00:01, mailer=local, stat=I/O error Apr 2 13:52:46 hpux4 sendmail[8312]: NAA08312: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, stat=I/O error Apr 2 13:53:06 hpux4 sendmail[8333]: NAA08333: to=root, delay=00:00:01, xdelay=00:00:01, mailer=local, stat=I/O error Apr 2 13:59:28 hpux4 sendmail[9040]: NAA09040: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, stat=I/O error Apr 2 14:03:18 hpux4 sendmail[9433]: NAA08312: to=root, delay=00:10:32, xdelay=00:00:00, mailer=local, stat=I/O error Apr 2 14:03:18 hpux4 sendmail[9433]: NAA08333: to=root, delay=00:10:13, xdelay=00:00:00, mailer=local, stat=I/O error Apr 2 14:03:19 hpux4 sendmail[9433]: NAA08040: to=root, delay=00:13:38, xdelay=00:00:01, mailer=local, stat=I/O error Apr 2 14:03:19 hpux4 sendmail[9433]: NAA09040: to=root, delay=00:03:51, xdelay=00:00:00, mailer=local, stat=I/O error Can U Please give some ideas why this error message occurs and how it can be solved. Thanks in Advance Regards C.S.Saravanan. From wavexx at ngweb.it Tue Apr 2 03:23:03 2002 From: wavexx at ngweb.it (Giardina Marina) Date: Tue Apr 2 03:23:03 2002 Subject: die easy ultra 10 - solved? Message-ID: <8146112E4C6CD311BC2300105AEFE7E50186E05D@videobank.it> Finally I've been able to search for errors on my ultra 10 and I've found the problem: suffers from the dreaded ecache on cpu0. Sadly, as seen in this ml, seems to be a very common problem on the ultra 10 models. I'd like to know the details of this problem. Definitivey.. an hardware bug OR may be affected day by day by the near hardware OR may be caused by some kind of shock? Thanks to everyone who replied so far. From sunixadm at yahoo.com Tue Apr 2 03:31:01 2002 From: sunixadm at yahoo.com (UnixAdmin) Date: Tue Apr 2 03:31:01 2002 Subject: ifconfig on SOlaris 8 Message-ID: <20020402093047.28143.qmail@web20205.mail.yahoo.com> Hi Managers, I am trying to add an additional IP Address to a NIC on an Ultra 10 running SOlaris 8. The commands I am running are: # ifconfig hme0:1 plumb # ifconfig hme0:1 10.192.2.70 netmask 255.255.248.0 up When I do ifconfig hme0:1 I get: hme0:1: flags=1000843 mtu 1500 index 2 inet 10.192.2.70 netmask fffff800 broadcast 10.255.255.255 The entries in /etc/netmasks is: 10.192.2.0 255.255.248.0 139.7.156.0 255.255.248.0 What bothers me is the broadcast address. Using a netmask of 255.255.248.0, I would expect a broadcast of 10.192.7.255. I have looked on docs.sun.com and sunsolve but didn't find anything that helped. Thanks in advance for the help. -Joe Yahoo! Tax Center - online filing with TurboTax http://http://taxes.yahoo.com/ From kengheng at maxis.net.my Tue Apr 2 04:24:01 2002 From: kengheng at maxis.net.my (kengheng) Date: Tue Apr 2 04:24:01 2002 Subject: E3k can get display on Sun Monitor References: <20020401113307.30129.qmail@web13502.mail.yahoo.com> Message-ID: <007401c1da30$7ae8b140$7c000180@khchan> Dear ALL: I have a SUN E3000 which recently we have replace a faulty power supply (300-1307) with new power-supply (300-1400), however after the hardware changing, the display on the Sun monitor is blank, but the system can still be up. Need some advise from gurus. Thanks, khchan From chitthi_2001 at yahoo.com Tue Apr 2 04:48:01 2002 From: chitthi_2001 at yahoo.com (Swetha Kapoor) Date: Tue Apr 2 04:48:01 2002 Subject: Shell script /comands to get certain lines from a file Message-ID: <001601c1da33$56a5d3a0$b90aa8c0@officetiger.com> Hi all, I need ideas to implement the following in a shell script: I have a log file generated with the time stamp for example: Sun Feb 10 23:48:46 2002 ,this log file gets appended everyday. My requirement is that I need to get the log messages for the last two days from the current date,example if todays date is Mon Feb 11 23:47:45 ,I need to get the messages for Sun Feb 10 and Sat Feb 9.How do i seperate only the lines that I need ???????? Any help or suggestions is highly appreciated. Thanx in advance. Regards, Swetha. From chakri78 at yahoo.com Tue Apr 2 05:20:03 2002 From: chakri78 at yahoo.com (chakravarthi s viswanadh) Date: Tue Apr 2 05:20:03 2002 Subject: SUNFIRE 280R problem In-Reply-To: <007401c1da30$7ae8b140$7c000180@khchan> Message-ID: <20020402111916.35040.qmail@web13506.mail.yahoo.com> Hi, I Have a Sunfire 280r with Toshiba DVD-ROM, but the probe-scsi-all at ok prompt doesn't show me this in the list, It just gives Target ID Any suggestions regards chakri Yahoo! Tax Center - online filing with TurboTax http://http://taxes.yahoo.com/ From stephen.ryan at parthus.com Tue Apr 2 06:10:03 2002 From: stephen.ryan at parthus.com (Stephen Ryan) Date: Tue Apr 2 06:10:03 2002 Subject: 220R 2.6 possible memory leak? Message-ID: <3CA99EE2.548418E2@parthus.com> Hi all, I have a 220R running 2.6 105181-28. It has 2gb of RAM. It is running as our internal DNS master (BIND 8-22p5), NIS master and mail server. We are running qmail 1.03 and UW imap 2001a. The problem is that the physical RAM is constantly close to being maxed out - it usually sits at about 32mb free. The biggest hog appears to be imap (at present, 162 client sessions running, averaging about 5mb usage), but even on slow days with far fewer imap clients the free RAM count is still down around 32mb. I've seen references to file system caching being a possible cause of this, but the implication is that this usually happens over time - this machine maxes out within about 20 minutes of a reboot. The automounter is mounting all the imap users' home directories, so I'm wondering if it's an issue with nfs file caching. I've run SymbEL zoom on the box and it doesn't squawk about the ram consumption. vmstat over time reports healthy scan rates. I suppose my question is: - Is this normal behaviour or am I looking at a memory leak? If so, what are the optimal tools to detect the cause? I've done some analysis using kmastat/crash, but nothing is leaping out at me - I've been running comparisons with other, healthy boxes and the bucket usage patterns appear consistent. As this is a production machine, my actions in trying to isolate the fault have been restricted - should I be thinking of an out of hours reboot and then bringing up the services incrementally while monitoring the mem stats? TIA for any help/info. Stephen. -- Stephen Ryan IT Group Parthus Technologies plc ph: +353-1-402 2579 fax: +353-1-402 5711 From ben_f_falls at hotmail.com Tue Apr 2 06:39:08 2002 From: ben_f_falls at hotmail.com (Ben Falls) Date: Tue Apr 2 06:39:08 2002 Subject: SUMMARY: Solaris Resource Manager Message-ID: Thanks to Doug and Andrew for their responses (see below). It Sounds like SRM is a good product that works as advertised. I am looking forward to working with it. Andrew Stueve: From huang at monair.com Tue Apr 2 07:19:01 2002 From: huang at monair.com (Frank Huang) Date: Tue Apr 2 07:19:01 2002 Subject: /usr/lib/print/printd Message-ID: <008301c1da48$dc320290$205b0064@HUANG> Hi All: What is /usr/lib/print/printd for? I have a 2.8 machine(x.x.x.3), very often printd comes up by itself. I do not know what starts it up, since its parent process I.D. is "1". In our firewall log, it produces the following entry, IPT TCP drop:IN=eth0 OUT=eth1 SRC=x.x.x.3 DST=210.73.90.246 LEN=40 TOS=0x00 PREC=0x00 TTL=63 ID=51976 DF PROTO=TCP SPT=743 DPT=515 WINDOW=24820 RES=0x00 RST URGP=0 515 is for printer spooler Why does printd on this machine keeps trying to spool to address 210.73.90.246? Any misconfiguration of spooler or dns or something else? The machine is not a printer server and it is a nis and dns client. Any help or suggestions is highly appreciated. Regards, Frank Huang From Nelson.T.Caparroso at sbcdo.com Tue Apr 2 09:08:02 2002 From: Nelson.T.Caparroso at sbcdo.com (Caparroso, Nelson T. (AAS)) Date: Tue Apr 2 09:08:02 2002 Subject: TCP Wrapper log messages Message-ID: All of a sudden, I am getting these syslog messages and receive complaints of inability to connect to the wrapped servers. Any idea? Is there a configuration adjustment that I need to do? Apr 2 09:22:22 tdcsnxte002 in.telnetd[11190]: [ID 393381 daemon.error] warning: can't verify hostname: gethostbyname(HQLT667.aas.com,2) failed Apr 2 09:22:22 tdcsnxte002 in.telnetd[11190]: [ID 947420 daemon.warning] refused connect from 10.0.101.33 Apr 2 10:02:29 tdcsnxdb001 nscd[2581]: [ID 484914 user.notice] gethostbyaddr: GCWS022156.aas.com. != 10.0.100.21 Apr 2 10:02:29 tdcsnxdb001 nscd[2581]: [ID 484914 user.notice] gethostbyaddr: TRWS026246.aas.com. != 10.0.100.22 NELSON From u_sparc at hotmail.com Tue Apr 2 09:43:01 2002 From: u_sparc at hotmail.com (Shane Pitman) Date: Tue Apr 2 09:43:01 2002 Subject: 3RD Party Memory Question Message-ID: Hi all I am trying to find 3rd party memory for an E450 that we have. I seem to remember someone telling me that you could buy 1GB sets (2 @ 512MB) for the E450. Anyone know where I can find such a product? TIA _________________________________________________________________ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com From u_sparc at hotmail.com Tue Apr 2 10:20:10 2002 From: u_sparc at hotmail.com (Shane Pitman) Date: Tue Apr 2 10:20:10 2002 Subject: 3rd Party Memory Continued Message-ID: Thank you for your suggestions. So far I have a few sources that I did not have, for future projects and I will use them. I will post all the names of companies and the also those of you that have helped me in the summary. Maybe this will explain what I am looking for better. Sun has X7004A (2 @ 128MB), they have X7005A (2 @256MB). What I am looking for is a 3rd party solution that would be (2 @ 512MB) Sun does not make this memory option. Have any of you seen a 3rd party solution to this? TIA / Will Summarize _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. From Padraig.Lennon at Pioneerinvest.ie Tue Apr 2 10:22:09 2002 From: Padraig.Lennon at Pioneerinvest.ie (Lennon, Padraig) Date: Tue Apr 2 10:22:09 2002 Subject: Memory problems on E450 Message-ID: <99DABA002010D611A4DA00B0D068A5791E625F@DUBSWAPM1> Hi Guru's, I have a strange problem with one of our E450's. About a month ago i started getting the following errors in /var/adm/messages stating that Memory module 1904 was experiencing memory problems foo unix: [ID 908439 kern.notice] [AFT0] Multiple Softerrors: foo unix: [ID 356634 kern.notice] 3 Intermittent, 253 Persistent, and 0 Sticky Softerrors accumulated foo unix: [ID 340762 kern.notice] from Memory Module 1904 That seemed a straightforward error and i requested that a Sun Engineer come and change the module. When he arrived he moved a known good module into slot 1904, and placed the new module in 1901 (This was done to ensure that it wasn't the slot that was causing the problem). This seemed fine and we booted the machine up again and ran SunVTS stress test. The same errors occured again, but this time the errors were coming from 1901. We naturally thought that the dimm was bad and replaced this again, this time placing 1804 into 1901 and the new DIMM in 1804 ( This was done to rule out a faulty bank that was holding the 190x Dimms. We booted up again and all seemed fine. SUNvts passed with no errors, and we left it and that. A day later though, the problems started again - this time from 1804. However the error messages were somwhat different foo pcipsy: [ID 758641 kern.info] AFSR=40830000.a4800000 AFAR=00000000.d0610fa8, foo double word offset=5, Memory Module 1804 id 4. foo pcipsy: [ID 553544 kern.notice] syndrome bits 83 foo pcipsy: [ID 865758 kern.warning] WARNING: correctable error from pci0 (upa mid 4) during foo DVMA read transaction as well as: foo unix: [ID 908439 kern.notice] [AFT0] Multiple Softerrors: foo unix: [ID 356634 kern.notice] 3 Intermittent, 253 Persistent, and 0 Sticky Softerrors accumulated foo unix: [ID 340762 kern.notice] from Memory Module 1804 I got onto SUN support who told me it looked like a motherboard error. We changed the motherboard, and again SUNvts passed all tests. To my disgust the errors are back again. I have run SUN explorer on the host a number of times which SUN have analysed, but have found no problems. Their suggestion now is to break the memory interleave, disable a bank at a time to try isolate the problem. I can't do this however as it is a production host and all 4gb of memory is needed. I have search extensively in Sunsolve etc.. for clues but to no avail. I did notice however that some people have had problem with E450's incorrectly diagnosing a failed DIMM. prtdiag does not show any errors at all. Has anyone come across a problem like this before, and if so what was the cause? E450 spec -- 4x480mhz processors, 4gb Mem ( interwoven) Solaris 8 Patch 108528-12 Sunvts version 4.6 I will of course summerize no matter what the outcome. Thanks -Padraig ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** From markmont at umich.edu Tue Apr 2 10:25:02 2002 From: markmont at umich.edu (Mark Montague) Date: Tue Apr 2 10:25:02 2002 Subject: A1000 serial port information Message-ID: I'm wondering if we can use the serial port on an A1000 to control the array and get diagnostic information. There are some articles on SunSolve that indicate this is possible, but I don't know the serial port settings (speed, parity, etc.), what sort of cable is needed (null-modem or straight through), and what sorts of commands the array's firmware understands. The controller in the A1000 seems to be the same as for the A3500, so I'd be interested in hearing from anyone who is using the serial port on an A3500, too. Thanks in advance for any information or pointers to documentation; I will summarize. Mark Montague LS&A Information Technology The University of Michigan markmont at umich.edu From donunix at yahoo.com Tue Apr 2 10:32:02 2002 From: donunix at yahoo.com (Don Jones) Date: Tue Apr 2 10:32:02 2002 Subject: SUMMARY2:NFS/AUTOMOUNT References: Message-ID: <002e01c1da63$c0d2c320$8d440481@TRW7WB46W87V7R> Hello everyone, The following worked fine on Solaris 8 machines: /etc/init.d/autofs stop /etc/init.d/nfs.client stop umount -f /home ( the hung system) /etc/init.d/nfs.client start /etc/init.d/autofs start For 2.6 and 2.7 nothing worked right, including fuser -k /home .. it just hang! I think no choice but reboot for those machines. -DJ From u_sparc at hotmail.com Tue Apr 2 11:24:02 2002 From: u_sparc at hotmail.com (Shane Pitman) Date: Tue Apr 2 11:24:02 2002 Subject: 3rd party memory summary Message-ID: thank you to all that responded. John Douglas Keith Tarbell James Abbuhl David Brierley David Melnik Mathew Mauzy Michael Stucchi Charlotte Ratcliff Steve Hunt Dan Ostrom Colin Symington Paul Galjan Dan West David Harrington Bob Boldin Steve Beuttell Mark Neil Many of you correctly mantioned that the E450 needs to have the memory installed in sets of 4. Also that the largest capacity dimm is 256mb. Thank you again. guess I need to get a new way to solve this issue. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. From anaseem at vanhosp.bc.ca Tue Apr 2 12:10:05 2002 From: anaseem at vanhosp.bc.ca (Atif Naseem) Date: Tue Apr 2 12:10:05 2002 Subject: Disksuite 4.21 initialization error Message-ID: Hello I have sun ultra 10 , running solaris8 nad having netra D 103T as the strorage array. I installed th latest patches. Installtion of Solstice disksuite 4.2.1 successfully completed , but when i tried to run the metadb command it gives the following errror. metadb:hostname:domainname.com: /dev/md/admin no such file or directory. I rebooted the machine many times with reconfigure flag. when i tried to run devfsadm to manually built the dev/devices tree i got the following error ld.so.1 Fatal relocation error . File devfsadm symbol di_devlink_open referrred symbol not found. Iuninstalled and reinstall the package many times now but still i am getting the error. any clue will be highly appriciated. regards atif -------------------------------------------------------------- Atif Naseem Unix Consultant Vancouver General Hospital anaseem at vanhosp.bc.ca ----------------------------------------------------- From raoul_s2001 at yahoo.com Tue Apr 2 12:52:01 2002 From: raoul_s2001 at yahoo.com (raoul s) Date: Tue Apr 2 12:52:01 2002 Subject: vfstab check out Message-ID: <20020402185143.79471.qmail@web21109.mail.yahoo.com> system is sparc solaris 2.8. posted a question and receieved differenct feedbacks. does this vfstab file look ok? any correction is appreciated. cat vfstab #device device mount FS fsck mount mount #to mount to fsck point type pass at boot options # #/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes - fd - /dev/fd fd - no - /proc - /proc proc - no - /dev/dsk/c0t0d0s1 - - swap - no - /dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no - /dev/dsk/c0t1d0s0 /dev/rdsk/c0t1d0s0 /opt ufs 2 yes - /dev/dsk/c2t5d0s0 /dev/rdsk/c2t5d0s0 /ox ufs 3 yes - /dev/dsk/c2t5d0s6 /dev/rdsk/c2t5d0s6 /ox ufs 4 yes - /dev/dsk/c2t2d0s7 /dev/rdsk/c2t2d0s7 /ox ufs 5 yes - swap - /tmp tmpfs - yes - Yahoo! Tax Center - online filing with TurboTax http://http://taxes.yahoo.com/ From sol_unix at hotmail.com Tue Apr 2 13:01:02 2002 From: sol_unix at hotmail.com (Sam !) Date: Tue Apr 2 13:01:02 2002 Subject: question: int. disk->ext. disks Message-ID: took out couple of sparc10 int. scsi disks. Like to make them external. openned up two external ones and like to stick these two in place of the others. what is the safest way to manage the jumper settings?. the ones on the cases will do it?. Sam ------------------------------------------------------------------------ Get your FREE download of MSN Explorer at http://explorer.msn.com. From raoul_s2001 at yahoo.com Tue Apr 2 13:08:07 2002 From: raoul_s2001 at yahoo.com (raoul s) Date: Tue Apr 2 13:08:07 2002 Subject: vfstab checkout,;correction; apologies Message-ID: <20020402190717.82500.qmail@web21101.mail.yahoo.com> system is sparc solaris 2.8. posted a question and receieved differenct feedbacks. does this vfstab file look ok? any correction is appreciated. cat vfstab #device device mount FS fsck mount mount #to mount to fsck point type pass at boot options # #/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes - fd - /dev/fd fd - no - /proc - /proc proc - no - /dev/dsk/c0t0d0s1 - - swap - no - /dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no - /dev/dsk/c0t1d0s0 /dev/rdsk/c0t1d0s0 /opt ufs 2 yes - /dev/dsk/c2t5d0s0 /dev/rdsk/c2t5d0s0 /ox1 ufs 3 yes - /dev/dsk/c2t5d0s6 /dev/rdsk/c2t5d0s6 /ox2 ufs 4 yes - /dev/dsk/c2t2d0s7 /dev/rdsk/c2t2d0s7 /ox3 ufs 5 yes - swap - /tmp tmpfs - yes - Yahoo! Tax Center - online filing with TurboTax http://http://taxes.yahoo.com/ From dharrington at dscr.dla.mil Tue Apr 2 13:19:01 2002 From: dharrington at dscr.dla.mil (Harrington, David B (Contractor)) Date: Tue Apr 2 13:19:01 2002 Subject: MAC/IP Address conflict that isn't Message-ID: I just loaded a SunFire 280R, (2 x 900MHz CPU's, 4GB memory) with Solaris 8 (2/02). I selected both IPv4 and IPv6 when asked. After it was rebooted following initial installation, it started recording warnings as follows: "Warning: IP: Hardware address '00:03:BA:nn:nn:nn' trying to be our address '123.123.12.123'. The IP address is not used elsewhere on our network. The MAC address is the NIC card built into the motherboard. The message repeats all day, randomly, but about every 1.5 - 2 Hrs. Before I discovered the machine itself was the MAC address in question, I searched on the database of manufacturers, and this grouping does not appear. Does any one know what is causing this? How can I stop the process? Dave Harrington Solaris System Administrator - EDS dharrington at dscr.dla.mil From huang at monair.com Tue Apr 2 13:48:02 2002 From: huang at monair.com (Frank Huang) Date: Tue Apr 2 13:48:02 2002 Subject: Summary: /usr/lib/print/printd Message-ID: <011e01c1da7f$4288d510$205b0064@HUANG> Thanks go to Michael Hocke. He made me to check the /etc/printers.conf file carefully again, and I found the problem there. I have an old entry, its print server is named qele. I used to have a machine called qele. Now since qele is no longer in /etc/hosts or our DNS A record, and I have the following in my /etc/nsswitch.conf # consult /etc "files" only if nis is down. hosts: nis [NOTFOUND=return] files dns so sun resolve the name as the following PING qele: 56 data bytes 64 bytes from 210.73.90.246: icmp_seq=0. time=252. ms That is where the ip address 210.73.90.246 comes from. Thanks. Frank Huang From ak94601 at yahoo.com Tue Apr 2 14:20:02 2002 From: ak94601 at yahoo.com (Ath Kar) Date: Tue Apr 2 14:20:02 2002 Subject: Summary: Re. Tape Struck Message-ID: <20020402201924.62692.qmail@web14805.mail.yahoo.com> Hi Thanks, response fr Paul, Michiel, Ben was pretty fast.. I had already tried command mt -f /dev/rmt/3 rewoffl which failed.. so I had no other option... Yes-day I rebooted the Server, it ejected the Tape Drive... Thanks once again... Ath Yahoo! Tax Center - online filing with TurboTax http://http://taxes.yahoo.com/ From cbar44 at tsg.cbot.com Tue Apr 2 14:36:02 2002 From: cbar44 at tsg.cbot.com (Christopher L. Barnard) Date: Tue Apr 2 14:36:02 2002 Subject: OpenSsh 3.1p1 on Solaris 7 and 8 problem Message-ID: <200204022034.OAA07849@shalmaneser.tsg.cbot.com> I am not sure whether this is a Solaris problem or an OpenSSH problem, so I am sending this to the sunmanagers list as well as the OpenSSH developers. I have OpenSsh 3.1p1 installed on Solaris 7 and Solaris 8 machines. On all machines I have X11 forwarding enabled, with ForwardAgent yes ForwardX11 yes in the /etc/ssh_config and X11Forwarding yes in the /etc/sshd_config. I am able to ssh to a remote system and run an X application. However, when I su to root I no longer am able. Ordinarily I would use "xauth list" to determine the magic cookie from the display, but that does not work: (~) shalmaneser 53 % xclock (the X application works fine) (~) shalmaneser 54 % ssh srvns1 (~) srvns1 51 % xclock (the X application works fine) (~) srvns1 52 % echo $DISPLAY localhost:13.1 (~) srvns1 53 % xauth list localhost:13.1 (nothing is returned. localhost:13 does not exist. However, grep-ing on the string ":13" returns two hits in the .Xauthority file:) (~) srvns1 54 % xauth list | grep ":13" srvns1/unix:13 MIT-MAGIC-COOKIE-1 611a4835e65cce94312ac15a8e32d836 srvns1.cbot.com:13 MIT-MAGIC-COOKIE-1 65d6090ac2dfd4c46a06dc98b7b9f963 (~) srvns1 55 % /bin/su - Password: Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001 (as root, I add both of these cookies, in case either of them will work) srvns1!/ >> xauth add srvns1/unix:13 MIT-MAGIC-COOKIE-1 611a4835e65cce94312ac15a8e32d836 srvns1!/ >> xauth add srvns1.cbot.com:13 MIT-MAGIC-COOKIE-1 65d6090ac2dfd4c46a06dc98b7b9f963 srvns1!/ >> export DISPLAY=srvns1.cbot.com:13 srvns1!/ >> xclock Error: Can't open display: srvns1.cbot.com:13 srvns1!/ >> export DISPLAY=srvns1/unix:13 srvns1!/ >> xclock Error: Can't open display: srvns1/unix:13 as you can see, neither of those display names will work. I should mention that this did work in older versions of OpenSSH (3.0.2p1, 2.9.9p1, 2.9p1, 2.5.1p1, yadda yadda yadda) but has now broken with this release. I believe that the problem lies with the fact that DISPLAY is "localhost":something, and that string is not in the .Xauthority file. But that is just a guess. Does anyone have any suggestions on getting this to work again? +-----------------------------------------------------------------------+ | Christopher L. Barnard O When I was a boy I was told that | | cbarnard at tsg.cbot.com / \ anybody could become president. | | (312) 347-4901 O---O Now I'm beginning to believe it. | | http://www.cs.uchicago.edu/~cbarnard --Clarence Darrow | +----------PGP public key available via finger or PGP keyserver---------+ From grichardson at watercove.com Tue Apr 2 15:01:10 2002 From: grichardson at watercove.com (Gary Richardson) Date: Tue Apr 2 15:01:10 2002 Subject: font error Message-ID: <5BFDB1D553A1D411A48200508BB0F6EC012DF5FA@k2> Hi all, One of the users here ran into a strange problem that's really stumped me. Here's what the deal is: He's sitting in front of an Ultra 10 that's running Solaris 8. He's logged in via CDE. He telnets/rlogin to a Netra 20 running Solaris 8. In his bash shell he sets the DISPLAY back to the Ultra 10. He runs his X application (in this case, it's oracle's dbassist program). In the window he gets the following errors: Warning: Missing charsets in String to FontSet conversion Warning: Cannot convert string "-dt-interface system-medium-r-normal-s*-*-*-*-*- *-*-*-*" to type FontSet Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset Warning: Cannot convert string "-dt-interface system-medium-r-normal-s*-*-*-*-*- *-*-*-*" to type FontList Warning: Cannot convert string "-dt-interface system-medium-r-normal-s*-*-*-*-*- *-*-*-*:" to type FontList Warning: Missing charsets in String to FontSet conversion Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*-*-*-*-*-*- *-*-*" to type FontSet Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*-*-*-*-*-*- *-*-*" to type FontList Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*-*-*-*-*-*- *-*-*:" to type FontList And when the window comes up the fonts are so messed up (or missing) you can't understand what's in the window. I duplicated this problem by sitting in front of two other Sun machines (one running Solaris 7, another running Solaris 8) and got the same errors. Now for something odd. I go back to my office, sit in front of my PC, fire up Exceed, get myself a CDE login screen to the three machines mentioned above (NOT the Netra 20), login, then telnet/rlogin to the Netra 20, set the DISPLAY back to my Exceed session, fire up the X app, and DO NOT get the errors. Hmmmm. Next I set up Exceed to give me a login screen to the Netra 20. I notice right off that the font in the CDE login screen looks weird (kinda looks like small Courier to me). I log in to the Netra 20, run the app, and it comes up, however the font is REALLY tiny. I log back out, then click on the OPTIONS --> LANGUAGE menu in the CDE login screen. It says that the language is set to en_US.ISO8859-15-USA (Euro). Hmm, doesn't seem right. I check another Netra 20 that I had installed at the same time. It's set to en_US.ISO8859-1--USA. So I go back and Exceed to the troubled Netra 20, get the CDE login screen, change the language to en_US.ISO8859-1--USA and login. Everything works and looks great in that Exceed session. Ok, after all that, I guess I have a bunch of questions. First, what's causing those errors? Second, related to the first question, is the language setting that I see in the login screen the cause of this problem? Is that a default setting somewhere within the X server? If so, how do I go about changing it? Does that default setting affect all users running X apps on that machine, or just limited to people logging in via a CDE login screen? How comes the X app works while using Exceed to connect to the system, but not when I'm sitting at a Sun console, rlogin/telneted to the Netra 20? How is Exceed affecting and/or fixing this issue? Sorry, I know that's a bunch of questions. :-) BTW, I'm running Exceed 6.2, single window mode, Communication setting set to XDMCP-query. My apologies if I'm either unclear or running in circles with my above explanation and all those questions. I've been going in circles myself trying to figure this problem out. Thanks in advance for any help/advice. If possible, please send some tylenol in your email to help me with my headache. :-) -Gary Gary Richardson Sr. Unix Administrator WaterCove Networks, Inc. Email: grichardson at watercove.com From smungamoori at portera.com Tue Apr 2 15:50:02 2002 From: smungamoori at portera.com (Sudhakar Mungamoori) Date: Tue Apr 2 15:50:02 2002 Subject: swap space limit exceeded Message-ID: <5E5BF8E44723D4119B6D00508BCC219A05EF033A@mail1.hq.portera.com> Hi All On one of our Oracle hosts we are seeing this message, infrequently and for a moment. Our monitoring tools cannot catch this VM shortage. unix: WARNING: /tmp: File system full, swap space limit exceeded we have enough unused swap available( about ~4Gb). Please advise, how to identify what process(es) could be responsible for this momentary VM shortage. Platform is Solaris 7/Sparc running Oracle 817. Thanks -Sudhakar Mungamoori From jeffw at pbs.com Tue Apr 2 16:59:01 2002 From: jeffw at pbs.com (Jeff Wellens) Date: Tue Apr 2 16:59:01 2002 Subject: SUMMARY - What is starting this process? Message-ID: H ere is the summary for this problem. To disable for a specific user: (Thanks to Tom Knox) cd to the users home directory, then type: mkdir .solregis cd .solregis touch disable To disable for all users: (Thanks to Dev Null) Go to /etc/default/ Make file called solregis with the line DISABLE=1 I used the specific user option and it worked great. Thanks! ---------------------- I am having a hard time determining why the program 'hotjava' is starting every time this user signs into OpenWindows. Here is the ps list of the java process. It is being started by the Xsession process. What can I modify to get hotjava to NOT run when they sign into OpenWindows? I have closed hotjava, then saved workspace in OpenWindows, but it still keeps coming up. ps -ef | grep 2841 cjf 2841 2839 0 07:57:03 ? 0:00 /bin/ksh /usr/dt/bin/Xsession cjf 2851 2841 0 07:57:04 ? 0:00 /usr/openwin/bin/fbconsole cjf 2891 2841 0 07:57:05 pts/2 0:00 /usr/dt/bin/sdt_shell -c unset DT; DISPLAY=:0; /usr/dt/bin/dt cjf 2877 2841 0 07:57:05 ? 0:09 /usr/java/bin/sparc/native_threads/java -classpath /usr/dt/appconfig/hotjava/cl root 5524 5506 0 11:29:10 term/a 0:00 grep 2841 Thanks in advance! Jeff Wellens Jeff Wellens Publishing Business Systems Technical Support Analyst 651-634-9218 Ext. 418 From jeff.welsch at enviz.com Tue Apr 2 17:01:08 2002 From: jeff.welsch at enviz.com (Jeff Welsch) Date: Tue Apr 2 17:01:08 2002 Subject: Translate destination IP address Message-ID: <1017770393.4951.28.camel@welsch.ideametrix.com> Managers, I am having a problem communicating with a device inside of a firewall when attempting to access an external IP. Here is the situation: Server A has a real IP of 192.168.1.2 It sits behind static NAT with a global IP of 167.167.167.167 Server B has a real IP of 192.168.2.2 I am trying to get Server B to connect to Server A by IP address. For example: (from server b): wget http://167.167.167.167/index.html This request hangs until timeout. Does anyone know if I can somehow spoof Server B into asking for IP address 192.168.2.2 when a request is made to 167.167.167.167? I have looked into proxy arp and routes but do not know a way to do it. Any ideas? Will summarize. Please email me if I was not clear. Thanks! -- --- Jeff Welsch | jeff.welsch at enviz.com Director, Network Operations Enviz | Interactive Insight | www.enviz.com 1775 Woodside Road | Redwood City, CA 94061 v. 650.298.0914 | f. 650.298.0929 From jeff.welsch at enviz.com Tue Apr 2 17:35:02 2002 From: jeff.welsch at enviz.com (Jeff Welsch) Date: Tue Apr 2 17:35:02 2002 Subject: More information on 'Translate destination IP address' Message-ID: <1017772424.3949.16.camel@welsch.ideametrix.com> At the request of a few people, I am offering more information about my problem: Server A and Server B are on different subnets (each on a different /24). They are behind the same firewall. Server A and Server B are on inside interfaces on the firewall. Server A and Server B are web servers. Server A hosts ads for the site hosted on Server B. A user making requests of the site hosted on Server B from outside of the firewall is able to get the content served by both servers. My problem arises when trying to get Server B to make an HTTP request of Server A via external IP. Because the external IP address is on the outside interface, Server B is never able to connect to port 80. I believe that this is due to split horizons with poison reverse. A routing loop is detected and the firewall drops the packets. What I need to do is somehow forward requests to the external IP (167.167.167.167) to the internal IP of Server A (192.168.1.2). The external IP address of Server A is translated to the internal address via static NAT. ServerB makes request to 167.167.167.167 -> intercept and forward to 192.168.1.2 Hope this helps -- --- Jeff Welsch | jeff.welsch at enviz.com Director, Network Operations Enviz | Interactive Insight | www.enviz.com 1775 Woodside Road | Redwood City, CA 94061 v. 650.298.0914 | f. 650.298.0929 From jeff.welsch at enviz.com Tue Apr 2 17:35:23 2002 From: jeff.welsch at enviz.com (Jeff Welsch) Date: Tue Apr 2 17:35:23 2002 Subject: More information on 'Translate destination IP address' Message-ID: <1017772472.3949.19.camel@welsch.ideametrix.com> At the request of a few people, I am offering more information about my problem: Server A and Server B are on different subnets (each on a different /24). They are behind the same firewall. Server A and Server B are on inside interfaces on the firewall. Server A and Server B are web servers. Server A hosts ads for the site hosted on Server B. A user making requests of the site hosted on Server B from outside of the firewall is able to get the content served by both servers. My problem arises when trying to get Server B to make an HTTP request of Server A via external IP. Because the external IP address is on the outside interface, Server B is never able to connect to port 80. I believe that this is due to split horizons with poison reverse. A routing loop is detected and the firewall drops the packets. What I need to do is somehow forward requests to the external IP (167.167.167.167) to the internal IP of Server A (192.168.1.2). The external IP address of Server A is translated to the internal address via static NAT. ServerB makes request to 167.167.167.167 -> intercept and forward to 192.168.1.2 Hope this helps -- --- Jeff Welsch | jeff.welsch at enviz.com Director, Network Operations Enviz | Interactive Insight | www.enviz.com 1775 Woodside Road | Redwood City, CA 94061 v. 650.298.0914 | f. 650.298.0929 From glowe1 at san.rr.com Tue Apr 2 18:17:02 2002 From: glowe1 at san.rr.com (Grant Lowe) Date: Tue Apr 2 18:17:02 2002 Subject: FINAL SUMMARY: openssh Message-ID: Hi again gurus. Well, I finally get to post the final results. First let me say thanks to all the wonderful people who sent me email for my first posting, and subsequent PARTIAL SUMMARY postings. Some of the responses (since the last partial summary): run ldd on the binaries to see what libraries were being used. That tells me the libraries, but I'm still not sure what packages support what libraries. Others were wondering if I was using the entropy tool and the /dev/random packages. I am now. Others suggested to compile my own binaries. I have done that before, but I couldn't even get gcc to work so that was out of the question (until today however - explanation later). Also, I was asked if I did the installation EXACTLY as shown on sunfreeware. Yes, I did, but that didn't get ssh to work. It did help me with other things, though. Don't ignore this document. I want to say special thanks to Alex Strode who sent me a tarball with ssh. Works like a charm. Thanks, Alex! Next, thanks to Kris Haislip, who pointed out a package that also runs right as soon as you install it (no seg faults) at ftp.patriots.net (one nice thing about the package from this site is that it installed in /usr/local/bin, not /usr/local/ssh). Next, thanks to Ray McCaffity, who told me about how gcc before 3.X has a lot of utilities built in, but 3.x doesn't (plus 2.X is exploitable (Steve Mickeler told me about that). Also, Ray mentioned if using 3.X, to download and install binutils because of these missing utilities. Once I got these utilities installed, then gcc started working. This leads me to the last issue I had. I came up with the answer a little on my own and with a little help from a few folks. This has to do with the version of Solaris installed. I had originally used the Core version. Turns out you need the Developer version to get the libraries (Disk 2 of 2 for the Solaris 8 installation is where these guys live). I reinstalled Solaris with Developer version and a lot of the missing tools were then available. Thanks again for everybody's input. Grant Lowe From tim.mcginnis at caspiangroup.com Tue Apr 2 19:19:02 2002 From: tim.mcginnis at caspiangroup.com (tim) Date: Tue Apr 2 19:19:02 2002 Subject: summary: capacity planning and fiber questions Message-ID: <1017796671.28752.33.camel@zork.caspiangroup.com> Summaries: No one answered the first question (re: capacity planning), so if anyone is interested drop me a note and I'll share my thoughts on capacity planning vendors and/or open source. For the gigE copper question: Thanks to: Riddoch, John E, Sam Horrocks, Doug Otto, Mark Drummond, Michael Hocke , Christophe Dupre. I was essentially pointed to: http://www.sun.com/products-n-solutions/hw/networking/ connectivity/gigaswift/gigaswiftutp/index.html (wrapped). and http://sunsolve.sun.com/handbook_pub/Devices/Ethernet/ETHER_GigaSwift_UTP.htm l and GigaSwift Ethernet 1.0 UTP. Part number X1150A. Thanks again, -tm [demime 0.99c.1 removed an attachment of type application/pgp-signature which had a name of signature.asc] From VIVEK_SHARMA at infy.com Tue Apr 2 21:37:08 2002 From: VIVEK_SHARMA at infy.com (VIVEK_SHARMA) Date: Tue Apr 2 21:37:08 2002 Subject: Exe Loading too slow on DB Server Message-ID: Are there any Best Practices of Tuning Solaris 8 for HIGH-End heavily Loaded Machines ? A Brief Description of the Issue & Actions Below :- Machine E6500 RAM 20 GB CPUs = 20 SWAP = 26 GB After Migration from Oracle 7.3.4 to 8.1.7.2 on Solaris 2.8 sqlplus becomes SLOW as the Number of Unix Users Connecting to the Database Increases to about 400 whereafter even after all users are logged out the response continues to be Slow even after the machine is Booted i.e. ON Issuing the Command $ sqlplus it took about 5 minutes for the following Message to appear : - " SQL*Plus: Release 8.1.7. 0.0 - Production on Tue Mar 19 09:56:05 2002 (c) Copyright 2000 Oracle Corporation. All rights reserved. Enter user-name: " NOTE - This Slowness is Observed BOTH When Issuing "sqlplus" Command DIRECTLY on the DB Server & Also from the APP Server Via SQL*Net NOTE - In Oracle 7 NO such Slowness was Observed when the Total of 1200 Connect to the Database - Executed truss sqlplus with the Following Output :- $ truss sqlplus execve("/arch/oracle/bin/sqlplus", 0xFFBEFBBC, 0xFFBEFBC4) argc = 1 mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3A0000 resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16 stat("/arch/oracle/bin/sqlplus", 0xFFBEF8F8) = 0 open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT open("/arch/oracle/lib/libclntsh.so.8.0", O_RDONLY) = 3 fstat(3, 0xFFBEF28C) = 0 mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF390000 mmap(0x00000000, 6717440, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFEC00000 mmap(0xFF224000, 209704, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 6373376) = 0xFF224000 mmap(0xFF258000, 58832, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF258000 munmap(0xFF216000, 57344) = 0 memcntl(0xFEC00000, 672560, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) <- WAIT HAPPENING AT THIS POINT ACTIONS ON RE-Creating file libclntsh.so.8.0 using getclntsh on the APP Server Response Message " SQL*Plus: Release 8.1.7.2. ...." became FAST ONLY for a FEW Minutes whereafter it again Became Slow Copied libclntsh.so.8.0 to /usr/lib Dir Both on APP & DB Servers & Set LD_LIBRARY_PATH=/usr/lib:$ORACLE_HOME/lib whereafter the response to sqlplus became for Establishment of upto 500 Process Connections Directly on the DB Server . On Adding the Following Parameters to the /etc/system the Slowdown of "sqlplus" Connect to the Database Started Occuring after 850 Process Connections Instead of 500 (Previously) When Executing Directly on the Database Server machine . set tcp:tcp_conn_hash_size=262144 set rlim_fd_max=8092 set rlim_fd_cur=8092 set autoup=900 set tune_t_fsflushr=1 set bufhwm=8000 INCREASED the Semaphores to the Following Values :- - /etc/system File on the DB & APP Servers :- set shmsys:share_page_table=1 set maxuprc=20000 set maxusers=1500 set shmsys:shminfo_shmseg=200 set shmsys:shminfo_shmmin=2 set shmsys:shminfo_shmmni=5000 set shmsys:shminfo_shmmax=25769803776 forceload: sys/shmsys forceload: sys/shmsys set semsys:seminfo_semmsl=1000 set semsys:seminfo_semaem=16384 set semsys:seminfo_semmap=700000 set semsys:seminfo_semmni=60000 set semsys:seminfo_semmns=100000 set semsys:seminfo_semmnu=10000 set semsys:seminfo_semume=100 set semsys:seminfo_semvmx=32767 Because of Increase of SEMAPHORES ( semmns to 100,000 from 20,000 ) the Slowdown of "sqlplus" to Establish a Connect to Database started Occuring after 1050 Process Connections Instead of 850 (Previously) . We are yet to try the Settings of Reducing swapfs_minfree , noatime Option with mount , inode cache Hit ratio as advised Below -----Original Message----- From: Karl Vogel [mailto:vogelke at dnaco.net] Sent: Wednesday, March 27, 2002 12:11 AM To: VIVEK_SHARMA Subject: Re: sqlplus connect too slow under load both from DB & APP Servers You may need more swap. I've had the best luck with multiple 1-Gbyte swap partitions on different devices. V> After Migration from Oracle 7.3.4 to 8.1.7.2 on Solaris 2.8 sqlplus V> becomes SLOW as the Number of Unix Users Connecting to the Database V> Increases to about 400 whereafter even after all users are logged out V> the response continues to be Slow even after the machine is Booted Some suggestions are below. You may be spending too much time scanning memory for dirty pages. If you have an application that's an incredible swap hog, or the system is really slowing down, try adding the lines below to /etc/system and rebooting. I run with these settings and they've never caused me trouble. * * Swap * System keeps 1/8th of all memory for swap, which is too much for * a 4GB system. Reduce that to 32 Mbytes (4096 8K pages). set swapfs_minfree=4096 * * Memory management * * To decrease the amount of memory fsflush scans during any scan * interval, we must modify the kernel variable autoup. The default * is 30. For firewalls with 128MB of RAM or more, increase this * value. The end result is less time spent managing buffers, * and more time spent servicing packets. set autoup = 120 Run "mount" to see how your filesystems are set up. You can mount filesystems with "noatime" turned on, meaning don't bother updating the access time whenever a file is opened. We use this under Solaris-8, and it makes a *huge* difference if you're doing something to a large number of small or medium sized files. Check the size of your inode caches, which keep track of previously-accessed files. Run the DNLC script as root to see your hit-rate percentage. If it's under 90-95%, you need to up the cache size. The easiest way to do that is setting maxusers in /etc/system to something like 2048. Karl Vogel vogelke at dnaco.net From chakri78 at yahoo.com Tue Apr 2 21:48:03 2002 From: chakri78 at yahoo.com (chakravarthi s viswanadh) Date: Tue Apr 2 21:48:03 2002 Subject: SUNFIRE 280R problem In-Reply-To: <20020402111916.35040.qmail@web13506.mail.yahoo.com> Message-ID: <20020403034724.90581.qmail@web13507.mail.yahoo.com> Hi, I Have a Sunfire 280r with Toshiba DVD-ROM, but the probe-scsi-all at ok prompt doesn't show me this in the list, It just gives Target ID Any suggestions regards chakri Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ From phill at hivnet.ubc.ca Wed Apr 3 00:05:04 2002 From: phill at hivnet.ubc.ca (Phill St-Louis) Date: Wed Apr 3 00:05:04 2002 Subject: ufsrestore cannot restore large filesystem Message-ID: Computer: SunFire 280 What I am having difficulty restoring is a Sun StorEdge T3 which is connected to the SunFire 280 using fibre cables rather than being on ethernet network. Size of Filesystem: 280 GB, of which only 78 GB is used. Operating System: Solaris 8 with latest patches. Tape Drive: Quantum SDLT 220 Tape Drive Interface: an Antares PCI Bus Dual Ultra-3 Wide LVD SCSI Host Adapter I am using a script with a series of ufsdump commands for all of the Sun workstations on the network. THE PROBLEM: ufsdump seems to work fine for the large filesystem, but... when I try restoring from the tape backup only part of the filesystem gets restored and then ufsrestore asks for another volume to be mounted. I have tried different setting for the st.conf, but nothing seems to help. At this point we have not had a catastrophic failure. There is someone who accidentally removed a file that I cannot restore. I have tried restoring the entire filesystem and that also works for a while and then asks for another tape volume after restoring several GB of data. thank you -- ************************************************************************** Phill St-Louis phill at hivnet.ubc.ca Vancouver, B.C. Canada 806-8376 From dbaldoni at iinet.net.au Wed Apr 3 00:27:03 2002 From: dbaldoni at iinet.net.au (Daniel Baldoni) Date: Wed Apr 3 00:27:03 2002 Subject: SunScreen 2.0 problems Message-ID: <3CAAA081.D4604870@iinet.net.au> G'day folks, I have a client who has the misfortune of running SunScreen 2.0 (under Solaris 2.6) - a configuration I've not seen in over 3 years. Until now, the setup has basically worked for them but now they require some changes. Their network setup is (as you might expect): +-----+ +-----+ LAN <--->hme0| SUN |hme1 <---->|Cisco| a.b.c.f <---> ISP (192.168.1.0) +-----+ +-----+ The hme0 interface on the SUN is 192.168.1.1, the hme is a.b.c.246, the router is a.b.c.245. Until now, the client has never had any "through" services working (i.e. no pings, telnets, anything) from LAN workstations (which is what they wanted). Now, however, they have a piece of custom software which needs to talk to a remote service on a tcp high port (6080). Here are the steps I went through to try and get it working: 1. Defined the service as: ss_service default add SINGLE { { tcp { { 6080 } } } } 2. Defined the remote address: ss_address default add HOST w.x.y.z "" 3. Added a rule: ss_rule default add ALLOW \( LOG_SUMMARY SNMP_NONE \) was already defined as their local LAN network (i.e. 192.168.1.0) 4. Compiled and activated the new policy: ss_compile_and_activate default The result was a series of "Denied or no pass rule" entries in the log whenever we tried to establish a connection. A rule allowing the same service from the firewall to the remote server works flawlessly. I believe my first mistake was in not adding NAT to the equation. As the connection is "direct" between the workstations and the big bad Internet, RFC1918 addresses are a no-no. So, I tried adding a NAT rule dynamically allocating a.b.c.244 to the internal LAN with appropriate changes to the value in the rule at step 2 above. The result of this was "Logged passed packet" entries in the log, but apparently broadcast packets coming back from the remote server being blocked (they used the appropriate source and destination ports but with a destination address of 255.255.255.255). For the life of me, I can't see what's wrong with the current setup. Has anybody out there got any serious experience with SunScreen 2.0? If so, can you please shed some light on what I may have missed and/or misconfigured? Any help would be much appreciated - thanks for your time. Ciao. -- -------------------------------------------------------+--------------------- Daniel Baldoni BAppSc, PGradDipCompSci | Technical Director require 'std/disclaimer.pl' | LcdS Pty. Ltd. -------------------------------------------------------+ 856B Canning Hwy Phone/FAX: +61-8-9364-8171 | Applecross Mobile: 041-888-9794 | WA 6153 URL: http://www.lcds.com.au/ | Australia -------------------------------------------------------+--------------------- "Any time there's something so ridiculous that no rational systems programmer would even consider trying it, they send for me."; paraphrased from "King Of The Murgos" by David Eddings. (I'm not good, just crazy) From sunixadm at yahoo.com Wed Apr 3 00:53:03 2002 From: sunixadm at yahoo.com (UnixAdmin) Date: Wed Apr 3 00:53:03 2002 Subject: SUMMARY: ifconfig on Solaris 8 In-Reply-To: <20020402093047.28143.qmail@web20205.mail.yahoo.com> Message-ID: <20020403065234.52671.qmail@web20202.mail.yahoo.com> Hi Managers, I received quite a few answers/suggestions regarding my issue with ifconfig. I would like to thanks all who responded and a special thanks goes to Fabrice Guerini, who suggested changing my entry in /etc/netmasks from 10.192.2.0 to 10.192.0.0. I did this and the correct broadcast address displays after a reboot. The other answers/suggestions worked but, none held after the reboot which I contribute to the entry in the netmasks. What's strange is that the entry for my primary network isn't xxxx.xxxx.0.0 but xxxx.xxxx.xxx.0 and the broadcast is still correct with a netmask of 255.255.248.0. Below are the responses I received as well as my original message. Thanks again to all who responded. -Joe Rick Place: Try adding the broadcast definition to your ifconfig command, i.e. # ifconfig hme0:1 plumb 10.192.2.70 netmask 255.255.248.0 broadcast + up The "+" tells it to use the default broadcast address based on your netmask. Larry Snyder: Try: # ifconfig hme0:1 10.192.2.70 netmask 255.255.248.0 broadcast + up Steve Mickeler: The answer is "man ifconfig" ifconfig hme0:1 plumb ifconfig hme0:1 10.192.2.70 netmask + broadcast + up From rj45 at slacknet.com Wed Apr 3 01:48:01 2002 From: rj45 at slacknet.com (RJ45) Date: Wed Apr 3 01:48:01 2002 Subject: SUMMARY: Western Digital 100GB disk? In-Reply-To: Message-ID: At the end the answer is, there is no reason why a large IDE disk should not work. In general large IDE disks will work starting from Solaris 7. thanks to all Rick From Mike.Whorley at coda.com Wed Apr 3 03:40:07 2002 From: Mike.Whorley at coda.com (Mike Whorley) Date: Wed Apr 3 03:40:07 2002 Subject: Solaris 8 64 bit Message-ID: <820281984AF66C4089C8A11705925A9CA8C970@srv-har-mail0.coda.com> All, I'm looking to install 64-bit Solaris 8 on a Ultra 2 2170. A Couple of questions :- a) Is this hardware 64-bit compatible ? b) Is a separate media set required to install 64 bit Solaris 8 ? I have 'Solaris 8 10/00' and there is little reference to 64-bit. Having just installed HP-UX 11 64 bit there was an option to select either 64 bit or 32 bit OS. Looking through the installation notes this doesn't appear to be the case for Solaris 8 as it only refers to a check box that allows 64-bit software support. Any advice on this matter would be greatly appreciated. Regards, Mike. From Mike.Whorley at coda.com Wed Apr 3 03:44:02 2002 From: Mike.Whorley at coda.com (Mike Whorley) Date: Wed Apr 3 03:44:02 2002 Subject: test Message-ID: <820281984AF66C4089C8A11705925A9CA8C971@srv-har-mail0.coda.com> test From ral at codewan.com.ph Wed Apr 3 04:32:01 2002 From: ral at codewan.com.ph (Lito A. Lampitoc) Date: Wed Apr 3 04:32:01 2002 Subject: ftpchroot Message-ID: <1017829121.1077.337.camel@stn110> Does anybody know if ftpchroot works for solaris ftp? -- Lito A. Lampitoc Foundation for Communication Initiatives phone:+63(2)8941345 CodeWAN Project http://www.codewan.com.ph -- Things which matter most must not be in the mercy of things which matter least" - Goethe. From stephen.ryan at parthus.com Wed Apr 3 05:42:02 2002 From: stephen.ryan at parthus.com (Stephen Ryan) Date: Wed Apr 3 05:42:02 2002 Subject: SUMMARY: 220R 2.6 possible memory leak? Message-ID: <3CAAE9F1.2EE5AA4C@parthus.com> Hi, I had some concerns about a possible memory leak on a 220R (see below) Many thanks for the reassuring responses I received, all of which indicated that my machine was behaving in a normal fashion (for a pre Solaris 8 box, that is). Pyers Simon quoted Cockroft & Petit's "Sun Performance and Tuning": - "When you look at vmstat, please don't waste time worrying where all the RAM has gone. After a while the free list will stabilise at around 3% (three) [which in your case is around 60MB] of the total memory configured. The system stops bothering to reclaim memory above this level, even when you aren't recovering anything" The buffer cache will consume free memory (largely for file data caching) and applications requiring memory will reclaim it as required. The main indicators of truly strained memory resources are excessive page scanning/swapping rates. Kevin Buterbaugh indicated that so long as the scan rate didn't exceed 273 pages per second for extended periods then the system was healthy. Michael Hocke suggested running Virtual Adrian or vmstat over time to monitor these stats. Darren Dunham suggested possibly turning on priority paging in the kernel. Pyers Simon also sent me a copy of "The Solaris Memory System" by Richard McDougall, which is currently being read ... : - http://www.sun.com/sun-on-net/performance/vmsizing.pdf My thanks also to John Riddoch, Graham Rauxon and Peter Ondruska for their speedy responses. -Stephen. -=-=-=-=Original Question=-=-=-=-=-=-=-= Hi all, I have a 220R running 2.6 105181-28. It has 2gb of RAM. It is running as our internal DNS master (BIND 8-22p5), NIS master and mail server. We are running qmail 1.03 and UW imap 2001a. The problem is that the physical RAM is constantly close to being maxed out - it usually sits at about 32mb free. The biggest hog appears to be imap (at present, 162 client sessions running, averaging about 5mb usage), but even on slow days with far fewer imap clients the free RAM count is still down around 32mb. I've seen references to file system caching being a possible cause of this, but the implication is that this usually happens over time - this machine maxes out within about 20 minutes of a reboot. The automounter is mounting all the imap users' home directories, so I'm wondering if it's an issue with nfs file caching. I've run SymbEL zoom on the box and it doesn't squawk about the ram consumption. vmstat over time reports healthy scan rates. I suppose my question is: - Is this normal behaviour or am I looking at a memory leak? If so, what are the optimal tools to detect the cause? I've done some analysis using kmastat/crash, but nothing is leaping out at me - I've been running comparisons with other, healthy boxes and the bucket usage patterns appear consistent. As this is a production machine, my actions in trying to isolate the fault have been restricted - should I be thinking of an out of hours reboot and then bringing up the services incrementally while monitoring the mem stats? TIA for any help/info. Stephen Ryan IT Group Parthus Technologies plc ph: +353-1-402 2579 fax: +353-1-402 5711 From mangesh.v at xaalliance.com Wed Apr 3 05:55:03 2002 From: mangesh.v at xaalliance.com (Mangesh) Date: Wed Apr 3 05:55:03 2002 Subject: Interface Message-ID: <000001c1db06$2f0be540$3529a8c0@Mangesh> Hello Gurus, I have E-420R machine with solaris 8 on it. I have created one logical interface for hme0. I have made changes in the /etc/inet/hosts file. Also I have created /etc/hostname.hme0:1 file. I can see the settings after giving ifconfig -a. But when I reboot the server the settings are gone. Like it shows me the same IP address of the hme0 interface. Please anyone over there can help me. All the help is highly appreciated. Thanks in advance. Thanks & Regards Mangesh Vengsarkar From Jeroen.Rijnbergen at seagate.com Wed Apr 3 06:29:01 2002 From: Jeroen.Rijnbergen at seagate.com (Jeroen.Rijnbergen at seagate.com) Date: Wed Apr 3 06:29:01 2002 Subject: Rackmount Ultra 2 desktop Message-ID: I need to rackmount an Ultra 2 desktop system in a Sun cabinet (68 inch ? cabinet) Therefore I need to purchase a rackmount kit for this system. However, Sun doesn't have those rackmount kits available and can't tell me either where I can find them. (I searched the Sunsolve website, and also called the Sun order desk.) I searched for rackmount kits for an Ultra 2 at Google, but couldn't find it. Anybody out there that can give me some advise on this issue ? Thanks Jeroen From aredondo at indra.es Wed Apr 3 06:41:02 2002 From: aredondo at indra.es (Redondo Escobar, Alejandro) Date: Wed Apr 3 06:41:02 2002 Subject: Problems compiling Digest-MD5-2.16 Message-ID: <1292796112760E419700AC368B722D8A63AF5B@MADARRCLEX3.indra.es> Hi all sunmanagers! I am getting a problem when trying to compile and install the Digest-MD5-2.16 module for perl. I don't know what is what I am making wrong, or if I have to install any other package. 7 System: SunOS viecpre 5.8 Generic_108528-10 sun4u sparc SUNW,Sun-Blade-100 7 Packages: application SMCautoc autoconf application SMCautom automake application SMCdb db application SMCgawk gawk application SMCgcc gcc #V.2.93. application SMCgdbm gdbm application SMClibgcc libgcc application SMClibt libtool application SMCprl561 perl #V.5.6.1 7 Specific Error when trying 'perl Makefile.PL' Testing alignment requirements for U32... ld: fatal: library -ldb: not found ld: fatal: File processing errors. No output written to u32align collect2: ld returned 1 exit status Can't compile test program Any kind of help is higly aprecciated Thanks!! From Jeroen.Rijnbergen at seagate.com Wed Apr 3 07:12:01 2002 From: Jeroen.Rijnbergen at seagate.com (Jeroen.Rijnbergen at seagate.com) Date: Wed Apr 3 07:12:01 2002 Subject: SUMMARY: Rackmount Ultra 2 desktop Message-ID: Thanks to Michael Hocke, John Riddoch and Peter Stokes (and some other guys while writing this email) for their quick responses. Michael suggested: http://www.sharkrack.com, especially their UniMount Rack Mount Kit. All the other guys suggested using shelves. For my original question see below. I need to rackmount an Ultra 2 desktop system in a Sun cabinet (68 inch ? cabinet) Therefore I need to purchase a rackmount kit for this system. However, Sun doesn't have those rackmount kits available and can't tell me either where I can find them. (I searched the Sunsolve website, and also called the Sun order desk.) I searched for rackmount kits for an Ultra 2 at Google, but couldn't find it. Anybody out there that can give me some advise on this issue ? Thanks Jeroen From wolf at uen.org Wed Apr 3 08:45:18 2002 From: wolf at uen.org (Wolfgang Schwurack) Date: Wed Apr 3 08:45:18 2002 Subject: add two drive to one mount point Message-ID: <3CAB1540.93E29F7E@uen.org> I am trying to add more space to a mount point. I have a 36gb drive mounted on /nsr (c0t10d0s0) I would like to add a 9gb drive to the same mount point (/nsr) to make a total mount point 45 gb. Is this possible and how do I get started or were can I find information on this? thanks -- Wolfgang Schwurack Unix System Administrator University of Utah/Utah Education Network Tel: (801) 587-9444 From cbar44 at tsg.cbot.com Wed Apr 3 09:25:02 2002 From: cbar44 at tsg.cbot.com (Christopher L. Barnard) Date: Wed Apr 3 09:25:02 2002 Subject: SUMMARY: OpenSsh 3.1p1 on Solaris 7 and 8 problem Message-ID: <200204031523.JAA09391@shalmaneser.tsg.cbot.com> I asked: > I have OpenSsh 3.1p1 installed on Solaris 7 and Solaris 8 machines. On all > machines I have X11 forwarding enabled, with > ForwardAgent yes > ForwardX11 yes > in the /etc/ssh_config and > X11Forwarding yes > in the /etc/sshd_config. > > I am able to ssh to a remote system and run an X application. However, when > I su to root I no longer am able. Ordinarily I would use "xauth list" to > determine the magic cookie from the display, but that does not work: > > (~) shalmaneser 53 % xclock > (the X application works fine) > (~) shalmaneser 54 % ssh srvns1 > (~) srvns1 51 % xclock > (the X application works fine) > (~) srvns1 52 % echo $DISPLAY > localhost:13.1 > (~) srvns1 53 % xauth list localhost:13.1 > > (nothing is returned. localhost:13 does not exist. However, grep-ing on the > string ":13" returns two hits in the .Xauthority file:) > > (~) srvns1 54 % xauth list | grep ":13" > srvns1/unix:13 MIT-MAGIC-COOKIE-1 611a4835e65cce94312ac15a8e32d836 > srvns1.cbot.com:13 MIT-MAGIC-COOKIE-1 65d6090ac2dfd4c46a06dc98b7b9f963 > (~) srvns1 55 % /bin/su - > Password: > Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001 > > (as root, I add both of these cookies, in case either of them will work) > > srvns1!/ >> xauth add srvns1/unix:13 MIT-MAGIC-COOKIE-1 611a4835e65cce94312ac15a8e32d836 > srvns1!/ >> xauth add srvns1.cbot.com:13 MIT-MAGIC-COOKIE-1 65d6090ac2dfd4c46a06dc98b7b9f963 > srvns1!/ >> export DISPLAY=srvns1.cbot.com:13 > srvns1!/ >> xclock > Error: Can't open display: srvns1.cbot.com:13 > srvns1!/ >> export DISPLAY=srvns1/unix:13 > srvns1!/ >> xclock > Error: Can't open display: srvns1/unix:13 > > as you can see, neither of those display names will work. I should mention > that this did work in older versions of OpenSSH (3.0.2p1, 2.9.9p1, 2.9p1, > 2.5.1p1, yadda yadda yadda) but has now broken with this release. I believe > that the problem lies with the fact that DISPLAY is "localhost":something, > and that string is not in the .Xauthority file. But that is just a guess. > Does anyone have any suggestions on getting this to work again? The answer: add X11UseLocalhost no to the /etc/sshd_config. This is something new with version 3.1. It is not one of the commented-out lines in the default sshd_config file, but it is in the sshd manpage. My bad for missing it. Thanks to: sullivan at cs.uoregon.edu Steve Zinck John Horne Dan Astoorian system administration account +-----------------------------------------------------------------------+ | Christopher L. Barnard O When I was a boy I was told that | | cbarnard at tsg.cbot.com / \ anybody could become president. | | (312) 347-4901 O---O Now I'm beginning to believe it. | | http://www.cs.uchicago.edu/~cbarnard --Clarence Darrow | +----------PGP public key available via finger or PGP keyserver---------+ From ggallag at foc.com Wed Apr 3 09:31:01 2002 From: ggallag at foc.com (Greg Gallagher) Date: Wed Apr 3 09:31:01 2002 Subject: SunFire hardware problem Message-ID: <20020403093027.I21242@foc.com> SunManagers, I've been having problems with one of our SunFire E3800 servers, apparently caused either by an IO board or the entire IO boat. Here's the message I see when the system is booting up: {/N0/SB2/P0} @(#) lpost 5.11.7 2001/06/06 12:17 {/N0/SB2/P0} Copyright 2001 Sun Microsystems, Inc. All rights reserved. {/N0/IB6/P0} Failed {/N0/IB6/P1} Passed Apr 03 00:24:17 ig109 Domain-A.SC: Excluded unusable, failed or disabled board: /N0/IB6 My question to you all is this: Does anyone have a good reference for the hardware paths I'm seeing here so I can match them, physically, to the hardware on the machine? Does IB6 refer to the IO boat or the individual PCI IO card? Just when I'd gotten used to figuring out the hardware descriptions from a E4500 PROM level, Sun comes out with this domain stuff and I don't have any training or experience. Any pointers? Thanks, I will summarize any answers I receive. -- Greg Gallagher Sr. UNIX Systems Administrator First Options Chicago .... (312) 362-3643 From Mark.Neill at mortgagefamily.com Wed Apr 3 09:35:03 2002 From: Mark.Neill at mortgagefamily.com (Neill, Mark (MBS)) Date: Wed Apr 3 09:35:03 2002 Subject: Users changing passwords _without_ telnet access Message-ID: I have run into a problem here. I have a number of users that I need to activate password aging for, per Corporate Policy. However, these users are using an imaged Windows workstation that does not allow us to give them access to "Start > Run > telnet". Nor can these users be easily identified to give them special Start Menu options for telnet. What solutions, maybe web-based (?), are there that I can set up to allow these users to change their passwords on the Unix server? ---------------------------------------------------------------------------- ---- Mark Neill, Cendant Mortgage mark.neill at mortgagesvcs.com Advanced Tech Services Specialist Jacksonville, FL (904) 928-8121 (W) || (904) 716-6823 (C) From ggallag at foc.com Wed Apr 3 10:27:03 2002 From: ggallag at foc.com (Greg Gallagher) Date: Wed Apr 3 10:27:03 2002 Subject: SUMMARY: SunFire hardware problem In-Reply-To: <20020403093027.I21242@foc.com>; from ggallag@foc.com on Wed, Apr 03, 2002 at 09:30:27AM -0600 References: <20020403093027.I21242@foc.com> Message-ID: <20020403102624.A24258@foc.com> Thanks to Jason Stringfellow for the helpful response! Original question: > I've been having problems with one of our SunFire E3800 servers, apparently > caused either by an IO board or the entire IO boat. Here's the > message I see when the system is booting up: > > {/N0/SB2/P0} @(#) lpost 5.11.7 2001/06/06 12:17 > {/N0/SB2/P0} Copyright 2001 Sun Microsystems, Inc. All rights reserved. > {/N0/IB6/P0} Failed > {/N0/IB6/P1} Passed > Apr 03 00:24:17 ig109 Domain-A.SC: Excluded unusable, failed or disabled board: /N0/IB6 Answer: IB is I/O Boat, so it looks like the whole boat is being deconfigured. It says "{/N0/IB6/P0} Failed" - well, P0 refers to (IIRC) port zero on the schizo (i.e. PCI bridge) which drives this boat. So maybe you've got a faulty boat? -- Greg Gallagher Sr. UNIX Systems Administrator First Options Chicago .... (312) 362-3643 From ggallag at foc.com Wed Apr 3 11:02:01 2002 From: ggallag at foc.com (Greg Gallagher) Date: Wed Apr 3 11:02:01 2002 Subject: Solaris 8, dumpadm, panic() and sync timeouts to mirrored swap Message-ID: <20020403110100.B24258@foc.com> SunManagers, I recently had a problem on a SunFire E3800 running Solaris 2.8, where I lost an entire IO Boat (i.e. the PCI IO controller and all fiber and QFE cards on that boat). I have Veritas encapsulated disks which are mirrored across controllers: c1t0d0 - primary c0t0d0 - mirror My swapdevice, which is currently a Veritas encapsulated volume, cannot be used to dump to, according to Sun because if the system panics or has a Volume Manager problem dumping to swap isn't going to help me. Sun suggested having a dedicated swap device, if we wanted to have Veritas Encapsulated mirrored swap. The problem that I see with this is what happened to me yesterday. Dumpadm was configured like so: excalibur:/root# dumpadm Dump content: kernel pages Dump device: /dev/dsk/c0t0d0s1 (dedicated) Savecore directory: /var/crash/excalibur Savecore enabled: yes This slice is one side of the swap mirror. However, swap is configured like this: excalibur:/root# swap -l swapfile dev swaplo blocks free /dev/vx/dsk/swapvol 229,8 16 16383600 16383600 If I tell dumpadm to use swap, it refuses: excalibur:/root# dumpadm -d swap dumpadm: no swap devices could be configured as the dump device Now what happens if /dev/dsk/c0t0d0s1 is inaccessible? Here's what I saw on the panic(): syncing file systems... panic[cpu8]/thread=2a100091d40: panic sync timeout dumping to /dev/dsk/c0t0d0s1, offset 65536 0% done: 0 pages dumped, compression ratio 0.00, dump failed: error 5 Sure, when the system comes back up I can reset the dump device to be the other side of the swap mirror, c1t0d0s1... but I've lost the data from the panic. So my REAL question is this: How can I configure everything so I have a fault tolerant dump device? Is it possible? Thanks in advance, I'll summarize, -- Greg Gallagher Sr. UNIX Systems Administrator First Options Chicago .... (312) 362-3643 From splat at fury.to Wed Apr 3 11:28:02 2002 From: splat at fury.to (Randy Romero) Date: Wed Apr 3 11:28:02 2002 Subject: dismantling a jumpstart server question Message-ID: I don't see anything in the archives that covers this. But what are the steps that should be taken to no longer use a server as a jumpstart server? remove /etc/ethers remove /etc/bootparams remove /tftpboot directory Is there anything else I need to be concerned with? We're building a new standalone jumpstart server on the same subnet and I want to avoid any conflicting problems. Thanks in advance. Will Summerize. Randy Romero From Wimmer.Jeffrey at LittonISD.com Wed Apr 3 11:34:02 2002 From: Wimmer.Jeffrey at LittonISD.com (Wimmer, Jeffrey) Date: Wed Apr 3 11:34:02 2002 Subject: Security login banner under CDE Message-ID: Hello all I have a requirement to place a security warning banner on some Sun boxes in a secure lab. I have made the /etc/issue and motd files, so if remoting in, or telnetting, the warning banner is displayed. I can't, however, get the same warning message to happen in CDE. I have copied the /usr/dt/config/C/Xresources file over to /etc/dt/config/C/Xresources and edited the Dtlogin*greeting*labelString and placed my paragraph of text in there. What I get displayed is only one line of it at the CDE login screen. Does anyone have a remedy for this? I even checked out Xstartup but can't see where I would put the block of text. Help!! Jeffrey G. Wimmer. Network Engineer/System Admin wimmer.jeffrey at littonisd.com From Mark.Neill at mortgagefamily.com Wed Apr 3 12:06:09 2002 From: Mark.Neill at mortgagefamily.com (Neill, Mark (MBS)) Date: Wed Apr 3 12:06:09 2002 Subject: SUMMARY: Users changing passwords _without_ telnet access Message-ID: Thanks to a whole bunch of people... Lee Trujillo, Brian Dunbar, Vern Walls, Gert-Jan Hagenaars, James Cayz, Ed Rolison, Bob Boldin, Nicholas Dorfsman, Dennis Peterson, Brian Caitlin, mikelist at sky.net , and tleebeng at dso.org.sg . To clarify some info I didn't mention in the first post: these users are Informix Data Warehouse users. They normally never log into the system, but Informix is configured to use the Unix password file for user/pass combinations. I still have a problem of figuring out how to explain to them how to update their ODBC settings, or even how to get to those settings, since these workstations are pretty much completely locked down (custom start ment, no RUN, no right-clicks), but that's for another group of people. Between here and another source of computer information I frequent, I got suggestions ranging from WebMin (http://www.webmin.com - very cool, and I may install it on my home server, but overkill for this purpose), a number of cgi scripts from Freshmeat that don't compile right with Solaris' PAM implementation (RedHat), and a note to look at the example passwd.cgi script that installs with Expect. The winner was Jesse Trucks, though, who reminded me that IE does one thing correctly right out of the box - URL's in the form telnet://hostname are invoked through telnet.exe - which is not deinstalled on these imaged workstations, simply unaccessible through the normal Start Menu routes. Thanks for the fast replies all - I was starting to get irritated with these non-compiling programs :-) ---------------------------------------------------------------------------- ---- Mark Neill, Cendant Mortgage mark.neill at mortgagesvcs.com Advanced Tech Services Specialist Jacksonville, FL (904) 928-8121 (W) || (904) 716-6823 (C) From splat at fury.to Wed Apr 3 12:14:02 2002 From: splat at fury.to (Randy Romero) Date: Wed Apr 3 12:14:02 2002 Subject: SUMMARY:dismantling a jumpstart server question Message-ID: Everyone, Below are the steps you can take to dismantle your jumpstart server. Thanks for the confirmation from those who replied. While steps 1-3 were the obvious to me, I've included them in my summary. 1. Stop the jumpstart shares. 2. Comment out tfptboot from the /etc/inetd.conf 3. kill -HUP inet_pid 4. Delete following files/directories: /etc/ethers <--file /etc/bootparams <--file /tftpboot<--directory /jumpstart <--directory(note: /jumpstart may be something else on your server) NOTE:You can also remove the IPs of the servers that you jumpstart from the /etc/hosts file if you wish. Thanks to: Darren Dunham David Foster William Enestvedt John Douglass and whomever may still reply. Original Post Below---------------------------------- On Wed, 2002-04-03 at 10:27, Randy Romero wrote: > I don't see anything in the archives that covers this. But what are the > steps that should be taken to no longer use a server as a jumpstart > server? > > remove /etc/ethers > remove /etc/bootparams > remove /tftpboot directory > > Is there anything else I need to be concerned with? We're building a new > standalone jumpstart server on the same subnet and I want to avoid any > conflicting problems. Thanks in advance. Will Summerize. From mrbill at mrbill.net Wed Apr 3 12:30:03 2002 From: mrbill at mrbill.net (Bill Bradford) Date: Wed Apr 3 12:30:03 2002 Subject: ADMIN NOTE: Minor list changes Message-ID: <20020403182943.GT23307@mrbill.net> Over the next couple of days, I'll be moving the Sun-Managers list to a new machine at the University of Toronto. Everything should be seamless, hopefully, so you shouldnt notice any changes other than the list mail will be coming from a different host. I'll send another mail once the move is completed. Bill -- Bill Bradford mrbill at mrbill.net Austin, TX From daniel.zhuang at amdocs.com Wed Apr 3 14:04:01 2002 From: daniel.zhuang at amdocs.com (Daniel Zhuang) Date: Wed Apr 3 14:04:01 2002 Subject: How to set ftp chroot environment on Solaris Message-ID: <1607D3EC1FCA2E4F8A078CDC2CFF880B12DDBD@torex1gen.amdocs.com> Hi All can anyone show me URL or link to article about how to set chroot ftp environment ? I want to restrict the ftp user only upload whthin its home directorys. thanks Daniel Zhuang > IPS Division, Amdocs Canada Unix Admin, Infrastructure Support Team From jason at quad.net Wed Apr 3 14:40:03 2002 From: jason at quad.net (Jason Bone) Date: Wed Apr 3 14:40:03 2002 Subject: Netra-20, system panic Message-ID: Hi, I am new to the list and I was curious if anyone has seen a similar error in their system log files: Apr 3 12:39:01 local at jackson-wm savecore: [ID 570001 auth.error] reboot after panic: [AFT1] errID 0x00000d0d.731d9268 UCC WDC CPC Error(s) Apr 3 13:37:29 local at jackson-wm savecore: [ID 570001 auth.error] reboot after panic: [AFT1] errID 0x000000d0.44bbf048 UCC WDC Error(s) We searched google for AFT1 and found that it was a cpu issue allthough we didn't find any UCC WDC CPC error combination's in any of the messages we found on there. Any help would greatly be appreciated, especially if I can fix this without having to call sun. Although that is probably a slim chance. Jason Bone System Administrator SCB Computer Technology From choogend at library.umass.edu Wed Apr 3 15:15:03 2002 From: choogend at library.umass.edu (Chris Hoogendyk) Date: Wed Apr 3 15:15:03 2002 Subject: Xyplex Terminal Servers bootp setup & process Message-ID: <3CAB70A2.38A3E6D9@library.umass.edu> Anyone familiar with Xyplex MaXserver 1600 Terminal Servers and their bootp process? I've inherited a situation where support was dropped and the people who did it are no longer available. I have to get them working from my own server. I've set up bootp and tftp and managed to get them presumably doing a bootp and getting their load file from my server, but it only works within my subnet. I can't get it across subnets for the branch libraries, and I just realized that the ones that "work" here cannot telnet across campus. When I connected with a terminal and asked it to show me the server's IP configuration (SHOW SERVER IP at the Xyplex prompt), the subnet mask and gateway had not been set. But the bootp server is configured to set both of those. If someone is familiar with this kind of setup, I would greatly appreciate being able to exchange a few technical questions. At this stage I don't know whether I should be focusing attention on the terminal server configuration or on my setup of bootp on the server. One thing that might be useful is if I could force the whole thing to factory settings with some default password for SET PRIVILEGE that would allow me to get in and control everything. At the moment, I can control some configuration information by going in under single user mode; but, there is other stuff that appears to be available if only I had a password (these things ran for years without any intervention, people retired, other people got moved to other projects and departments, ...) xyplex was a strong believer in security by obscurity. in the single user mode it claims it is busy loading if you hit the return key. but, if you type "access" and return, you get a menu that allows you to change the basic configuration. I can also telnet to a running terminal server, but it doesn't give me any prompt and I don't know what it is looking for. I have about a dozen of these among three branches. Anyway, I could fill this up with other questions, but there is no point unless I get some response to the basic questions. TIA --------------- Chris Hoogendyk -- O__ ---- Network Specialist & Unix Systems Administrator c/ /'_ --- Library Information Systems & Technology Services (*) \(*) -- W.E.B. Du Bois Library ~~~~~~~~~~ - University of Massachusetts, Amherst --------------- From Kayvan.Kazeminejad at boe.ca.gov Wed Apr 3 15:15:31 2002 From: Kayvan.Kazeminejad at boe.ca.gov (Kazeminejad, Kayvan) Date: Wed Apr 3 15:15:31 2002 Subject: how to read core dump Message-ID: how do i read core dump using dbx. Forte c on solaris 5.8 -----Original Message----- From: Wimmer, Jeffrey [mailto:Wimmer.Jeffrey at LittonISD.com] Sent: Wednesday, April 03, 2002 9:34 AM To: 'sunmanagers at sunmanagers.org' Subject: Security login banner under CDE Hello all I have a requirement to place a security warning banner on some Sun boxes in a secure lab. I have made the /etc/issue and motd files, so if remoting in, or telnetting, the warning banner is displayed. I can't, however, get the same warning message to happen in CDE. I have copied the /usr/dt/config/C/Xresources file over to /etc/dt/config/C/Xresources and edited the Dtlogin*greeting*labelString and placed my paragraph of text in there. What I get displayed is only one line of it at the CDE login screen. Does anyone have a remedy for this? I even checked out Xstartup but can't see where I would put the block of text. Help!! Jeffrey G. Wimmer. Network Engineer/System Admin wimmer.jeffrey at littonisd.com _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From Wimmer.Jeffrey at LittonISD.com Wed Apr 3 15:46:01 2002 From: Wimmer.Jeffrey at LittonISD.com (Wimmer, Jeffrey) Date: Wed Apr 3 15:46:01 2002 Subject: [Interim Summary] Security Login banner under CDE Message-ID: I have received over 15 responses.....the majority of folks pointed out my error of not putting a \n at the end of each line to indicate a new line. This worked for me. I do, however want to check out some X based motd type solutions. I will provide a final summary when I have that worked out. By the way, this method worked for Solaris 8 version of Xresources, but the Solaris 2.6 banner is chopped off at the top and bottom of the banner....so maybe the X based motd solution will fix that. I will keep everyone informed...... Those providing assistance and solutions so far are: Vern Walls G Carr Annette Lee Brian Dunbar D Hoff Peter Laws Michael Maxwell John Douglass Johathan Church Thomas Jones Daniel Lorenzini Thanks guys and gals..... Jeffrey G. Wimmer. Network Engineer/System Admin wimmer.jeffrey at littonisd.com From wolf at uen.org Wed Apr 3 15:47:02 2002 From: wolf at uen.org (Wolfgang Schwurack) Date: Wed Apr 3 15:47:02 2002 Subject: Summary - add two drive to one mount point Message-ID: <3CAB7815.ED75B365@uen.org> Thanks to everyone for there responses. The question is below > I am trying to add more space to a mount point. I have a 36gb drive > mounted on /nsr (c0t10d0s0) I would like to add a 9gb drive to the same > mount point (/nsr) to make a total mount point 45 gb. Is this possible > and how do I get started or were can I find information on this? I was able to do this with DiskSuite this made the mount point /nsr from 36gb to 45gb Note: I had two 36gb and one 9gb drives and there was no data on one of the 36gb and on the 9gb, then I ufsdump the data over the new mount point. here are the steps # metadb -a -f -c 2 c0t11d0s0 c0t12d0s0 # metainit d16 2 1 c0t11d0s0 c0t12d0s0 # newfs /dev/md/rdsk/d16 # fsck /dev/md/rdsk/d16 # mount /dev/md/dsk/d16 /nsr2 # ufsdump 0f - /dev/rdsk/c0t10d0s0 | (cd /nsr2; ufsrestore xf -) /dev/dsk/c0t10d0s0 35006272 19189979 15466231 55% /nsr /dev/md/dsk/d16 43715252 19189978 24088122 44% /nsr -- Wolfgang Schwurack Unix System Administrator University of Utah/Utah Education Network Tel: (801) 587-9444 From padair at pntsi.ca Wed Apr 3 16:01:04 2002 From: padair at pntsi.ca (Paul Adair) Date: Wed Apr 3 16:01:04 2002 Subject: Ugh... FSCK errors.. Message-ID: <003201c1db5a$f6b15180$73942a18@cr247954a> I had a power outage and my box won't boot anymore. I get some disk mounting errors "run fsck manually etc.." It then gets to the "press control-d etc.. or enter root password" No matter what I do (control D or root password) the system shows some /var/adm/..etc.. errors and then comes to a prompt asking me to select the run level, 0-6 or S. No matter what I select there it just goes back to the "control-d or root password" prompt again. Any ideas how to fix? I am thinking its going to be something like boot from cdrom then open console session and manually mount drives and repair with fsc. If that is the case can someone please send more detailed steps or any other way that I can fix this. Thanks, Paul. From sol_unix at hotmail.com Wed Apr 3 16:24:01 2002 From: sol_unix at hotmail.com (Sam !) Date: Wed Apr 3 16:24:01 2002 Subject: patch question Message-ID: hi,does these patches come with 2.6 or higher?. 103461-11 103566-08 103796-09 103612-23 what is the command to check this out?.Sam ------------------------------------------------------------------------ Join the worlds largest e-mail service with MSN Hotmail. Click Here From Dayanand.Sharma at gecapital.com Wed Apr 3 16:43:03 2002 From: Dayanand.Sharma at gecapital.com (Sharma, Dayanand (CAP, GEFA, Contractor)) Date: Wed Apr 3 16:43:03 2002 Subject: Monitoring System Performance with MRTG Message-ID: Hi Has anyone ever used MRTG to monitor Resource Utilization ( CPU, Mem, Disk, Network , Web ) on Unix Boxes. If yes, could you please send me a sample mrtg.cfg file for the same. Thanks in Advance ! -rgds Dayanand From aamutawa at batelco.com.bh Wed Apr 3 17:22:01 2002 From: aamutawa at batelco.com.bh (Ali Almutawa) Date: Wed Apr 3 17:22:01 2002 Subject: LATE SUMMARY : disk replication Message-ID: <000501c1db5d$e0d8f180$9270bcc1@batelcot7gb5ex> Hi, I am sorry for the late Summary, but I didn't came up with what satisfied me. First thanks to all those who replied to my questions, most of them has recommended to use the dd command as follows : Dd if=/dev/rdsk/c0t0d0s0 of=/dev/rdsk/c0t1d0s0 bs=1024 The problem is that this command is strongly preferred to be run in single mode, and my machine is a productive system, fortunately , our system is redundant , so we took the machine offline and inserted another disk in the same machine and started imaging each slice after the other. The process took a very long time, maybe over the 12 hours, if you know that my hard disk is only 18GB . This is not applicable for live productive system also there is no indication of what is going on and how much time it might take , of course you can use this command to monitor what is going on if you run this command in level 3 mode : truss -p process_id After a long time , we have removed the hard disk and inserted it in the other machine, and every thing goes as expected successfully. My question , is there a similar command could be run to do the same job [creating and exact image] while the system is running ? is the best to used ufsdumb and restore, or there is something better that that ? Regards, Ali Almutawa -----Original Message----- From: Ali Almutawa [mailto:aamutawa at batelco.com.bh] Sent: Wednesday, March 20, 2002 10:35 PM To: 'sunmanagers at sunmanagers.org' Subject: disk replication Guru's , What is the best way to replicate a hard disk to another one. I have one machine that I need to copy the whole image and dumps it to another new disk and use it on another machine, and I need to see a replica of the original machine, what is the best way to do that. Thanks in advance. Regards, Ali Almutawa [ NI2 ] MCSE CCNA CCSA CCSE SCSA SCNA STC Systems Management Office : 00973 883474 Mobile : 00973 9688797 Fax : 00973 9103474 From Nagendra.Banahali at am.sony.com Wed Apr 3 17:24:02 2002 From: Nagendra.Banahali at am.sony.com (Banahali, Nagendra) Date: Wed Apr 3 17:24:02 2002 Subject: Solaris Network Prining Message-ID: Hi all, We have configured HP 2100N as Network printer on Ultra II running Solaris 8. We used the procedure as described inthe sun document for setting up the printer. The printer has been set up for both simple & postscript. When text files are printed, it prints in the following manner TT_DB applications programs solaris ....... For Postscript files, it starts with %!PS-Adobe-3.0 ... and prints blank pages. Please help Thanks & Regards Nagendra From arsaidac at adelphia.net Wed Apr 3 21:09:02 2002 From: arsaidac at adelphia.net (Adrian Saidac) Date: Wed Apr 3 21:09:02 2002 Subject: [Fwd: Undelivered Mail Returned to Sender] Message-ID: <3CABC365.D4251C53@adelphia.net> From nbtrinh2001 at yahoo.com Wed Apr 3 23:07:02 2002 From: nbtrinh2001 at yahoo.com (Sop) Date: Wed Apr 3 23:07:02 2002 Subject: unsubcribe Message-ID: <20020404050639.29860.qmail@web11703.mail.yahoo.com> __________________________________________________ Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ From cssaru at miel.mot.com Thu Apr 4 00:14:03 2002 From: cssaru at miel.mot.com (Saravanan C S) Date: Thu Apr 4 00:14:03 2002 Subject: Summary: SENDMAIL PROBLEM Message-ID: <3CABE814.3EBB3C56@miel.mot.com> Hi All Thanks to a whole bunch of people who replied. anitha vojjala, Piard Frederic, zsentient at tnoc.5sigcmd.army.mil, Nagendra Prasad, Gustavo Lozano, Steve Mickeler, Stephen Hammond, Fabrice Guerini, Thomas M. Payerle, sysadmin at astro.su.se. Most of them were suggesting to check the FileSystem, /var/mail, Restarting Sendmail. The Solution which worked for me was I cleared the /var/mail and ran fsck on the Mail Server System. Now I am not getting I/O Error. Hopefully the Problem is resolved. Thanks and Regards CSS My Original Posting Was Hi Sun Experts I am new to sendmail, Please suggest your solutions to the problem what I am facing. The Problem on a Mail Server is, intermittently the users are not able receive mails and the mails sent by them to the recipient is also not reaching. I ran mailq and observed the following errors. NAA08312 2679 Tue Apr 2 13:52 MAILER-DAEMON (I/O error) root NAA08333 2724 Tue Apr 2 13:53 MAILER-DAEMON (I/O error) root NAA08040 2724 Tue Apr 2 13:49 MAILER-DAEMON (I/O error) root NAA09040 2695 Tue Apr 2 13:59 MAILER-DAEMON (I/O error) root I checked up in /var/log/syslog file and noticed the following errors. Apr 2 13:49:42 hpux4 sendmail[8040]: NAA08040: to=root, delay=00:00:01, xdelay=00:00:01, mailer=local, stat=I/O error Apr 2 13:52:46 hpux4 sendmail[8312]: NAA08312: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, stat=I/O error Apr 2 13:53:06 hpux4 sendmail[8333]: NAA08333: to=root, delay=00:00:01, xdelay=00:00:01, mailer=local, stat=I/O error Apr 2 13:59:28 hpux4 sendmail[9040]: NAA09040: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, stat=I/O error Apr 2 14:03:18 hpux4 sendmail[9433]: NAA08312: to=root, delay=00:10:32, xdelay=00:00:00, mailer=local, stat=I/O error Apr 2 14:03:18 hpux4 sendmail[9433]: NAA08333: to=root, delay=00:10:13, xdelay=00:00:00, mailer=local, stat=I/O error Apr 2 14:03:19 hpux4 sendmail[9433]: NAA08040: to=root, delay=00:13:38, xdelay=00:00:01, mailer=local, stat=I/O error Apr 2 14:03:19 hpux4 sendmail[9433]: NAA09040: to=root, delay=00:03:51, xdelay=00:00:00, mailer=local, stat=I/O error Can U Please give some ideas why this error message occurs and how it can be solved. From erwin.mendoza at cronusgroupinc.com Thu Apr 4 00:23:02 2002 From: erwin.mendoza at cronusgroupinc.com (Erwin B. Mendoza) Date: Thu Apr 4 00:23:02 2002 Subject: Iplanet Issue.... Message-ID: Greetings..... Could you help me in installing the Iplanet Application such as the iMS v6.0 and Netscape Directory Server v4.13 which the box I'm using is Unix-Solaris 8 platform..... I have some problem installing the messaging server with the same machine which the Netscape Directory Server was already installed...... Upon the installation, I've got this error..... ERROR A serious problem occurred while installing the iPlanet Messaging Server Common messaging configuration in LDAP. It reported the following problem: The server configuration for the Common messaging configuration in LDAP cannot be created. And when look at the logs located in /setup/msg/iplanet-msg-*.log, I've got this Error..... MESSAGE: running command cp /usr/apps/iplanet/mailsvr/bin/msg/install/templates/msg-inst/msg/bin/mkbacku pdir.sh /usr/apps/iplanet/mailsvr/msg- daedalus/bin/mkbackupdir.sh cmdpath: none runpath: none NOTICE: Running SSL Configuration. NOTICE: Creating End user configuration in Local DB. NOTICE: Creating Common Instance Configuration. NOTICE: Creating Directory Manager Credentials. NOTICE: Creating Common Instance Configuration. NOTICE: Creating Messaging product registry. ERROR: TYPE: Install Config LOCATION: LInstallConfig::GetSection DETAILS: No section with the name "0" exists. NOTICE: Creating Messaging SIE entry in LDAP. NOTICE: Creating Common messaging configuration in LDAP. ERROR: TYPE: LDAP LOCATION: LLdapEntry::WriteToLdap DETAILS: Unable to create entry 'cn=service, cn=configuration, cn=msg-daedalus, cn=iPlanet Messaging Suite, cn=Server Group, cn=daedalus.cronusgroupinc.com, ou=daedalus.cronusgroupinc.com, o=NetscapeRoot' in LDAP server. ERROR: TYPE: Meta Data LOCATION: LMetaDataLdap::PerformMetaDataOperation DETAILS: Unable to create entry 'cn=service, cn=configuration, cn=msg-daedalus, cn=iPlanet Messaging Suite, cn=Server Group, cn=daedalus.cronusgroupinc.com, ou=daedalus.cronusgroupinc.com, o=NetscapeRoot' in LDAP server. ERROR: TYPE: Meta Data LOCATION: LMetaDataLdap::WriteAllData DETAILS: Unable to create entry 'cn=service, cn=configuration, cn=msg-daedalus, cn=iPlanet Messaging Suite, cn=Server Group, cn=daedalus.cronusgroupinc.com, ou=daedalus.cronusgroupinc.com, o=NetscapeRoot' in LDAP server. ERROR: TYPE: Installable LOCATION: LMetaDataInstallable::Create DETAILS: The server configuration for the Common messaging configuration in LDAP cannot be created. And also the logs located in /var/tmp which says that..... NOTICE: Running PreInstall Product Before Hook. MESSAGE: running command prod-pre-bef-hook.sh cmdpath: none runpath: none NOTICE: Stopping Messaging Server. ERROR: TYPE: Install Config LOCATION: LInstallConfig::FindExpression DETAILS: No value exists for the name "local.deforg.dn". ERROR: TYPE: Install Config LOCATION: LInstallConfig::FindExpression DETAILS: No value exists for the name "local.deforg.dn". ERROR: TYPE: Install Config LOCATION: LExpressionEvaluator::FindExpression DETAILS: No value exists for the name "local.deforg.dn". ERROR: TYPE: Install Config LOCATION: LExpressionEvaluator::EvaluateExpression DETAILS: No value exists for the name "local.deforg.dn". However, upon the installation of the iMS, it will ask the LDAP URL as well as the password for the admin and Directory Manager, and the installation accepts the password. But still I've got the error. Another one is, binding the iWS v5.1 to netscape console v4.12 in a remote or different server/machine...... I've already used the script utilities of "installMCC" but still I can't bind it...... Hope you can help me for this one..... Any help would be greatly appreciated..... Thanks and more power....... Best Regards, Erwin B. Mendoza Telephone No. : +632 631 7580 Cronus Group, Inc. Ortigas Centre, Pasig City Manila, Philippines **************************************************************** DISCLAIMER: This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. **************************************************************** From dimitria at ath.forthnet.gr Thu Apr 4 00:42:02 2002 From: dimitria at ath.forthnet.gr (George Dimitriadis) Date: Thu Apr 4 00:42:02 2002 Subject: Solaris 8 native LDAP hangs when LDAP server is down Message-ID: <001401c1dba3$efdc29e0$b1e3dbc2@athpc99> We are trying to use Solaris 8 native LDAP with Iplanet Directory Server 4.12. We have inserted the following into /etc/nsswitch.conf passwd: files ldap [TRYAGAIN=2] group: files ldap [TRYAGAIN=2] We have observed that in case the LDAP server is down we are unable to login to the machine. Furthermore, any use of commands that uses "getpwent" hangs since the LDAP is not available. Even when the LDAP server is up, nscd is dying periodically which in turn increases the load of the system. Has anybody observed tha same behavior ? Any workarounds/fixes would be appreciated. Regards George D. From lkapoor at hss.hns.com Thu Apr 4 01:57:01 2002 From: lkapoor at hss.hns.com (lkapoor at hss.hns.com) Date: Thu Apr 4 01:57:01 2002 Subject: Part No. of SUN RAM SIMMs Message-ID: <65256B91.002B7C4F.00@sandesh.hss.hns.com> Hi admins, plz confirm me if there is any URL which show me the description of sun part nos. Thanx in advance regds/Lalit "DISCLAIMER: This message is proprietary to Hughes Software Systems Limited (HSS) and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. HSS accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus." From craig.scott at stc.ac.uk Thu Apr 4 02:27:11 2002 From: craig.scott at stc.ac.uk (Craig Scott) Date: Thu Apr 4 02:27:11 2002 Subject: 280R and D1000 configuration problems Message-ID: <000201c1dbb2$ba9086a0$010218ac@man.stc.ac.uk> Hello everybody! We have recently purchased a pair of SunFire 280Rs and a D1000 (12 36gb configuration), each of the 280Rs is connected to one of the D1000s two scsi buses, with one of the supplied terminators on the other scsi port for that bus (and before anyone mentions it we are not using the 280Rs onboard scsi we purchased a pair of scsi host adapater cards, one in each server, which I assume are differential scsi, but I am going to check asap). Problem is while probe-scsi / probe-scsi-all can see the pci scsi adapter it cant see any of the disks attached to the adapter. I got this challenge handed to me yesterday and I have to get it working with Solaris installed/configured by end of tomorrow. Anyone have any ideas why I cant see the disks? Craig Scott IT Development Officer South Tyneside College From lkapoor at hss.hns.com Thu Apr 4 02:28:08 2002 From: lkapoor at hss.hns.com (lkapoor at hss.hns.com) Date: Thu Apr 4 02:28:08 2002 Subject: SUMMARY: Part No. of SUN RAM SIMMs Message-ID: <65256B91.002E3C2F.00@sandesh.hss.hns.com> Thanks to Peter Stokes,Paul,james..... I found it on this URL : http://sunsolve.sun.com/handbook_pub/Devices/Memory/MEM_TOC.html regds/Lalit lkapoor at hss.hns.com on 04/04/2002 13:30:04 To: sunmanagers at sunmanagers.org cc: (bcc: Lalit Kapoor/HSS) Subject: Part No. of SUN RAM SIMMs Hi admins, plz confirm me if there is any URL which show me the description of sun part nos. Thanx in advance regds/Lalit "DISCLAIMER: This message is proprietary to Hughes Software Systems Limited (HSS) and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. HSS accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus." _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From Callum.Hughes at sis.securicor.co.uk Thu Apr 4 04:01:02 2002 From: Callum.Hughes at sis.securicor.co.uk (Callum Hughes) Date: Thu Apr 4 04:01:02 2002 Subject: SUMMARY: NFS mounting Oracle datafiles Message-ID: Firstly, many thanks to the HUGE number of people who replied to my question about NFS mounts of Oracle database files. The response was amazing and the information was really useful. I received a great mix of "fors" and "againsts" and it was a proper maelstrom of thought digesting each mail I can tell you! One email would come in saying it was fine, another not, then another not, then another fine and so on! In short, there are several key points that were raised by those contributing, and I won't paste them all together as the email would be MASSIVE! But first, the thanks list... Martin Hepworth Tim Chapman Kevin Buterbaugh Marc Alvidrez Brian McGraw Gary Mulder Justin Stringfellow Michael Sullivan Dylan Northrup John Leadenham Jeff Kennedy Righty right... onto the good stuff... much plagiarising going on here! But all done in the "best possible taste..." Point 1: The information that I had from Oracle referred to older versions of NFS which relied upon UDP. NFS3 now uses TCP and is since much more reliable. However, NFS is much slower than SCSI and so for a busy database, a Gb ethernet might be in order... Point 2: Oracle assumes that data is safe when it sends a write to disk but NFS actually caches data first. If you lost the NFS server, you lose that data. This was a major point for many people - if the Oracle instances are on another server, then your database may get corrupted by some such event happening and refuse to start back up once the NFS server is back up... Point 3: Oracle (allegedly) support NFS mounts but only when done through "filers". These apparently rename the datafiles so that the database doesn't come up without the DBA if it can't assure the state of the files. A pretty good solution for the problem outlined in Point 2!!! Brian kindly provided this URL for approved vendors... http://www.oracle.com/ip/deploy/database/storage/vendors_nfs.html Point 4: The speed of your network connection will effect the stability of your setup. The speed with which Oracle can write to the storage is central to how efficient the transfers will be. The benefits of NFS is that it's a cheaper (possibly) option that an attached array but, a lot slower. Gary provided these stats: "NFS performance is extremely poor as compared to SCSI. Gigabit ethernet might get you 50MB/sec due to all of the TCP/IP and NFS overhead. Properly configured RAID should provide you 80+MB/sec." To summarise: it can be done but is not advisable unless using a Netapp filer. The risk of losing the NFS server needs to be considered high no matter what server you're using. Oracles data was out of date (the stuff I had) regarding NFS which is worth noting, and they do claim to support this config when used with filers. In theory, you can do this without filers, but in practice, it's not something that you would want to do without them! As a side note, the customer rejected the solution proposed but not on the grounds that the NFS solution may be risky, but that they would RATHER stay with Data General servers... Who says life is dull? Thanks to all! Callum A. Hughes Unix Systems Engineer Securicor Information Systems e: callum.hughes at sis.securicor.co.uk ********************************************************************** The information contained in this e-mail message is intended only for the individuals named above. If you are not the intended recipient, you should be aware that any dissemination, distribution, forwarding or other duplication of this communication is strictly prohibited. The views expressed in this e-mail are those of the individual author and not necessarily those of Securicor Information Systems Limited. Prior to taking any action based upon this e-mail message you should seek appropriate confirmation of its authenticity. If you have received this e-mail in error, please immediately notify the sender by using the e-mail reply facility. ********************************************************************** _____________________________________________________________________ This message has been checked for all known viruses on behalf of Securicor Information Systems by the MessageLabs. For further information visit http://www.messagelabs.com or Email: mailsweeper.info at sis.securicor.co.uk From mathias at ongame.com Thu Apr 4 04:07:02 2002 From: mathias at ongame.com (Mathias Kanstrup) Date: Thu Apr 4 04:07:02 2002 Subject: sftp -restriciting directory access Message-ID: <20020404100606.41E94AB097@ohno.mrbill.net> Hi Gurus I'm running Solaris 8 on a Netra T1. Is it possible to restrict users to a certain directory (e.g. home directory) during SFTP (OpenSSH) session? Thanks in advance. /Mathias Kanstrup From mk at baerlap.north.de Thu Apr 4 04:07:22 2002 From: mk at baerlap.north.de (Matthias Kurz) Date: Thu Apr 4 04:07:22 2002 Subject: Debugging boot process Message-ID: <20020404120255.K6690@baerlap.north.de> Hi. I have a Blade 100 that hangs somewhere during the boot. But i don't know where. Is there an easy way to enable debug output or so ? My only idea is to put a line in the beginning of every script in /etc/init.d (after #!/bin/sh): [ -r /etc/init.d/debugcmds.inc ] && . /etc/init.d/debugcmds.inc but that is a lot of work... (mk) -- Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47 >> Im prdmotorischen Cortex kann jeder ein Held sein. (bdw) << From mangesh.v at xaalliance.com Thu Apr 4 04:43:01 2002 From: mangesh.v at xaalliance.com (Mangesh) Date: Thu Apr 4 04:43:01 2002 Subject: Bit Message-ID: <000001c1dbc5$362243a0$3529a8c0@Mangesh> Hi Gurus, Can anyone tell me the command to look for the operating system bit version i.e operating system is a 64 bit or 32 bit. Thanks in advance. Thanks in advance. Mangesh Vengsarkar From craig.scott at stc.ac.uk Thu Apr 4 04:49:01 2002 From: craig.scott at stc.ac.uk (Craig Scott) Date: Thu Apr 4 04:49:01 2002 Subject: (no subject) Message-ID: <000e01c1dbc6$8c3add00$010218ac@man.stc.ac.uk> Problems was the host bus adapter, both 280Rs are fitted with symbios 22801 pci adapters which are single-ended scsi adapters. Looks like its time to go and complain to the consultants who specd and assembled the system and get them to send a pair of differential scsi cards to us :-) Guess the moral of the story is to always check the hardware is what you think / are lead to believe it is before you start working on a new system Thanks to those who responded  Steve Hunt Rauxon Ademola Omoni Tony Walsh Joon Martin Hansen Peter Stokes Craig Scott IT Development Officer South Tyneside College From chakri78 at yahoo.com Thu Apr 4 05:14:01 2002 From: chakri78 at yahoo.com (chakravarthi s viswanadh) Date: Thu Apr 4 05:14:01 2002 Subject: Tape Drive Probelm In-Reply-To: <000e01c1dbc6$8c3add00$010218ac@man.stc.ac.uk> Message-ID: <20020404111345.7817.qmail@web13507.mail.yahoo.com> Hi all, On one of my machine tape got stuck in tape drive, i dont want to reboot the machie,, is there any manual way take out the tape drive regards chakri Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ From bernard.mcauley at mindspeed.com Thu Apr 4 05:19:04 2002 From: bernard.mcauley at mindspeed.com (bernard.mcauley at mindspeed.com) Date: Thu Apr 4 05:19:04 2002 Subject: Jumpstart Profiles - default sizes Message-ID: Hi, I'm busying myself with trying to define some jumpstart profiles to run some upgrades to Solaris 2.7 for me. I have the following profile:- install_type initial_install cluster SUNWCXall root_device c0t0d0s0 partitioning explicit filesys c0t0d0s1 1024 swap filesys c0t0d0s0 auto / filesys c0t0d0s7 free /space When run with pfinstall this initially gives the errors (in addition to the progress report on stdout):- WARNING: No default size (/) ERROR: The / mount point is not on a selected disk. ERROR: Could not install boot blocks ERROR: System installation failed. I understand that the profile has failed to decide on a default size for the root block, hence there is no root block created and the jumpstart falls over. If I comment out the final file system then there are no problems. I do not understand why this happens. It seems that the use of the free keyword conflicts with the auto keyword, but I can find no reference in the manual that suggests that there should be a problem with this. Any help/insight would be appreciated. Regards, Bernard McAuley, Mindspeed Technologies From Peter.Whelan at eei.ericsson.se Thu Apr 4 05:20:04 2002 From: Peter.Whelan at eei.ericsson.se (Peter Whelan (EEI)) Date: Thu Apr 4 05:20:04 2002 Subject: system updates Message-ID: <33756E5927C2D4118FD600508BB3374B02189B09@eiedbnt512.eei.ericsson.se> Hi, We have about 500 clients which we need to keep identical wrt OS and system files, i.e ypservers, resolv.conf etc We use a system of scripts and cronjobs which achieves this and allows us to make updates to clients at will. My question is what do other sys admins use ? what commercial products ? what is the best way to achieve this ? I will summarise. Rgds Peter From pmora at cgob.junta-andalucia.es Thu Apr 4 06:57:02 2002 From: pmora at cgob.junta-andalucia.es (Patricio Mora) Date: Thu Apr 4 06:57:02 2002 Subject: Storedge 6960 configuration for backup Message-ID: <3CAC4363.9871E23E@cgob.junta-andalucia.es> Hello all. We are in the way of buying a Sun Storedge 6960 SAN with 4 SVE (virtualizators) and 2 sixteen connections optical fiber switches, and have some doubts about its functional concepts and configuration. We will connect 2 Sun machines to it, one our production server (P) and other our backup server (B) with Solstice Backup 6.1., a DLT jukebox and some NT servers. 1.- Is the SVEs set equivalent to a Raid manager for an A1000 for example, where you can configure the RAID LUNs s you want, plus the added functionality of exporting them to certain hosts, like Volume Manager does? 2.- How will we be able to save the production filesystems (huge Oracle datafiles), served by the SVEs to P, directly from B ?. I mean, are we going to be able to see the same luns from both servers? or we'll have to start playing with detaching from P, attaching to B, saving, detaching from B, and reattaching to P? We'll have no gigabit interfaces or switches, so network will be 100 mbps, and we would like to make use of the FO connections' speed. 3.- Same doubts in the case of a LUN served to a NT machine with filesystem in NTFS format. Sorry for my ignorance, but we cannot find here a clear explanation for these questions. Many thanks. From joe.lyons at bt.com Thu Apr 4 07:13:02 2002 From: joe.lyons at bt.com (joe.lyons at bt.com) Date: Thu Apr 4 07:13:02 2002 Subject: Default Admin Password to L20 Tape device Message-ID: <614E637ABC08D5118D8F0002A52CEE8A02FD474F@mbibipnt12.nat.bt.com> Hail Fellow Admins of the World !!!, Does anyone know the "default" admin password for an L20 tape library device ? I'm trying to do a firmware upgrade through the browser interface and before I can do this I am prompted for the admin password. Any help would be greatly appreciated Cheers, Joe Lyons From warchol at harthosp.org Thu Apr 4 07:39:15 2002 From: warchol at harthosp.org (Dave Warchol) Date: Thu Apr 4 07:39:15 2002 Subject: Mapping to Drives on Novell or Windows Server(s) Message-ID: Hello Managers: Is anyone aware of a product (freeware or fee) that will allow me to map to and access files on Novell or Windows server(s) from Solaris? I will summarize. Thanks Dave From stanb at awod.com Thu Apr 4 07:48:11 2002 From: stanb at awod.com (stan) Date: Thu Apr 4 07:48:11 2002 Subject: Network printers not working, how to troubleshoot? Message-ID: <20020404134822.GA32070@teddy.fas.com> I've got an isoalted group of machines runing Solaris 2.5.1 (Ues I know it's old :=(). One of these machines ahs a 2nd NIC in it, and is connected to the corporate network. On that machine I have used JetAdmin to set up a printer quene to allow printing to a laserJet near my office. On the remainder of these amchines I have used admintool to tell them about this printer. However event though the internal machines are acepting jobs for this printer, the jobs are not geting printed. Lookung in /var/spool/lp/logs on one of them, I find a file named lpNet which contains lines like this: 03/31 04:01:20 p 942 Started child for AP0502, pid = 3653 03/31 04:01:20 c 3653 AP0502 lpd retrying (1) connection to AP0502 in 30 secs 03/31 04:01:50 c 3653 AP0502 lpd retrying (2) connection to AP0502 in 60 secs 03/31 04:02:50 c 3653 AP0502 lpd retrying (3) connection to AP0502 in 120 secs 03/31 04:04:50 c 3653 AP0502 lpd retrying (4) connection to AP0502 in 240 secs 03/31 04:08:50 c 3653 AP0502 lpd retrying (5) connection to AP0502 in 480 secs 03/31 04:16:50 c 3653 AP0502 connection failed Have I missed seting up something? How can I troubleshoot this problem? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin From vivek_sharma_1 at hotmail.com Thu Apr 4 09:52:02 2002 From: vivek_sharma_1 at hotmail.com (vivek sharma) Date: Thu Apr 4 09:52:02 2002 Subject: Load of executable slow on DB Server - RE-SENDING as have Come to Machine Site Message-ID: When Issuing "sqlplus" Directly from DB Server Following message appears Immediately SQL*Plus: Release 8.1.7.0.0 - Production on Thu Apr 4 12:17:09 2002 (c) Copyright 2000 Oracle Corporation. All rights reserved. Enter password:" On Giving the Password it NOW takes 30 seconds to Reach SQL Prompt . Truss of the following is Enclosed Enter password: write(1, " E n t e r p a s s w o".., 16) = 16^M 313 ioctl(0, TCGETA, 0xFFBEDFA4) = 0^M 314 ioctl(0, TCGETS, 0xFFBEE01C) = 0^M 315 ioctl(0, TCSETSF, 0xFFBEE01C) = 0^M 316 read(0, 0x000CEDC0, 2500) (sleeping...)^M 317 signotifywait() (sleeping...)^M 318 lwp_cond_wait(0xFEBF5550, 0xFEBF5560, 0xFEBEEDB8) (sleeping...)^M 319 door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)^M 320 read(0, " p e r f s t a t\n", 2500) = 9^M Any inputs on the Same ? >From: "VIVEK_SHARMA" >To: >Subject: Exe Loading too slow on DB Server >Date: Wed, 3 Apr 2002 11:59:36 +0530 > > > >-----Original Message----- >From: VIVEK_SHARMA >Sent: Wednesday, April 03, 2002 9:05 AM >To: sunmanagers at sunmanagers.org; jpyne at worldatwork.org; >oracledba at lazydba.com; ORACLE-L at fatcity.com >Subject: Exe Loading too slow on DB Server > > >Are there any Best Practices of Tuning Solaris 8 for HIGH-End heavily >Loaded >Machines ? > >A Brief Description of the Issue & Actions Below :- > >Machine E6500 >RAM 20 GB >CPUs = 20 >SWAP = 26 GB > >After Migration from Oracle 7.3.4 to 8.1.7.2 on Solaris 2.8 > >sqlplus becomes SLOW as the Number of Unix Users Connecting to the Database >Increases to about 400 whereafter even after all users are logged out the >response continues to be Slow even after the machine is Booted i.e. ON >Issuing the Command $ sqlplus it took about 5 minutes for the following >Message to appear : - > >" SQL*Plus: Release 8.1.7. 0.0 - Production on Tue Mar 19 09:56:05 2002 > >(c) Copyright 2000 Oracle Corporation. All rights reserved. > >Enter user-name: " > >NOTE - This Slowness is Observed BOTH When Issuing "sqlplus" Command >DIRECTLY >on the DB Server & Also from the APP Server Via SQL*Net > >NOTE - In Oracle 7 NO such Slowness was Observed when the Total of 1200 >Connect to the Database > >- Executed truss sqlplus with the Following Output :- >$ truss sqlplus >execve("/arch/oracle/bin/sqlplus", 0xFFBEFBBC, 0xFFBEFBC4) argc = 1 >mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, >MAP_PRIVATE|MAP_ANON, >-1, 0) = 0xFF3A0000 >resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16 >stat("/arch/oracle/bin/sqlplus", 0xFFBEF8F8) = 0 >open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT >open("/arch/oracle/lib/libclntsh.so.8.0", O_RDONLY) = 3 >fstat(3, 0xFFBEF28C) = 0 >mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF390000 >mmap(0x00000000, 6717440, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = >0xFEC00000 >mmap(0xFF224000, 209704, PROT_READ|PROT_WRITE|PROT_EXEC, >MAP_PRIVATE|MAP_FIXED, 3, 6373376) = > >0xFF224000 >mmap(0xFF258000, 58832, PROT_READ|PROT_WRITE|PROT_EXEC, >MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = > >0xFF258000 >munmap(0xFF216000, 57344) = 0 >memcntl(0xFEC00000, 672560, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 >close(3) <- WAIT HAPPENING AT THIS POINT > >ACTIONS >ON RE-Creating file libclntsh.so.8.0 using getclntsh on the APP Server >Response Message >" SQL*Plus: Release 8.1.7.2. ...." became FAST ONLY for a FEW Minutes >whereafter it again Became Slow > >Copied libclntsh.so.8.0 to /usr/lib Dir Both on APP & DB Servers & Set >LD_LIBRARY_PATH=/usr/lib:$ORACLE_HOME/lib whereafter the response to >sqlplus >became for Establishment of upto 500 Process Connections Directly on the DB >Server . > >On Adding the Following Parameters to the /etc/system the Slowdown of >"sqlplus" Connect to the Database Started Occuring after 850 Process >Connections Instead of 500 (Previously) When Executing Directly on the >Database Server machine . > >set tcp:tcp_conn_hash_size=262144 > >set rlim_fd_max=8092 >set rlim_fd_cur=8092 >set autoup=900 >set tune_t_fsflushr=1 >set bufhwm=8000 > >INCREASED the Semaphores to the Following Values :- > >- /etc/system File on the DB & APP Servers :- > >set shmsys:share_page_table=1 >set maxuprc=20000 >set maxusers=1500 > >set shmsys:shminfo_shmseg=200 >set shmsys:shminfo_shmmin=2 >set shmsys:shminfo_shmmni=5000 >set shmsys:shminfo_shmmax=25769803776 >forceload: sys/shmsys >forceload: sys/shmsys >set semsys:seminfo_semmsl=1000 >set semsys:seminfo_semaem=16384 >set semsys:seminfo_semmap=700000 >set semsys:seminfo_semmni=60000 >set semsys:seminfo_semmns=100000 >set semsys:seminfo_semmnu=10000 >set semsys:seminfo_semume=100 >set semsys:seminfo_semvmx=32767 > > >Because of Increase of SEMAPHORES ( semmns to 100,000 from 20,000 ) the >Slowdown of "sqlplus" to Establish a Connect to Database started Occuring >after 1050 Process Connections Instead of 850 (Previously) . > >We are yet to try the Settings of Reducing swapfs_minfree , noatime Option >with mount , inode cache Hit ratio as advised Below > >-----Original Message----- >From: Karl Vogel [mailto:vogelke at dnaco.net] >Sent: Wednesday, March 27, 2002 12:11 AM >To: VIVEK_SHARMA >Subject: Re: sqlplus connect too slow under load both from DB & APP >Servers > > You may need more swap. I've had the best luck with multiple 1-Gbyte > swap partitions on different devices. > >V> After Migration from Oracle 7.3.4 to 8.1.7.2 on Solaris 2.8 sqlplus >V> becomes SLOW as the Number of Unix Users Connecting to the Database >V> Increases to about 400 whereafter even after all users are logged out >V> the response continues to be Slow even after the machine is Booted > > Some suggestions are below. You may be spending too much time scanning > memory for dirty pages. > >If you have an application that's an incredible swap hog, or the system is >really slowing down, try adding the lines below to /etc/system and >rebooting. I run with these settings and they've never caused me trouble. > >* >* Swap >* System keeps 1/8th of all memory for swap, which is too much for >* a 4GB system. Reduce that to 32 Mbytes (4096 8K pages). >set swapfs_minfree=4096 >* >* Memory management >* >* To decrease the amount of memory fsflush scans during any scan >* interval, we must modify the kernel variable autoup. The default >* is 30. For firewalls with 128MB of RAM or more, increase this >* value. The end result is less time spent managing buffers, >* and more time spent servicing packets. >set autoup = 120 > >Run "mount" to see how your filesystems are set up. You can mount >filesystems with "noatime" turned on, meaning don't bother updating the >access time whenever a file is opened. We use this under Solaris-8, >and it makes a *huge* difference if you're doing something to a large >number of small or medium sized files. > >Check the size of your inode caches, which keep track of >previously-accessed files. Run the DNLC script as root to see your >hit-rate percentage. If it's under 90-95%, you need to up the cache size. >The easiest way to do that is setting maxusers in /etc/system to something >like 2048. > >Karl Vogel >vogelke at dnaco.net _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com From david.proffitt at itn.co.uk Thu Apr 4 10:13:02 2002 From: david.proffitt at itn.co.uk (David Proffitt) Date: Thu Apr 4 10:13:02 2002 Subject: Backplane Disk Numbering Message-ID: <20020404171718.A25505@www3.itn.co.uk> Hello The disk in the slot labeled 5 on the backplane of an E450 is making a whining noise I'd like to add a new disk and move the contents of the suspect disk to it but I need to work out the mount point Is there a way of working out which slot on the SCSI backplane translates to which block or raw device name? Or of tieing the sd numbers returned by iostat to the physical device? Thanks -- David ========================================== David Proffitt, UNIX SysAdmin/Developer Independent Television News Ltd david.proffitt at itn.co.uk ========================================== From chad.d.campbell at mail.sprint.com Thu Apr 4 10:18:02 2002 From: chad.d.campbell at mail.sprint.com (chad.d.campbell at mail.sprint.com) Date: Thu Apr 4 10:18:02 2002 Subject: rtelnet getting "out of streams resources" on Solaris 8 Message-ID: We have a new 880 with Solaris 8 - patches current as of today. It is running Annex version 10 - which was originally a Bay Networks product. They application needs to have 17 running rtelnet sessions, each attached to a tty. After allocating 8 ttys, rtelnet processes fail with the message "out of streams resources". We are at a complete loss here, as it was our understanding that the number of ttys was no longer hard coded. Most of the information I've found related to the message is specific to Solaris 2.3. Any ideas about what parameters I might look at would be greatly appreciated. Thanks, Chad Chad Campbell System Administrator IV, Sprint Midrange Support From richard.mackerras at avonandsomerset.police.uk Thu Apr 4 10:33:05 2002 From: richard.mackerras at avonandsomerset.police.uk (Richard Mackerras) Date: Thu Apr 4 10:33:05 2002 Subject: Found Sun LVD PCI Card Message-ID: <21DEA671CFA6D5119EC600508BB2CDB75E51A0@HQNTEX03> Hi, I just found a Sun PCI LVD card. I thought Sun were not going to be selling LVD. Anybody know what the story is? Anyone got one of these? Sun Dual Fast Ethernet and Dual SCSI/P Adapter http://sunsolve.sun.com/handbook_pub/Devices/SCSI/SCSI_Dual_FastEther_Dual_S CSI.html It shows up on the Enterprise 220R page http://sunsolve.sun.com/handbook_pub/Systems/E220R/component.scsi.html Richard ++ Richard Mackerras Phone: 01275 81 6701 Unix Systems Administrator Fax: 01275 81 6265 Technical Services Information Systems Department Avon & Somerset Constabulary PO Box 37 Police Headquarters Portishead BS20 8QJ External email: Richard.Mackerras at AvonAndSomerset.Police.UK or: Richard.Mackerras at AvonAndSomerset.PNN.Police.UK ******************************************************* Internet e-mail is not to be treated as a secure means of communication. The Avon and Somerset Constabulary monitors all internet e-mail activity and content. This communication is confidential and intended for the addressee(s) only. Unauthorised use or disclosure of the content may be unlawful. Opinions expressed in this document may not be official policy. Thank you for your cooperation. (C)Avon and Somerset Constabulary. http://www.avonandsomerset.police.uk From ggallag at foc.com Thu Apr 4 11:05:03 2002 From: ggallag at foc.com (Greg Gallagher) Date: Thu Apr 4 11:05:03 2002 Subject: SUMMARY: Solaris 8, dumpadm, panic() and sync timeouts to mirrored swap In-Reply-To: <20020403110100.B24258@foc.com>; from ggallag@foc.com on Wed, Apr 03, 2002 at 11:01:00AM -0600 References: <20020403110100.B24258@foc.com> Message-ID: <20020404110425.D192@foc.com> Thanks to all those who responded. The best answer I got was to use DiskSuite to mirror swap or root disks, and you can dump to a metadevice. -- Greg Gallagher Sr. UNIX Systems Administrator First Options Chicago .... (312) 362-3643 On Wed, Apr 03, 2002 at 11:01:00AM -0600, Greg Gallagher wrote: > I recently had a problem on a SunFire E3800 running Solaris 2.8, > where I lost an entire IO Boat (i.e. the PCI IO controller and all > fiber and QFE cards on that boat). > > I have Veritas encapsulated disks which are mirrored across > controllers: > > c1t0d0 - primary > c0t0d0 - mirror > > My swapdevice, which is currently a Veritas encapsulated volume, > cannot be used to dump to, according to Sun because if the system > panics or has a Volume Manager problem dumping to swap isn't going to > help me. Sun suggested having a dedicated swap device, if we wanted > to have Veritas Encapsulated mirrored swap. > > The problem that I see with this is what happened to me yesterday. > Dumpadm was configured like so: > > excalibur:/root# dumpadm > Dump content: kernel pages > Dump device: /dev/dsk/c0t0d0s1 (dedicated) > Savecore directory: /var/crash/excalibur > Savecore enabled: yes > > This slice is one side of the swap mirror. However, swap is > configured like this: > > excalibur:/root# swap -l > swapfile dev swaplo blocks free > /dev/vx/dsk/swapvol 229,8 16 16383600 16383600 > > If I tell dumpadm to use swap, it refuses: > > excalibur:/root# dumpadm -d swap > dumpadm: no swap devices could be configured as the dump device > > Now what happens if /dev/dsk/c0t0d0s1 is inaccessible? Here's what > I saw on the panic(): > > syncing file systems... > panic[cpu8]/thread=2a100091d40: panic sync timeout > dumping to /dev/dsk/c0t0d0s1, offset 65536 > 0% done: 0 pages dumped, compression ratio 0.00, dump failed: error 5 > > Sure, when the system comes back up I can reset the dump device to > be the other side of the swap mirror, c1t0d0s1... but I've lost the > data from the panic. > > So my REAL question is this: How can I configure everything so I > have a fault tolerant dump device? Is it possible? > > Thanks in advance, I'll summarize, > > -- > Greg Gallagher > Sr. UNIX Systems Administrator > First Options Chicago .... (312) 362-3643 > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers From chad.d.campbell at mail.sprint.com Thu Apr 4 11:56:12 2002 From: chad.d.campbell at mail.sprint.com (chad.d.campbell at mail.sprint.com) Date: Thu Apr 4 11:56:12 2002 Subject: SUMMARY: rtelnet getting "out of streams resources" on Solaris 8 Message-ID: Well no responses - no help from Sun "we don't care if your 3rd party software has a problem" support, but we did find a workaround. Setting nautopush to 128 in /etc/system did the trick. Chad Chad Campbell System Administrator IV, Sprint Midrange Support -----Original Message----- From: Chad D. Campbell Sent: Thursday, April 04, 2002 10:17 AM To: 'sunmanagers' Subject: rtelnet getting "out of streams resources" on Solaris 8 We have a new 880 with Solaris 8 - patches current as of today. It is running Annex version 10 - which was originally a Bay Networks product. They application needs to have 17 running rtelnet sessions, each attached to a tty. After allocating 8 ttys, rtelnet processes fail with the message "out of streams resources". We are at a complete loss here, as it was our understanding that the number of ttys was no longer hard coded. Most of the information I've found related to the message is specific to Solaris 2.3. Any ideas about what parameters I might look at would be greatly appreciated. Thanks, Chad Chad Campbell System Administrator IV, Sprint Midrange Support From henderka at risc.sps.mot.com Thu Apr 4 12:01:02 2002 From: henderka at risc.sps.mot.com (Kenny Henderson) Date: Thu Apr 4 12:01:02 2002 Subject: Solaris 5.7 Traceroute Fails Message-ID: <20020404.17561800@helm.risc.sps.mot.com> When attempting to run a traceroute against a sun workstation running Solaris 2.7, I get no ICMP responses from the traceroute (UDP) and it eventually times out. The traceroute works if I use the "-I" option which uses pure ICMP instead of UDP. I believe this may be a patch issue seeing as I do not have this problem on other Solaris 2.7 systems running a higher revision of the OS. I have searched far and wide but I'm unable to come up with any documentation relating to this issue. Any help on this issue would be appreciated. From Buddy.Lumpkin at nordstrom.com Thu Apr 4 12:53:02 2002 From: Buddy.Lumpkin at nordstrom.com (Lumpkin, Buddy) Date: Thu Apr 4 12:53:02 2002 Subject: switching console to ttya from framebuffer without removing frame buffer Message-ID: <3BD8AA3B9C18D34BA5099929909CFA0541831B@m0319p35.nordstrom.net> Hi All, I have a system that im too lazy to attend an upgrade procedure at the monitor and keyboard. I have connected serial port a to another box and used tip to connect. While booted I used eeprom to set output-device and input-device to ttya. Now when the system boots, I can see bootup messages, etc.. and I can press enter and get a line of white space (indicating ttya works as an input) but I never get a login prompt. I assume I need to keep X from starting and set the console from within the OS but before I start hacking (was going to start by making sure X doesn't start or maybe playing with stuff under /usr/dt) I wanted to see if anyone out here knew exactly what I needed to change. Thanks in advance, I will summarize. --Buddy From grichardson at watercove.com Thu Apr 4 13:04:01 2002 From: grichardson at watercove.com (Gary Richardson) Date: Thu Apr 4 13:04:01 2002 Subject: SUMMARY: font error Message-ID: <5BFDB1D553A1D411A48200508BB0F6EC012DF624@k2> Hi everyone, My thanks goes to Nicolas Dorfsman for his response to my question. Although not exactly the same problem, his suggestion helped me solve the problem. What I did was edit /etc/TIMEZONE, which is really a link to /etc/default/init, and changed the occurances of en_US.ISO8859-15 to en_US.ISO8859-1. Once I rebooted everything worked fine on the system. Below is Nicolas's response and after that, my original question. -Gary -----Original Message----- Subject: Re: font error Hi, Not sure it could help, but I solved a fint problem on Solaris 7 with workaround found in bug 4257714 (changing fr.xxx by fr in /etc/default/init) : DESCRIPTION : With Solaris 7 about option Euro required during installation, i found a problem Warning and no refresh running Xapplications via telnet : Warning: Missing charsets in String to FontSet conversion Warning: Cannot convert string "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*" to type FontSet Warning: Unable to load any usable fontset Warning: Name: FONTLIST_DEFAULT_TAG_STRING Class: XmRendition Conversion failed. Cannot load font. SUMMARY: The problem have a resolution if in file /etc/TIMEZONE if we change variables from LC_XXXXXXX=it.ISO8859-15 to LC_XXXXXXX=it Nicolas Dorfsman ----- Original Message ----- From: "Gary Richardson" To: Sent: Tuesday, April 02, 2002 11:02 PM Subject: font error > Hi all, > > One of the users here ran into a strange problem that's really stumped me. > Here's what the deal is: > > He's sitting in front of an Ultra 10 that's running Solaris 8. He's logged > in via CDE. He telnets/rlogin to a Netra 20 running Solaris 8. In his bash > shell he sets the DISPLAY back to the Ultra 10. He runs his X application > (in this case, it's oracle's dbassist program). In the window he gets the > following errors: > > Warning: Missing charsets in String to FontSet conversion > Warning: Cannot convert string "-dt-interface > system-medium-r-normal-s*-*-*-*-*- > *-*-*-*" to type FontSet > Warning: Missing charsets in String to FontSet conversion > Warning: Unable to load any usable fontset > Warning: Cannot convert string "-dt-interface > system-medium-r-normal-s*-*-*-*-*- > *-*-*-*" to type FontList > Warning: Cannot convert string "-dt-interface > system-medium-r-normal-s*-*-*-*-*- > *-*-*-*:" to type FontList > Warning: Missing charsets in String to FontSet conversion > Warning: Cannot convert string "-dt-interface > user-medium-r-normal-s*-*-*-*-*-*- > *-*-*" to type FontSet > Warning: Missing charsets in String to FontSet conversion > Warning: Unable to load any usable fontset > Warning: Cannot convert string "-dt-interface > user-medium-r-normal-s*-*-*-*-*-*- > *-*-*" to type FontList > Warning: Cannot convert string "-dt-interface > user-medium-r-normal-s*-*-*-*-*-*- > *-*-*:" to type FontList > > > And when the window comes up the fonts are so messed up (or missing) you > can't understand what's in the window. > > I duplicated this problem by sitting in front of two other Sun machines (one > running Solaris 7, another running Solaris 8) and got the same errors. > > Now for something odd. I go back to my office, sit in front of my PC, fire > up Exceed, get myself a CDE login screen to the three machines mentioned > above (NOT the Netra 20), login, then telnet/rlogin to the Netra 20, set the > DISPLAY back to my Exceed session, fire up the X app, and DO NOT get the > errors. Hmmmm. > > Next I set up Exceed to give me a login screen to the Netra 20. I notice > right off that the font in the CDE login screen looks weird (kinda looks > like small Courier to me). I log in to the Netra 20, run the app, and it > comes up, however the font is REALLY tiny. I log back out, then click on the > OPTIONS --> LANGUAGE menu in the CDE login screen. It says that the language > is set to en_US.ISO8859-15-USA (Euro). Hmm, doesn't seem right. I check > another Netra 20 that I had installed at the same time. It's set to > en_US.ISO8859-1--USA. > > So I go back and Exceed to the troubled Netra 20, get the CDE login screen, > change the language to en_US.ISO8859-1--USA and login. Everything works and > looks great in that Exceed session. > > Ok, after all that, I guess I have a bunch of questions. First, what's > causing those errors? Second, related to the first question, is the language > setting that I see in the login screen the cause of this problem? Is that a > default setting somewhere within the X server? If so, how do I go about > changing it? Does that default setting affect all users running X apps on > that machine, or just limited to people logging in via a CDE login screen? > How comes the X app works while using Exceed to connect to the system, but > not when I'm sitting at a Sun console, rlogin/telneted to the Netra 20? How > is Exceed affecting and/or fixing this issue? > > Sorry, I know that's a bunch of questions. :-) > > BTW, I'm running Exceed 6.2, single window mode, Communication setting set > to XDMCP-query. > > My apologies if I'm either unclear or running in circles with my above > explanation and all those questions. I've been going in circles myself > trying to figure this problem out. > > Thanks in advance for any help/advice. If possible, please send some tylenol > in your email to help me with my headache. :-) > > -Gary > > Gary Richardson > Sr. Unix Administrator > WaterCove Networks, Inc. > Email: grichardson at watercove.com > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers From barnesdan at yahoo.com Thu Apr 4 13:24:01 2002 From: barnesdan at yahoo.com (Dan Barnes) Date: Thu Apr 4 13:24:01 2002 Subject: Jumpstart Flash install Message-ID: <20020404192315.44520.qmail@web11703.mail.yahoo.com> Greetings list, I am trying to jumpstart/flash install a SunBlade 1000. The flash is of a SunBlade 100 image. The jumpstart and flash runs just fine, but on the reboot it can't boot kernel/unix Anyone had similar problems? or any suggestions? Thanks in advance... - db Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ From gosselinm at netscout.com Thu Apr 4 14:09:02 2002 From: gosselinm at netscout.com (Mark Gosselin) Date: Thu Apr 4 14:09:02 2002 Subject: not sourcing .cshrc Message-ID: Hi all, Once again, I come to you with a bizarre problem.... I have a single user whose logging in and NOT getting the settings from his .cshrc file..... On every other machine it works fine!! The machine in question is an Ultra Enterprise 2 running Solaris 2.7. What kind of configuration problem might this indicate, if at all??? Oh yeah, sourcing .cshrc once he's logged in works fine!!! Thanks, Mark Gosselin NetScout Systems From stanb at awod.com Thu Apr 4 14:16:01 2002 From: stanb at awod.com (stan) Date: Thu Apr 4 14:16:01 2002 Subject: sacadm printer setup quistion Message-ID: <20020404201644.GA11454@teddy.fas.com> I have serveral groups of Soalris 2.5.1 systems that were isntalled and set up by a vendor. Each of these systems has an internal network that is not routed, and one each of the machines has a second NIC which is conected to the corporate network. I have been able to ad access to remote networked HP printers on all but one of these groups by adding access via JetAdmin from the machine that touches the corporate network to the printer, and then using admintool to set up the internal machines to use that one as a print server. Further research on this revals that on the dual homed machine in the groups this work on thta sacadm -l returns: AP0550# sacadm -l PMTAG PMTYPE FLGS RCNT STATUS COMMAND tcp listen - 999 ENABLED /usr/lib/saf/listen tcp # zsmon ttymon - 0 ENABLED /usr/lib/saf/ttymon # On the dual homed machine in the group where this does not workm the frist line is missing. It appears athat I need to use sacadm -a to add this service. However I have no idea what options to supply to sacadm -a Can anyone give me any advice, or point me to some docs for this? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin From jcea at argo.es Thu Apr 4 14:21:02 2002 From: jcea at argo.es (Jesus Cea Avion) Date: Thu Apr 4 14:21:02 2002 Subject: Several swaps of different sizes Message-ID: <3CACB5BB.BBB428EB@argo.es> Solaris 2.5.1 on UltraSparc, fully pacthed (Generic_103640-37) I have several partitions as swap space, to distribute load across disks and controllers. Nevertheless I have problems when any SWAP partition is full, although there exists plenty os free space in other disks: # swap -l swapfile dev swaplo blocks free /dev/dsk/c0t0d0s6 32,6 16 258384 9488 /dev/dsk/c0t1d0s3 32,11 16 205184 0 /dev/dsk/c0t5d0s4 32,44 16 2049792 1686768 In this situation, working with "/tmp" seems fairly inestable, with messages like "no free space in device". Any advice?. -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ jcea at argo.es http://www.argo.es/~jcea/ _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ _/_/_/_/_/ PGP Key Available at KeyServ _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz From stanb at awod.com Thu Apr 4 14:49:01 2002 From: stanb at awod.com (stan) Date: Thu Apr 4 14:49:01 2002 Subject: More printer questions Message-ID: <20020404204949.GA12295@teddy.fas.com> As a followup to the below, I must be close: I tried: sacadm -a -p tcp -t listen -c "/usr/lib/saf/listen tcp" -v `nlsadmin -V But that kust gets me: sacadm -l PMTAG PMTYPE FLGS RCNT STATUS COMMAND tcp listen - 0 ENABLED /usr/lib/saf/listen tcp # zsmon ttymon - 0 ENABLED /usr/lib/saf/ttymon # But, when I try to print from one of the internal machines, I still get the following in /var/spool/lp/logs/lpNet 04/04 15:41:04 p 6505 Started child for AP0502, pid = 6821 04/04 15:41:04 c 6821 AP0502 lpd retrying (1) connection to AP0502 in 30 secs 04/04 15:41:34 c 6821 AP0502 lpd retrying (2) connection to AP0502 in 60 secs 04/04 15:42:34 c 6821 AP0502 lpd retrying (3) connection to AP0502 in 120 secs Is there more to this puzzle? > > I have serveral groups of Soalris 2.5.1 systems that were isntalled and set > up by a vendor. Each of these systems has an internal network that is not > routed, and one each of the machines has a second NIC which is conected to > the corporate network. > > I have been able to ad access to remote networked HP printers on all but > one of these groups by adding access via JetAdmin from the machine that > touches the corporate network to the printer, and then using admintool to > set up the internal machines to use that one as a print server. > > Further research on this revals that on the dual homed machine in the > groups this work on thta sacadm -l returns: > > AP0550# sacadm -l > PMTAG PMTYPE FLGS RCNT STATUS COMMAND > tcp listen - 999 ENABLED /usr/lib/saf/listen tcp # > zsmon ttymon - 0 ENABLED /usr/lib/saf/ttymon # > > On the dual homed machine in the group where this does not workm the frist > line is missing. > > It appears athat I need to use sacadm -a to add this service. However I > have no idea what options to supply to sacadm -a > > Can anyone give me any advice, or point me to some docs for this? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin From KimC at nima.mil Thu Apr 4 15:06:01 2002 From: KimC at nima.mil (Kim, Charlie) Date: Thu Apr 4 15:06:01 2002 Subject: X emulators for PCs Message-ID: Can anyone provide recommendations for X emulators for PCs - specifically for Windows 2000/XP? I just found out that Sun no longer supports Solstice Network Client. Charlie From rfransix at yahoo.com Thu Apr 4 16:34:02 2002 From: rfransix at yahoo.com (pelicancomputers) Date: Thu Apr 4 16:34:02 2002 Subject: SUMMARY: WARNING: se0: Buffer overrun In-Reply-To: <20020326175908.14264.qmail@web14807.mail.yahoo.com> Message-ID: <20020404223310.7546.qmail@web14810.mail.yahoo.com> A.a terminal server connected to this box had its config changed from modem to terminal. reversing this parameter resolved the overrun. --- pelicancomputers wrote: > buffer overrun are attacks... > > can anyone identify what needs to added to fix this? > > thanks. > > rf > Yahoo! Movies - coverage of the 74th Academy Awards. > http://movies.yahoo.com/ > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ From arsaidac at adelphia.net Thu Apr 4 17:44:01 2002 From: arsaidac at adelphia.net (Adrian Saidac) Date: Thu Apr 4 17:44:01 2002 Subject: "ps" question Message-ID: <3CACE542.A5AE0C5F@adelphia.net> Hello to all, I have a question about our old "ps" Sun in its wisdom modified and starting with 2.x the ps output is truncated in what seems to be 80 characters The old ucb "ps" will not work in certain circumstances (I.E. 2.8 64 bit with certain disk drivers or a very large hardware environment) Questions: 1. how the "new" ps is gathering info compared with the ucb one? 2. is there a way to increase the length of the output in similar way let say -ww switch on the old ps? Any light in this will be appreciated To all the newbies out there please be aware that starting with 2.8 we have a better replacement for "top" --> prstat Try it you'll locve it Adrian Saidac From splat at fury.to Thu Apr 4 18:20:03 2002 From: splat at fury.to (Randy Romero) Date: Thu Apr 4 18:20:03 2002 Subject: Jumpstart problem----long Message-ID: Gurus, I'm having several problems with a new jumpstart server I have built/am building. The new jumpstart server is a NetraT1 without a cdrom. I nfs mounted another server that had disks1 and disks2 copied to the hard disk. I then ran the setup_install_server script over the nfs mount and everything seemed to go smoothly. However, the machine I am jumpstarting will not see the sysidcfg file and I have used the -p option for add_install_client. The sysidcfg file is from the old jumpstart server so I know the configuration is ok. The jumpstart server is also the boot server and the test machine is on the same subnet. The old jumpstart server has been turned off just as a precaution. Here's the syntax I'm using and output from the share/dfshares command. ./add_install_client -p genesis:/jumpstart/sysidcfg -c genesis:/jumpstart -s genesis:/jumpstart/OS/Sol8_2-02/Solaris_8 jumpman SUNW,UltraAX-i2 root at genesis:/jumpstart# share - /jumpstart ro,anon=0 "" root at genesis:/jumpstart# dfshares RESOURCE SERVER ACCESS TRANSPORT genesis:/jumpstart genesis - - The jumpstart seems to begin normally but because it doesn't see the sysidcfg file for whatever reason I get the standard install prompt of language, etc, etc. I decided, what the heck, and went to manually test the jumpstart. I get the normal prompts up until it is supposed to begin the install. It then dumps me to the prompt. System identification is completed. cat: cannot open /cdrom/.cdtoc cat: cannot open /cdrom/.cdtoc expr: syntax error expr: syntax error cat: cannot open /cdrom/.cdtoc expr: syntax error Starting Solaris installation program... Searching for JumpStart directory... Using rules.ok from x.x.x.x:/jumpstart. Checking rules.ok file... Using profile: AllServers Using finish script: config.sh Executing JumpStart preinstall phase... Searching for SolStart directory... Checking rules.ok file... Using begin script: install_begin Using finish script: patch_finish Executing SolStart preinstall phase... Executing begin script "install_begin"... Begin script install_begin execution completed. ERROR: Could not load the media (/cdrom) # Any ideas on why this could be happening? Why is it checking the rules.ok file twice? I really could use help on this as I'm on a bit of a crunch to get this new server operational because the old server can't handle the load being thrown at it anymore. Will summerize. Thanks in advance. Randy Romero From mangesh.v at xaalliance.com Thu Apr 4 21:40:03 2002 From: mangesh.v at xaalliance.com (Mangesh) Date: Thu Apr 4 21:40:03 2002 Subject: Bit:Summary Message-ID: <00b801c1dc53$49967d00$3529a8c0@Mangesh> Hello Unix Gurus, There was a overwhelming response from all of you. Thanks again for the same. Sorry as the list is too long I cannot mention the names. By the way most of them suggested : - 1) isainfo -kv 2) isainfo -v Some of them told me to use : - isainfo -b. Infact all of them worked. Thanks for all . Regards Mangesh From mjackson at axa.com.au Thu Apr 4 22:33:02 2002 From: mjackson at axa.com.au (mjackson at axa.com.au) Date: Thu Apr 4 22:33:02 2002 Subject: Raid manager/A1000 - cache size? Message-ID: Hi Folks, I have a hardened system running raid manager 6.22 which has no X capabilities. Any ideas of how to determine array controller cache size via command line utils. Cheers Mark Jackson ----------------------------------- Disclaimer This transmission may contain information which is confidential and privileged and intended only for the addressee. If you are not the addressee you may not use, disseminate or copy this information. If you have received this information in error please notify us immediately. Thank you. ------------------------------------- ********************************************************************************* Important Note This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the sender immediately and delete this email. Any views expressed in this email are not necessarily the views of AXA. Thank you. ********************************************************************************* From yogesh at asiacontent.com Thu Apr 4 23:01:02 2002 From: yogesh at asiacontent.com (Yogesh Jadhav) Date: Thu Apr 4 23:01:02 2002 Subject: configure hme0. In-Reply-To: <20020403180228.75DDEAB16A@ohno.mrbill.net> Message-ID: Hello Gurus, I have E-250 server, installed Solaris 7 and it's running a web server. The server is in ISP, when I installed sendmail on it and after that I restart the server using command "init 6" from my office, i.e. remotely, the server got restarted, but the error while restarting I got is no hme0 found, when I went there and type ifconfig -a I saw only local host IP and the hme0 was down, so I have to add manually all the setting for hme0. This happen twice with me an that to on different server, when I restarted remotely using "init 6" command. Now it's running, but I am afraid if I restart the server again all the setting will go. Please anyone over there can help me. All the help is highly appreciated. Thanks in advance. Thanks and Regds............ Yogesh. From mk at baerlap.north.de Fri Apr 5 00:27:03 2002 From: mk at baerlap.north.de (Matthias Kurz) Date: Fri Apr 5 00:27:03 2002 Subject: SUMMARY: Debugging boot process In-Reply-To: <20020404120255.K6690@baerlap.north.de>; from Matthias Kurz on Thu, Apr 04, 2002 at 12:02:55PM +0200 References: <20020404120255.K6690@baerlap.north.de> Message-ID: <20020405082437.L6690@baerlap.north.de> On Thu, Apr 04, 2002 at 12:02:55PM +0200, Matthias Kurz wrote: > I have a Blade 100 that hangs somewhere during the boot. But i don't know > where. Is there an easy way to enable debug output or so ? > My only idea is to put a line in the beginning of every script in > /etc/init.d (after #!/bin/sh): > [ -r /etc/init.d/debugcmds.inc ] && . /etc/init.d/debugcmds.inc > but that is a lot of work... The reason for the hang was, that there were static NFS mounts without "bg" option in /etc/vfstab. The machine has sometimes problems to get a network link (guilty is most probably an old hub). To the debugging: ----------------- Thanks to: David Leach Fabrice Guerini Hindley Nick John Elser Mark Mcmanus Stuart Little sunsrv at blr.cmc... Vinnie German There seems to be no "standard mechanism". The informations from "boot -a" or "boot -v" were not very usable in my situation. There are some tricks: - start from single user mode Try to boot into single user mode (boot -s). Then run the S*-scripts in /etc/rc2.d etc. one after the other from the command line. - modify /etc/rc? Do not edit every script in /etc/init.d, but the scripts /etc/rc[S012...]. There is a loop in every script, where the different scripts in the rcX.d dirs are started. One can add control messages and modify the "/sbin/sh $f stop/start" calls to look like "/sbin/sh -x $f ...". - insert a debug line in every script in /etc/init.d e.g. [ -r /etc/init.d/debugcmds.inc ] && . /etc/init.d/debugcmds.inc and then put something like echo "debugcmds.inc : $0 $*" set -x into /etc/init.d/debugcmds.inc This script adds the line as second line in _every_ file in /etc/init.d: #!/bin/sh cd /etc/init.d || exit 1 if [ ! -d sav ] then mkdir sav || exit 1 cp * sav fi for i in *; do ed $i <> Im prdmotorischen Cortex kann jeder ein Held sein. (bdw) << From vik2kash at hotmail.com Fri Apr 5 01:07:01 2002 From: vik2kash at hotmail.com (vikram kashyap) Date: Fri Apr 5 01:07:01 2002 Subject: DLT4000 storage limit Message-ID: hi all can anybody pl. let me know the max single filesystem limit a dlt on dlt4000 can backup.. actually i want to backup / /user and other file system ==19GB and /var/mail file system ==24GB in a single dlt .. if it is possible pl. revert. thanks and regards vikram _________________________________________________________________ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com From amateo at um.es Fri Apr 5 01:10:04 2002 From: amateo at um.es (Angel L. Mateo) Date: Fri Apr 5 01:10:04 2002 Subject: doubt about patchadd Message-ID: <1017990562.7751.12.camel@joshua> Hello, I have about related with patches and patchadd. Sometimes you have to install a patch that affect to two or more packages. If you have all those packages installed, there is no problem with patchadd. But if you don't have installed just one of those packages, you can't install the patch, even if they affect to software you have installed. What it is the correct behaviour in such a situation? Do I have to ignore the patch? Do I have to install missed packages? Is there any way to install the patch? And one more question: is it not better to make patches that affect to just one package? I am familiarized with redhat and it updates packages individually, so this problem doesn't affect to redhat. I think it is a better solution that sun's one. -- Angel L. Mateo Redes y Comunicaciones - ATICA Tfo: +34 968 367590 Universidad de Murcia Fax: +34 968 363389 Edificio D, Campus de Espinardo CP: 30100, Murcia From john at mtbiker.net Fri Apr 5 01:11:02 2002 From: john at mtbiker.net (John Martinez) Date: Fri Apr 5 01:11:02 2002 Subject: Q: Sun's SLP implementation Message-ID: <3CAD4DBD.4000307@mtbiker.net> I've read the Service Location Protocol (SLP) admin guide on docs.sun.com, but was looking for something more tailored around getting Solaris SA's and DA's to work with MacOS X UA's and Solaris UA's. In particular, I'm having trouble getting slpd on Solaris to start up using the net.slp.serializedRegURL property to register proxies for "legacy" services, such as NFS. slpd fails to start when the property is defined in the /etc/inet/slp.conf file. The line I'm referring to is this: net.slp.serializedRegURL=file:/etc/inet/slpd.reg The /etc/inet/slpd.reg file is this: service:nfs://myserv/export/home,en,65535 description=NFS Server Where 'myserv' is the name of the NFS server and /export/home is the name of the NFS share. Any ideas on this and maybe on getting Solaris slpd to work with OS X clients? Thanks! -john From shaywood at hurricaneseye.com Fri Apr 5 02:50:11 2002 From: shaywood at hurricaneseye.com (Haywood, Steven) Date: Fri Apr 5 02:50:11 2002 Subject: High volume backup solutions Message-ID: Hiya I have a couple of enterprise servers with multiple A5x00 storage arrays, fully loaded. At the moment, there's not a huge amount of data involved, only 60 gig or so, but it's going to get a LOT bigger. I'm putting together a backup solution involving an E450 with an L1000 jukebox with multiple drives, and dedicated ethernet links between it and the servers to allow it to back them all up at the same time. I am worried about whether this will be fast enough given a limited backup window. I was thinking about maybe connecting the backup server directly to the A5000s via another FCAL loop, but I've never really played with SAN stuff before, so I was kinda hoping someone out there had done something similar and could share their experiences with me! Thanks in advance Steven ********************************************************************** The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. ********************************************************************** From mangesh.v at xaalliance.com Fri Apr 5 02:55:03 2002 From: mangesh.v at xaalliance.com (Mangesh) Date: Fri Apr 5 02:55:03 2002 Subject: Port Message-ID: <00e101c1dc7f$353cf830$3529a8c0@Mangesh> Hello Gurus, 1) I am running Tom Cat Web application server on my server, which is a E-420R running on Solaris 8. Can I define any default port for the application where as just giving http://IP address of the server I can get the default webpage. 2) Users are connecting to the server, which is E-420R running Solaris 8. They are connecting through ftp, telnet & sqlnet. The problem is when they are working on the server i.e when the network traffic is there between the server & the client machine, the connection works fine. But if they stop for a while or the window is inactive for 2-3 mins, there session gets disconnected for all the services ( ftp,telnet & sqlnet ). I don't what the problem is. The users are connecting the server through a VPN setup. So I cannot figure out whether it is from the server side or it is a network problem. It is really irritating for me too, as it happens with me also. Can anyone over there please give me some solution for the above 2 queries. Thanks in advance. Thanks & Regards Mangesh From craig.scott at stc.ac.uk Fri Apr 5 03:09:02 2002 From: craig.scott at stc.ac.uk (Craig Scott) Date: Fri Apr 5 03:09:02 2002 Subject: SUMMARY: 280R and D1000 configuration problems Message-ID: <000201c1dc81$c83960e0$010218ac@man.stc.ac.uk> My apologies for the summary *I KNOW* summaries are supposed to have SUMMARY in the subject and was sure I had put in the subject. Still it explains why I was still getting response after I thought I had posted the summary. I have included the summary below and appropriately amended the list of people who replied Problems was the host bus adapter, both 280Rs are fitted with symbios 22801 pci adapters which are single-ended scsi adapters. Looks like its time to go and complain to the consultants who specd and assembled the system and get them to send a pair of differential scsi cards to us :-) Guess the moral of the story is to always check the hardware is what you think / are lead to believe it is before you start working on a new system Thanks to those who responded  Steve Hunt Rauxon Ademola Omoni Tony Walsh Joon Martin Hansen Peter Stokes Charles Wang Darren Dunham Jay Lessert Alan Wade David Foster Craig Scott IT Development Officer South Tyneside College From shaywood at hurricaneseye.com Fri Apr 5 03:55:02 2002 From: shaywood at hurricaneseye.com (Haywood, Steven) Date: Fri Apr 5 03:55:02 2002 Subject: Another Solstice Backup question Message-ID: Hiya When I define a backup device as a DLT7000, the system sets the capacity at 35GB as a default. Does this take into account compression, or can I set the capacity a little higher to ensure I use the entire tape? Thanks Steven ********************************************************************** The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. ********************************************************************** From Mike.Whorley at coda.com Fri Apr 5 04:13:02 2002 From: Mike.Whorley at coda.com (Mike Whorley) Date: Fri Apr 5 04:13:02 2002 Subject: Command to show 32 or 64 bit ? Message-ID: <820281984AF66C4089C8A11705925A9CA8C9A5@srv-har-mail0.coda.com> All, Having performed a Flash PROM update and installed Solaris 8 on my Ultra 2 I'm fairly confident all went well and that the server is booting into 64 bit mode now by default having modified boot.conf. However I was wondering if there is a command to actually show whether the O/S is running 32 or 64 bit ? uname -a only returns the following :- # uname -a SunOS sweden 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-2 Regards, Mike. From rj45 at slacknet.com Fri Apr 5 04:19:01 2002 From: rj45 at slacknet.com (RJ45) Date: Fri Apr 5 04:19:01 2002 Subject: Symbios SCSI Adapters for ultra 10 In-Reply-To: <820281984AF66C4089C8A11705925A9CA8C9A5@srv-har-mail0.coda.com> Message-ID: Hi all, If I install one of these two scsi host adapter on the PCI slot of my ULTRA 10, will they work ? They says there are Solaris driver for both host adapters but will they fit in the Ultra 10 and work on Ultra 10 ? anyone have experience of them? LSI Logic ITI6100U2-S Ultra2/LVD SCSI PCI Adapter LSI Logic ITI6200U3LP-S Dual Channel Ultra160 SCSI thanks Rick From shaywood at hurricaneseye.com Fri Apr 5 04:40:03 2002 From: shaywood at hurricaneseye.com (Haywood, Steven) Date: Fri Apr 5 04:40:03 2002 Subject: [SUMMARY] Another Solstice Backup question Message-ID: Hi > When I define a backup device as a DLT7000, the system sets > the capacity at > 35GB as a default. Does this take into account compression, > or can I set the > capacity a little higher to ensure I use the entire tape? > Thanks to Mats Vberg, Patricio Mora and przemol Seems the capacity on there is for information only, SBU will use the entire tape Cheers! Steven ********************************************************************** The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. ********************************************************************** From mathias at ongame.com Fri Apr 5 05:09:01 2002 From: mathias at ongame.com (Mathias Kanstrup) Date: Fri Apr 5 05:09:01 2002 Subject: SUMMARY : sftp restricting directory access Message-ID: <20020405110820.659F4AB116@ohno.mrbill.net> Hi Actually only one person responded - Matthew Zeier, he suggested me to search for a patch, thanks. Found it at - http://www.cag.lcs.mit.edu/~raoul/ /Mathias Kanstrup ------------------- Original posting > Hi Gurus > > I'm running Solaris 8 on a Netra T1. > > Is it possible to restrict users to a certain directory (e.g. home directory) > during SFTP (OpenSSH) session? > > > Thanks in advance. > > /Mathias Kanstrup From jegdes at mysun.com Fri Apr 5 05:38:02 2002 From: jegdes at mysun.com (Jegadeesh P) Date: Fri Apr 5 05:38:02 2002 Subject: StorEDGE issue Message-ID: <28a6227d07.27d0728a62@mysun.com> Hello All, I am using solstice backup 5.5.4 loaded in a SPARC E450 with Solaris 8. The server is attached with a StorEDGE L9 backup drive with 9 slots. Can anyone tell what are the configuration parameters for the backup drive to automatically change the tape? Are any extra configurations to be entered in the Jukebox related configurations in Solstice? In which one of the following modes the backup device to be set into? Stacker / Random / Autodetect(Factory default) ? The problem is the drive is not taking the next tape in the drive after finishing the previous tape.... kindly help me, please. From david.proffitt at itn.co.uk Fri Apr 5 05:57:03 2002 From: david.proffitt at itn.co.uk (David Proffitt) Date: Fri Apr 5 05:57:03 2002 Subject: SUMMARY: Backplane Disk Numbering Message-ID: <20020405130022.A18301@www3.itn.co.uk> Thanks for all replies There are some references in the E450 manuals and I have been sent a perl script that can detect the mapping format gives a list of disks numbered 0-9 but its apparently not guarenteed that these are probed in the same order as they appear on the backplane 5. c2t1d0 /pci at 6,4000/scsi at 4/sd at 1,0 A simple method is to generate activity on a given device and watch the access lights I'm off to the machine room to try these out David Original Message ---------------------- From: "David Proffitt" Date: Thu, 4 Apr 2002 17:17:18 +0100 To: sunmanagers at sunmanagers.org Subject: Backplane Disk Numbering Hello The disk in the slot labeled 5 on the backplane of an E450 is making a whining noise I'd like to add a new disk and move the contents of the suspect disk to it but I need to work out the mount point Is there a way of working out which slot on the SCSI backplane translates to which block or raw device name? Or of tieing the sd numbers returned by iostat to the physical device? Thanks -- David ========================================== David Proffitt, UNIX SysAdmin/Developer Independent Television News Ltd david.proffitt at itn.co.uk ========================================== -- David ========================================== David Proffitt, UNIX SysAdmin/Developer Independent Television News Ltd 020 7833 3000 Ext 2049 07740 819686 david.proffitt at itn.co.uk ========================================== From pmora at cgob.junta-andalucia.es Fri Apr 5 07:33:02 2002 From: pmora at cgob.junta-andalucia.es (Patricio Mora) Date: Fri Apr 5 07:33:02 2002 Subject: SUMMARY: Storedge 6960 configuration for backup References: <3CAC4363.9871E23E@cgob.junta-andalucia.es> <035201c1dbe0$0ec78ac0$5900a8c0@vantage.internal.com> Message-ID: <3CADA719.4456942D@cgob.junta-andalucia.es> Jeff Thomas wrote: > We are looking at the 6960 ourselves; I do know that Sun uses the Vicom virtualization engine as part of its 6960 solution. You can research some of the functionality issues at www.vicom.com Thanks, Jeff. Although not extended in particular details is a clarifier source for SAN and the SVE functionalities, including backup. To the list: can't summarize until the 6960 arrives and start fighting with it, I think. > ----- Original Message ----- > From: Patricio Mora > To: Sun Managers List > Sent: Thursday, April 04, 2002 7:13 AM > Subject: Storedge 6960 configuration for backup > > > Hello all. We are in the way of buying a Sun Storedge 6960 SAN with 4 SVE > (virtualizators) and 2 sixteen connections optical fiber switches, and have > some doubts about its functional concepts and configuration. We will connect > 2 Sun machines to it, one our production server (P) and other our backup > server (B) with Solstice Backup 6.1., a DLT jukebox and some NT servers. > > > > 1.- Is the SVEs set equivalent to a Raid manager for an A1000 for example, > where you can configure the RAID LUNs s you want, plus the added > functionality of exporting them to certain hosts, like Volume Manager does? > > > > 2.- How will we be able to save the production filesystems (huge Oracle > datafiles), served by the SVEs to P, directly from B ?. I mean, are we going > to be able to see the same luns from both servers? or we'll have to start > playing with detaching from P, attaching to B, saving, detaching from B, and > reattaching to P? We'll have no gigabit interfaces or switches, so network > will be 100 mbps, and we would like to make use of the FO connections' > speed. > > > > 3.- Same doubts in the case of a LUN served to a NT machine with > filesystem in NTFS format. > > > > Sorry for my ignorance, but we cannot find here a clear explanation for > these questions. Many thanks. From Chad.Rytting at med.ge.com Fri Apr 5 07:46:16 2002 From: Chad.Rytting at med.ge.com (Rytting, Chad (MED, OEC)) Date: Fri Apr 5 07:46:16 2002 Subject: Video Capture software Message-ID: Slightly off-topic I have a user that needs to make a demo video on some software that she has installed on her workstation. Do any of you know of some software that can be used to create videos based on the desktop screen? She's using the CDE with some special internal software. Thanks for your help. g GE Medical Systems - SAVI _________________________________________ Chad Rytting Unix/Network Analyst GE OEC Medical Systems E-Mail: Chad.Rytting at med.ge.com From ghagan at howardenergy.com Fri Apr 5 08:08:03 2002 From: ghagan at howardenergy.com (ghagan at howardenergy.com) Date: Fri Apr 5 08:08:03 2002 Subject: Start Printing on a new install Message-ID: <88256B92.004DC088.00@oceanside.hpubs.com> HELP I am trying to set up printers on Solaris 8. I have entered the following commands and can see my printer in the print manager window. The printer exists on a network server administered by the machine called "tc4". lpadmin -php1 -s tc4!hp1 lpadmin -p hp1 -v /dev/null lpadmin -php1 -i /usr/lib/lp/model/netstandard accept hp1 enable hp1 When I submit a print job it runs through but I never see the print job. The following error message is in my mail file: Your request hp1-26 destined for hp1 The job title was: /etc/passwd submitted from: tc10 at: Fri Apr 5 08:33:16 2002 encountered an error while printing on printer hp1. Printing stopped with an exit code of 1. Can anyone help please? Greg Hagan Howard Energy Co, Inc. From witstest at hotmail.com Fri Apr 5 08:33:01 2002 From: witstest at hotmail.com (wits test) Date: Fri Apr 5 08:33:01 2002 Subject: Restoring Boot Disk after hard drive crash Message-ID: Hi all. We have a SPARC server 1000 with Solaris 7. The hard drive from which the OS boots crashed and has since been replaced. We has created the needed partitions for the drive and want to restore from tape the data that was there. On the drive were the files for /root and /usr and swap. We are able to bring the machine up from cdrom with the command "boot cdrom -sw". When we try to make the directory /root from / it gives the error "mkdir: Failed to make directory "/root"; Read-only file system". We are able to see the drive using the format command. Once we make the /root directory we were going to try to add the files from tape in to the directory. using ufsrestore -i /dev/rmt/0 to read the files and them to the directory. Any help or suggestions will we greatly appreciated. thanks in advance ------------------------------------------------------------------------ Join the worlds largest e-mail service with MSN Hotmail. Click Here From stanb at awod.com Fri Apr 5 08:50:02 2002 From: stanb at awod.com (stan) Date: Fri Apr 5 08:50:02 2002 Subject: Still strugling to make a 2.5.1 machine a print server Message-ID: <20020405145017.GB10094@teddy.fas.com> Sorry to keep buging the list about this, but I'm not promarily a Sun admin, and this particualr area sems to be very Sun specific. As you may recall, I'm desperatly trying to make a 2.5.1 machine work as a print server for several other 2.5.1 machines. yesterdai I aparently suceded in invoking the magic incatation of sacadm for this. Today I've discvered that I also heve to do thigs with pmadm. gere is what I've tried: pmadm -a -p tcp -s lp -i root -m `nlsadmin -o /var/spool/lp/fifos/listenS5` -v `nlsadmin -V` Which seemd to work Then: pmadm -a -p tcp -s lp -i root -m `nlsadmin -o /var/spool/lp/fifos/listenBSD -A '\x00020203000000000000000000000000'` -v `nlsadmin -V` Which eturned an error message: Invalid request, lp already exists under tcp And then: pmadm -a -p tcp -s 0 -i root -m `nlsadmin -c /usr/lib/saf/nlps server -A '\x00020203000000000000000000000000'` -v `nlsadmin -V` Which must be sytacticly incorrect, as it just returns the pmadm ussage message. Could some kind soul give me a clue here? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin From ltiu at alumni.sfu.ca Fri Apr 5 08:52:02 2002 From: ltiu at alumni.sfu.ca (ltiu) Date: Fri Apr 5 08:52:02 2002 Subject: sshd cannot load "existing" host_keys files Message-ID: <20020405145114.KSIG1687.priv-edtnes04-hme0.telusplanet.net@there> Hello, Solaris 2.6 ssh keys were generated using ssh-keygen (all three rsa1, rsa and dsa with no errors) ssh host keys are located in /usr/local/etc permissions are default 0400 executing sshd gives me the following errors: Could not load host key: /usr/local/etc/ssh_host_key Could not load host key: /usr/local/etc/ssh_host_rsa_key Could not load host key: /usr/local/etc/ssh_host_dsa_key Disabling protocol version 1. Could not load host key Disabling protocol version 2. Could not load host key sshd: no hostkeys available -- exiting. changing permissions to 0500 or 0700 does not change behavior. still get same error. recreating the keys files does not change behavior. still get same error. Can anybody clue me in as to what is the problem here. sshd can't seem to read from an existent file. Thanks for any help. ltiu From markmont at umich.edu Fri Apr 5 08:53:01 2002 From: markmont at umich.edu (Mark Montague) Date: Fri Apr 5 08:53:01 2002 Subject: SUMMARY: A1000 serial port information In-Reply-To: Message-ID: On Tue, 2 Apr 2002, Mark Montague wrote: > I'm wondering if we can use the serial port on an A1000 to control > the array and get diagnostic information. I recieved two responses, both of which are included below. In short, it does not look like using the serial port on the A1000 controllers is easily possible. Thanks to Julie Baumler and Steve Camp for the replies! Mark Montague LS&A Information Technology The University of Michigan markmont at umich.edu >From julie.x.baumler at co.multnomah.or.us Tue Apr 2 12:29:26 2002 Date: Tue, 2 Apr 2002 09:16:19 -0800 From: BAUMLER Julie L To: 'Mark Montague' Subject: RE: A1000 serial port information Mark - I wasn't involved, but Sun was here today with a special serial cable tipping in to our A3500 to fix something. It is apparently a non-standard cable and the command set is something developed by LSI, who make the controller boards. Before coming in, they tried replacing controllers and trying out all the commands on a lab setup to be as similar to ours as possible. Given the level of preparation they did, and all the stuff they tried before resorting to this; I wouldn't recommend trying it on your own. Julie Julie L Baumler, SCNA Sr Systems Administrator Multnomah County ISD 503-988-3749 x26909 ----- >From steve at aslan.camp.com Tue Apr 2 15:10:25 2002 Date: Tue, 2 Apr 2002 13:06:18 -0700 From: Steve Camp To: markmont at umich.edu Subject: Re: A1000 serial port information Mark, Theoretically, you probably could use the A1000 controller serial port to control the array, since you are talking directly to the controller. However, this was *never* supported by Sun. In fact, if Sun caught you doing so, and you have a maintenance contract... they would raise hell, and might cancel your maintenance contract. Sun views the serial port as strictly for emergency diagnostic use. If you really want to fool around with it, please understand that I consider you to be playing Russian Roulette of sorts: except that you are using a loaded shotgun, and not a revolver, and the shotgun is pointed at your feet. So, feel free to blow your feet off. ;-) That said, I do not believe you will find the information you seek from Sun. The A1000 / A3x00 controller boards were OEM'd from LSI Logic. I'd suggest rummaging through their support website looking for documents. -- Steve Camp who used to work for Sun (HAS / Mission Critical Support) Camp Technologies, LLC steve at camp.com From alexp at novator.com Fri Apr 5 09:45:15 2002 From: alexp at novator.com (Alexandre Perematko) Date: Fri Apr 5 09:45:15 2002 Subject: interface counters reset References: <001b01c1d404$aef787e0$735535ca@sunil> Message-ID: <041c01c1dcb8$944aae60$6f00000a@int.novator.com> Hi, How do I reset interface packets/errors counters on Solaris x86 ? I'm talking about counters shown by "netstat -i" : Name Mtu Net/Dest Address Ipkts Ierrs Opkts Oerrs Collis Queue lo0 8232 loopback localhost 466068 0 466068 0 0 0 hme0 1500 hostname hostname 20640407 7 17898686 0 684995 0 hme0:2 1500 10.1.0.0 10.1.0.50 0 0 0 0 0 0 hme1 1500 hostname hostname 196458435 1 128465551 0 1463310 0 Alex From splat at fury.to Fri Apr 5 09:55:04 2002 From: splat at fury.to (Randy Romero) Date: Fri Apr 5 09:55:04 2002 Subject: Jumpstart problem----long FOLLOW UP Message-ID: I wanted to take a second and thank everyone for their responses thus far. I didn't make one item clear that everyone keeps suggesting to me. /jumpstart/sysidcfg is a directory. I keep different sysidcfg files in this directory based on builds. A quick mv command allows me to use a sysidcfg file based upon my needs, so the -p /jumpstart/sysidcfg shouldn't be the real reason why I'm having problems with jumpstart not seeing the sysidcfg file for this install. The main issue that is giving me fits is the cat cannot open cdrom/.cdtoc problem. I've went back to the old jumpstart machine and that machine is problem free. I even went so far as to add the new Sol8 images to it and see if I have the same problems. It seems to be working flawlessly. My best guess is that doing setup_install_server via nfs is where my real problem is. If I copy the directory tree from the old jumpstart server to the new jumpstart server, would that solve my problem? Anyone had luck with something like this before? Randy Romero ---------------Original Post Below---------------------------- -----Original Message----- From: Randy Romero [mailto:splat at fury.to] Sent: Thursday, April 04, 2002 7:20 PM To: Sun Managers List Subject: Jumpstart problem----long Gurus, I'm having several problems with a new jumpstart server I have built/am building. The new jumpstart server is a NetraT1 without a cdrom. I nfs mounted another server that had disks1 and disks2 copied to the hard disk. I then ran the setup_install_server script over the nfs mount and everything seemed to go smoothly. However, the machine I am jumpstarting will not see the sysidcfg file and I have used the -p option for add_install_client. The sysidcfg file is from the old jumpstart server so I know the configuration is ok. The jumpstart server is also the boot server and the test machine is on the same subnet. The old jumpstart server has been turned off just as a precaution. Here's the syntax I'm using and output from the share/dfshares command. ./add_install_client -p genesis:/jumpstart/sysidcfg -c genesis:/jumpstart -s genesis:/jumpstart/OS/Sol8_2-02/Solaris_8 jumpman SUNW,UltraAX-i2 root at genesis:/jumpstart# share - /jumpstart ro,anon=0 "" root at genesis:/jumpstart# dfshares RESOURCE SERVER ACCESS TRANSPORT genesis:/jumpstart genesis - - The jumpstart seems to begin normally but because it doesn't see the sysidcfg file for whatever reason I get the standard install prompt of language, etc, etc. I decided, what the heck, and went to manually test the jumpstart. I get the normal prompts up until it is supposed to begin the install. It then dumps me to the prompt. System identification is completed. cat: cannot open /cdrom/.cdtoc cat: cannot open /cdrom/.cdtoc expr: syntax error expr: syntax error cat: cannot open /cdrom/.cdtoc expr: syntax error Starting Solaris installation program... Searching for JumpStart directory... Using rules.ok from x.x.x.x:/jumpstart. Checking rules.ok file... Using profile: AllServers Using finish script: config.sh Executing JumpStart preinstall phase... Searching for SolStart directory... Checking rules.ok file... Using begin script: install_begin Using finish script: patch_finish Executing SolStart preinstall phase... Executing begin script "install_begin"... Begin script install_begin execution completed. ERROR: Could not load the media (/cdrom) # Any ideas on why this could be happening? Why is it checking the rules.ok file twice? I really could use help on this as I'm on a bit of a crunch to get this new server operational because the old server can't handle the load being thrown at it anymore. Will summerize. Thanks in advance. Randy Romero _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From marco_greene at hotmail.com Fri Apr 5 10:53:01 2002 From: marco_greene at hotmail.com (Marco Greene) Date: Fri Apr 5 10:53:01 2002 Subject: Daylight Savings and Crontab Jobs Message-ID: Hello All, I'm running Solaris 7. # cat /etc/TIMEZONE TZ=US/Eastern What will happen with the crontab jobs between 1:00AM and 2:00AM when the time will change for Daylight Saving this weekend? Will they run? Is there any patch that I have to apply in order to prevent any problem related to cron jobs? Last fall (and this is another story) at Daylight Saving weekend all crontab jobs between 1:00AM and 2:00AM had run twice. Is there any fix for this? Any help will be appreciated. TIA, Marco ------------------------------------------------------------------------ Chat with friends online, try MSN Messenger: Click Here From ecrotty at vantage.com Fri Apr 5 11:16:01 2002 From: ecrotty at vantage.com (Ed Crotty) Date: Fri Apr 5 11:16:01 2002 Subject: Using a X6541A (Sun HVD Dual SCSI PCI Card) on a Win2k PC Message-ID: <2F2E24372F10744588A27DEECC85FE0436DC91@vt-pe2550-001.VANTAGE.vantage.com> We are considering freeing up our 220R that is using Veritas Netbackup and moving our P1000 over to a cheaper Dell Box (runing W2k) to free up the 220R for more power hungry applications. My question is : Can I reuse the Sun X6541A PCI HVD SCSI card in a PCI slot on the Dell? Are there drivers for W2k for this card? Thanks! I will summarize. -ed ************************************************************************** This e-mail and any files transmitted with it are intended for the use of the addressee(s) only and may be confidential and covered by the attorney/client and other privileges. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. From eno at bandwidth.net Fri Apr 5 12:01:01 2002 From: eno at bandwidth.net (Evan Oulashin) Date: Fri Apr 5 12:01:01 2002 Subject: Sunblade dies while idle References: <20020405133409.C3326AB0D6@ohno.mrbill.net> Message-ID: <3CADE63C.FD4E6DDF@bandwidth.net> We've had four different Sunblade 1000s through our shop recently with varying degrees of unreliable performance, and now believe we have proven without doubt that this relates to some kind of memory issue. The machines were all tested with VTS for periods of time ranging from 24 to 96 hours, and all ran without a hitch. However, once in the field, users began reporting various failures, lockups, red state exceptions, etc. After much testing, we find that if we keep the machines busy with VTS or some other activity, they rarely, if ever, fail. However, if left to idle at the login prompt, they will invariably die with a lockup or hang of some kind, typically within 3 or fewer hours, sometimes within 45 minutes. Once hung, they're unresponsive to console input, and they do not reply to pings. In our initial testing, we typically didn't just let them idle for long periods of time; they usually were fired up, and had VTS running on them within a few minutes after O/S installation. It was only by accident one day that we noticed that we could cause the failure to repeat simply by letting the machine sit at the login prompt. These failures occured with a certain brand (one of the leaders in the aftermarket memory business) of non-Sun memory installed. When we remove the non-Sun memory and install Sun-labeled memory, the machines run perfectly whether idling or busy. Going back to non-Sun allows us to reproduce the errors. Over the last weekend, we ran extensive tests with 3 different sets of this manufacturer's memory, all of which acted the same. Two different sets of Sun memory both were perfectly reliable when swapped in and out between runs with the non-Sun. We have a listing of 17 tests which clearly demonstrates the pattern. In NO case did we have a single failure while running Sun memory. Has anyone else ever run across this? The vendor of course maintains they've never heard of any troubles like this and swear there's nothing wrong with their memory. We're of the mind that others must have had similar experiences. Will summarize. tia eno From durai at head-cfa.harvard.edu Fri Apr 5 12:46:02 2002 From: durai at head-cfa.harvard.edu (Padmanabhan Ramadurai) Date: Fri Apr 5 12:46:02 2002 Subject: A1000 -- RM 6.22 to RM 6.22.1 Message-ID: Hello All, We have an A1000 directly attached to an E3000 running Solaris 2.6 We intend to upgrade our E3000 to Solaris 2.8. But before that we want to upgrade our RM 6.22 to RM6.22.1 since RM 6.22 does not support solaris 2.8. what is the best/recommended roadmap? should we do the 6.22 to 6.22.1 upgrade first and then do solaris 2.6 to solaris 2.8 or do the solaris upgrade first and then the raidmanager software? does this require any firmware upgrade? thanks a lot, Durai From alan.mcintosh at motorola.com Fri Apr 5 12:49:01 2002 From: alan.mcintosh at motorola.com (McIntosh Alan-R54071) Date: Fri Apr 5 12:49:01 2002 Subject: Data Overwrite Message-ID: Admins, I am looking for a method to overwrite the blocks that confidential data resides on after the archival of a users home directory. I have been able to find methods of wiping an entire disk, but not just a specified area on the disk. Such as: tar cvf - /users/homer | 'cd /storage; tar xf -' dd if=/dev/zero of=/users/homer dd if=/dev/null of=/users/homer These do not work do to the fact that homer is a directory. Is there a way to accomplish this without replacing anything else on the disk except the data that was archived? Alan McIntosh IT - UNIX Systems Administrator From stanb at awod.com Fri Apr 5 13:12:02 2002 From: stanb at awod.com (stan) Date: Fri Apr 5 13:12:02 2002 Subject: SUMMMARY 2.5.1 as a print server Message-ID: <20020405191221.GA18314@teddy.fas.com> Thansk to all the helpful people on this list that gave me clues on this. Here is what I woulnd up with: #!/bin/sh ####################################################################### # # 4/5/2002 SDB MeadWestVaco # # Script to set up a Solaris 2.5.1 machine to be a print server for # other Solaris clients # # It may also be necessary to add the clients with # lpsystem clinet1 ... clinetn # ##################################################################### # remove existing entries if required # sacadm -r -p tcp # pmadm -r -p tcp -s 0 # pmadm -r -p tcp -s lpd # pmadm -r -p tcp -s lp scadm -a -p tcp -t listen -c "/usr/lib/saf/listen tcp" -v `nlsadmin -V` -n 999 pmadm -a -p tcp -s lp -i root -m `nlsadmin -o /var/spool/lp/fifos/listenS5'` -v `nlsadmin -V` pmadm -a -p tcp -s lpd -i root -m `nlsadmin -o /var/spool/lp/fifos/listenBSD -A '\x00020203000000000000000000000000'` -v `nlsadmin -V` pmadm -a -p tcp -s 0 -i root -m `nlsadmin -c /usr/lib/saf/nlps_server -A'\x00020ACE000000000000000000000000'` -v `nlsadmin -V` The addresses (-A arguments) are supposed to be "universal addresses" obtained via lpsystem -A, and the modified such that the port number is changed from 0230 to )ACE for the "0" service. Howeer I suspect that these numbers I have might work anywhere, since they don't seem to conatin the IP address portion anyway. Agains, thansk for all the help. -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin From mgreene at aci.on.ca Fri Apr 5 13:20:04 2002 From: mgreene at aci.on.ca (Marco Greene) Date: Fri Apr 5 13:20:04 2002 Subject: Blank filenames Message-ID: <000401c1dcd6$b3db2480$ccc8a8c0@pepstep> I thought I saw something like this before, but I couldn't find it in the archives. I have a file that doesn't have a filename, here is the output of the file command which shows the issue best: : commands text TT_DB: directory bin: directory cdrom: directory dev: directory devices: directory etc: directory export: directory fs01: directory home: directory How do I delete the first file. Note that the file command actually puts the : at the end of each file. Thanks, and I will summarize. Marco Greene mgreene at aci.on.ca From ecrotty at vantage.com Fri Apr 5 13:32:02 2002 From: ecrotty at vantage.com (Ed Crotty) Date: Fri Apr 5 13:32:02 2002 Subject: SUMMARY : Using a X6541A (Sun HVD Dual SCSI PCI Card) on a Win2k PC Message-ID: <2F2E24372F10744588A27DEECC85FE0446C7A3@vt-pe2550-001.VANTAGE.vantage.com> Although no one can directly say, yes, this will work, the overall opinion is that it should given the correct drivers. People have given me leads as to the chipset used for the card and where to get the associated drivers. In the end, I have to side with one of the comments. It's a $1000 card. Leave it in the Sun and use it for something else and buy a simple $400 card (such as the Adaptec AHA2944UW) for the PC. I agree. :) Thanks to - Justin Stringfellow Thomas Jones Steve Camp Alex Stade Stephen Wolthusen Here is a compilation of some of the direct replies I got - It should work without too much, if any fuss. The Sun X6541A PCI card is a Qlogic card OEM'd by Sun. It may have Sun firmware on it: I am unsure if this would cause any problems. The SCSI drivers for the Qlogic card are most probably already included in Win2K, otherwise, I think they are easily obtained from Qlogic's website. --- While this card is based on the Symbios (now LSI) Logic 53C875 (a fairly common chipset even for no-name cards - you can get drivers from a number of vendors, IIRC W2K already supports this chipset out of the box. LSI have their own drivers at http://www.lsilogic.com/support/support+drivers/scsi/w2k_flint.html), the problem is with the BIOS. The PC needs a x86 BIOS (the Sun doesn't care for it as long as it's not the boot device), and finding one and flashing it may be a bit tricky. It's probably a much better idea to buy an el cheapo (well, relatively speaking) generic x86 host adapter -- that way you're not wasting the $1000 X6541. Original Question - We are considering freeing up our 220R that is using Veritas Netbackup and moving our P1000 over to a cheaper Dell Box (runing W2k) to free up the 220R for more power hungry applications. My question is : Can I reuse the Sun X6541A PCI HVD SCSI card in a PCI slot on the Dell? Are there drivers for W2k for this card? Thanks! I will summarize. -ed ************************************************************************** This e-mail and any files transmitted with it are intended for the use of the addressee(s) only and may be confidential and covered by the attorney/client and other privileges. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. From JBARBER at CKR.com Fri Apr 5 14:08:14 2002 From: JBARBER at CKR.com (Barber, Jeff @ CKE) Date: Fri Apr 5 14:08:14 2002 Subject: jumpstart gui Message-ID: I am looking for an easier way to create a custom jumpstart server. Is there a web based or java based Jumpstart configuration utility out there? TIA J. Barber - ccsa,ccse,scsa Information Technology When I see the sea once more, would the sea have seen or not seen me? From mgreene at aci.on.ca Fri Apr 5 14:14:05 2002 From: mgreene at aci.on.ca (Marco Greene) Date: Fri Apr 5 14:14:05 2002 Subject: SUMMARY: Blank filenames In-Reply-To: <3CADFA16.62C8475E@glja.com> Message-ID: <000c01c1dcde$5cc72510$ccc8a8c0@pepstep> Thanks for the many responses....most people pointed me to ls -lb and rm -i * Some people also suggested working with the inode number which is the path that I was following before I posted the request. ls -lb * revealed that the filename was \010\010\010\010 which could not be deleted using rm unless I used rm -i * Thanks Marco From dencisco at eos.arc.nasa.gov Fri Apr 5 14:21:05 2002 From: dencisco at eos.arc.nasa.gov (Dave Encisco) Date: Fri Apr 5 14:21:05 2002 Subject: copy & paste keys Message-ID: I'm so frustrated with what should be such a simple problem, I'll just take the chance of being flamed and pointed to the faq which I have read as well as spent time looking through the achieves. I inherited three new Sun Blade 1000s from a lab. I noticed that the keyboard copy/paste keys do not work on any of these machines. I have several other Blade 1000s in the lab where the copy/paste keys do work. By chance one of the new machine's hard drive failed and had to be replaced. I reinstalled the OS from scratch and the copy/paste keys work. All systems are running 5.8 Generic_108528-11. I installed xkeycaps on the remaining problem machines and when I run it I get the following: xkeycaps: unknown keyboard type "Sun_6_33". So to save me a lot of time, my question is where does xkeycaps get Sun_6_33 from? Any advice would be greatly appreciated. Flames are welcome just as long as you point me in the right direction. Dave From Vgerman at us.nomura.com Fri Apr 5 15:06:02 2002 From: Vgerman at us.nomura.com (German, Vinnie) Date: Fri Apr 5 15:06:02 2002 Subject: What happen when you do an a Cluster Patch with ....??? Message-ID: <331B688D81962F4E82EC4BA592D4467D1AE5B6@njex102.us.nomura.com> Managers: Here is a question which actually has me thinking right now and I just don't have a straight answer on what happen when we do run the Cluster patch on a machine. Here is my sceneario: a machine running Solaris 8. I believe the person who installed machine did not did a full install and because of this machine is missing some libraries. When I do a "uanme -a" in this machine I get the following: 5.8 Generic_108528-09 sun4u sparc SUNW,Ultra-5_10 What I'm thinking of doing is installing the latest and recommended patches for Solaris 8 which will bring the machine to: 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-5_10 If I do install that Cluster patch which will bring my machine to 108528-14 will it install those missing libraries or will just bring the machine to 108528-14 and because in previous install those libraries were not there it will not install them here? Will I get missing libraries if I do the Cluster install or no.? Thanks in advance, Vinnie. ----- This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please delete it and all copies from your system, destroy any hard copies and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Nomura Holding America Inc., Nomura Securities International, Inc, and their respective subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state the views of such entity. Unless otherwise stated, any pricing information in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted. Any reference to the terms of executed transactions should be treated as preliminary only and subject to our formal written confirmation. From DRaj at gi.com Fri Apr 5 15:15:03 2002 From: DRaj at gi.com (Raj, Dilip (SD-EX)) Date: Fri Apr 5 15:15:03 2002 Subject: script to compare two files Message-ID: <97DEDE66B3DCD11199D200805FA71BE204F28172@ntas0027.gi.com> Hi, Does anyone have a script to compare two files, and gives the differences in nice format. Thanks ---------------------------- Dilip Raj System Engineer. Access Control Center. Motorola Broadband Communication Sector. Phone: (858)-404-3878 mailto:dilip.raj at motorola.com ---------------------------- From junmin at snowball.pcbi.upenn.edu Fri Apr 5 15:18:02 2002 From: junmin at snowball.pcbi.upenn.edu (junmin) Date: Fri Apr 5 15:18:02 2002 Subject: centre administration tool References: Message-ID: <3CAE14A5.B4718437@snowball.pcbi.upenn.edu> Hi, I am managing several linux nad unix boxes in our local network. Did anyone know any kind of centre administration tool to manage those boxes. Will summary, thanks. Junmin From Vgerman at us.nomura.com Fri Apr 5 15:35:02 2002 From: Vgerman at us.nomura.com (German, Vinnie) Date: Fri Apr 5 15:35:02 2002 Subject: SUMMARY: What happen when you do an a Cluster Patch with ....??? Message-ID: <331B688D81962F4E82EC4BA592D4467D1AE5B8@njex102.us.nomura.com> Special thanks to: btigb at uis.doleta.gov JStults at ap.org mike.salehi at kodak.com Michael Hocke [mh103 at nyu.edu] Here is my original question: > Managers: > Here is a question which actually has me thinking right now and I just > don't have a > straight answer on what happen when we do run the Cluster patch on a > machine. > > Here is my sceneario: a machine running Solaris 8. I believe the person > who installed > machine did not did a full install and because of this machine is missing > some libraries. > > When I do a "uanme -a" in this machine I get the following: > > 5.8 Generic_108528-09 sun4u sparc SUNW,Ultra-5_10 > > What I'm thinking of doing is installing the latest and recommended > patches for Solaris 8 which > will bring the machine to: > > 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-5_10 > > If I do install that Cluster patch which will bring my machine to > 108528-14 will it install those missing > libraries or will just bring the machine to 108528-14 and because in > previous install those libraries > were not there it will not install them here? > > Will I get missing libraries if I do the Cluster install or no.? > Thanks in advance, > Vinnie. Here is the answer: No. You will never get patches which were never installed on the original install. ----- This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please delete it and all copies from your system, destroy any hard copies and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Nomura Holding America Inc., Nomura Securities International, Inc, and their respective subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state the views of such entity. Unless otherwise stated, any pricing information in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted. Any reference to the terms of executed transactions should be treated as preliminary only and subject to our formal written confirmation. From mikelist at sky.net Fri Apr 5 17:00:08 2002 From: mikelist at sky.net (Mike's List) Date: Fri Apr 5 17:00:08 2002 Subject: Patch 112438 confirmation required Message-ID: Just need to confirm, with the patch 112438-01 installed, you DO NOT need the below? (openssh installation procedure #2 AND install prngd?) Yes? - Mike Step Two: Getting Entropy The next step in installation is to start the generation of entropy for use by openssl and openssh. This is done with the prngd program. To set this up, read the README.prngd file. Make sure you have /usr/local/bin in your PATH first. Now go to your /var/log, /var/adm, or similar directories and look for some log files like messages, syslog, etc. Make sure you are logged in as root user and run cat ....various log files from your /var/log or /var/adm directories... > /usr/local/etc/prngd/prngd-seed such as cat syslog messages > /usr/local/etc/prngd/prngd-seed Then run mkdir /var/spool/prngd /usr/local/bin/prngd /var/spool/prngd/pool This should start up the prngd daemon and start generating entropy. You can check this by running /usr/local/bin/egc.pl /var/spool/prngd/pool get which, if the egd package (see README.egd) is installed along with perl, will give a message like 32800 bits of entropy in pool From DRaj at gi.com Fri Apr 5 17:49:02 2002 From: DRaj at gi.com (Raj, Dilip (SD-EX)) Date: Fri Apr 5 17:49:02 2002 Subject: script to compare two files Message-ID: <97DEDE66B3DCD11199D200805FA71BE204F28174@ntas0027.gi.com> Thanks. There were lots of Email. all points to diff -c file1 file2 sdiff to use interactively. ( which I end up using it. Thanks ---------------------------- Dilip Raj System Engineer. Access Control Center. Motorola Broadband Communication Sector. Phone: (858)-404-3878 mailto:dilip.raj at motorola.com ---------------------------- From linlifeng at yahoo.com Fri Apr 5 18:14:02 2002 From: linlifeng at yahoo.com (Lin Feng) Date: Fri Apr 5 18:14:02 2002 Subject: SUMMARY: 6800 Partition and Domain Cfg Message-ID: <20020406001333.54313.qmail@web13004.mail.yahoo.com> Hi, Thanks for those who responded: jhartzen at csc.com Justin Stringfellow Doug Otto Justin Stringfellow sysadmin at astro.su.se I may have missed one or two folks. Please forgive me. A good answer was provided by Justin and is quoted in the following: The "partition" _physically_ divides the hardware. You supply power individually to partitions, so it is possible to suffer a severe hardware issue (e.g. power fail) in a domain in one partition, and domains in the other partition to be unaffected. Creating a domain across a partition doesn't make sense; the only reason the concept of partitions exists is to allow the user to divorce one domain for another, e.g. for clustering within the same cabinet. By segmenting or partitioning your Sun Fire, you place some repeater boards, system boards, i/o etc into one partition, and the rest in the other. The address buses are split so that each partition has a individual bus. They physically cannot talk to each other, so domaining is impossible across the ---------------- Regards, Lin Yahoo! Tax Center - online filing with TurboTax From kamalang at cns.wits.ac.za Sat Apr 6 03:19:01 2002 From: kamalang at cns.wits.ac.za (Kamalan Govender) Date: Sat Apr 6 03:19:01 2002 Subject: SUMMARY Restoring Boot Disk after hard drive crash In-Reply-To: Message-ID: <000001c1dd4d$125141e0$e70f8d92@saturnknight> Many thanks to the following for all the help and advice given. davem at fdgroup.com eisenman at ilt.com pat.novak at po.state.ct.us Vern.Walls at parsons.com Charles.Homan at GDC4S.Com Bertrand_Hutin at notes.amdahl.com fabrice at bluemartini.com peter at ashlyn.co.uk mikelist at sky.net ddunham at taos.com mps at blackbird.discomsys.com Stan.Pietkiewicz at statcan.ca keith_tarbell at ad.gris.wnyric.org mike at babbage.cs.umsl.edu paul at ultra5.co.uk epa9206 at epa.state.il.us chipman at ecopiabio.com John.E.Riddoch at is.shell.com Will.Enestvedt at jwu.edu RDinwid at templeinland.com mike.salehi at kodak.com JStults at ap.org dharrington at dscr.dla.mil The sequence that brought up the machine is as follows. 1 "stop + a" 2 Boot with cdrom and command "boot cdrom -sw" 3 type "format" 4 select damaged disk 5 print partition table 6 power-off and remove damaged disk and replace with new disk 7 boot with cdrom and command "boot cdrom -sw" 8 type "format" 9 recreate old partitions from old drive 10 name, label and save 11 type newfs /dev/rdsk/c0t0d0s0 12 mount /dev/dsk/c0t0d0s0 /a (note the change from rdsk to dsk, this took a while to figure out) 13 cd /a 14 ufsresote -I /dev/rmt/0n 15 add * (change as per you requirement and also what you backed up on your tape) 16 extract 17 more /a/etc/vfstab (verfity that is what your system should look like) 18 init 6 This successfully brought up our machine (as you can see as I am using my e-mail address to send the summary) Once again thanks to everyone. _________________________________________________ Kamalan Govender Computer & Network Services University of the Witwatersrand Tel: +27 11 717 1671 Fax: +27 11 339 1225 Web-site: www.wits.ac.za -----Original Message----- Subject: Restoring Boot Disk after hard drive crash Hi all. We have a SPARC server 1000 with Solaris 7. The hard drive from which the OS boots crashed and has since been replaced. We has created the needed partitions for the drive and want to restore from tape the data that was there. On the drive were the files for /root and /usr and swap. We are able to bring the machine up from cdrom with the command "boot cdrom -sw". When we try to make the directory /root from / it gives the error "mkdir: Failed to make directory "/root"; Read-only file system". We are able to see the drive using the format command. Once we make the /root directory we were going to try to add the files from tape in to the directory. using ufsrestore -i /dev/rmt/0 to read the files and them to the directory. Any help or suggestions will we greatly appreciated. thanks in advance ------------------------------------------------------------------------ From osama at myrealbox.com Sat Apr 6 04:11:02 2002 From: osama at myrealbox.com (Osama Ahmed) Date: Sat Apr 6 04:11:02 2002 Subject: Solaris Security Arsenal Message-ID: <000b01c1dd53$3bcbf190$f622873e@os> hi Gurus, I am now working in a project of building a Solaris security arsenal for the UNIX environment in my company. I have collected some papers/links/tools from the web. I just curious to know what other admins in the world do/use to protect themselves from being hacked ? Or even just discover that there are some intruders on their systems and what they will do in such case! PS: I am behind a firewall already !! I will summarize. Thanks Osama Ahmed From richard.mackerras at avonandsomerset.police.uk Sun Apr 7 13:16:01 2002 From: richard.mackerras at avonandsomerset.police.uk (Richard Mackerras) Date: Sun Apr 7 13:16:01 2002 Subject: StarOffice was RE: Visio Stencils for Sun Hardware Message-ID: <21DEA671CFA6D5119EC600508BB2CDB75E518B@HQNTEX03> Hi, You could check http://netc.members.microsoft.com/vneresults.asp but I think there's not much current stuff there, mostly old. I want clip art I can use in StarOffice documents. Can anybody help? Thanks, Richard Mackerras -----Original Message----- From: Redondo Escobar, Alejandro [mailto:aredondo at indra.es] Sent: Monday, April 01, 2002 11:58 AM To: sunmanagers at sunmanagers.org Subject: Visio Stencils for Sun Hardware Hi all sunmanagers! Please does anybody knows about a URL or "something" to download updated visio stencils for sun hardware?? I am trying to make some maps about a client config with V880s, 280Rs, A5200s, D1000s and a tape robot (from SUN too) but I am not able to find this stencils... I have googled it and even sunsolved it, but no hits... Thanks for all in advance! _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers ******************************************************* Internet e-mail is not to be treated as a secure means of communication. The Avon and Somerset Constabulary monitors all internet e-mail activity and content. This communication is confidential and intended for the addressee(s) only. Unauthorised use or disclosure of the content may be unlawful. Opinions expressed in this document may not be official policy. Thank you for your cooperation. (C)Avon and Somerset Constabulary. http://www.avonandsomerset.police.uk From jeffw at pbs.com Sun Apr 7 13:16:24 2002 From: jeffw at pbs.com (Jeff Wellens) Date: Sun Apr 7 13:16:24 2002 Subject: SUMMARY: FW: What is starting this process? Message-ID: Here is the summary for this problem. To disable for a specific user: (Thanks to Tom Knox) cd to the users home directory, then type: mkdir .solregis cd .solregis touch disable To disable for all users: (Thanks to Dev Null) Go to /etc/default/ Make file called solregis with the line DISABLE=1 I used the specific user option and it worked great. Thanks! I am having a hard time determining why the program 'hotjava' is starting every time this user signs into OpenWindows. Here is the ps list of the java process. It is being started by the Xsession process. What can I modify to get hotjava to NOT run when they sign into OpenWindows? I have closed hotjava, then saved workspace in OpenWindows, but it still keeps coming up. ps -ef | grep 2841 cjf 2841 2839 0 07:57:03 ? 0:00 /bin/ksh /usr/dt/bin/Xsession cjf 2851 2841 0 07:57:04 ? 0:00 /usr/openwin/bin/fbconsole cjf 2891 2841 0 07:57:05 pts/2 0:00 /usr/dt/bin/sdt_shell -c unset DT; DISPLAY=:0; /usr/dt/bin/dt cjf 2877 2841 0 07:57:05 ? 0:09 /usr/java/bin/sparc/native_threads/java -classpath /usr/dt/appconfig/hotjava/cl root 5524 5506 0 11:29:10 term/a 0:00 grep 2841 Thanks in advance! Jeff Wellens Jeff Wellens Publishing Business Systems Technical Support Analyst 651-634-9218 Ext. 418 From salman.ahmad at om.com Sun Apr 7 13:16:46 2002 From: salman.ahmad at om.com (salman.ahmad at om.com) Date: Sun Apr 7 13:16:46 2002 Subject: Problem with cdrom on ultra 450. Message-ID: Hello, I am trying to boot from cdrom on a Ultra 450. When I do a boot cdrom and get Device not ready? Trap 3e messages. I tried to to do a boot -r and a /reconfigure on the system. This did not work. Also the cdrom does not work when the system is up and runnind. The /dev/sr0 is linked to /dev/dsk/c1t6d0s2. There is not entry in the /dev/dsk/c1t6d0s2. Does any one know how I can fix this problem? I look every where for a solution. Thanks Sal. From dbaldoni at iinet.net.au Sun Apr 7 13:17:09 2002 From: dbaldoni at iinet.net.au (Daniel Baldoni) Date: Sun Apr 7 13:17:09 2002 Subject: SunScreen 2.0 problems Message-ID: <3CAA7CD7.AA3BD97@iinet.net.au> G'day folks, I have a client who has the misfortune of running SunScreen 2.0 (under Solaris 2.6) - a configuration I've not seen in over 3 years. Until now, the setup has basically worked for them but now they require some changes. Their network setup is (as you might expect): +-----+ +-----+ LAN <--->hme0| SUN |hme1 <---->|Cisco| a.b.c.f <---> ISP (192.168.1.0) +-----+ +-----+ The hme0 interface on the SUN is 192.168.1.1, the hme is a.b.c.246, the router is a.b.c.245. Until now, the client has never had any "through" services working (i.e. no pings, telnets, anything) from LAN workstations (which is what they wanted). Now, however, they have a piece of custom software which needs to talk to a remote service on a tcp high port (6080). Here are the steps I went through to try and get it working: 1. Defined the service as: ss_service default add SINGLE { { tcp { { 6080 } } } } 2. Defined the remote address: ss_address default add HOST w.x.y.z "" 3. Added a rule: ss_rule default add ALLOW \( LOG_SUMMARY SNMP_NONE \) was already defined as their local LAN network (i.e. 192.168.1.0) 4. Compiled and activated the new policy: ss_compile_and_activate default The result was a series of "Denied or no pass rule" entries in the log whenever we tried to establish a connection. A rule allowing the same service from the firewall to the remote server works flawlessly. I believe my first mistake was in not adding NAT to the equation. As the connection is "direct" between the workstations and the big bad Internet, RFC1918 addresses are a no-no. So, I tried adding a NAT rule dynamically allocating a.b.c.244 to the internal LAN with appropriate changes to the value in the rule at step 2 above. The result of this was "Logged passed packet" entries in the log, but apparently broadcast packets coming back from the remote server being blocked (they used the appropriate source and destination ports but with a destination address of 255.255.255.255). For the life of me, I can't see what's wrong with the current setup. Has anybody out there got any serious experience with SunScreen 2.0? If so, can you please shed some light on what I may have missed and/or misconfigured? Any help would be much appreciated - thanks for your time. Ciao. -- -------------------------------------------------------+--------------------- Daniel Baldoni BAppSc, PGradDipCompSci | Technical Director require 'std/disclaimer.pl' | LcdS Pty. Ltd. -------------------------------------------------------+ 856B Canning Hwy Phone/FAX: +61-8-9364-8171 | Applecross Mobile: 041-888-9794 | WA 6153 URL: http://www.lcds.com.au/ | Australia -------------------------------------------------------+--------------------- "Any time there's something so ridiculous that no rational systems programmer would even consider trying it, they send for me."; paraphrased from "King Of The Murgos" by David Eddings. (I'm not good, just crazy) From vsavyasachi at eGain.com Sun Apr 7 13:17:28 2002 From: vsavyasachi at eGain.com (Varsha Savyasachi) Date: Sun Apr 7 13:17:28 2002 Subject: Configuring Remote Printers on Solaris 8 Message-ID: <27C744FEEBBCD411B386000629D57616AD5A64@egmail9.egainindia.com> hi, How do I configure a remote printer, Win Nt Print Server on Solaris 8 ? thanx, Varsha Savyasachi eGain Communications Phone - +91-20-4222812 ext-103 From craig.w.scott at btinternet.com Sun Apr 7 13:17:45 2002 From: craig.w.scott at btinternet.com (Craig Scott) Date: Sun Apr 7 13:17:45 2002 Subject: E280R not detecting D1000 Message-ID: <000001c1db3e$937fb500$0100a8c0@tower> Have a problem with a pair of 280R's and a D1000 we have just purchased. The 280R's each have one of the D1000's two scsi buses to themselves with the 2 supplied terminators on the two spare scsi ports., the d1000 contains 12 36GB HDD so each server has independent access to 6 36gb HDD. Problem is a probe-scsi / probe-scsi-all from either 280R can not see any of the disks in the D1000. Before any points it out we are NOT using the onboard external scsi on the 280R but purchased a pair of differential scsi host adapters (didn't personally write the order but assume they are Sun X6541A's), probe scsi simply returns the pci device for the scsi card but no disks eg. Just returns /pci at 8,7000/scsi at 3 and /pci at 8,7000/scsi at 3,1 but then moves on to the next pci device. Tried devfsadm in solaris but as I expected it didn't detect any of the disk either. I got this 'challenge' handed to my about lunch time today and the full system (both 280R's and D1000) need to fully configured (raid,os,etc..) by end of week so any help would be appreciated. Thanks in advance Craig Scott IT Development Officer South Tyneside College PS - I am subscribed to the list but not from this e-mail address From villareal_jim at bns.att.com Sun Apr 7 13:18:04 2002 From: villareal_jim at bns.att.com (Jim Villareal) Date: Sun Apr 7 13:18:04 2002 Subject: Volume Management Message-ID: <3CAB7F86.F3130505@bns.att.com> Can someone explain to me how volume management works. I get a security violation stating that the listed special device files are located only in the /dev directory. Special device files outside the directory can be used to gain unauthorized access to data on the device. In order to correct this problem, I should move the files in the /dev directory. the sample files are listed below: /vol/dev/dsk/c0t6d0/solaris_2_5_1_hw1197_sparc/s0 - s5 /vol/dev/rdsk/c0t6d0/solaris_2_5_1_hw1197_sparc/s0 - s5 /vol/dsk/solaris_2_5_1_hw1197_sparc/s0 -s5 Any help would be greatly appreciated: thanks jvillareal at att.com From demolaruf at hotmail.com Sun Apr 7 13:18:22 2002 From: demolaruf at hotmail.com (Ademola Rufai) Date: Sun Apr 7 13:18:22 2002 Subject: CDE Bumps out at login Message-ID: I recently upgraded 3 SPARC Ultra-2 and 1 SPARC Ultra-1 machines from Solaris 6 to Solaris 8 with the jumbo kernel patch version 108528-13. After the upgrade I noticed the two problems below: 1. The 4 machines kill the user's CDE and bumps the user out to the login prompt after working for a few hours locks. 2. Users are atimes bumped out to the login prompt when they attempt to login. This happens more often when trying to login as root. Both problems occur without any descriptive error messages. The only message I get from the Xerrors file is this: Wed Apr 3 11:17:40 2002 error (pid 500): Server for display :0 terminated unexpectedly 0 Please help! Send email and I will summarize to the list. _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com From gmurphy at tinfosol.com Sun Apr 7 13:18:40 2002 From: gmurphy at tinfosol.com (Gary Murphy) Date: Sun Apr 7 13:18:40 2002 Subject: Odd reboot errors Message-ID: On an Ultra 10 running Trusted Solaris, getting the following error just before the system reboots itself: [ID 570001 auth.error] reboot after panic: [AFT1] errID 0x00000000008.79735662 EDP Error(s) See previous message(s) for details (although all previous errors are normal system entries). Any ideas? From lance.preston at wcg.com Sun Apr 7 13:18:57 2002 From: lance.preston at wcg.com (Preston, Lance) Date: Sun Apr 7 13:18:57 2002 Subject: problem with Netscape LDAP server and Solaris 8 Message-ID: <4AEC0711E70AFB4AADF72F7E0FFE021F03875429@wcgtule102.wcg.williams.com> I am trying to set up a Solaris 8 client using Netscape Directory Server v4.13. I am using pam_ldap (v.140) and nss_ldap (v.184) from PADL Software, since the native pam_ldap module from SUN doesn't support checking the users's host attribute field. I am running into an issue with my /etc/pam.conf setup where I create a bad 'catch-22' situation that I can't seem to resolve. If I use the following settings in pam.conf (condensed): login account required /usr/lib/security/$ISA/pam_unix.so.1 login account required /usr/lib/security/$ISA/pam_ldap.so.2 other account required /usr/lib/security/$ISA/pam_unix.so.1 other account required /usr/lib/security/$ISA/pam_ldap.so.2 then both pam_unix and pam_ldap are 'required', and the user must be defined both locally (/etc/passwd) and in the LDAP server in order to login. In addition, if the LDAP server becomes unavailable (network outage) then no one can login (including root), since both are 'required'. However, if I change pam.conf and use the following settings instead: login account sufficient /usr/lib/security/$ISA/pam_unix.so.1 login account required /usr/lib/security/$ISA/pam_ldap.so.2 other account sufficient /usr/lib/security/$ISA/pam_unix.so.1 other account required /usr/lib/security/$ISA/pam_ldap.so.2 now if the user is defined locally, pam_unix is 'sufficient' and the user can login (without an account being defined in the LDAP server), even if the LDAP server is unavailable. But now that pam_unix is something less than required (sufficient), the pam_ldap module no longer enforces the host attribute check, and any user defined in LDAP (non-local users) can login to any server that uses LDAP to authenticate it's users (which is undesirable). MY QUESTION: Why does pam_unix have any impact on how pam_ldap enforces checking of the host attribute field, and how do I resolve this situation? We were using NIS as an enterprise-wide solution, but ripped it out recently under management orders to use a new enterprise tool called Control-SA, which turns out to not work at all (ever hear of testing?) Now ALL our users are defined locally and it is a management nightmare, thus the urgent push to get LDAP working - SOON. Does anyone have any experience setting up Solaris 8 clients to authentice users against the Netscape/iPlanet directory server, especially using the pam_ldap module from PADL? If so, please help me out and tell me how you did it. Thanks! Lance Preston lance.preston at wcg.com From alan.mcintosh at motorola.com Sun Apr 7 13:19:16 2002 From: alan.mcintosh at motorola.com (McIntosh Alan-R54071) Date: Sun Apr 7 13:19:16 2002 Subject: Data Overwrite Message-ID: Admins, I am looking for a method to overwrite the blocks that confidential data resides on after the archival of a users home directory. I have been able to find methods of wiping an entire disk, but not just a specified area on the disk. Such as: tar cvf - /users/homer | 'cd /storage; tar xf -' dd if=/dev/zero of=/users/homer dd if=/dev/null of=/users/homer These do not work do to the fact that homer is a directory. Is there a way to accomplish this without replacing anything else on the disk except the data that was archived? Alan McIntosh IT - UNIX Systems Administrator From junekim at telocity.com Sun Apr 7 13:19:33 2002 From: junekim at telocity.com (Geunhee kim) Date: Sun Apr 7 13:19:33 2002 Subject: staring safe_mysqld on solaris 8 Message-ID: <20020404143153.12076.c003-h010.c003.wm@mail.telocity.com.criticalpath.net> hi everyone i have solaris 8 on intel machine it is all patched... i installed mysql-3.23.45 i'm not abale to start safe_mysqld... i got this error masaage, please help me!!: 020404 14:16:44 mysqld started Fatal error: Can't change to run as user 'mysql' ; Please check that the user exists! 020404 14:16:44 Aborting 020404 14:16:44 /usr/local/mysql/libexec/mysqld: Shutdown Complete 020404 14:16:44 mysqld ended so i creat user mysql but i still got this massage: 020404 14:18:46 mysqld started 020404 14:18:47 /usr/local/mysql/libexec/mysqld: Can't create/write to file '/u sr/local/mysql/var/junebug.pid' (Errcode: 13) 020404 14:18:47 /usr/local/mysql/libexec/mysqld: Can't find file: './mysql/host .frm' (errno: 13) 020404 14:18:47 /usr/local/mysql/libexec/mysqld: Error on delete of '/usr/local /mysql/var/junebug.pid' (Errcode: 13) 020404 14:18:47 mysqld ended 020404 14:16:44 mysqld started Fatal error: Can't change to run as user 'mysql' ; Please check that the user e xists! 020404 14:16:44 Aborting 020404 14:16:44 /usr/local/mysql/libexec/mysqld: Shutdown Complete 020404 14:16:44 mysqld ended 020404 14:18:46 mysqld started 020404 14:18:47 /usr/local/mysql/libexec/mysqld: Can't create/write to file '/u sr/local/mysql/var/junebug.pid' (Errcode: 13) 020404 14:18:47 /usr/local/mysql/libexec/mysqld: Can't find file: './mysql/host .frm' (errno: 13) 020404 14:18:47 /usr/local/mysql/libexec/mysqld: Error on delete of '/usr/local /mysql/var/junebug.pid' (Errcode: 13) 020404 14:18:47 mysqld ended From mathias.kanstrup at ongame.com Sun Apr 7 13:19:50 2002 From: mathias.kanstrup at ongame.com (Mathias Kanstrup) Date: Sun Apr 7 13:19:50 2002 Subject: SUMMARY : sftp -restriciting directory access Message-ID: <20020405110714.54608AB0D4@ohno.mrbill.net> Hi Actually only one person responded - Matthew Zeier, he suggested me to search for a patch, thanks. Found it at - http://www.cag.lcs.mit.edu/~raoul/ /Mathias Kanstrup ------------------- Original posting > Hi Gurus > > I'm running Solaris 8 on a Netra T1. > > Is it possible to restrict users to a certain directory (e.g. home directory) > during SFTP (OpenSSH) session? > > > Thanks in advance. > > /Mathias Kanstrup From fulanichief at yahoo.com Sun Apr 7 13:20:11 2002 From: fulanichief at yahoo.com (kwame Gyekye) Date: Sun Apr 7 13:20:11 2002 Subject: Changing a host ID---Please Help Message-ID: <20020405164111.64606.qmail@web21204.mail.yahoo.com> Hello Managers How do I permanently change the hostID of my system. I have a SS20 workstation. I need some proceure or guidance. Thanks gurus.. Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ From vluck at gamet.com Sun Apr 7 13:20:28 2002 From: vluck at gamet.com (Val Luck) Date: Sun Apr 7 13:20:28 2002 Subject: multiple ppp dialout broken? Help! Message-ID: Hello All, I have a complicated problem that I have decided to try and solve with Sun's ASPPP package. I need to have one Sun server (running Solaris 8) dial into hundreds of Linux boxes to nightly retrieve a data file. I have PPP set up so that it will use 2 modems (hooked up to cua/a and cua/b). I can connect via PPP to these Linux boxes reliably. However, it seems there is a bug in the ASPPPD. The problem is this: When a PPP session is kicked off, the ASPPPD locks the device (cua/a) and goes through the dial process and connects. However, once the connection is established the lock file in /var/spool/locks is removed, even though the modem is still in use and inaccessible by other processes. If I try to kick off two PPP dialout sessions at once, there is no problem. One process grabs cua/a and locks it, and starts the dialing. The next process looks and sees cua/a locked, and grabs cua/b and using it, dials out. No problem. However, if the second process finishes before the first process, it will try to dial the next remote site. Since the lock for the device is removed upon connection, it will try to grab cua/a and fail. It will not go on to try another device. I noticed the disappearing lock by doing multiple "ls -l " on /var/spool locks. I don't know if this is a bug with the ASPPP package from Sun, but it sure looks like one. Additionally, if I can work-around or fix the above problem, I have another problem to get by. Say I attach a modem-bank and have 5 modems dialing out at once to different servers which gives me the interfaces ipdptp0 through ipdptp4. Say modem #1 (ipdptp0) finishes its task first; how do I stop that ppp connection and only that connection so I can initiate another call again to the next remote site? The docs refer to stopping the aspppd when you are done. This, however, stops and removes all the connections for all 5 modems, not just modem #1. I tried unplumbing ipdptp0, but it didn't do any good. Does anyone have any experience with this type of thing and perhaps have any ideas, it would be much appreciated. I will summarize all answers I get. Thanks !! Val p.s. Here is some logfile output: When the first connection is in progress and the lock is present (from /var/adm/log/asppp.log): ================================================== Trying device entry 'cua/a' from '/etc/uucp/Devices'. processdev: calling setdevcfg(ppp, PPP) File exists: link(/var/spool/locks/LTMP.1706, /var/spool/locks/LK.136.020.131072) ulockf name /var/spool/locks/LK.136.020.131072 Lock File--process still active--not removed failed to lock device /dev/cua/a set interface UNIX Trying device entry 'cua/b' from '/etc/uucp/Devices'. processdev: calling setdevcfg(ppp, PPP) fd_mklock: ok fixline(10, 115200) gdial(hayesppp) called Trying caller script 'hayesppp' from '/etc/uucp/Dialers'. expect: ("") got it sendthem (atdt4474^M) getto ret 9 expect: (ogin:) sendthem (at&f1s0=0s2=128&B1e0q1&w^M) expect: ("") got it sendthem (atdt4540^M) getto ret 10 expect: (ogin:) Rlease 7.2 (Enigma)^J^MKernel ^M on an i586^J^M^J^M^M^Jdcs1 [it goes on to connect fine] But when the first connection connects and removes the lock, then it doesn't even see that the device is busy: ================================================== Trying device entry 'cua/a' from '/etc/uucp/Devices'. processdev: calling setdevcfg(ppp, PPP) fd_mklock: ok fixline(12, 115200) gdial(hayesppp) called Trying caller script 'hayesppp' from '/etc/uucp/Dialers'. expect: ("") got it sendthem (at&f1s0=0s2=128&B1e0q1&w^M) expect: ("") got it sendthem (atdt4540^M) getto ret 12 expect: (ogin:) lost line errno - 22 sendthem (^M) expect: (ogin:) lost line errno - 22 close caller (12) delock line (cua/a) Call Failed: LOGIN FAILED Notice the "lost line errno - 22" and the missing "File exists: link(/var/spool/locks/LTMP.1706" line. =============== Val Luck Gamet Technology vluck at gamet.com =============== From kamalang at cns.wits.ac.za Sun Apr 7 13:20:46 2002 From: kamalang at cns.wits.ac.za (Kamalan Govender) Date: Sun Apr 7 13:20:46 2002 Subject: SUMMARY Restoring Boot Disk after hard drive crash (Update) In-Reply-To: <000001c1dd4d$125141e0$e70f8d92@saturnknight> Message-ID: <000001c1dd87$3aae00d0$e70f8d92@saturnknight> Many thanks to the following for all the help and advice given. davem at fdgroup.com eisenman at ilt.com pat.novak at po.state.ct.us Vern.Walls at parsons.com Charles.Homan at GDC4S.Com Bertrand_Hutin at notes.amdahl.com fabrice at bluemartini.com peter at ashlyn.co.uk mikelist at sky.net ddunham at taos.com mps at blackbird.discomsys.com Stan.Pietkiewicz at statcan.ca keith_tarbell at ad.gris.wnyric.org mike at babbage.cs.umsl.edu paul at ultra5.co.uk epa9206 at epa.state.il.us chipman at ecopiabio.com John.E.Riddoch at is.shell.com Will.Enestvedt at jwu.edu RDinwid at templeinland.com mike.salehi at kodak.com JStults at ap.org dharrington at dscr.dla.mil The sequence that brought up the machine is as follows. 1 "stop + a" 2 Boot with cdrom and command "boot cdrom -sw" 3 type "format" 4 select damaged disk 5 print partition table 6 power-off and remove damaged disk and replace with new disk 7 boot with cdrom and command "boot cdrom -sw" 8 type "format" 9 recreate old partitions from old drive 10 name, label and save 11 type newfs /dev/rdsk/c0t0d0s0 12 type "installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t0d0s0 (I forgot this in the original post very NB) 13 mount /dev/dsk/c0t0d0s0 /a (note the change from rdsk to dsk, this took a while to figure out) 14 cd /a 15 ufsresote -I /dev/rmt/0n 16 add * (change as per you requirement and also what you backed up on your tape) 17 extract 18 more /a/etc/vfstab (verfity that is what your system should look like) 19 init 6 This successfully brought up our machine (as you can see as I am using my e-mail address to send the summary) Once again thanks to everyone. _________________________________________________ Kamalan Govender Computer & Network Services University of the Witwatersrand Tel: +27 11 717 1671 Fax: +27 11 339 1225 Web-site: www.wits.ac.za -----Original Message----- Subject: Restoring Boot Disk after hard drive crash Hi all. We have a SPARC server 1000 with Solaris 7. The hard drive from which the OS boots crashed and has since been replaced. We has created the needed partitions for the drive and want to restore from tape the data that was there. On the drive were the files for /root and /usr and swap. We are able to bring the machine up from cdrom with the command "boot cdrom -sw". When we try to make the directory /root from / it gives the error "mkdir: Failed to make directory "/root"; Read-only file system". We are able to see the drive using the format command. Once we make the /root directory we were going to try to add the files from tape in to the directory. using ufsrestore -i /dev/rmt/0 to read the files and them to the directory. Any help or suggestions will we greatly appreciated. thanks in advance ------------------------------------------------------------------------ _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From mrbill at mrbill.net Sun Apr 7 14:50:07 2002 From: mrbill at mrbill.net (Bill Bradford) Date: Sun Apr 7 14:50:07 2002 Subject: [testing] ignore Message-ID: <20020407184857.GS10038@mrbill.net> Testing delivery on the new machine. Please ignore. -- Bill Bradford mrbill at mrbill.net Austin, TX From whoracle at dialup.ptt.ru Sun Apr 7 17:04:42 2002 From: whoracle at dialup.ptt.ru (Grigory Nikonov) Date: Sun Apr 7 17:04:42 2002 Subject: about flash PROM update on 420R Message-ID: <3CB09519.5670DF0C@dialup.ptt.ru> Hi, I have a 420R with a 3.23 bootprom OBP 3.23.0 1999/06/30 13:53 POST 1.2.7 1999/05/24 17:33 how do I know what OBPs are compatible with my server? my guess is that it's Ultra 60/80 (so 3.31 is the latest) but I'm not sure, so please help ;) uname -a SunOS bimbo 5.8 Generic_108528-12 sun4u sparc SUNW,Ultra-80 thanks a lot, g.n. From mrbill at mrbill.net Sun Apr 7 17:28:33 2002 From: mrbill at mrbill.net (Bill Bradford) Date: Sun Apr 7 17:28:33 2002 Subject: [admin note] test Message-ID: <20020407205908.GT10038@mrbill.net> testing mail delivery on the new system. please ignore. -- Bill Bradford mrbill at mrbill.net Austin, TX From Riccardo.Veraldi at fi.infn.it Sun Apr 7 17:37:07 2002 From: Riccardo.Veraldi at fi.infn.it (Riccardo.Veraldi at fi.infn.it) Date: Sun Apr 7 17:37:07 2002 Subject: thirdy party hardware on ultra 60 Message-ID: Hello, I would like to add a supplementary ethernet NIC on one of the PCI slots. Which are the ones supported by Solaris 8? Is it possible to add one ? thanks Rick From mrbill at mrbill.net Sun Apr 7 17:41:09 2002 From: mrbill at mrbill.net (Bill Bradford) Date: Sun Apr 7 17:41:09 2002 Subject: [list test] ignore Message-ID: <20020407213959.GA10038@mrbill.net> Final list test. Please ignore. -- Bill Bradford mrbill at mrbill.net Austin, TX From beechanji at hotmail.com Sun Apr 7 19:11:08 2002 From: beechanji at hotmail.com (Johny Smith) Date: Sun Apr 7 19:11:08 2002 Subject: RBAC on NIS+ Message-ID: Hi Gurus, I am running NIS+ on SunOS 5.6 , file server SunOS 5.7, most of the client machines with Solaris 8 (latest patches), I have to create account for support persons to shutdown the OS and DB and I don't want to give them root access. Some one help me out that Can I do that with RBAC (not with sudo) and if I can what should be my steps. Thanks _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx From mrbill at mrbill.net Sun Apr 7 19:22:10 2002 From: mrbill at mrbill.net (Bill Bradford) Date: Sun Apr 7 19:22:10 2002 Subject: ADMIN NOTE: List move completed Message-ID: <20020407232104.GL10038@mrbill.net> The list move is completed and it looks so far like its working fine. Please dont hesitate to email me directly if you notice anything strange with delivery. Everything's currently on a SS10/64meg/SM41 running Solaris 8 with Postfix and Mailman; another 64meg of RAM is in transit to the machine, and I'm working on getting either another SM41 or a pair of 51s or 61s in the next 30 days. The ht://dig search engine will not be available until the additional RAM arrives, which should be sometime this week. I'll post another admin note when they're back up. Thanks to John DiMarco and Dan Astoorian for remotely installing the box so that I could move the list over to it. Everyone enjoy, and again, please let me know if anything seems out of the ordinary. Bill -- Bill Bradford mrbill at mrbill.net Austin, TX From CALBA at NCSSG.JNJ.COM Sun Apr 7 22:49:07 2002 From: CALBA at NCSSG.JNJ.COM (Alba, Christian [NCSSG NON J&J]) Date: Sun Apr 7 22:49:07 2002 Subject: Serial Connection between two SUN machines. Message-ID: <4205E54ED746D31189A600805FA659340168BF16@ncssgsiexs1.ncssg.ap.jnj.com> Dear Sunmanagers, I just connected my SUN 250 and Ultra 5 machines via serial interfaces. Is there any command I can use to check if the connectivity is working. Thanks in advance! Regards, Christian Alba > > > > From balp at thintechnologies.com Mon Apr 8 00:13:07 2002 From: balp at thintechnologies.com (Benn Peter Alp) Date: Mon Apr 8 00:13:07 2002 Subject: remove Message-ID: <3cb118c2.58cd.0@mail2.highway1.com.au> From beechanji at hotmail.com Mon Apr 8 00:35:07 2002 From: beechanji at hotmail.com (Johny Smith) Date: Mon Apr 8 00:35:07 2002 Subject: RBAC on NIS+ Message-ID: Hi Gurus, I am running NIS+ on SunOS 5.6 , file server SunOS 5.7, most of the client machines with Solaris 8 (latest patches), I have to create account for support persons to shutdown the OS and DB and I don't want to give them root access. Can Some one help me out with RBAC (not with sudo) and what should be the steps. Thanks _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com From CALBA at NCSSG.JNJ.COM Mon Apr 8 00:57:07 2002 From: CALBA at NCSSG.JNJ.COM (Alba, Christian [NCSSG NON J&J]) Date: Mon Apr 8 00:57:07 2002 Subject: connecting two sun box via serial.. Message-ID: <4205E54ED746D31189A600805FA659340168BF17@ncssgsiexs1.ncssg.ap.jnj.com> Dear Sunmanagers, i did a tip hardwire but it just displayed connected.. i connected the cables on the e250 a/b serial port(b) and ultra 5. my hardwire is hardwire:\ :dv=/dev/term/b:br#9600:el=^C^S^Q^U^D:ie=%$:oe=^D: i read that a serial-crossed cable should be used. how can i check if i'm using a correct cable? any configuration that i should check? thanks in advance chris From johnh at e-dataservices.com.au Mon Apr 8 02:06:06 2002 From: johnh at e-dataservices.com.au (John Herlihy) Date: Mon Apr 8 02:06:06 2002 Subject: Need help running a cmd containing double-quotes via a variable Message-ID: Hi, I'm writing a ksh script that calls the Legato Networker save command in a variable, but I'm having trouble getting save to see the browse & retention variables. After a bit more investigation, I found that the same things happen for native unix commands such as tar: TAR="tar cvf /tmp/blah.tar \"/etc/hosts\" /var/adm/messages echo $TAR tar cvf /tmp/blah.tar "/etc/hosts" /var/adm/messages This returns these messages when run: tar: can't change directories to "/etc: No such file or directory a /var/adm/messages 1K So the first file, /etc/hosts, failed to backup with a similar problem to the save command. I've tried this in csh with the same errors. Here's the Legato SAVE variable I'm using: SAVE="save -s nw_svr -l full -i -q -b BACKUPPOOL -w \"5 weeks\" -y \"5 weeks\"" When I echo the variable, it is shown as: save -s nw_svr -l full -i -q -b BACKUPPOOL -w "5 weeks" -y "5 weeks" BUT when I run it, I get the error: save: invalid browse time: "5 At a glance, it appears that the backslash causes it to not read the rest of the variable when there is a space or a forward slash (ie /) seperating the contents of the double-quotes. (???) Does anyone know how to allow a command that contains double-quotes to be successfully called from a unix variable? Cheers, John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020408/6c60e8a7/attachment.html From vivek_sharma_1 at hotmail.com Mon Apr 8 03:33:08 2002 From: vivek_sharma_1 at hotmail.com (vivek sharma) Date: Mon Apr 8 03:33:08 2002 Subject: Load of sqlplus Exe too slow on DB Server Message-ID: SF6800 (24 CPUs , 48 GB RAM) DUMMY TEST Machine was used to Carry out the Following Test Exercise :- Step 1 - Simulated a Load of 500 Users Continuously Running Some Set of SQL Scripts , the sqlplus Connect Time to Reach SQL> Prompt was About 1.1 Seconds with mincache Veritas mount parameter Existing for the Varitas (VXFS) $ORACLE_HOME Partition Step 2 - With the mincache mount parameter Removed from the Veritas (VXFS) $ORACLE_HOME Partition & also with $ORACLE_HOME in a UFS (Unix file System) sqlplus Connect Time to Reach SQL> Prompt fell to 0.30 Seconds for BOTH Cases under the Same Load of 500 users Step 3 - Installed Oracle in a UFS File system on the LIVE Server (E6500 machine) & sqlplus Connect Time to Reach SQL> Prompt Continues to be About 0.30 Seconds under Full Load of 1200 User's process Connections . THANKS INDEED ALL >From: "Karl Vogel" >To: vivek_sharma_1 at hotmail.com >Subject: Re: Exe Loading too slow on DB Server - RE-SENDING >Date: 5 Apr 2002 13:10:33 -0500 > > >> On Thu, 04 Apr 2002 08:29:48 , > >> "vivek sharma" said: > >V> When Issuing "sqlplus" Directly from DB Server Following message appears >V> Immediately SQL*Plus: Release 8.1.7.0.0 - Production on Thu Apr 4 >V> 12:17:09 2002 (c) Copyright 2000 Oracle Corporation. All rights >V> reserved. Enter password:" On Giving the Password it NOW takes 30 >V> seconds to Reach SQL Prompt . > > As root, start "snoop" to look at the network traffic. Then, have > another user issue "sqlplus" command and see what this thing is waiting > for. > >-- >Karl Vogel ASC/YCOA, Wright-Patterson AFB, OH 45433 >vogelke at dnaco.net http://www.dnaco.net/~vogelke > >What has four legs and an arm? A happy pit bull. --Ken Applin _________________________________________________________________ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com From theo.ng at polyu.edu.hk Mon Apr 8 05:19:10 2002 From: theo.ng at polyu.edu.hk (Theo Ng) Date: Mon Apr 8 05:19:10 2002 Subject: Problem on write menu at ssh2! Message-ID: <5.1.0.14.0.20020408165621.00c16fa0@mail.polyu.edu.hk> Dear All, First of all, thank you so much for you help!! I wrote a menu on ssh2 which help colleague to simple the system call. I can use that menu successfully at telnet function. When I try to use it, i discovered that ssh2 cannot accept input. my menu at below: #!/bin/sh /bin/echo "Welcome! 1 See today's date 2 See who's logged in q Quit" /bin/echo "Your choice: \c" read ans while [ "$ans" != "q" ] do case "$ans" in 1) /bin/date ;; 2) /bin/who ;; q) /bin/echo "Goodbye" exit 0 ;; *) /bin/echo "Invalid choice" ;; esac /bin/echo "Your choice: \c" read ans done exit 0 While I login using ssh2, not input prompt appear, just loop and display "Invalid choice". Someone status that I need to enable accept stdin at ssh2. Is I need to do it? Thank you so much. Best Regards, Theo From mangesh.v at xaalliance.com Mon Apr 8 05:36:14 2002 From: mangesh.v at xaalliance.com (Mangesh) Date: Mon Apr 8 05:36:14 2002 Subject: Booting Message-ID: <004801c1dee0$82796940$3529a8c0@Mangesh> Hi All, I am getting problem while booting the server. I had made some changes in the system file & rebooted the server. But it gave me error as follows : TSI - gfxp0 is GFX8P @ 1152x900 inittab file is truncated or corrupted. Cannot create /var/adm/utmpx. Enter passwd for root or type control "d" to resume. But when I give passwd or control d there is no response from server. I have E-420R server with Solaris 8. Any help is highly appreciated. Anyone over there can give me the solution please. Thanks in advance. Thanks & Regards Mangesh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020408/71f4a71e/attachment.html From george.done at dutchtone.nl Mon Apr 8 05:42:25 2002 From: george.done at dutchtone.nl (george.done at dutchtone.nl) Date: Mon Apr 8 05:42:25 2002 Subject: "hpmanagers" discusion list Message-ID: <3F24D8FD4C45D41183CE0008C71E67A5037C6A38@dtexc03.dutchtone.nl> Hi ! Sorry for the off topic, but I presume you don't work in a single-vendor environment and you may know the answer. Is there an equivalent of the sunmanagers list dealing with HP-UX ?. What about something strictly dedicated to Network Appliance (NetAPP) ? Please let me know. If I do a search for HP-UX discussion lists I can find many, but I would not like to subscribe just to find weeks later the list is useles - I want the same high quality as in sunmangers list ;~)). Best Regards, George Done Senior Unix Administrator > Dutchtone TechD Department room SG03 Spaarneplein 2, 2515VK, Den Haag Phone +31 - (070) - 778 4267 Mobile +31 - (0)6 - 28 026216 =========================================================== De verzonden informatie is uitsluitend bestemd voor de geadresseerde natuurlijke persoon of rechtspersoon en bevat mogelijk vertrouwelijke en/of geprivilegeerde gegevens. Met uitzondering van de geadresseerde persoon is het niet toegestaan de informatie openbaar te maken, te kopi?ren, te verspreiden of anderszins actie te ondernemen op basis van de informatie. Indien u de informatie abusievelijk heeft ontvangen, neem dan contact op met de afzender en verwijder de informatie uit alle computers. Dutchtone staat niet in voor de juiste en complete verzending van de informatie, noch is zij aansprakelijk voor de vertraagde ontvangst hiervan. The information transmitted is intended exclusively for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any disclosure, copying, distribution or other action based upon the information by persons or entities other than the intended recipient is prohibited. If you receive this information in error, please contact the sender and delete the material from any and all computers. Dutchtone does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. =========================================================== From Peter.Whelan at eei.ericsson.se Mon Apr 8 06:03:15 2002 From: Peter.Whelan at eei.ericsson.se (Peter Whelan (EEI)) Date: Mon Apr 8 06:03:15 2002 Subject: summary: system updates Message-ID: <33756E5927C2D4118FD600508BB3374B02189B11@eiedbnt512.eei.ericsson.se> Hi, To summarise, most people have suggested cfengine as a tool for this. Thanks for your help. /Peter From ocd at mushrappa.org Mon Apr 8 06:48:07 2002 From: ocd at mushrappa.org (Ozgur C. Demir) Date: Mon Apr 8 06:48:07 2002 Subject: SNMP & Performance Data Message-ID: Hello, I want to ask how can i install any mib to server which contains performance data for example runq-sz, pgfree/s ..etc... Thank you, Ozgur C. Demir From serkan.berk at bilkom.com.tr Mon Apr 8 07:06:19 2002 From: serkan.berk at bilkom.com.tr (Serkan Berk) Date: Mon Apr 8 07:06:19 2002 Subject: Elite3D pkgs Message-ID: Hi, I want to install Elite3D m3 graphics card pkgs on U60 but unfortunately couldn't find cd. If anybody knows a downloadable pkgs links, pls reply to me. Thanks in advance. -- Serkan From ModregoK at bancsabadell.com Mon Apr 8 07:48:07 2002 From: ModregoK at bancsabadell.com (Modrego K. SBD) Date: Mon Apr 8 07:48:07 2002 Subject: SUMARY: how to capture a session of a shell account. Message-ID: Hi!! Many Thanks to: Kevin P. Inscoe Ed Rolison Gul, Duzgun Gustavo lozano Michael Wilkinson Michael Sullivan Chintu Wolfgang Kande Serguei Borkov Riddoch, John Craig Robinson First of all I apologize for the late summary.. , most people have suggested to use the "script" command. But this script has security problems, the users can write the logs file and modify it.. Finally i get a secure log with the script command.. but using other external utilities.. I found the source code of script, and I modified it to obtain more security. But, i still have some problems, when "script" do the fork of the shell, it lost some terminal properties, and the users can't use the termnial to edit files, or another application with "pretty" text face :p I can't spend more time in this work.. but i will retake it... if anyone have a suggestion will be welcome PD: Excuseme if my english is hard to understand Regards,. ========================================================== Kenneth Modrego Pechero SBD Consultors DNET - Web Server & Middleware Sistemas Internet Banco Sabadell Tel: 93.728.2440 E-mail: modregok at bancsabadell.com ========================================================== From serkan.berk at bilkom.com.tr Mon Apr 8 08:05:07 2002 From: serkan.berk at bilkom.com.tr (Serkan Berk) Date: Mon Apr 8 08:05:07 2002 Subject: Summary: Elite3D pkgs In-Reply-To: <3CB18476.25BFEFE2@houston.geoquest.slb.com> Message-ID: Thanks to Mark McManus, >Question: Hi, I want to install Elite3D m3 graphics card pkgs on U60 but unfortunately couldn't find cd. If anybody knows a downloadable pkgs links, pls reply to me. Thanks in advance. >Answer: All the Elite3D packages are on the base CD's ... The OpenGL specific piece may be different, I mentioned it as a note..... Also don't forget to get the current patches for each: 108604-24 SunOS 5.8: Elite3D AFB Graphics Patch 111993-02 OpenGL 1.2.2: OpenGL Patch for Solaris 2.6/7/8 (32-bit) 111994-02 OpenGL 1.2.2: OpenGL Patch for Solaris 2.6/7/8 (64-bit) system SUNWafb Elite3D Graphics System Software/Device Driver system SUNWafbcf Elite3D Graphics Configuration Software application SUNWafbgl Sun OpenGL for Solaris Elite3D Support application SUNWafbgx Sun OpenGL for Solaris 64-bit Elite3D Support system SUNWafbr Elite3D Graphics System Software (Root) application SUNWafbw Elite3D Graphics Window System Support system SUNWafbx Elite3D Graphics System Software/Device Driver (64-bit) > > 1) Which version of Solaris ? > >>Solaris 8. > > 2) Do you have 'any' of the cd's available or archived (jumpstart) ? > >>Solaris 8 media is available.(10/00) > > 3) Which version of OpenGL do you need ? > >>OpenGL1.2.2. > > 4) I assume you also need the 64bit version as well ? > >>You're right. 64bit. From Nelson.T.Caparroso at sbcdo.com Mon Apr 8 08:50:07 2002 From: Nelson.T.Caparroso at sbcdo.com (Caparroso, Nelson T. (AAS)) Date: Mon Apr 8 08:50:07 2002 Subject: What dictates cN (controller numbering)? Message-ID: I have moved a bootdisk from one server to another. On its former host it was known as c0t0d0. On the new server it is c6t0d0s0 even if it is the only disk on the server. (I use devfsadm while booted off miniroot to configure this disk). and my conroler numbers start at c5 - not c0. Tried wiping out path_to_inst and dis a reconfig reboot but still, this server starts controllers at c5! So my question is, what dictates controller numbering? Thanks. From Schaudhary at sapient.com Mon Apr 8 09:06:07 2002 From: Schaudhary at sapient.com (Sanjeev Chaudhary) Date: Mon Apr 8 09:06:07 2002 Subject: ssh Problem Message-ID: <295A9D64E5DC2D469405DE8037DDAB6901CC1F27@delmmsx01.sapient.com> Hi All, We have got 5 Sun Servers. Currently we have a requirement to copy one particular file from a specific place on all the 4 servers and finally put all the files at one server. I am trying to do this operation through shell script. Basically the script does ssh to all the machines and run the commands specified. One important thing is that the file which needs to be copied is one day old. We have a requirement that the filename cannot be hardcoded in the script. So while doing ssh, first it should find out which is the file that is one day old and then scp it from that machine to the host machine. The script i am using has ssh invocation as for IM in $IM_LIST do ssh ${TargetUser}@${IM} ". ./.profile;logs ;cd /home/$TargetUser/bv1to1_var/logs/$IM;LOG=`find . -ctime 1 | grep bvobs`; echo $LOG ;scp ${LOG} ${DestUser}@${Host}:$ObsLogs/${LOG}.${TargetUser}.${IM}" done I am facing 2 ,3 problems here First When i am trying to invoke the command logs which is an alias it says logs : command not found Secondly I am trying to get the file name that is to be copied in a variable named LOG. But the variable is empty I tried to work around this. I changed the quotes while invoking ssh to single quotes that is ssh username at hostname 'commands' This time the variable LOG got defined but all other variables like $IM, $TargetUser got undefined. I think it is probably of the fact that you can't interpret $ inside single quotes. I am not able to think around this problem. Is there any other invocation of ssh with specific options which will help me overcome this problem. Thanks in advance, Sanjeev K Chaudhary -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020408/3f82995f/attachment.html From zzassgl at twirl.mcc.ac.uk Mon Apr 8 09:10:10 2002 From: zzassgl at twirl.mcc.ac.uk (Geoff Lane) Date: Mon Apr 8 09:10:10 2002 Subject: live upgrade and recommended patch bundles Message-ID: <200204081307.g38D7P807929@twirl.mcc.ac.uk> I'm experimenting with Live Upgrade (which, so far, seems excellent) and have reached the point where I'd like to apply a Recommended patch bundle to an alternative boot environment. Can I expect luupgrade to understand and auotmatically apply the contents of a Recommended patch bundle or do I have to apply the patches by hand (and in the correct order)? Thanks, summary will follow. -- /\ Geoff. Lane. /\ Manchester Computing /\ Manchester /\ M13 9PL /\ England /\ From Nelson.T.Caparroso at sbcdo.com Mon Apr 8 09:14:02 2002 From: Nelson.T.Caparroso at sbcdo.com (Caparroso, Nelson T. (AAS)) Date: Mon Apr 8 09:14:02 2002 Subject: SUMMARY: What dictates cN (controller numbering)? Message-ID: Many many many thanks to Mr. Vipin Sharma of SUN who kindly pointed me to /dev/cfg as the culprit. Apparently, devfsadm just "adds to it" and the -C option does not clear it out. > -----Original Message----- > I have moved a bootdisk from one server to another. On its former host it > was known as c0t0d0. On the new server it is c6t0d0s0 even if it is the > only disk on the server. (I use devfsadm while booted off miniroot to > configure this disk). and my conroler numbers start at c5 - not c0. Tried > wiping out path_to_inst and dis a reconfig reboot but still, this server > starts controllers at c5! > > So my question is, what dictates controller numbering? > > Thanks. > > From min at psde.mec.mei.co.jp Mon Apr 8 09:17:24 2002 From: min at psde.mec.mei.co.jp (Min Oo Tint) Date: Mon Apr 8 09:17:24 2002 Subject: Measuring performance load on server Message-ID: <3C667B62E467F44DB51E01DC328A34311361FB@psde-server.psde.mec.mei.co.jp> Hi, Our group has grown in terms of people (1 to 6) and so as number of SUNs. Initially we had one U80 and added couple of sun blade 100s and SB 1000. We are looking to expand further by adding a network file server. To justify the requirement for a large server which could cost us $50k+ we need to justify the need for it. We concluded that disk/network load would be our bottleneck, as we will have several engineers checking in/out design databases and running simulations etc. For our current server I would like to measure load on the disk and network usage. Using these statistics I can justify the reason for a need for a larger better server. Can someone tell me how to go about doing this? Are there any software/commands, which I use to help get the statistics I need? I am new to UNIX administration and have no relevant background in this area. Cheers, Min Oo System LSI Design Engineer Panasonic System LSI Design Europe (PSDE) A Division of Matsushita Electric Europe (HQ) Ltd. From takeme2your at rocketmail.com Mon Apr 8 09:28:09 2002 From: takeme2your at rocketmail.com (U n d e r a c h i e v e r) Date: Mon Apr 8 09:28:09 2002 Subject: FLAR creation and minimum install Message-ID: <20020408091510.79823.qmail@web20505.mail.yahoo.com> Hi I want to install a reference machine starting with a minimum solaris install for the purpose of creating a FLAR image for later jumpstarting. I would like to maximise the amount of OEM support in the minimum install in order to make the FLAR as portatble as possible across hardware. In particular, it should support X1s, T1s, E450s, E220rs, E420rs, Ultra 5s and Ultra 10s. I'm worried that if I stick a CD drive into an X1 for the minimum install i'll be lacking the required drivers for the rest of the range, and that the resulting install won't boot on larger hardware, or will boot but fail to see SCSI sub-systems and the like. Are my fears unfounded? Is there a way to do a minimum install + all hardware support from the CD to build a boot-on-anything-with-an-ultrasparc kernel and image? Thanks in anticipation. I will summarise. ===== u n d e r a c h i e v e r (and proud) __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ From brijencr at hotmail.com Mon Apr 8 09:31:31 2002 From: brijencr at hotmail.com (Brijen Rai) Date: Mon Apr 8 09:31:31 2002 Subject: Solaris 8 Jumpstart Message-ID: Hello Sir or Madam, I am trying to install Jumpstart server and make it automated. The installation reaches till my sysidcfg file but does not do the installation automatically. I have to feed all the info manually. I am using the "boot net - install" command. is there any other command for automated installation ? Please help me out. Waiting for the reply ASAP. Sincerely, Brijen. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020408/ba877030/attachment.html From min at psde.mec.mei.co.jp Mon Apr 8 09:36:29 2002 From: min at psde.mec.mei.co.jp (Min Oo Tint) Date: Mon Apr 8 09:36:29 2002 Subject: UNIX SECURITY Message-ID: <3C667B62E467F44DB51E01DC328A34311361FC@psde-server.psde.mec.mei.co.jp> Hi, I would like to know the information on securing NIS on our Solaris 2.8 network ? I started doing system admin with no relevant background but have successfully setup NIS etc but was unable to secure few things such as, for example. If NIS server is called loki and all user account are located on loki - /users and this /users is shared across other UNIX desktop. I changed root password on loki and want the users to have admin privileges for their machine but what I found is they can su - and enter the local root password and become a root but they can su and become the which should not be allowed but possible. Can someone advice me on how to get prevent this without denying root access to local machines? Many thanks, Min Oo System LSI Design Engineer Panasonic System LSI Design Europe (PSDE) A Division of Matsushita Electric Europe (HQ) Ltd. From Nelson.T.Caparroso at sbcdo.com Mon Apr 8 10:20:19 2002 From: Nelson.T.Caparroso at sbcdo.com (Caparroso, Nelson T. (AAS)) Date: Mon Apr 8 10:20:19 2002 Subject: Transporting a BootDisk for DR/ServerBuilds/ServerReplication/etc . Message-ID: For the above mentioned reasons (but in our case DR and ServerBuilds), I've the following procedure in quickly building a transported bootdisk. By "transported bootdisk" I mean (1) a clone of an existing reference server's bootdisk or (2) a restore of a dumped OS image using any means imaginable. And by "reference server" I mean a server built using Solaris 8 Full+OEM so you could "transport" a bootdisk from an Ultra-2 to a E10K/15K domain. Assuming you've already got the disk connected to the new server: 1. boot the target system to miniroot (boot cdrom -s or boot net -s) 2. reckon from format what your bootdisk is on thie system from format ex: - c2t0d0 3. mount up your system partition / to /a 4. rm /a/dev/cfg/* rm /a/dev/rdsk/* rm /a/dev/dsk/* 5. devfsadm -C -v -r /a -p /a/etc/path_to_inst -t /a/etc/devlink.tab 6. check /a/dev/dsk for the bootdisk's device path 7. update /a/etc/vfstab 8. various /etc/ modifiations and clean up.. ie( E10K dependencies, /etc/system, network host settings, etc...) 9. reboot off the bootdisk in reconfiguration mode This has worked for us in recovering UExx00 servers, a 280r and an UE2 to E10K domains in a DR exercise - siginificantly cutting system recovery time. I know some of you may frown at the idea and I'd like to get your comments / opinions on this strategy. I am aware of flash archive technology - in fact this is what we've used when we transitioned from Solaris 2.6 to Solaris 8. Thanks. From radhika_narendran at yahoo.com Mon Apr 8 10:42:07 2002 From: radhika_narendran at yahoo.com (Radhika Sambamurti) Date: Mon Apr 8 10:42:07 2002 Subject: -exec question Message-ID: <20020408144126.26763.qmail@web9305.mail.yahoo.com> Hi, i am writing a small script in ksh to move files older than 7 days old. I am trying to use the -exec command to move files. How can i use the mv command here? here is my script; find . -name \*inc -mtime +7 -exec mv /usr/tmp {} \; where i am trying to move files to /usr/tmp this is not working. any help is appriciated. thanks, radhika ===== It's all a matter of perspective. You can choose your view by choosing where to stand. --Larry Wall __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ From JColeman at zionsbank.com Mon Apr 8 10:53:07 2002 From: JColeman at zionsbank.com (John Coleman) Date: Mon Apr 8 10:53:07 2002 Subject: Please remove me from the list Message-ID: Please remove _________________________ John Coleman Senior Systems Engineer Network and Server Architecture 801-844-5131 - Desk 801-974-8870 - Help Desk _________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020408/bac51f40/attachment.html From cbar44 at tsg.cbot.com Mon Apr 8 11:05:30 2002 From: cbar44 at tsg.cbot.com (Christopher L. Barnard) Date: Mon Apr 8 11:05:30 2002 Subject: ANDIrand vs. patch 112438-01 Message-ID: <200204081503.KAA05498@shalmaneser.tsg.cbot.com> It appears that Sun has (finally) released patch number 112438-01, the hardware random number generator for Solaris 8. Right now I have the ANDIrand package (version 0.6) installed to get hardware randomization. Has anyone else installed 112438-01? I am curious to know if anyone else has nuked ANDIrand in favor of 112438-01 and how it is working. +-----------------------------------------------------------------------+ | Christopher L. Barnard O When I was a boy I was told that | | cbarnard at tsg.cbot.com / \ anybody could become president. | | (312) 347-4901 O---O Now I'm beginning to believe it. | | http://www.cs.uchicago.edu/~cbarnard --Clarence Darrow | +----------PGP public key available via finger or PGP keyserver---------+ From stanb at awod.com Mon Apr 8 11:09:29 2002 From: stanb at awod.com (stan) Date: Mon Apr 8 11:09:29 2002 Subject: SUMMARY 2.5.1 as a print server Message-ID: <20020408150821.GA13108@teddy.fas.com> Here is a bit more inoformation on getting 2.5.1 to work as a print server. I had recieved the below email when I posted the summary, but I had not had time to go through it carefully. There is one tiny mistake in it, that kept this from working for me, but now I have found and fixe it. Therfore this should work fine, and it's better than what I originally posted. ----- Forwarded message from Edward Murphy ----- From: Edward Murphy To: stan Subject: Re: Still strugling to make a 2.5.1 machine a print server Date: Fri, 05 Apr 2002 08:01:52 -0700 X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.8 sun4u) Stan: I did the following on a 2.5.1 server many moons ago to get it to work as the printer server: ----------------------------------------------------- #!/bin/sh # This is from the System Administration Guide, Volume II answerbook, sacadm -a -p tcp -t listen -c "/usr/lib/saf/listen tcp" -v `nlsadmin -V` -n 999 pmadm -a -p tcp -s lp -i root -m `nlsadmin -o /var/spool/lp/fifos/listenS5` -v `nlsadmin -V` u_addr=`lpsystem -A` pmadm -a -p tcp -s lpd -i root -m `nlsadmin -o /var/spool/lp/fifos/listenBSD -A "\\x${u_addr}"` -v `nlsadmin -V` new_addr=`lpsystem -A | cut -b1-4` > tail=`lpsystem -A | awk '{pos = index($0, "0203")+4 > print substr($0, pos, length($0)-pos+1)}'` The above 2 lines need to look like: tail=`lpsystem -A | awk '{pos = index($0, "0203")+4 ; print substr($0, pos, length($0)-pos+1)}'` Note the addition of ht esemicolon in front of the print command in the awk script. new_addr=`echo ${new_addr}0ACE${tail}` pmadm -a -p tcp -s 0 -i root -m `nlsadmin -c /usr/lib/saf/nlps_server -A "\\x${new_addr}"` -v `nlsadmin -V` -------------------------------------- stan wrote: > > Sorry to keep buging the list about this, but I'm not promarily a Sun > admin, and this particualr area sems to be very Sun specific. > > As you may recall, I'm desperatly trying to make a 2.5.1 machine work as a > print server for several other 2.5.1 machines. > > yesterdai I aparently suceded in invoking the magic incatation of sacadm > for this. Today I've discvered that I also heve to do thigs with pmadm. > gere is what I've tried: > > pmadm -a -p tcp -s lp -i root -m `nlsadmin -o /var/spool/lp/fifos/listenS5` -v `nlsadmin -V` > > Which seemd to work > > Then: > > pmadm -a -p tcp -s lp -i root -m `nlsadmin -o /var/spool/lp/fifos/listenBSD -A '\x00020203000000000000000000000000'` -v `nlsadmin -V` > > Which eturned an error message: > > Invalid request, lp already exists under tcp > > And then: > > pmadm -a -p tcp -s 0 -i root -m `nlsadmin -c /usr/lib/saf/nlps server -A > '\x00020203000000000000000000000000'` -v `nlsadmin -V` > > Which must be sytacticly incorrect, as it just returns the pmadm ussage > message. > > Could some kind soul give me a clue here? > > -- > "They that would give up essential liberty for temporary safety deserve > neither liberty nor safety." > -- Benjamin Franklin > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers -- ************************************************************ * Edward Murphy Sr. Unix Systems Administrator * * Motorola * * e-mail: sc2289 at email.mot.com * * Voice: 480-732-2165 Pager:1-888-759-8352 Pin:1195731 * ************************************************************ ----- End forwarded message ----- Thanks to everyone who helped on this! -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin From cic_line at hotmail.com Mon Apr 8 11:15:13 2002 From: cic_line at hotmail.com (CIC Line) Date: Mon Apr 8 11:15:13 2002 Subject: Sun Management Center & MAX switch MIB Message-ID: Hi, I would like to compile Ascend Enterprise MIB for MAX switch into Sun Management Center 3.0. Does anyone having the experience of compiling network devices' MIB into SunMC? It is hard to find any information for doing this. Thanks! Melissa Young System Administrator _________________________________________________________________ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com From stuart at IBS-PUBLIC-SERVICES.CO.UK Mon Apr 8 11:20:34 2002 From: stuart at IBS-PUBLIC-SERVICES.CO.UK (Stuart Morris) Date: Mon Apr 8 11:20:34 2002 Subject: Do I need to worry about this ?. Message-ID: <71386882BFC9D311AA9C0050DA4B20148694C4@MAILSVR> If so, what does it mean ?. Database's haven't reported any errors. Will summarise. Mtia, Stuart. Mar 31 00:25:12 IBSSUNDB scsi: [ID 365881 kern.info] /pci at 6,4000/scsi at 4,1 (glm5): Mar 31 00:25:12 IBSSUNDB Cmd (0x9523380) dump for Target 0 Lun 0: Mar 31 00:25:12 IBSSUNDB scsi: [ID 365881 kern.info] /pci at 6,4000/scsi at 4,1 (glm5): Mar 31 00:25:12 IBSSUNDB cdb=[ 0x2a 0x0 0x1 0xfc 0x87 0x18 0x0 0x0 0x10 0x0 ] Mar 31 00:25:12 IBSSUNDB scsi: [ID 365881 kern.info] /pci at 6,4000/scsi at 4,1 (glm5): Mar 31 00:25:12 IBSSUNDB pkt_flags=0x4000 pkt_statistics=0x61 pkt_state=0x7 Mar 31 00:25:12 IBSSUNDB scsi: [ID 365881 kern.info] /pci at 6,4000/scsi at 4,1 (glm5): Mar 31 00:25:12 IBSSUNDB pkt_scbp=0x0 cmd_flags=0x18e1 Mar 31 00:25:12 IBSSUNDB scsi: [ID 365881 kern.info] /pci at 6,4000/scsi at 4,1 (glm5): Mar 31 00:25:12 IBSSUNDB Cmd (0x829a190) dump for Target 0 Lun 0: Mar 31 00:25:12 IBSSUNDB scsi: [ID 365881 kern.info] /pci at 6,4000/scsi at 4,1 (glm5): Mar 31 00:25:12 IBSSUNDB cdb=[ 0x2a 0x0 0x1 0xfc 0x80 0xb8 0x0 0x0 0x10 0x0 ] Mar 31 00:25:12 IBSSUNDB scsi: [ID 365881 kern.info] /pci at 6,4000/scsi at 4,1 (glm5): Mar 31 00:25:12 IBSSUNDB pkt_flags=0x4000 pkt_statistics=0x61 pkt_state=0x7 Mar 31 00:25:12 IBSSUNDB scsi: [ID 365881 kern.info] /pci at 6,4000/scsi at 4,1 (glm5): Mar 31 00:25:12 IBSSUNDB pkt_scbp=0x0 cmd_flags=0x18e1 Mar 31 00:25:12 IBSSUNDB scsi: [ID 365881 kern.info] /pci at 6,4000/scsi at 4,1 (glm5): etc... etc... etc... Confidentiality Notice This communication and the information it contains: (a) Is intended for the person(s) or organisation(s) named above and for no other person(s) or organisation(s). (b) May be confidential, legally privileged and protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this communication in error, please contact us immediately by email at Administrator at ibs-public-services.co.uk From gdiaz at hprmail.com Mon Apr 8 11:26:15 2002 From: gdiaz at hprmail.com (Diaz, Gustavo) Date: Mon Apr 8 11:26:15 2002 Subject: How to tell if the OS is 64 Message-ID: Is there a command to see if you are running 64-bit Solaris? TIA Gus Diaz From kmcevoy at cricketcommunications.com Mon Apr 8 11:41:12 2002 From: kmcevoy at cricketcommunications.com (Kevin McEvoy) Date: Mon Apr 8 11:41:12 2002 Subject: remove from list Message-ID: please remove me from distribution Kevin McEvoy Switch Technician Cricket Communications, Inc. A Leap Company 515 Airport Rd. Suite 110 Chattanooga, TN 37421 (Office)423.553.8092 (Mobile)423.320.0090 From mbartosh at 4am-media.com Mon Apr 8 12:19:07 2002 From: mbartosh at 4am-media.com (Michael Bartosh) Date: Mon Apr 8 12:19:07 2002 Subject: Can't get out of OpenBoot In-Reply-To: <20020327041119.70025.qmail@web21107.mail.yahoo.com> Message-ID: <51B52A87-4B0C-11D6-9F44-0003936CF0C2@4am-media.com> I'm trying to install Solaris 8 on an Ultra 5 via console access. I'm successfully hooked up via null modem, but "boot cdrom" gives me (alternately) > short read 0x2000 chars read > short read 0x2000 chars read > Fast Data Access MMU MISS or and just: > Fast Data Access MMU MISS Google advises both: > ok limit-ecache-size and > ok set limit-ecache-size > Both of which alternately yeild: > Unimplemented action #1 on object (fffde280) , whos maximum action # > is -1 and then > Fast Instruction Access MMU miss ..After this, "boot cdrom" results in > Short read. 0x200 chars read > Short read. 0x200 chars read > Short read. 0x200 chars read > Short read. 0x200 chars read > Short read. 0x200 chars read > Short read. 0x200 chars read > ... For a good 5 minutes. Sun Ultra 5 270 MHz 128mb ram. Thanks, will summarize. http://www.4am-media.com Mac OS X Consulting and Training Michael Bartosh mbartosh at 4am-media.com 303.517.0272 Denver, CO "The surest way to corrupt a youth is to instruct him to hold in higher regard those who think alike than those who think differently." - -- Nietzsche Think Different. From rbaldus at e-one.com Mon Apr 8 12:22:31 2002 From: rbaldus at e-one.com (R. Marc Baldus) Date: Mon Apr 8 12:22:31 2002 Subject: SUNWpppdt for x86 request Message-ID: <3CB1C2E6.9050308@e-one.com> Is is possible someone could send me the Solaris 8 x86 SUNWpppdt package or a link to it. I really don't know if it is a license violation or not. If it is, let me know and disregard this request. Sun no longer provides Solaris 8 x86 iso's for free download. Thanks, Marc B. From radhika_narendran at yahoo.com Mon Apr 8 12:26:33 2002 From: radhika_narendran at yahoo.com (Radhika Sambamurti) Date: Mon Apr 8 12:26:33 2002 Subject: converting character to digit Message-ID: <20020408162041.37434.qmail@web9305.mail.yahoo.com> hi, i am trying to monitor a filesystem such that if it is more than 80% full, it should send me an email. in my script I used awk to get the percentage number. if ($diskspace > 80%) then mail -s "80% full" xxx at xyz.com < df -k How can I convert the value in in $diskSpace to an integer and then do a test for diskSpace > 80% ? thanks, radhika ===== It's all a matter of perspective. You can choose your view by choosing where to stand. --Larry Wall __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ From GALLS at cpw.co.uk Mon Apr 8 12:30:23 2002 From: GALLS at cpw.co.uk (GallS) Date: Mon Apr 8 12:30:23 2002 Subject: Installing a Phobos QFE adapter Message-ID: I have a Sun E450 running Solaris 2.8. I began by trying to follow the instructions to the letter only to find the package location specified did not exist. I found some tar files with the correct package names and tar'd the file to a temp directory and ran pkgadd. I got the following: - The following packages are available: 1 phbslink Phobos PhobosLink Trunking(Port Aggregation) Software (sparc) 1.0 2 phbsp430 Phobos P430 Adapter Driver for 32 bit PCI QuadPort 10/100BaseT Adapter (sparc) 1.0 I select all and get the following: - ## Installing part 1 of 1. /etc/init.d/plconf.sh /kernel/drv/plink /kernel/drv/plink.conf /sbin/plconf /sbin/plstat /usr/bin/plink_config [ verifying class ] /etc/rcS.d/S15plconf ## Executing postinstall script. exit status = 0 devfsadm: driver failed to attach: plink exit status = 11 Warning: Driver (plink) successfully added to system but failed to attach Driver (plink) installed. Installation of was successful. Notice the 'failed to attach message?' This occurs for both packages. If you try and plumb the interface you get the following: - ifconfig: plumb: pqfe0: Bad file number There is not entry for this device in the /devices/pseudo (I got this from truss) 784: so_socket(2, 1, 0, "", 4) = 3 784: open("/dev/pqfe0", O_RDWR) Err#2 ENOENT 784: open("/dev/pqfe", O_RDWR) Err#2 ENOENT 784: close(-1) Err#9 EBADF Any help appreciated. Disclaimer This communication together with any attachments transmitted with it ('this E-mail') is intended only for the use of the addressee and may contain information which is privileged and confidential. If the reader of this E-mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient you are notified that any use of this E-mail is prohibited. Addressees should check this E-mail for viruses. The Carphone Warehouse Group PLC makes no representations as regards the absence of viruses in this E-mail. If you have received this E-mail in error please notify our ISe Response Team immediately by telephone on + 44 (0)20 8896 5828 or via E-mail at postmaster at cpw.co.uk Please then immediately destroy this E-mail and any copies of it. Please feel free to visit our website: http://www.phonehouse.com From chris at ludwig-alpha.unil.ch Mon Apr 8 13:18:09 2002 From: chris at ludwig-alpha.unil.ch (Christian Iseli) Date: Mon Apr 8 13:18:09 2002 Subject: Will device names change when adding a D1000 to an UE450 ? Message-ID: <200204081717.TAA13696@ludwig-alpha.unil.ch> Hi folks, I will soon need to add a dual port SCSI board with a D1000 storage device to a Sun Ultra Enterprise 450, running Solaris 2.6 with SDS. The machine currently has 20 internal disk slots (18 full) and two external D1000 devices, each with 12 disks. The PCI slot layout is as follows: 10: empty 9: empty 8: empty 7: Sun Gigabit ethernet board 6: dual port SCSI board connected to external D1000 5: dual port SCSI board connected to internal disk rack 4: dual port SCSI board connected to external D1000 3: empty 2: empty 1: dual port SCSI board connected to internal disk rack The dual port SCSI boards are all Symbios 53c875. When I add in the new PCI-SCSI board, should I worry that it might change the current naming of the disks, and if so, what's the best way to deal with it ? Any words of advice on which slot to use for the new board ? TIA for any help and info. Will summarize... Regards, Christian From rtmckinney at attbi.com Mon Apr 8 13:54:07 2002 From: rtmckinney at attbi.com (rtmckinney at attbi.com) Date: Mon Apr 8 13:54:07 2002 Subject: NIS and /home directory scenario Message-ID: <20020408175311.VNBW18078.rwcrmhc51.attbi.com@rwcrwbc55> rather than spend the next few hours trying to figure out how to query google or the other archives... I thought I would pose the question to the Sunmangers List here is the scenario.. have some local accounts ( ie oracle, and a few others ) but also have NIS for all user accounts ... what is the easiest way to accomplish this ... From amorera at engineer.com Mon Apr 8 14:12:06 2002 From: amorera at engineer.com (Anthony Morera) Date: Mon Apr 8 14:12:06 2002 Subject: Hi Sunmanagers Message-ID: <20020408181122.31174.qmail@mail.com> HI Gurus I have installed DiskSuite in Sun 450 with mirrored device... I have a Solstice DiskSuite 4.2.1 Reference Guide but not ... I will appreciate your help !!! Thanks a lot Anthony Morera Vasquez++ Costa Rica Centraamerica -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup From mmcmanus at houston.geoquest.slb.com Mon Apr 8 14:16:16 2002 From: mmcmanus at houston.geoquest.slb.com (Mark McManus) Date: Mon Apr 8 14:16:16 2002 Subject: 900MHz CPU question (copper vs. non-copper) Message-ID: <3CB1DDE6.92AE5E15@houston.geoquest.slb.com> All, I am interested, before I get some, how to tell the difference between the two CPU's (command line for scripts)..... Hopefully it is as simple as the banner ..... -- Mark McManus Sr. Systems Engineer Reservoir Interpretation mmcmanus at houston.geoquest.slb.com 01 713 513 2213 Mail-Stop 19-3 room 19041 From Wimmer.Jeffrey at LittonISD.com Mon Apr 8 14:24:10 2002 From: Wimmer.Jeffrey at LittonISD.com (Wimmer, Jeffrey) Date: Mon Apr 8 14:24:10 2002 Subject: Language package missing....but gcc installed Message-ID: Hi folks, When compiling Xmotd to fix my security banner issue, I get the following error: hdw200# make cc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -c main.c /usr/ucb/cc: language optional software package not installed *** Error code 1 make: Fatal error: Command failed for target `main.o' I have gcc ver 2.95, gdb, etc installed in /usr/local. I believe the -Xc flag is causing the problem, but have no idea how to fix it since I'm just now getting into compiling programs rather than finding binaries. This may be an environment path problem, or any number of problems....gnu sucks when it comes to telling you how to set up your .cshrc or .profile or .login environment variables. Any help would be greatly appreciated and welcomed. Jeffrey G. Wimmer. Network Engineer/System Admin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020408/b08428c1/attachment.html From Karl.Rossing at Federated.CA Mon Apr 8 14:44:07 2002 From: Karl.Rossing at Federated.CA (Karl.Rossing at Federated.CA) Date: Mon Apr 8 14:44:07 2002 Subject: Netgroup LDAP perl script Message-ID: Hi, I'm trying to write a little perl script to add a value to an LDAP attribute. In this case, add a user to a netgroup in ldap. For some reason it isn't updating the attribute. I'm wondering if anyone has any thoughts on this? Thanks Karl -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: netgroup.txt Url: http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020408/829e4d60/attachment.txt From rtmckinney at attbi.com Mon Apr 8 14:49:08 2002 From: rtmckinney at attbi.com (rtmckinney at attbi.com) Date: Mon Apr 8 14:49:08 2002 Subject: NIS and Local revisted Message-ID: <20020408184804.WFOB21252.rwcrmhc53.attbi.com@rwcrwbc56> so far I have been flamed about 3 or 4 times for posing the question the way I did ... I didnt mean to sound like I was lazy and didnt want to search google or the archives ... but come on folks there about 100 or more different combination of how you could ask the question and if I could read someones mind as to how they would pose the question then I would easily know what to search for I am disappointed in the lack of professionalism that a few people have shown ... oh yeah on a tangent here is any example 1. how old are you 2. when were you born 3. when did you graduate from High School 4. when did you graduate college these are 4 different ways to determine the age of someone ... same goes with my query on the NIS and local accounts ... you would have to know how the person was thinking when they posed the question before you can query an archive so with that said ... I will go back to just reading this list and not worry about asking any more questions .. From knoxth at cch.com Mon Apr 8 15:03:24 2002 From: knoxth at cch.com (knoxth at cch.com) Date: Mon Apr 8 15:03:24 2002 Subject: Too many subdevices? Message-ID: <86256B95.00687480.00@chrivn53.cch.com> Hello, We have 2 E4500's connected to a Symmetrix 8830 through a fabric. There are 2 JNI SBus fiber cards on each box, and the drives are visible on both cards and balances with PowerPath 1.5.6. Everything works for our current environment. Trying to *add* disks to our zone fails on the Solaris side (v. 2.6, kernel 105181-31). Running "drvconfig; disks" fails with a "Too many subdevices on controller 2" error when it hits the disks command. "cd /dev/dsk; ls c2*s2" yields: c2t22d0s2 c2t22d100s2 c2t22d101s2 c2t22d102s2 c2t22d103s2 ... c2t22d97s2 c2t22d98s2 c2t22d99s2 c2t22d9s2 c2t22d234s2 is the highest numbered device. /dev/rdsk is the same. Has anyone seen this before" We need to add some disks to there systems for migration purposes. Thanks, Tom /kernel/drv/fcaw.conf: ## fcaw.conf - JNI FCA DRIVER (Solaris SCSI-IP HBA) CONFIGURATION FILE # Configuration variable scsi-initiator-id # Type: integer, 0-125; default: none (must be explicitly set for PCI driver) # Defines the adapters SCSI ID (and hence FC AL_PA) on the loop scsi-initiator-id = 0x7d; # Configuration flag fca_nport # Type: boolean; default: 0 (false) # If false (0), then fca initializes on a loop # If true (1), then fca initializes as an N_Port # and fabric operation is enabled fca_nport = 1; # Configuration flag public_loop # Type: boolean; default: 0 (false) # If false (0), then fcaw initializes according to what fca_nport is set to # If true (1), then fca initializes as an NL_Port on a public loop # and fabric operation is enabled via the FLPort of the switch # if public_loop = 1, then fca_nport is overridden to be 0 public_loop = 0; # Configuration target_controllers # Type: integer, count; default: 126 # Defines the number of target controllers to support. # The absolute maximum is 5000. # If set to greater than 5000, the driver will reset to 5000. target_controllers = 126; # Configuration flag ip_disable # Type: boolean; defalt; 0 (false) # if false (0), then the IP side of the driver is enabled # if true (1), the the IP side of the driver is completely disabled ip_disable = 1; # Configuration flag ip_compliant # Type: boolean; default: 0 # if true (1), the NAA=1 is set for port name # if false (0), the NAA=1 is not set for port name ip_compliant = 0; # Configuration variable qfull_retry_count # Type: integer, count; defalt: 0 # Defines the number of times a command is retried by the HBA if a target # rejects it with a queue full status. # if 0, then the HBA will retry forever # if > 0, then the HBA tries at least qfull_retry_count times # if qfull_retry_count exceeded, then the HBA returns the command to the target # driver with reason set to transport error. qfull_retry_count = 0; # Configuration variable qfull_retry_interval # Type: integer, milliseconds; default: 1000 # Time the HBA waits before retrying a rejected command due to queue full qfull_retry_interval = 1000; # Configuration variable failover # Type: integer, seconds; default: 30 # Defines the number of seconds after target is declared "offline" # before target is declared "failed" and all pending commands # are flushed back to the application. # See failover_extension for additonal info. failover = 60; # Configuration variable failover_extension # Type: integer, seconds; default: 0 # Extends a target's failover period by this number of seconds to perform target rediscovery. # If defined and the target has pending commands at the time it is declared "fai led", # the target will first be declared "missing" for this period before being decla red "failed". # When a target is declared "missing" the link will be reset once and targets wi ll be rediscovered. # This provides a "last chance" opportunity for the target to go "online" before # the target is declared "failed" and all pending commands are flushed. # See failover for additonal info. failover_extension = 0; # Configuration variable recovery_attempts # Type: integer, count; default: 5 # Defines the number of times login_recovery is attempted before failed recovery_attempts = 5; # Configuration flag class2_enable # Type: boolean; default: 0 # If set to 1 (true), then FC Class 2 exchanges (ACK_1 model) are enabled for # devices which support it [even when connected to a loop]. class2_enable = 0; # Configuration variable fca_heartbeat # Type: value, microseconds; default: 0 # Defines the number of microseconds between "heartbeat" frames. # Only used for debugging. fca_heartbeat = 0; # Configuration flag reset_glm # Type: boolean; default: 0 # If non-zero, then the Gigabit Link Module will be reset before # adapter initialization. This is a workaround for specific boot-up # conditions. reset_glm = 0; # Configuration flag timeout_reset_enable # Type: boolean; default: 0 # When a command times out to a target, the driver can attempt to clear the prob lem in two ways: # 1. (timeout_reset_enable = 1) Reset the target. # 2. (timeout_reset_enable = 0) Send an abort exchange (ABTS_LS) request to t he target. timeout_reset_enable = 0; # Configuration flag busy_retry_delay # Type: unsigned int; default: 100 # Sets delay between retries after a SCSI device returns a BUSY response for a c ommand. # The delay is in milliseconds with a 10 millisecond resolution. busy_retry_delay = 100; # Configuration flag link_recovery_delay # Type: unsigned int; default: 1000 # Sets delay between link up state and login recovery. # This delay helps ensure link stability before recovery of communications to po rts. # The delay is in milliseconds with a 10 millisecond resolution. # for combined SCSI/IP operation, this should be set to at least 1000 link_recovery_delay = 1000; # Configuration flag scsi_probe_delay # Type: unsigned int, milliseconds; default: 500 # Sets delay before SCSI probes are allowed to occur during boot. # This allows time for the driver to build a network port list for target bindin g. # The delay is in milliseconds with a 10 millisecond resolution. scsi_probe_delay = 5000; # Configuration flag def_hba_binding # Type: string; default: "fcaw*" (means all target/lun instances will be initial ized by all fcaw instances) # Sets the default HBA binding for every target/lun instance which does not expl icitly define one. # - A "*" following an hba name indicates all instances of that hba driver # *See technote for details on hba bindings def_hba_binding = "fas*"; # Configuration flag def_wwXn_binding where X is either n for node or p for port . # Type: string; default: "$xxxxxxxxxxxxxxxx" (means WWXN is "static don't care") # Sets the 16 digit hexidecimal default wwXn binding for every target/lun instan ce which does not # explicitly define one. # - A "$" preceding the string indicates static binding enabled # - A "x" in place of a digit indicates "don't care" for that digit # *See technote for details on wwn bindings def_wwpn_binding = "$xxxxxxxxxxxxxxxx"; def_wwnn_binding = "$xxxxxxxxxxxxxxxx"; # Configuration flag def_port_binding # Type: string; default: "xxxxxx" (means PORT is "non-static don't care") # Sets the 6 digit hexidecimal default port binding for every target/lun instanc e which does not # explicitly define one. # - A "$" preceding the string indicates static binding enabled # - A "x" in place of a digit indicates "don't care" for that digit # *See technote for details on port bindings def_port_binding = "xxxxxx"; # Configuration flag fca_verbose # Type: boolean; default: 1 # Determines how many messages are displayed directly to the console. # - A "0" will quiet the driver messages to the console, but still print th em to the # system message log. # (NOTE: a "boot -v" will override this setting and make the driver verbo se again) # - A "1" will make the driver print all messages to the console and to the system # message log. fca_verbose = 1; //kernel/drv/sd.conf: name="sd" class="scsi" target=20 lun=0 hba="fcaw0" wwn="50060482c4649ed4"; name="sd" class="scsi" target=20 lun=1 hba="fcaw0" wwn="50060482c4649ed4"; name="sd" class="scsi" target=20 lun=2 hba="fcaw0" wwn="50060482c4649ed4"; name="sd" class="scsi" target=20 lun=3 hba="fcaw0" wwn="50060482c4649ed4"; ... name="sd" class="scsi" target=20 lun=253 hba="fcaw0" wwn="50060482c4649ed4"; name="sd" class="scsi" target=20 lun=254 hba="fcaw0" wwn="50060482c4649ed4"; name="sd" class="scsi" target=20 lun=255 hba="fcaw0" wwn="50060482c4649ed4"; # SYMM0987 FA-12a name="sd" class="scsi" target=21 lun=0 hba="fcaw1" wwn="50060482c4649ecb"; name="sd" class="scsi" target=21 lun=1 hba="fcaw1" wwn="50060482c4649ecb"; name="sd" class="scsi" target=21 lun=2 hba="fcaw1" wwn="50060482c4649ecb"; name="sd" class="scsi" target=21 lun=3 hba="fcaw1" wwn="50060482c4649ecb"; ... name="sd" class="scsi" target=21 lun=252 hba="fcaw1" wwn="50060482c4649ecb"; name="sd" class="scsi" target=21 lun=253 hba="fcaw1" wwn="50060482c4649ecb"; name="sd" class="scsi" target=21 lun=254 hba="fcaw1" wwn="50060482c4649ecb"; name="sd" class="scsi" target=21 lun=255 hba="fcaw1" wwn="50060482c4649ecb"; # SYMM0835 FA-5a name="sd" class="scsi" target=22 lun=0 hba="fcaw0" wwn="50060482bcc358c4"; name="sd" class="scsi" target=22 lun=1 hba="fcaw0" wwn="50060482bcc358c4"; name="sd" class="scsi" target=22 lun=2 hba="fcaw0" wwn="50060482bcc358c4"; name="sd" class="scsi" target=22 lun=3 hba="fcaw0" wwn="50060482bcc358c4"; ... name="sd" class="scsi" target=22 lun=252 hba="fcaw0" wwn="50060482bcc358c4"; name="sd" class="scsi" target=22 lun=253 hba="fcaw0" wwn="50060482bcc358c4"; name="sd" class="scsi" target=22 lun=254 hba="fcaw0" wwn="50060482bcc358c4"; name="sd" class="scsi" target=22 lun=255 hba="fcaw0" wwn="50060482bcc358c4"; # SYMM0835 FA-12b name="sd" class="scsi" target=23 lun=0 hba="fcaw1" wwn="50060482bcc358db"; name="sd" class="scsi" target=23 lun=1 hba="fcaw1" wwn="50060482bcc358db"; name="sd" class="scsi" target=23 lun=2 hba="fcaw1" wwn="50060482bcc358db"; name="sd" class="scsi" target=23 lun=3 hba="fcaw1" wwn="50060482bcc358db"; ... name="sd" class="scsi" target=23 lun=252 hba="fcaw1" wwn="50060482bcc358db"; name="sd" class="scsi" target=23 lun=253 hba="fcaw1" wwn="50060482bcc358db"; name="sd" class="scsi" target=23 lun=254 hba="fcaw1" wwn="50060482bcc358db"; name="sd" class="scsi" target=23 lun=255 hba="fcaw1" wwn="50060482bcc358db"; From mrbill at mrbill.net Mon Apr 8 15:08:43 2002 From: mrbill at mrbill.net (Bill Bradford) Date: Mon Apr 8 15:08:43 2002 Subject: LIST NOTE: archive search currently disabled Message-ID: <20020408190547.GJ8489@mrbill.net> A few of you apparently didnt read the last admin note I sent out. Okay, I'll repeat myself: 8-) The search engine (http://www.sunmanagers.org/search.html) is currently NOT functioning. It will be re-enabled once the additional 64 megabytes of RAM for the machine arrive and are installed. Until then, you will get a 404 error when you try to search the archives. Bill -- Bill Bradford mrbill at mrbill.net Austin, TX From Wimmer.Jeffrey at LittonISD.com Mon Apr 8 15:29:20 2002 From: Wimmer.Jeffrey at LittonISD.com (Wimmer, Jeffrey) Date: Mon Apr 8 15:29:20 2002 Subject: UPDATE: Language package missing...but gcc installed Message-ID: 20 responses so far....all reminded me to ensure /usr/ucb isn't in front of local/bin.....2 ways to fix that, and I chose both... An oversight on my part to have /usr/ucb in front of /usr/local/bin, fixed by doing: #pwd /usr/ucb mv cc cc.orig ln -s /usr/local/bin/gcc cc however, I still get the following error: hdw200# make gcc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -c -o main.o main.c gcc: unrecognized option `-Xc' gcc: language cg92 not recognized gcc: main.c: linker input file unused since linking not done gcc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -c -o xmotd.o xmotd.c gcc: unrecognized option `-Xc' gcc: language cg92 not recognized gcc: xmotd.c: linker input file unused since linking not done gcc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -c -o changed.o changed.c gcc: unrecognized option `-Xc' gcc: language cg92 not recognized gcc: changed.c: linker input file unused since linking not done gcc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -c -o textmode.o textmode.c gcc: unrecognized option `-Xc' gcc: language cg92 not recognized gcc: textmode.c: linker input file unused since linking not done gcc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -c -o usage.o usage.c gcc: unrecognized option `-Xc' gcc: language cg92 not recognized gcc: usage.c: linker input file unused since linking not done gcc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -c -o browser.o browser.c gcc: unrecognized option `-Xc' gcc: language cg92 not recognized gcc: browser.c: linker input file unused since linking not done gcc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -c -o logo.o logo.c gcc: unrecognized option `-Xc' gcc: language cg92 not recognized gcc: logo.c: linker input file unused since linking not done gcc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -c -o atom.o atom.c gcc: unrecognized option `-Xc' gcc: language cg92 not recognized gcc: atom.c: linker input file unused since linking not done rm -f xmotd LD_RUN_PATH=/usr/openwin/lib gcc -o xmotd -g -Xc -xF -xcg92 -L/usr/openwin/lib main.o xmotd.o changed.o textmode.o usage.o browser.o logo.o atom.o -lXaw -lXmu -lm -lXt -lSM -lICE -lXext -lX11 -lsocket -lnsl gcc: main.o: No such file or directory gcc: xmotd.o: No such file or directory gcc: changed.o: No such file or directory gcc: textmode.o: No such file or directory gcc: usage.o: No such file or directory gcc: browser.o: No such file or directory gcc: logo.o: No such file or directory gcc: atom.o: No such file or directory gcc: unrecognized option `-Xc' make: *** [xmotd] Error 1 hdw200# So the -Xc compiler flag isn't recognized....I've seen this before...but can't remember what the fix was...... Everything works fine when I do the xmkmf..... hdw200# xmkmf mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/openwin/lib/X11/config so the Imakefile creates the Makefile fine......the Original post: > Hi folks, > > When compiling Xmotd to fix my security banner issue, I get the following > error: > > hdw200# make > cc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 > -DSYSV -c main.c > /usr/ucb/cc: language optional software package not installed > *** Error code 1 > make: Fatal error: Command failed for target `main.o' > > I have gcc ver 2.95, gdb, etc installed in /usr/local. I believe the -Xc > flag is causing the problem, but have no idea how to fix it since I'm just > now getting into compiling programs rather than finding binaries. This > may be an environment path problem, or any number of problems....gnu sucks > when it comes to telling you how to set up your .cshrc or .profile or > .login environment variables. > > Any help would be greatly appreciated and welcomed. Jeffrey G. Wimmer. Network Engineer/System Admin Northrop Grumman Electronic Sensors and Systems Sector Advanced Naval Platforms Division 6608 Sun Scope Drive Ocean Springs, MS 39564 228.872.7376 wimmer.jeffrey at littonisd.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020408/46a60e88/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: flyingwing.gif Type: image/gif Size: 47611 bytes Desc: not available Url : http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020408/46a60e88/attachment.gif From Wimmer.Jeffrey at LittonISD.com Mon Apr 8 15:40:21 2002 From: Wimmer.Jeffrey at LittonISD.com (Wimmer, Jeffrey) Date: Mon Apr 8 15:40:21 2002 Subject: UPDATE: Language package missing...but gcc installed Message-ID: 20 responses so far....all reminded me to ensure /usr/ucb isn't in front of local/bin.....2 ways to fix that, and I chose both... An oversight on my part to have /usr/ucb in front of /usr/local/bin, fixed by doing: #pwd /usr/ucb mv cc cc.orig ln -s /usr/local/bin/gcc cc however, I still get the following error: hdw200# make gcc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -c -o main.o main.c gcc: unrecognized option `-Xc' gcc: language cg92 not recognized gcc: main.c: linker input file unused since linking not done gcc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -c -o xmotd.o xmotd.c gcc: unrecognized option `-Xc' gcc: language cg92 not recognized gcc: xmotd.c: linker input file unused since linking not done gcc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -c -o changed.o changed.c gcc: unrecognized option `-Xc' gcc: language cg92 not recognized gcc: changed.c: linker input file unused since linking not done gcc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -c -o textmode.o textmode.c gcc: unrecognized option `-Xc' gcc: language cg92 not recognized gcc: textmode.c: linker input file unused since linking not done gcc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -c -o usage.o usage.c gcc: unrecognized option `-Xc' gcc: language cg92 not recognized gcc: usage.c: linker input file unused since linking not done gcc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -c -o browser.o browser.c gcc: unrecognized option `-Xc' gcc: language cg92 not recognized gcc: browser.c: linker input file unused since linking not done gcc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -c -o logo.o logo.c gcc: unrecognized option `-Xc' gcc: language cg92 not recognized gcc: logo.c: linker input file unused since linking not done gcc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -c -o atom.o atom.c gcc: unrecognized option `-Xc' gcc: language cg92 not recognized gcc: atom.c: linker input file unused since linking not done rm -f xmotd LD_RUN_PATH=/usr/openwin/lib gcc -o xmotd -g -Xc -xF -xcg92 -L/usr/openwin/lib main.o xmotd.o changed.o textmode.o usage.o browser.o logo.o atom.o -lXaw -lXmu -lm -lXt -lSM -lICE -lXext -lX11 -lsocket -lnsl gcc: main.o: No such file or directory gcc: xmotd.o: No such file or directory gcc: changed.o: No such file or directory gcc: textmode.o: No such file or directory gcc: usage.o: No such file or directory gcc: browser.o: No such file or directory gcc: logo.o: No such file or directory gcc: atom.o: No such file or directory gcc: unrecognized option `-Xc' make: *** [xmotd] Error 1 hdw200# So the -Xc compiler flag isn't recognized....I've seen this before...but can't remember what the fix was...... Everything works fine when I do the xmkmf..... hdw200# xmkmf mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/openwin/lib/X11/config so the Imakefile creates the Makefile fine......the Original post: > Hi folks, > > When compiling Xmotd to fix my security banner issue, I get the following > error: > > hdw200# make > cc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 > -DSYSV -c main.c > /usr/ucb/cc: language optional software package not installed > *** Error code 1 > make: Fatal error: Command failed for target `main.o' > > I have gcc ver 2.95, gdb, etc installed in /usr/local. I believe the -Xc > flag is causing the problem, but have no idea how to fix it since I'm just > now getting into compiling programs rather than finding binaries. This > may be an environment path problem, or any number of problems....gnu sucks > when it comes to telling you how to set up your .cshrc or .profile or > .login environment variables. > > Any help would be greatly appreciated and welcomed. Jeffrey G. Wimmer. Network Engineer/System Admin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020408/ba859775/attachment.html From duprec at scorec.rpi.edu Mon Apr 8 15:45:11 2002 From: duprec at scorec.rpi.edu (Christophe Dupre) Date: Mon Apr 8 15:45:11 2002 Subject: flarcreate problem Message-ID: Hello, I'm trying out Web Start Flash for my custom jumpstart needs... When creating flar files, I need to exclude multiple directories from the archive. I found the '-x' switch, as in: flarcreate -n test -x /var/tmp /tmp/flarchive but I want to exclude both /var/tmp and /var/mail. How do I do that ? flarcreate doesn't seem to accept multiple '-x' switches... -- Christophe Dupre System Administrator, Scientific Computation Research Center Rensselaer Polytechnic Institute Troy, NY USA Phone: (518) 276-2578 - Fax: (518) 276-4886 From Mrbenevides at sao.politec.com.br Mon Apr 8 15:59:08 2002 From: Mrbenevides at sao.politec.com.br (Marcelo Rodrigues Benevides - SAO) Date: Mon Apr 8 15:59:08 2002 Subject: Free space disk Message-ID: <8112597DDA21D511BBD600062962C2FC010CD929@SAOSERV003> Hi friends, I would like to now , how can i find out if my HD has free space??? Abra?os ---------------------------------------------------------------- Marcelo R Benevides Analista de Suporte Suporte - Filial S?o Paulo Politec Inform?tica Ltda Tel.: +55 11 3644-4000 - R. 171 Fax: +55 11 3645-4646 mrbenevides at sao.politec.com.br ---------------------------------------------------------------- From Mrbenevides at sao.politec.com.br Mon Apr 8 16:03:21 2002 From: Mrbenevides at sao.politec.com.br (Marcelo Rodrigues Benevides - SAO) Date: Mon Apr 8 16:03:21 2002 Subject: Instance in Solaris 8 Message-ID: <8112597DDA21D511BBD600062962C2FC010CD92B@SAOSERV003> Hi everybody, Please i would like to know , more about "instance" in solaris 8, what is this? How to create??etc Thanks a lot Abra?os ---------------------------------------------------------------- Marcelo R Benevides Analista de Suporte Suporte - Filial S?o Paulo Politec Inform?tica Ltda Tel.: +55 11 3644-4000 - R. 171 Fax: +55 11 3645-4646 mrbenevides at sao.politec.com.br ---------------------------------------------------------------- From rwalton at goofy.aum.edu Mon Apr 8 16:07:48 2002 From: rwalton at goofy.aum.edu (Rwalton) Date: Mon Apr 8 16:07:48 2002 Subject: Disk Suite and Volume Manager Message-ID: <000001c1df38$8e6dfce0$ee0b50c7@PIC1> Sun Managers, Any ideas or suggestions .... I am having serious DiskSuite and Volume Manager problems on a SUN 3500. I am missing /opt and "cannot check file system" is being displayed for .../.../rootdg/vol01. A manual fsck is being suggested by the system after the rootdg/vol01 line. I am new to systems administrator and would appreciate assistance. Richard Walton Systems Administration -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020408/2ed63b61/attachment.html From Robert.L.Harris at rdlg.net Mon Apr 8 16:12:08 2002 From: Robert.L.Harris at rdlg.net (Robert L. Harris) Date: Mon Apr 8 16:12:08 2002 Subject: IBM Eval Message-ID: <20020408140313.A13834@rdlg.net> Management is looking to evaluate some IBM servers to replace some Sun Boxes. The current theory is to port our home grown app to Linux and run that on the IBM boxes. My concern though, are we comparing apples to apples. Our current Sun hardware we are running on is a 420R with 4Gig, 4x450Mhz with attached A1000 for Raid5 disk. From carlos_sevillano at ureach.com Mon Apr 8 16:16:18 2002 From: carlos_sevillano at ureach.com (Carlos Sevillano) Date: Mon Apr 8 16:16:18 2002 Subject: ntop pkg format for Solaris 2.6 Message-ID: <200204082008.QAA25006@www20.ureach.com> Solaris 2.6 I am looking for ntop in package format (pkg) for Solaris 2.6. I find sites, with the source(source from AU doesn't compile clean), pkg for Solaris 2.7 and 2.8. If anyone know or has a link to ntop for Solaris 2.6 please forward it to me. Carlos ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag From john.p.spurgeon at intel.com Mon Apr 8 16:54:09 2002 From: john.p.spurgeon at intel.com (Spurgeon, John P) Date: Mon Apr 8 16:54:09 2002 Subject: Running out of space when backing up the OS to a DDS2 tape Message-ID: I'm developing a new OS build that will be installed on hardware that has already been deployed. I am trying to back up the operating system (system drive 0) to a 120 meter DDS-2 tape. After switching to administrative mode (init 1), I'm using the dd command to perform the backup. For example: dd if=/dev/rdsk/c1t0d0s2 of=/dev/rmt/0u bs=32k My problem is that I keep getting "short write" errors after the dd command has run for a little over 2 hours. For example: dd: unexpected short write, wrote 0 bytes, expected 32768 264555+0 records in 264555+0 records out The problem is repeatable and has occurred on multiple systems with the same OS build. The tape drive is an HP SureStore DAT 8. I've tried DDS2 tapes from two different vendors (HP and Imation) with the same result. System drive 0 consists of two 8.683 GB Seagate Cheeta ST39103LC hard drives in a RAID 1 hardware mirror. The format command says that partition 2 (the backup partition) is approximately 8.45 GB. What's frustrating is that this back up process used to work with our previous OS build. I know that we're really pushing the limits of the DDS2 tape. Generally, people say that a 120 meter DDS2 tapes hold 8GB of compressed data; however, I've seen one report that says the amount of data the tape can store varies anywhere from 7-12 GB (http://www.linuxdoc.org/HOWTO/Unix-Hardware-Buyer-HOWTO/backups.html). I'm wondering if we just got lucky with our pervious build and now we're not able to fit all the data on the tape due to variations in the amount of data on the disk or the degree to which the data compresses. I haven't tried using a different tape device yet (e.g. 0c), but I'm not very optimistic about that approach. In the worst case, I suppose I could just make the drive look smaller via the RAID configuration utility. Any other suggestions? Thanks, John Spurgeon From Andrew.J.Caines at wcom.com Mon Apr 8 17:15:22 2002 From: Andrew.J.Caines at wcom.com (Andrew J Caines) Date: Mon Apr 8 17:15:22 2002 Subject: Application of Solaris 8 patch 112438-01 without reboot Message-ID: <20020408211251.GF5607@cthulhu.tco3.web.uu.net> Now that Sun has finally seen the light and given us /dev/[u]random for Solaris 8 in the form of patch 112438-01, I note that the patch instructions take the MSish easy way out and require a reboot, as if the average admin doesn't load and unload kernel modules, make nodes, etc. on a daily basis. For the record, what is the correct process for enabling the new random device on a running Solaris 8 box? In what way is the following incorrect and/or insufficient? # patchadd 112438-01 # mknod /devices/pseudo/random at 0:random c 82 0 # mknod /devices/pseudo/random at 0:urandom c 82 1 # chgrp sys /devices/pseudo/random* # cd /dev # ln -s ../devices/pseudo/random at 0:random /dev/random # ln -s ../devices/pseudo/random at 0:urandom /dev/urandom # modload /kernel/drv/random Major 82 comes from /etc/name_to_major, owner and perms from /etc/minor_perm. Minors are presumed, as are pathnames under /devices. Are they correct? FWIW, "dd if=/dev/urandom of=file count=1" results in a file filled with some randomlike data. For the record, should the prescribed reboot be a reconfig, or will the new device be created automagically? The modload alone did not create them. I haven't had a chance to verify yet. -Andrew- -- ________________________________________________________________ | -Andrew J. Caines- 703-886-2689 Andrew.J.Caines at wcom.com | | Unix Systems Engineer, WorldCom Andrew.J.Caines+page at wcom.com | From kgraham at dotnetdotcom.org Mon Apr 8 17:35:20 2002 From: kgraham at dotnetdotcom.org (kevin graham) Date: Mon Apr 8 17:35:20 2002 Subject: SAF/TE / SES userland tools Message-ID: <20020408143108.L81695-100000@lutra.i.dotnetdotcom.org> Has anyone had success monitoring SAF/TE devices from Solaris? luxadm and friends are nice, but AFAIK won't work at all w/ non-Sun storage.. Any pointers would be appreciated before I do something foolish and start playing w/ uscsi(7I) ioctl's myself. thanks. ..kg.. From rfrancis at mindspring.com Mon Apr 8 19:46:07 2002 From: rfrancis at mindspring.com (Rick Francis) Date: Mon Apr 8 19:46:07 2002 Subject: yahoo portal and solaris In-Reply-To: <4205E54ED746D31189A600805FA659340168BF17@ncssgsiexs1.ncssg.ap.jnj.com> Message-ID: any yahoo portalbuilder admins here? on a new install, i can't get portal_admin authenticating, in fact, i can't get any challenge out of yahoo, even for iws. any ideas? rf From brijencr at hotmail.com Mon Apr 8 20:02:07 2002 From: brijencr at hotmail.com (Brijen Rai) Date: Mon Apr 8 20:02:07 2002 Subject: Solris 8 jumpstart installation. Message-ID: Hi All, Special thanx to the persons who replied my query.I had specified the sysidcfg directory with -p option at the time of client installation, but still its not being automated, though its getting the sysidcfg file. I am giving the syntax of sysidcfg file below : system_locale=en_US timezone=US/Eastern timeserver=localhost terminal=vt100 name_service=NIS {domain_name=xxxxxxx name_server=xxxxx} security_policy=none network_interface=hme1 {hostname=host ip_address=whatever protocol_ipv6=no netmask=whatever} Please let me know whats the snoop about. Is there there anyway without the installation of Solaris we can install packages and patches only. please let me know ASAP. Thankyou u all once again.waiting for the replies. All suggestions welcome. Brijen. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. From brijencr at hotmail.com Mon Apr 8 20:07:25 2002 From: brijencr at hotmail.com (Brijen Rai) Date: Mon Apr 8 20:07:25 2002 Subject: Solaris 8 jumpstart--------follow-up Message-ID: My manual installation stops at "System identification is complete" Brijen. _________________________________________________________________ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com From sxi at sympatico.ca Mon Apr 8 20:31:16 2002 From: sxi at sympatico.ca (Simon-Bernard Drolet) Date: Mon Apr 8 20:31:16 2002 Subject: SunFire V100 memory ??? Message-ID: <3CB23633.4537B12@sympatico.ca> Hi group, I just received my SunFire V100 (use to be the Netra X1 with more space in it for a cdrom). Everywhere in the doc, they say it's using "STANDARD" memory dimm. Can I just use a normal PC133 DIMM from a PC ? or do I need a special one ? When I read some more, I see stuff like "buffered/unbuffered", "registered", etc ??? Anyone knows ? Thank's. Simon. -- Simon-Bernard Drolet, Specialiste X inc., 514-247-6741. mailto:SXi at Sympatico.ca http://www3.sympatico.ca/sxi Certified Sun Technical Instructor (SA-118,SA-238,SA-288,SA-389,SA-400) Sun Certified System and Network Administrator for Solaris 8 From hchenh at rai.ucsd.edu Mon Apr 8 20:43:07 2002 From: hchenh at rai.ucsd.edu (Hannah Chenh) Date: Mon Apr 8 20:43:07 2002 Subject: CDE is crashing... Message-ID: <200204090042.g390gMi10305@rai.ucsd.edu> Hello, CDE is crashing on an Ultra2 running solaris 2.6 w/ updated patches. The following are the error messages: in ~/.dt/startlog: TTmedia_ptype_declareCB: TT_DESKTOP_ENODATA No data available Segmentation Fault /usr/dt/bin/Xsession[710]: 4691 Hangup X connection to :0.0 broken (explicit kill or server shutdown). X connection to :0.0 broken (explicit kill or server shutdown). in ~/.dt/errorlog: Mon Apr 08 13:43:00 2002 dtsession: Unable to lock display. Another application may have the pointer or keyboard grabbed. Do you have any idea what causes it? Thank you very much!! Hannah From CALBA at NCSSG.JNJ.COM Mon Apr 8 22:04:07 2002 From: CALBA at NCSSG.JNJ.COM (Alba, Christian [NCSSG NON J&J]) Date: Mon Apr 8 22:04:07 2002 Subject: SUMMARY : Serial Connection between two SUN machines. Message-ID: <4205E54ED746D31189A600805FA659340168BF1B@ncssgsiexs1.ncssg.ap.jnj.com> My original query: Dear Sunmanagers, > >I just connected my SUN 250 and Ultra 5 machines via serial interfaces. Is >there any command I can use to check if the connectivity is working. Thanks >in advance! > >Regards, >Christian Alba ---------------------------------------------------------------------------------------------- Most of the answers I got is, to use a null modem cable - which is actually a db25 male adapter with have pins 2-5, 7-8, 20 in one end connected by a flat console cable(crossed) to a normal db15 female at the other end. I used tip hardwire to get connected. Thank you for the replies from: Vince Bill Voight Celeste Stokely John Julian Kohler Benjamin Pierre Zimmermann Glass, David From ltiu at alumni.sfu.ca Mon Apr 8 22:09:45 2002 From: ltiu at alumni.sfu.ca (ltiu) Date: Mon Apr 8 22:09:45 2002 Subject: pkgmk Message-ID: <20020409020852.OUZK1332.priv-edtnes11-hme0.telusplanet.net@there> Hello, I've read the man pages for pkgmk. But I'm still confused if someone here can help me understand. I have apache 2.0 freshly compiled. How do I tell pkgmk to create a package from the compiled apache that I have? Thanks for any help. ltiu From ltiu at alumni.sfu.ca Mon Apr 8 22:33:07 2002 From: ltiu at alumni.sfu.ca (ltiu) Date: Mon Apr 8 22:33:07 2002 Subject: Summary: pkgmk In-Reply-To: <20020409020852.OUZK1332.priv-edtnes11-hme0.telusplanet.net@there> References: <20020409020852.OUZK1332.priv-edtnes11-hme0.telusplanet.net@there> Message-ID: <20020409023211.PFKM16639.priv-edtnes03-hme0.telusplanet.net@there> Detailed instruction in: http://www.sunfreeware.com Thanks to "Todd M. Wilkinson" ltiu On Monday 08 April 2002 19:08, you wrote: > Hello, > > I've read the man pages for pkgmk. But I'm still confused if someone here > can help me understand. > > I have apache 2.0 freshly compiled. How do I tell pkgmk to create a package > from the compiled apache that I have? > > Thanks for any help. > > ltiu > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers From yogesh at asiacontent.com Mon Apr 8 23:35:07 2002 From: yogesh at asiacontent.com (Yogesh Jadhav) Date: Mon Apr 8 23:35:07 2002 Subject: Sendmail error. In-Reply-To: <20020408212229.ED987208D3@sunmgrs.cs.toronto.edu> Message-ID: Hi Gurus, I have installed sendmail from sendmail.org on my sun box, I have Solaris 7 running on it and the sendmail version is sendmail.8.11.4. I am able to sendmail, but to some domain I am not able to sendmail. I get this error message in my /var/log/syslog. "Apr 8 17:52:30 abclive sendmail[21946]: g389qK021944: to=to:xxx at xxx.com, ctladdr=nobody (60001/60001), delay=00:00:10, xdelay=00:00:01, mailer=esmtp, pri=120016, relay=sr1-asia.xxx.com. [IP address], dsn=5.6.0, stat=Data format error Apr 8 17:52:30 abclive sendmail[21946]: g389qK021944: g389qUx21946: DSN: Data format error" Please anyone over there can help me. All the help is highly appreciated. Thanks in advance. Thanks and Regds............ Yogesh. From david at healthinsite.gov.au Tue Apr 9 01:39:07 2002 From: david at healthinsite.gov.au (Dave Leach) Date: Tue Apr 9 01:39:07 2002 Subject: SUNWmd 4.2 Message-ID: <002f01c1df88$d752d200$4396a8c0@healthinsite.gov.au> Hi guys, This feels like a pretty dumb question (and probably it is.. anyway!).. I'm stuck without a full Sol7 media kit (part of it has walked!?) and need to install SDS 4.2 on a machine, however I can't seem to find anywhere to obtain it. According to docs SDS 4.2.1 is only available on Sol8 though. Anyone know where I can obtain SDS 4.2 from (legitimately)? I would have thought downloading it through sun.com would have been possible but I can only seem to find SDS4.2.1. thoughts? thanks in advance, david. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020409/7752db28/attachment.html From mangesh.v at xaalliance.com Tue Apr 9 02:41:08 2002 From: mangesh.v at xaalliance.com (Mangesh) Date: Tue Apr 9 02:41:08 2002 Subject: Port Message-ID: <00c801c1df91$27323ba0$3529a8c0@Mangesh> Hello All, I have E-420R machine running Solaris 8. I have installed tomcat Web application(3.2.3) server & java j2sdk1.4.0. The configuration is over, but they are not able to connect to the default webpage. When I tried to check the ports which are in use it showed me following o/p. I had shutdown the web application server. But still it is showing the ports are binded by that port NO. /usr/sysadm>netstat -an | grep -i listen | grep 80 *.32780 *.* 0 0 24576 0 LISTEN *.8080 *.* 0 0 24576 0 LISTEN *.8007 *.* 0 0 24576 0 LISTEN *.8080 *.* 0 0 24576 0 LISTEN *.8007 *.* 0 0 24576 0 LISTEN *.8081 *.* 0 0 24576 0 LISTEN *.80 *.* 0 0 24576 0 LISTEN 127.0.0.1.8007 *.* 0 0 24576 0 LISTEN *.8080 *.* 0 0 24576 0 LISTEN *.8007 *.* 0 0 24576 0 LISTEN How can I clear the ports which are being utilised & allot them to the port ( 80 or 8080 ) for the application to run. The developers want to put the application on the default port. So any suggestions or help on how to go about it would be highly appreciated. Thanks & Regards Mangesh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020409/711434d1/attachment.html From jegdes at mysun.com Tue Apr 9 05:41:09 2002 From: jegdes at mysun.com (Jegadeesh P) Date: Tue Apr 9 05:41:09 2002 Subject: Tape drive problem Message-ID: <550f4f08.4f08550f@mysun.com> Hello Gurus, I have a E450 installed with Solaris 7 and attached to a Exabyte 8900 Mammoth drive. I am able to detect the drive using the proble-scsi-all command and using mt -f /dev/rmt/1 status, I am able to get the status. But for other commands, such as tar, or mt -f /dev/rmt/1 eom or fsf or erase, I am simply getting the error: " I/O error" ... Kindly suggest me what could be done. Thanks and Regards, Jagadeesh.P Solaris Administrator, Getronics, Ispra. From rtmckinney at attbi.com Tue Apr 9 06:02:07 2002 From: rtmckinney at attbi.com (Rick McKinney) Date: Tue Apr 9 06:02:07 2002 Subject: NIS and Local revisted Message-ID: <5.1.0.14.2.20020409055328.01d46958@mail.attbi.com> Everyone, I admit I phrased the message entirely wrong ... I my frustration I didnt sit down and take the time to say what was done / what was happening / what wasnt happening, so here goes local users and NIS users 1. access and authentication is not the primary issue here this issue at hand is this ... if a local user logs in before a NIS user then the local user gets their directory and the NIS user gets their directory .... but if a NIS user logs in before a local user then the local user gets the "logging in with /" which in turn indicates to me that somehow the auto_* and auto.* are misbehaving From jonas.blaberg at cellnetwork.com Tue Apr 9 06:07:33 2002 From: jonas.blaberg at cellnetwork.com (=?iso-8859-1?Q?Jonas_Bl=E5berg?=) Date: Tue Apr 9 06:07:33 2002 Subject: disksuite: deleting master replica Message-ID: hello! I want to reorganize the metadb replicas on a live system. Is it possible to create new metadb replicas and then delete the master replica? Is a new master replica elected? Or is it possible to specify which replica should be master at reboot? I will summarize. /jonas Jonas Bl?berg Cell Network Sverige AB Kruthusgatan 17,6 S-411 04 G?teborg jonas.blaberg at cellnetwork.com @office: +46-(0)31-707 69 85 not at office: +46-(0)709-95 00 68 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020409/d3609df4/attachment.html From Schaudhary at sapient.com Tue Apr 9 07:34:08 2002 From: Schaudhary at sapient.com (Sanjeev Chaudhary) Date: Tue Apr 9 07:34:08 2002 Subject: Finding the files which are one day old Message-ID: <295A9D64E5DC2D469405DE8037DDAB6901CC1F2C@delmmsx01.sapient.com> Hi, I am trying to identify files which are created one day old. I have the requirement that the files i am searching should be no more than one day old. I am using the following command find . -ctime 1 | grep 'bvob*' I am tring to use find with option ctime n, +n or -n , n gives em exactly one day old. But, the results are not confirming. I am not able to see the files which are one day old. Is there any other option. How about atime. Please let me know your valuable suggestions. Thanks and Regards Sanjeev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020409/fe4dbc0e/attachment.html From GALLS at cpw.co.uk Tue Apr 9 07:48:07 2002 From: GALLS at cpw.co.uk (GallS) Date: Tue Apr 9 07:48:07 2002 Subject: Installing a Phobos QFE adapter (resend) Message-ID: > : Installing a Phobos QFE adapter > > I am re-sending this as I did not include an email address > > I have a Sun E450 running Solaris 2.8. > I began by trying to follow the instructions to the letter only to find > the package location specified did not exist. > I found some tar files with the correct package names and tar'd the file > to a temp directory and ran pkgadd. > I got the following: - > The following packages are available: > 1 phbslink Phobos PhobosLink Trunking(Port Aggregation) Software > (sparc) 1.0 > 2 phbsp430 Phobos P430 Adapter Driver for 32 bit PCI QuadPort > 10/100BaseT Adapter > (sparc) 1.0 > > I select all and get the following: - > ## Installing part 1 of 1. > /etc/init.d/plconf.sh > /kernel/drv/plink > /kernel/drv/plink.conf > /sbin/plconf > /sbin/plstat > /usr/bin/plink_config > [ verifying class ] > /etc/rcS.d/S15plconf > ## Executing postinstall script. > exit status = 0 > devfsadm: driver failed to attach: plink > exit status = 11 > Warning: Driver (plink) successfully added to system but failed to attach > Driver (plink) installed. > > Installation of was successful. > > Notice the 'failed to attach message?' This occurs for both packages. > If you try and plumb the interface you get the following: - > ifconfig: plumb: pqfe0: Bad file number > There is not entry for this device in the /devices/pseudo (I got this from > truss) > 784: so_socket(2, 1, 0, "", 4) = 3 > 784: open("/dev/pqfe0", O_RDWR) Err#2 ENOENT > 784: open("/dev/pqfe", O_RDWR) Err#2 ENOENT > 784: close(-1) Err#9 EBADF > > Any help appreciated. > > galls at cpw.co.uk Disclaimer This communication together with any attachments transmitted with it ('this E-mail') is intended only for the use of the addressee and may contain information which is privileged and confidential. If the reader of this E-mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient you are notified that any use of this E-mail is prohibited. Addressees should check this E-mail for viruses. The Carphone Warehouse Group PLC makes no representations as regards the absence of viruses in this E-mail. If you have received this E-mail in error please notify our ISe Response Team immediately by telephone on + 44 (0)20 8896 5828 or via E-mail at postmaster at cpw.co.uk Please then immediately destroy this E-mail and any copies of it. Please feel free to visit our website: http://www.phonehouse.com From srineeb at tataelxsi.co.in Tue Apr 9 08:01:06 2002 From: srineeb at tataelxsi.co.in (B. Srinivas) Date: Tue Apr 9 08:01:06 2002 Subject: Netscape Enterprize server hangs suddenly Message-ID: <3CB2D93F.A908346A@tataelxsi.co.in> Hi all, I am facing a strange problem since one month with my netscape enterprize server on my solaris 2.7. The description of the problem is as follows: I have a SUN E420 machine with enough resources. presently we are running netscape enterprize server and sendmail server. From min at psde.mec.mei.co.jp Tue Apr 9 08:14:07 2002 From: min at psde.mec.mei.co.jp (Min Oo Tint) Date: Tue Apr 9 08:14:07 2002 Subject: Measuring performance/ load on server Message-ID: <3C667B62E467F44DB51E01DC328A3431136201@psde-server.psde.mec.mei.co.jp> Thank you very much for those who replies: Delhommeau Frederic Pravin Nair Tim Chipman Troy Abernathy Mark Zawadzki Homan, Charles Grigory Nikonov John Ellwood Mike Salehi Suggestions are 1) www.orcaware.com with SE toolkit 2) iostat -x for disk and netstat -i and sar 3) www.spec.org - for performance specs on selected machines 4) http://www.mrtg.org/ - mrtq Regards, Min Oo Tint Panasonic System LSI Design Europe (PSDE) A Division of Matsushita Electric Europe (HQ) Ltd. <> -------------- next part -------------- A non-text attachment was scrubbed... Name: Min Oo Tint (Business Fax).vcf Type: application/octet-stream Size: 587 bytes Desc: not available Url : http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020409/1644cf13/attachment.obj From przemolicc at poczta.fm Tue Apr 9 08:19:41 2002 From: przemolicc at poczta.fm (przemolicc at poczta.fm) Date: Tue Apr 9 08:19:41 2002 Subject: Moving users from Solaris 7 to SOlaris 8 Message-ID: <20020409121522.GA1097@przemek.pgf.com.pl> We are moving users from one server (solaris 7) to another (solaris 8). Is it possible to move (some) content of /etc/shadow (I mean passwords) using just copy/paste ? I'd like to avoid creating again those users using useradd. przemol From min at psde.mec.mei.co.jp Tue Apr 9 08:26:24 2002 From: min at psde.mec.mei.co.jp (Min Oo Tint) Date: Tue Apr 9 08:26:24 2002 Subject: SUMMARY: Measuring performance/load on server Message-ID: <3C667B62E467F44DB51E01DC328A3431136204@psde-server.psde.mec.mei.co.jp> > Thank you very much for those who replies: > > Delhommeau Frederic > Pravin Nair > Tim Chipman > Troy Abernathy > Mark Zawadzki > Homan, Charles > Grigory Nikonov > John Ellwood > Mike Salehi > > Suggestions are > > 1) www.orcaware.com with SE toolkit > > 2) iostat -x for disk and netstat -i and sar > > 3) www.spec.org - for performance specs on selected machines > > 4) http://www.mrtg.org/ - mrtq > below is my question: -------------------------------------- Our group has grown in terms of people (1 to 6) and so as number of SUNs. Initially we had one U80 and added couple of sun blade 100s and SB 1000. We are looking to expand further by adding a network file server. To justify the requirement for a large server which could cost us $50k+ we need to justify the need for it. We concluded that disk/network load would be our bottleneck, as we will have several engineers checking in/out design databases and running simulations etc. For our current server I would like to measure load on the disk and network usage. Using these statistics I can justify the reason for a need for a larger better server. Can someone tell me how to go about doing this? Are there any software/commands, which I use to help get the statistics I need? I am new to UNIX administration and have no relevant background in this area. From zzassgl at twirl.mcc.ac.uk Tue Apr 9 08:35:11 2002 From: zzassgl at twirl.mcc.ac.uk (Geoff Lane) Date: Tue Apr 9 08:35:11 2002 Subject: SUMMARY: live upgrade and recommended patch bundles In-Reply-To: <200204081307.g38D7P807929@twirl.mcc.ac.uk> from "Geoff Lane" at Apr 08, 2002 02:07:25 PM Message-ID: <200204091227.g39CRf313947@twirl.mcc.ac.uk> Thanks for all the replies. They can be summerized by the following example from Tim Evans... Unpack your Recommended bundle, then cd into the directory it creates. # luupgrade -t -s . -n Your_ABE_name `cat patch_order` This has the advantage that the patches are applied in the recommended order. A number of replies indicated that they too have found Live Upgrade to be very useful. It's certainly something we have asked Sun for over the years. When we used CDC7600's we used to prepare new OS versions online and just reboot to make them active and were a bit surprised when we discovered that such a useful facility wasn't available for Solaris. Sorry the summary took so long -- we had to deal with a script kiddie making trouble. > > > I'm experimenting with Live Upgrade (which, so far, seems excellent) and > have reached the point where I'd like to apply a Recommended patch bundle to > an alternative boot environment. > > Can I expect luupgrade to understand and auotmatically apply the contents of > a Recommended patch bundle or do I have to apply the patches by hand (and in > the correct order)? > > Thanks, summary will follow. > > -- > /\ Geoff. Lane. /\ Manchester Computing /\ Manchester /\ M13 9PL /\ England /\ > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers > > -- /\ Geoff. Lane. /\ Manchester Computing /\ Manchester /\ M13 9PL /\ England /\ Remington, shaves as close as a blade or we send the boys round. From sajeev20 at rediffmail.com Tue Apr 9 09:14:07 2002 From: sajeev20 at rediffmail.com (sajeev nv) Date: Tue Apr 9 09:14:07 2002 Subject: process-ID reusing /iplanet/solaris 8 Message-ID: <20020409130801.31572.qmail@mailweb20.rediffmail.com> An embedded and charset-unspecified text was scrubbed... Name: not available Url: http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020409/ac3e43b4/attachment.ksh From carlos_sevillano at ureach.com Tue Apr 9 09:49:07 2002 From: carlos_sevillano at ureach.com (Carlos Sevillano) Date: Tue Apr 9 09:49:07 2002 Subject: SUMMARY: ntop pkg format for Solaris 2.6 Message-ID: <200204091348.JAA12026@www23.ureach.com> Thanks to all who replied: Joe Matusiewicz Min Oo Tint "Boldin, Bob" Jay Lessert "Kent Hundley" Michael Kalus The general consensus was to download it from www.sunfreeware.com. However, there is no Solaris 2.6 ntop package there. They have Solaris 7/8. The 7/8 versions fail on Solaris 2.6 with errors related to libcurses.so.1; even with the correct LD_LIBRARY_PATH you get a wrong version error(s). I also searched other sites on the net: http://www.ibiblio.org/pub/solaris/sparc/ no luck. I tried from source (on 2.6) but it failed. From http://www.ntop.org. On 2.6 when it compiled.. it cored a few times. Got to try it again... it compiles clean on Solaris 8! Other people wrote asking if I could forward the package once found. Someone did send-me a working Solaris 2.6 pkg format copy of ntop. I would hate for the person who provided a 2.6 version to become the source of unsolicited emails. For those people that asked, I forwarded the package. The version install under /opt and it works (in this version you must user ./ntop -w 3000; unlike in Solairs 7/8 versions). Carlos ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag From choogend at library.umass.edu Tue Apr 9 10:14:07 2002 From: choogend at library.umass.edu (Chris Hoogendyk) Date: Tue Apr 9 10:14:07 2002 Subject: block size when setting up new drive using disksuite Message-ID: <3CB3050A.A49A763B@library.umass.edu> Time to shoot this question to the list. One of the projects running on one of my servers does web searching and accumulates indexes and small text files in large numbers (using InQuery). They ran out of space on an 18G drive and bought their own 36G drive to replace it (on an E250). I did the dirt simple insert the drive hot and pull up disksuite to configure it graphically. When I copied the 18G to the 36G, it used almost the same percent of the 36G as it had of the 18G. My conclusion is that the default format on the 36G used larger blocksizes; and, since the files were all small compared to the blocksizes, there was a lot of wasted space when creating/allocating files. Now we have a new server coming in, and that project will be on it. I want to be prepared to configure the drive with a smaller blocksize appropriate to the type of files it will be storing in order to get the maximum use out of the drive. Can anyone tell me how to plan/calculate for this and then how to do it? Can I do it in disksuite? Or do I have to get down to formatting and configuring the drive from the command line (I actually do most of my work from the command line -- I just got spoiled by the hotswappable/disksuite setup and never learned otherwise). Are there limits on numbers of blocks/files or performance vs. blocksize that would influence the plan? Thank you, --------------- Chris Hoogendyk -- O__ ---- Network Specialist & Unix Systems Administrator c/ /'_ --- Library Information Systems & Technology Services (*) \(*) -- W.E.B. Du Bois Library ~~~~~~~~~~ - University of Massachusetts, Amherst --------------- From mike.kirkland at ndchealth.com Tue Apr 9 10:46:07 2002 From: mike.kirkland at ndchealth.com (Kirkland, Mike # IHTUL) Date: Tue Apr 9 10:46:07 2002 Subject: Solaris 2.6 visual editor error Message-ID: <4242F92CA015D5119B9600600834014241A1D5@claven.cistech.com> I have a remote developer that is having problems using vi. The situation is we have an application that reads a config file for service provider numbers ( 8-9 characters long). It is designed so that the provider number are entered on one line with a space that separates each provider. Each group of providers are separated with a CR/LF. One provider group has about 600 provider numbers. When the developer goes to vi the file the add more providers to the single line, after about 150 provider numbers, vi caused a core dump. Other developers can use vi on the same file/files and add many provider numbers and may the single line as long as they want for the most part. Is that a variable or option that might be causing vi not to be able to hold more than X-lenght on one line? If so how can it be reset? Thanks, Mike Kirkland Unix System Administrator National Data Corporation Phone: (918) 481-2817 Fax: (918) 481-4275 mike.kirkland at ndchealth.com NDC?| HEALTH 6100 South Yale Avenue Suite 1900 Tulsa, OK 74136 "This E-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply E-mail, and destroy all copies of the original message." From jliu2 at hanwave.net Tue Apr 9 11:35:07 2002 From: jliu2 at hanwave.net (Jeffrey Liu) Date: Tue Apr 9 11:35:07 2002 Subject: SRM - how many of you use it? Message-ID: My company is considering using SRM - Solaris Resource Manager. I've heard that SRM is complicated, can trash your system, may impact Oracle performance by 10% to 30%, but it can also offer administrator control of workload CPU shares. Question: How many of you actually have this running in production environments? What issues (performance or otherwise) have you run into? Thanks in advance, Jeff From Wimmer.Jeffrey at LittonISD.com Tue Apr 9 11:45:13 2002 From: Wimmer.Jeffrey at LittonISD.com (Wimmer, Jeffrey) Date: Tue Apr 9 11:45:13 2002 Subject: SUMMARY Language package missing...but gcc installed Message-ID: I can now compile xmotd without any problems, and I'd like to thank the following folks for their help and input Peter Kunst Mark Neill Darren Dunham John T. Douglass Rainer Heilke Tim Chipman David Foster Paul Frederiksen John Julian Michael Schulte J Stults Tim Evans Thomas Jones Mahesh Gurugunti Dale Poulter Mark Gosselin and Charles Homan I think it was a combination of path in the .cshrc, the modification of the site.def file to ensure the system understands that gcc does in fact exist. and just for good measure I downloaded and installed binutils. It compiled easily without errors so things are good now. Thanks everyone. Thanks to John Douglas for explaining the meaning of the compiler flags -Xc, -xF, and -xcg92. Darren Dunham provided the following website that fixes the imake file from the beginning to let Solaris know gcc is the compiler, not cc. http://www.bolthole.com/solaris/imake.html . This modifies /usr/openwin/lib/X11/config/site.def as shown below: ************************************************************************ ********************************** /* if you want host-specific customization, this is one way to do it */ /* #ifndef SiteIConfigFiles #define SiteIConfigFiles $(IRULESRC)/host.def #define LocalConfigFiles host.def #endif */ #ifdef BeforeVendorCF ifndef HasGcc2 ************ This is where you uncomment to let the host know gcc is the default define HasGcc2 YES ************ compiler....notice C++ still commented below...don't change that. endif /* #ifndef HasCplusplus #define HasCplusplus YES #endif */ ************************************************************************ ************************************* Original post: > > Hi folks, > > > > When compiling Xmotd to fix my security banner issue, I get the > following error: > > > > hdw200# make > > cc -g -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Dsparc -DSVR4 > > -DSYSV -c main.c > > /usr/ucb/cc: language optional software package not installed > > *** Error code 1 > > make: Fatal error: Command failed for target `main.o' > > > > I have gcc ver 2.95, gdb, etc installed in /usr/local. I believe the -Xc > > flag is causing the problem, but have no idea how to fix it since I'm just > > now getting into compiling programs rather than finding binaries. This > > may be an environment path problem, or any number of problems....gnu sucks > > when it comes to telling you how to set up your .cshrc or .profile or > > .login environment variables. > > > > Any help would be greatly appreciated and welcomed. Jeffrey G. Wimmer. Network Engineer/System Admin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020409/5fc47266/attachment.html From lgg_rock at hotmail.com Tue Apr 9 11:56:11 2002 From: lgg_rock at hotmail.com (=?iso-8859-1?B?TGl6YW5kcm8gR3V6beFu?=) Date: Tue Apr 9 11:56:11 2002 Subject: How configure /etc/defaultrouter Message-ID: hi may somebody giveme an example about how configure /etc/defaultrouter? thanks _________________________________________________________________ Hable con sus amigos en lnea, pruebe MSN Messenger: http://messenger.msn.es From hedgepethp at yahoo.com Tue Apr 9 12:07:15 2002 From: hedgepethp at yahoo.com (Paul Hedgepeth) Date: Tue Apr 9 12:07:15 2002 Subject: Routing question Message-ID: <20020409160639.28788.qmail@web11501.mail.yahoo.com> all, i'm having a problem with trying to add a static network route. after adding the network route, the routing table shows the incorrect destination network address. this is for a VPN setup, and the servers are running solaris 2.5.1. ORIGINAL: netstat -nr Routing Table: Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- 127.0.0.1 127.0.0.1 UH 0 3 lo0 xxx.229.36.0 xxx.229.36.20 U 3 16044 hme0 224.0.0.0 xxx.229.36.20 U 3 0 hme0 default xxx.229.39.250 UG 0 125 AFTER: route add net yyy.164.163 xxx.229.38.7 1 netstat -nr Routing Table: Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- 127.0.0.1 127.0.0.1 UH 0 3 lo0 yyy.164.0.0 xxx.229.38.7 UG 0 0 xxx.229.36.0 xxx.229.36.20 U 3 16044 hme0 224.0.0.0 xxx.229.36.20 U 3 0 hme0 default xxx.229.39.250 UG 0 125 any help/hints would be appreciated. if you have any questions, feel free to contact me. later, paul __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ From lgg_rock at hotmail.com Tue Apr 9 12:17:17 2002 From: lgg_rock at hotmail.com (=?iso-8859-1?B?TGl6YW5kcm8gR3V6beFu?=) Date: Tue Apr 9 12:17:17 2002 Subject: Starting services on /etc/init.d Message-ID: Solaris 8 Intel Platform What are the most important services on solaris (inetd, sendmail, network) and what are it entries in /etc/init.d? How i can start/stop it? may Somebody give any documentation about services and daemons?? sorry for my english (i m novice in english) Thanks! _________________________________________________________________ Hable con sus amigos en lnea, pruebe MSN Messenger: http://messenger.msn.es From john.p.spurgeon at intel.com Tue Apr 9 12:25:13 2002 From: john.p.spurgeon at intel.com (Spurgeon, John P) Date: Tue Apr 9 12:25:13 2002 Subject: Summary: Running out of space when backing up the OS to a DDS2 ta pe Message-ID: Thanks for all the feedback. Everyone seemed to be in agreement that I was running out of space on the DDS2 tape. As to why the backup worked on a previous build with the same physical disks in a RAID 1 mirror, no one could explain precisely what was happening. We all waved our hands and blamed in on the data not compressing as well, which is probably the case. (The computer scientist in me still wishes I could put may hands on the actual compression algorithm.) A few people suggested that you could get better compression from another program like gzip. Yura Pismerov [ypismerov at tucows.com] wrote: >> As an option you can try using non-compressing device (0l) and pipe >> the data through gzip before writing to the tape. >> >> dd if=/dev/rdsk/c1t0d0s2 | gzip -c | dd of=/dev/rmt/0l bs=32k >> >> to restore >> >> dd if=/dev/rmt/ol bs=32k | gzip -cd | dd of=/dev/rdsk/... >> >> >> The only issue is you need to keep gzip utility handy every time you >> restore. More than one person wondered why we use dd instead of ufsdump and ufsrestore. In my original message, I failed to mention that the reason for doing the backup in the first place is so that we can easily replicate the build to several identical servers. I more or less inherited the dd procedure. Since I haven't actually used ufsdump, I'm hesitant to be too critical; however, the dd command does seem to be simpler than the slightly more involved process of setting up the filesystem prior to restoring with ufsrestore. Furthermore, some of the people responsible for restoring the build from tape can barely type the dd command correctly, so simple is good. That said, ufsdump does have the obvious advantage of not backing up useless data like swap, not to mention the portability advantages if you are not restoring to identical hardware. A few people suggested making swap the last slice. Then you could still use dd to backup each filesystem individually, being careful not to rewind the tape between backups. And then during the restore you would put the filesystems back on disk in the same order that they were backed up. In the end, I decided to pursue what I felt was (in our case at least) the simplest solution of all. Looking at our filesystem layout, I concluded that we've got room to spare. I don't even have to modify the RAID layout. Instead, during the Solaris installation, I opt to "Customize the fdisk Partitions". I somewhat arbitrarily selected 1024 cylinders (it's a pretty number) which works out to about 8024 MB for slice 2. I stole the space from /export/home and from swap. Since we're building backend database and terminal servers, there isn't going to be anything to speak of in /export/home. And 1615 MB still seems like more than enough swap space on servers that have 2 GB of main memory. In the end, this is what our filesystem layout looks like: 0 / 133 1 swap 1615 2 overlap 8024 3 4 /opt 1004 5 /var 4000 6 /usr 1004 7 /export/home 258 Before when I used dd to back up to a DDS2 tape, the output was: 264555+0 records in/out Backing up to a DLT tape produced: 276870+1 records in/out Now, backing up to a DDS2 tape produces: 256788+1 records in/out Of course, now someone is going to ask, "Why all the fuss if you have DLT drives?" The answer is that on our terminal servers, we only have DAT 8 drives. Problem solved! Cheers, John Spurgeon From lgg_rock at hotmail.com Tue Apr 9 12:31:58 2002 From: lgg_rock at hotmail.com (=?iso-8859-1?B?TGl6YW5kcm8gR3V6beFu?=) Date: Tue Apr 9 12:31:58 2002 Subject: Configure Network services Message-ID: hi , experts may somebody explain me how work the /etc/init.d/*.* files?? I need start/stop services (network, inetd, sendmail) how i can stop all services refered to remote connections...?? I need security to my server ....suggestions?? I want to stop rpc, ftp, telnet....how i can do that??? thanks... _________________________________________________________________ MSN Photos es la manera ms sencilla de compartir e imprimir sus fotos: http://photos.latam.msn.com/Support/WorldWide.aspx From ahoesch at smartsoft.de Tue Apr 9 12:39:28 2002 From: ahoesch at smartsoft.de (Andreas Hoeschler) Date: Tue Apr 9 12:39:28 2002 Subject: 14" screen connected to a Sun Blade 100 Message-ID: <4CBDDC28-4BD7-11D6-AAEC-003065CCA582@smartsoft.de> Hi all, sorry if this is a stupid question. We are considering to use a Sun Blade 100 as a workgroup server and are wondering whether it is possible to connect a 14" (max 640*480) to the Sun Blade without melting the screen. We installed the machine with a 21" connected and it automatically chose a high resolution. Can we simply restart the installation with the 14" and will it use a smaller resolution that can be displayed on the 14" screen? Thanks, Andreas From bunyamink at havelsan.com.tr Tue Apr 9 13:26:07 2002 From: bunyamink at havelsan.com.tr (Bunyamin K. Karadeniz) Date: Tue Apr 9 13:26:07 2002 Subject: application server comparison References: <4CBDDC28-4BD7-11D6-AAEC-003065CCA582@smartsoft.de> Message-ID: <004601c1dfea$64142e30$dc01060a@havelsan.com.tr> Dear Gurus How Can I find a document explaining the advantages , disadvantages of IPLANET versus IBM WEB SPHERE application servers . ? Performance considerations please .. Thank you Bunyamin K. Karadeniz Oracle DBA / Developer Civilian IT Department Havelsan A.S. Eskisehir yolu 7.km Ankara Turkey Phone: +90 312 2873565 / 1217 Mobile : +90 535 3357729 The degree of normality in a database is inversely proportional to that of its DBA. ----- Original Message ----- From: Andreas Hoeschler To: Sent: Tuesday, April 09, 2002 7:31 PM Subject: 14" screen connected to a Sun Blade 100 From jlkennedy at amcc.com Tue Apr 9 13:38:07 2002 From: jlkennedy at amcc.com (Jeff Kennedy) Date: Tue Apr 9 13:38:07 2002 Subject: oracle exports and automount Message-ID: <3CB326C0.3DD9F3FB@amcc.com> Does anyone know how this setup would be viewed by Oracle? Binaries are nfs hard mounted via vfstab (/oracle) db files are mounted from a SAN (/u01, etc.) /dbexports would be automounted from NAS The last part is where I'm concerned. When Oracle does an export, whether full archive or logical logs, does it try and stat the filesystem *before* it attempts a write? If it does then automount may cause problems since the filesystem doesn't really exist until a request is made to it. Thanks. -- ===================== Jeff Kennedy Unix Administrator AMCC jlkennedy at amcc.com From ahoesch at smartsoft.de Tue Apr 9 14:15:07 2002 From: ahoesch at smartsoft.de (Andreas Hoeschler) Date: Tue Apr 9 14:15:07 2002 Subject: Summary: 14" screen connected to a Sun Blade 100 In-Reply-To: Message-ID: <9C3EEA00-4BE5-11D6-AAEC-003065CCA582@smartsoft.de> Thanks to Justin Stringfellow Larye Parkins The solution is to install with a bigger monitor attached, then invoke # m64config -res 640x480x60 or the like on the command line and then attach the 14" screen. Works like a charm Thanks a lot, Andreas From hedgepethp at yahoo.com Tue Apr 9 14:20:41 2002 From: hedgepethp at yahoo.com (Paul Hedgepeth) Date: Tue Apr 9 14:20:41 2002 Subject: SUMMARY: Routing question In-Reply-To: <3CB31471.1080707@efonds24.de> Message-ID: <20020409181731.80029.qmail@web11507.mail.yahoo.com> Thanks for the quick responses: Dirk Boeing, Steven Haywood, Robert Reynolds, Darren Dunham, Fabrice Gaerini, Charles Homan, Giles Gamon, Karyn Williams There were two main suggestions: 1) add ".0" to network (route add net yyy.164.163.0 xxx.164.229.38.7 1) and 2) ensure /etc/netmasks is setup properly Verifying/using both of the above, the problem still remains. However, in doing the above, we were able to identify a VPN config problem. In correcting the VPN config problem, the VPN will now "handle" the above routing issue. This is a work-a-round which will allow me to figure out the issue with the static routes in my "spare" time. Off to the next crisis. Yall are great. Thanks, Paul > > Paul Hedgepeth wrote: > > > all, > > > > i'm having a problem with trying to add a static network > route. > > after adding the network route, the routing table shows the > > incorrect destination network address. this is for a VPN > setup, > > and the servers are running solaris 2.5.1. > > > > ORIGINAL: > > netstat -nr > > Routing Table: > > Destination Gateway Flags Ref Use > > Interface > > -------------------- -------------------- ----- ----- ------ > > --------- > > 127.0.0.1 127.0.0.1 UH 0 3 > > > lo0 > > xxx.229.36.0 xxx.229.36.20 U 3 16044 > > > hme0 > > 224.0.0.0 xxx.229.36.20 U 3 0 > > > hme0 > > default xxx.229.39.250 UG 0 125 > > > > > > AFTER: > > route add net yyy.164.163 xxx.229.38.7 1 > > > > netstat -nr > > Routing Table: > > Destination Gateway Flags Ref Use > > Interface > > -------------------- -------------------- ----- ----- ------ > > --------- > > 127.0.0.1 127.0.0.1 UH 0 3 > > > lo0 > > yyy.164.0.0 xxx.229.38.7 UG 0 0 > > xxx.229.36.0 xxx.229.36.20 U 3 16044 > > > hme0 > > 224.0.0.0 xxx.229.36.20 U 3 0 > > > hme0 > > default xxx.229.39.250 UG 0 125 > > > > > > any help/hints would be appreciated. > > > > if you have any questions, feel free to contact me. > > > > later, > > paul > > __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ From andrew at NETdelivery.com Tue Apr 9 14:42:08 2002 From: andrew at NETdelivery.com (Andrew Diederich) Date: Tue Apr 9 14:42:08 2002 Subject: SUMMARY (partial): How to map raw disk to Oracle data file Message-ID: <0B3E4A385C25D511B65600B0D0B0EA1376A000@mtevans.netdelivery> The problem I'm still having is, now that I got oracle and Solaris installed in a cluster, using raw disk on a T3 array, Oracle now says it needs a logical volume. This is weird, since the docs so far all ranted about raw disk. I think I just need to move my /oraclemount/datafile_xxx file under /dev or /devices somehow. AIX has a command "mkvl" to make a volume, so that it creates the necessary inode bits. Is there a solaris command like this, or do I need to drop back to disksuite? Or, can I somehow use the entries in /dev/did/rdsk? I think these are character devices -- is this what oracle is talking about? I'd rather not have to configure volume management software, and veritas is out of the question for this right now. The best answer I got from my original post was from Christian Nacca: *** just link - ln -s dev/rdsk/c1t1d0s0 /oraclemount/datafile_xxx since you got only 7 partitions per disk, and you would't want datafiles bigger than 2g, plus ... you will problably want to use veritas (or disksuite) to create logical volumes. --> ln -s dev/vx/rdsk/oracledg/oravol01 /oraclemount/datafile_xxx *** with a hint from Nick Hindley: *** Not in my experience. all you have to do is make sure that the permissions on the raw device are set correctly for exclusive access by the Oracle processes and then use the create datafile statement *** -----Original Message----- Sent: Friday, March 29, 2002 08:48 Subject: How to map raw disk to Oracle data file I'm setting up a solaris and oracle cluster, but I've been hit by a knowledge hole. In the oracle documentation, it says to may the raw disk (like /dev/rdsk/c1t1d0s0) to a file, like myname_system.dbf. It implied there was something called an ascii aliases file, that I assume did some of this mapping? Basically, I think I understand conceptually what they're describing (like the similarities between /dev/rdsk/c1t1d0s0 and /dev/dsk/c1t1d0s0 and /oraclemount), but I don't know _how_ to do it. Has anyone done this before, or can point me to the correct howto? From splat at fury.to Tue Apr 9 15:02:07 2002 From: splat at fury.to (Randy Romero) Date: Tue Apr 9 15:02:07 2002 Subject: SUMMARY: Jumpstart problem----long Message-ID: Thanks to everyone who replied. However, Scott Howard hit the nail on the head. Basically you can't setup a jumpstart server via nfs. I had to setup a jumpstart server to a machine that had a cdrom drive on it. Then I used tar(GNU not solaris) and moved the jumpstart directory over to the Netra that I wanted to be the jumpstart server. I don't have any definitive answers why an nfs install wouldn't work for setting up a jumpstart server, but if I come across it, I'll pass it onto the group. Thanks again to all who responded. The list was too long to include here. Randy Romero -----Original Post Below----------------------------- Gurus, I'm having several problems with a new jumpstart server I have built/am building. The new jumpstart server is a NetraT1 without a cdrom. I nfs mounted another server that had disks1 and disks2 copied to the hard disk. I then ran the setup_install_server script over the nfs mount and everything seemed to go smoothly. However, the machine I am jumpstarting will not see the sysidcfg file and I have used the -p option for add_install_client. The sysidcfg file is from the old jumpstart server so I know the configuration is ok. The jumpstart server is also the boot server and the test machine is on the same subnet. The old jumpstart server has been turned off just as a precaution. Here's the syntax I'm using and output from the share/dfshares command. ./add_install_client -p genesis:/jumpstart/sysidcfg -c genesis:/jumpstart -s genesis:/jumpstart/OS/Sol8_2-02/Solaris_8 jumpman SUNW,UltraAX-i2 root at genesis:/jumpstart# share - /jumpstart ro,anon=0 "" root at genesis:/jumpstart# dfshares RESOURCE SERVER ACCESS TRANSPORT genesis:/jumpstart genesis - - The jumpstart seems to begin normally but because it doesn't see the sysidcfg file for whatever reason I get the standard install prompt of language, etc, etc. I decided, what the heck, and went to manually test the jumpstart. I get the normal prompts up until it is supposed to begin the install. It then dumps me to the prompt. System identification is completed. cat: cannot open /cdrom/.cdtoc cat: cannot open /cdrom/.cdtoc expr: syntax error expr: syntax error cat: cannot open /cdrom/.cdtoc expr: syntax error Starting Solaris installation program... Searching for JumpStart directory... Using rules.ok from x.x.x.x:/jumpstart. Checking rules.ok file... Using profile: AllServers Using finish script: config.sh Executing JumpStart preinstall phase... Searching for SolStart directory... Checking rules.ok file... Using begin script: install_begin Using finish script: patch_finish Executing SolStart preinstall phase... Executing begin script "install_begin"... Begin script install_begin execution completed. ERROR: Could not load the media (/cdrom) # Any ideas on why this could be happening? Why is it checking the rules.ok file twice? I really could use help on this as I'm on a bit of a crunch to get this new server operational because the old server can't handle the load being thrown at it anymore. Will summerize. Thanks in advance. Randy Romero From Cian at logic.bm Tue Apr 9 15:21:07 2002 From: Cian at logic.bm (Cian O'Sullivan) Date: Tue Apr 9 15:21:07 2002 Subject: Tarball over 9 gig. Message-ID: Gurus. I have a .dmp file that is 18 gig, I need to transfer to HP-UX, and want to tar it onto tape to extract it. Is there any trick I can use so that I dont get nailed on a tar file size limit? I thought there was a 9 gig tar ball limit. Thanks in advance Cian From Cian at logic.bm Tue Apr 9 15:35:06 2002 From: Cian at logic.bm (Cian O'Sullivan) Date: Tue Apr 9 15:35:06 2002 Subject: Summary: Tarball over 9 gig. Message-ID: Ok Great quick responses. Andy Bach recommended dd because it was only one file Mike Salehi recommended gnutar on both sides. (so obvious, I feel silly) Bob Metcalf recommended `split` then `cat` to reassemble. Well done thanks for the quick responses. Cian ORIG POST ========== Gurus. I have a .dmp file that is 18 gig, I need to transfer to HP-UX, and want to tar it onto tape to extract it. Is there any trick I can use so that I dont get nailed on a tar file size limit? I thought there was a 9 gig tar ball limit. Thanks in advance Cian From rtmckinney at attbi.com Tue Apr 9 17:41:11 2002 From: rtmckinney at attbi.com (Rick McKinney) Date: Tue Apr 9 17:41:11 2002 Subject: Summary: NIS and Local Message-ID: <5.1.0.14.2.20020409172550.00b8ab68@mail.attbi.com> Thanx go out to everyone that gave helpful comments and to those who flamed me for not being more specific in my question and who claimed I was lazy because I didnt take to time to search the archives ... here is a list of people .. they are not in any particular order .. so dont read into the order as being who was helpful and who was not ... Brian D. Beers, Jay Lessert, Fabrice Guerini, Todd Urie, Tom Crummey devnull at merctech.com, Glass, David ,Rob McCauley ,Andrew_Rotramel Martin Schmitt ,Ted John, Brian Dunbar ,Deborah Santomauro Michael Horton ,Scott D Thornberry ,Steve Mickeler ,Mark McManus many of your suggested that the automounter was causing the problem here is how the system was setup local users --> /home/l/ NIS users --> /home/a/ notice the "l" and "a" upon futher investigation I found that a several users was added by a new admin at the remote site ... he apparently didnt pay close attention to the add-user document and created the account without the "a" and "l" in the home directory path for the users ... and of course when those NIS users logged in /home got stompped I will in the future pay more attention when I look at the df -k and the mount outputs for the actual mounted path of the user that is logged on I guess I will need to put all the NIS maps and auto* stuff in the RCS and have a scipt that mails the admins when there is a change ... -- rick From Robert.L.Harris at rdlg.net Tue Apr 9 17:48:58 2002 From: Robert.L.Harris at rdlg.net (Robert L. Harris) Date: Tue Apr 9 17:48:58 2002 Subject: Network Issue Message-ID: <20020409154533.J13834@rdlg.net> I have a hot one that's driving a co-worker nuts. I've done this before but the answer is just out of range. System A: hme0: inet=10.10.117.230 gw=10.10.117.1 qfe: qfe2= 10.10.87.254 We're trying to use the gateway 10.10.87.249, a router attached to qfe2 to connect to a box 10.10.86.43. 86.43 is connected to the router off qfe2. We've tried a host route, /etc/gateways and a netroute to 86 through qfe2 but traceroutes are still showing through the hme0, not qfe2. Due to the traffic we're sending as well as the ammount we don't want to use the hme0 interface. Suggestions? :wq! --------------------------------------------------------------------------- Robert L. Harris | Micros~1 : Senior System Engineer | For when quality, reliability at RnD Consulting | and security just aren't \_ that important! DISCLAIMER: These are MY OPINIONS ALONE. I speak for no-one else. FYI: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' From jKoonz at USCO.com Tue Apr 9 17:58:09 2002 From: jKoonz at USCO.com (Koonz, Jay) Date: Tue Apr 9 17:58:09 2002 Subject: Mirroring using RaidManager versus Veritas Volume Manager Message-ID: <636C50C7E165D511A532001083FCBFB4015E8D76@ntnau230.usco.com> I have an A1000 array that we're going to setup as one big LUN using mirroring. Would I be better off (1) or (2) or something else. (1) Setting up on Raid Manager as a bunch of single un-mirrored disks, so Solaris sees a bunch of small 34gb disks. Then use Veritas volume manager to combine them all into one large group (2) Setting up on Raid manager as one big mirrored LUN, so Solaris sees one large 204gb disk. Anyone have any experience on which is better. I want to end up with multiple filesystems in this large LUN, all of them striped across all the disks. We're going to be adding an additional pair of internal disks to the mix so the disk group will actually contain 14 disks (34gb each) for a total of 228gb mirrored. From przemolicc at poczta.fm Tue Apr 9 18:26:08 2002 From: przemolicc at poczta.fm (przemolicc at poczta.fm) Date: Tue Apr 9 18:26:08 2002 Subject: SUMMARY: Moving users from Solaris 7 to SOlaris 8 In-Reply-To: <20020409121522.GA1097@przemek.pgf.com.pl> References: <20020409121522.GA1097@przemek.pgf.com.pl> Message-ID: <20020409222520.GA1054@przemek.pgf.com.pl> On Tue, Apr 09, 2002 at 02:15:23PM +0200, przemolicc at poczta.fm wrote: > We are moving users from one server (solaris 7) to another (solaris 8). > Is it possible to move (some) content of /etc/shadow (I mean passwords) > using just copy/paste ? I'd like to avoid creating again those > users using useradd. Thank you to over 30 people who told me that it will work. Some of you suggested to use 'pwconv' after all. Thanks again przemol From sxi at sympatico.ca Tue Apr 9 18:30:39 2002 From: sxi at sympatico.ca (Simon-Bernard Drolet) Date: Tue Apr 9 18:30:39 2002 Subject: SUMMARY: SunFire V100 memory ??? Message-ID: <3CB36A73.2D5E346D@sympatico.ca> Answer is SDRAM PC133 CL3 ECC registered. Thank's to these guys: Tim Chipman for http://www.crucial.com/store/listparts.asp?Mfr%2BProductline=Sun%2BSun+Fire&model=Sun+Fire+V100&submit=Go "Henrik Huhtinen" for: PC-133 ECC Registered will do. For instance the following kingston modules will fit (see their web for more). KTS7091/256 256MB Module $172.00 KTS7091/512 512MB Module $336.00 "Mike's List" for www.crucial.com -> Servers --> Sun --> Netra X1 and look at the specs there. "Timothy Lorenc" for I have some SunFire's order through CDW that I ordered with: http://www.cdw.com/shop/products/default.asp?ProductID=278031 Memory Upgrades Memory Sub-System: System Memory Module Type: DIMM Memory Type: SDRAM (Sychronous DRAM) Fault Tolerance Level: Registered Speed (MHz): 133MHz Number of Contacts: 168 -- Simon-Bernard Drolet, Specialiste X inc., 514-247-6741. mailto:SXi at Sympatico.ca http://www3.sympatico.ca/sxi Certified Sun Technical Instructor (SA-118,SA-238,SA-288,SA-389,SA-400) Sun Certified System and Network Administrator for Solaris 8 From lori.anderson at alcatel.com Tue Apr 9 18:40:25 2002 From: lori.anderson at alcatel.com (Lori Anderson) Date: Tue Apr 9 18:40:25 2002 Subject: Inode/Superblock corruption Message-ID: <3CB36E4B.D56B0A3E@alcatel.com> Hello All! I am having a common problem but a question I can not seem to locate an answer to. I hope to find one from someone here. In the simplist terms to explain I am trying to determine a method of seeking out a corrupted filesystem before a reboot. An application upgrade corrupted our system and it appears okay until we attempted to do a system backup and a local primary system backup to an alternate system drive. But once we reboot the system and fsck'd the system drive the system is okay. We want to determine if any inodes or superblocks are corrupt before doing a backup only then to find out that it is in a bad state. Nor do we want to fsck the system disk to resolve the problem. And we certainly do not want to fsck the system disk while the filesystems are mounted as recommended. We have been looking at fsdb, clri, fsdb_ufs, ncheck but nothing has really helped us and that is in part due to our lack of knowledge in these utilities. Ufsdump logs informed us that we have corrupted inodes. This is an error from the ufsdump log: expected next file 231172, got 225931 The script failed to backup to the alternate drive due to these errors. Before the app upgrade the script worked fine. We know that the application somehow corrupted the inodes. By using ncheck in conjunction w/ the ufsdump log we believe we found the particular inodes which have been corrupted by this application upgrade. These are the inodes that ufsdump is complaining about on auds770: expected next file 727006, got 727005 cannot find directory inode 297440 These are the filenames for these inodes: auds770# ncheck -F ufs -a /dev/rdsk/c0t0d0s0 | egrep -e '(727006|297440)' 297440 /lost+found/#710165/nls/mesg/./. 297440 /lost+found/#710165/nls/mesg/. 727006 /etc/lib/ld.so.1 Here's the inodes another system is complaining about: auds771# ncheck -F ufs -a /dev/rdsk/c0t0d0s0 | egrep -e '(304927|120212|269569)' 120212 ???/lost+found/./. 120212 ???/lost+found/nls/../. 269569 /usr/lib/locale/en_CA/LC_CTYPE/mb.so.1 304927 /opt/pkgs/NetID422_1083/SOLARIS/packages/NID42apsv/reloc/$INST/images/Ab outBox.gif Our question remains is how without a ufsdump log or a reboot or fsck do we determine if our system inodes/blocks/filesystems have been corrupted? We have placed the latest patch cluster on the system 105181-31 and retested with the same corruption results. And this is a test environment att. Thank you for the time taken for Reading and Responding! Lori -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020409/54cc671d/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: lori.anderson.vcf Type: text/x-vcard Size: 299 bytes Desc: Card for Lori Anderson Url : http://www.sunmanagers.org/pipermail/sunmanagers/attachments/20020409/54cc671d/attachment.vcf From alan.mcintosh at motorola.com Tue Apr 9 19:01:07 2002 From: alan.mcintosh at motorola.com (McIntosh Alan-R54071) Date: Tue Apr 9 19:01:07 2002 Subject: SUMMARY - Data Overwrite Message-ID: Admins, Thanks to: system administration account Steve Camp Gaziz Nugmanov Jay Lessert renny koshy Most indicated that the ability to accomplish this task is relatively impossible due to the fact that the users data is spread throughout the filesystem. However, Steve Camp was kind enough to provide a 'proprietary' C program, which appears to do exactly what I require. Many thanks to you Steve, it works flawlessly!! Another user suggested: May be something like this: rm -rf /home/sensitive/user while true do dd if=/dev/zero of=/home/sensitive/user/$RANDOM count=100 done Which is suppose to work in a 'bash' shell, but I never tried it, Thanks anyway! Original Message: -------------------------- Admins, I am looking for a method to overwrite the blocks that confidential data resides on after the archival of a users home directory. I have been able to find methods of wiping an entire disk, but not just a specified area on the disk. Such as: tar cvf - /users/homer | 'cd /storage; tar xf -' dd if=/dev/zero of=/users/homer dd if=/dev/null of=/users/homer These do not work do to the fact that homer is a directory. Is there a way to accomplish this without replacing anything else on the disk except the data that was archived? Alan McIntosh IT - UNIX Systems Administrator From muhammad at uac.edu.au Tue Apr 9 19:37:06 2002 From: muhammad at uac.edu.au (Muhammad Mughal) Date: Tue Apr 9 19:37:06 2002 Subject: RBAC error Message-ID: Hi, I am trying to cre