Thanks to all who responded. I got someone onsite to boot from cdrom and had him rename modules to a set of drivers he had just installed, and it came up. Now I just need to determine what is wrong with the drivers, but that is a much less serious issue than I had earlier. Thanks again! Jim -----Original Message----- From: sunmanagers-request@sunmanagers.org [mailto:sunmanagers-request@sunmanagers.org] Sent: Tuesday, June 19, 2001 8:49 PM To: sunmanagers@sunmanagers.org Subject: sunmanagers digest, Vol 1 #431 - 14 msgs Send sunmanagers mailing list submissions to sunmanagers@sunmanagers.org To subscribe or unsubscribe via the World Wide Web, visit http://www.sunmanagers.org/mailman/listinfo/sunmanagers or, via email, send a message with subject or body 'help' to sunmanagers-request@sunmanagers.org You can reach the person managing the list at sunmanagers-admin@sunmanagers.org When replying, please edit your Subject line so it is more specific than "Re: Contents of sunmanagers digest..." Today's Topics: 1. Summary: sed question (George Monappallil) 2. Bare Metal restores (Chris Gregors) 3. Panic errors (Sue Thielen) 4. sunsolve patches and bugtraqs questions (Tony Tran) 5. zip files (Seth Rothenberg) 6. trusted remote hosts failure - permission deny (Jian-Guo Sun) 7. stupid sh/csh environment question (Jon) 8. SUMMARY: Arithmetic expressions in /bin/sh (Ian Roddis) 9. SUMMARY: transport protocol message (Maccy) 10. mirroring a 450 (Erin Jones) 11. PCI or sbus expansion on Ex500 machines? (Daniel Tate) 12. Booting external disks (Eric Horne) 13. File size differs when compressing and uncompressing (Nitin Sharma) 14. SUMMARY: Jumper for Firmware upgrade on Ultra5's (BAUMLER Julie L) --__--__-- Message: 1 From: George Monappallil <George.Monappallil@newsedge.com> To: "'isp-solaris@isp-solaris.com'" <isp-solaris@isp-solaris.com>, "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org> Subject: Summary: sed question Date: Tue, 19 Jun 2001 13:30:00 -0400 Thanks for all those who replied to my email. The general consensus was that I have to change the write permissions on the directory that I was writing into. I changed the permissions on the directory to 777 (temp tho) and was able to write onto that directory. Sendmail was trying to write to that directory as 'daemon' and that is why it was not able to write to it. I did have to edit the script a bit to sed '1,/^$/d' > /opt/home/aliasuser/aliases-users The -n argument was creating a file but the file was empty. Many thanks again to all those who answered. George Monappallil > -----Original Message----- > From: George Monappallil > Sent: Monday, June 18, 2001 11:37 AM > To: 'isp-solaris@isp-solaris.com'; 'sunmanagers@sunmanagers.org' > Subject: sed question > > Hi guys: > please excuse me if this is an offtopic question, but any help would be > appreciated. > I am trying to copy a file (aliases-users) from Unix box A to Unix box B. > I am trying to do it via email. On unix box B, I have an alias set up in > the /etc/mail/aliases file as > aliastest: |/opt/home/aliasuser/aliasuser.sh > > The email that comes through is piped through the filecopy.sh script. > Filecopy.sh contains the following script > sed -n '1,/^$/d' > /opt/home/aliasuser/aliases-users > > This script just deletes the header information of the email and saves it > to a new file. The problem is that when the email is piped through this > program it is giving me the following error (in a mail bounceback) > ----- The following addresses had permanent fatal errors ----- > |/opt/home/aliasuser/aliasuser.sh > (expanded from: <aliastest@usermail1.newsedge.com>) > > ----- Transcript of session follows ----- > /opt/home/aliasuser/aliasuser.sh: /opt/home/aliasuser/aliases-users: > cannot create > 554 |/opt/home/aliasuser/aliasuser.sh... unknown mailer error 1 > > > However if I just append to a file that has been 'touched' before(sed -n > '1,/^$/d' >> /opt/home/aliasuser/aliases-users) it works fine. > > Does any of know how to make this thing to work? Thanks in advance. > > George > --__--__-- Message: 2 From: "Chris Gregors" <Chris.Gregors@telus.com> To: sunmanagers@sunmanagers.org Subject: Bare Metal restores Date: Tue, 19 Jun 2001 11:36:06 -0600 On aix, you can do a mksysb and make a bootable tape. On HP, you can do an ignite and make a bootable tape. On sun, you ?????????????????? --__--__-- Message: 3 From: Sue Thielen <Sue.Thielen@epeople.com> To: "Sun Manager (E-mail)" <sunmanagers@sunmanagers.org> Cc: Sue Thielen <Sue.Thielen@epeople.com> Subject: Panic errors Date: Tue, 19 Jun 2001 10:48:41 -0700 My Ultra 5 running Solaris 7 just started panicing and rebooting constantly with the following error savecore: reboot after panic: [AFT-12706288] Ecache Tag Parity Error on CPU0 Data access at TL=0, errID 0x0000096b.b262ca3a It's up now... but probably not for long. I suspect it's a hardware issue... Anyone have any other thoughts out there? sue --__--__-- Message: 4 Date: Tue, 19 Jun 2001 11:12:10 -0700 (PDT) From: Tony Tran <tonytran1@yahoo.com> Subject: sunsolve patches and bugtraqs questions To: sunmanagers@sunmanagers.org Dear Managers I have a question about Sunsolve patches: What is the advantage of having a Sunsolve account? I've noticed that I do *not *need to have a Sunsolve account in order to download certain patches (after I run patchdiag). So what is the big deal about having to have a Sunsolve account? Also, I've heard about bugtraq database. How does one get access to Sun bugtraq (or bugtraq+) database? Is there a mailing list where I can subscribe to be notified of the new Sun bugs or bugtraqs? Thanks and I will summarize Tony __________________________________________________ Do You Yahoo!? Spot the hottest trends in music, movies, and more. http://buzz.yahoo.com/ --__--__-- Message: 5 Date: Tue, 19 Jun 2001 14:14:19 -0400 From: "Seth Rothenberg" <srothenb@montefiore.org> To: <sunmanagers@sunmanagers.org> Subject: zip files Fellow Managers, My users want some files e-mailed to them as Zipp archives. We are using pkzip version 2.51 on Solaris 2.6. I tried a number of ways to "zip" a directory so it can be sent off-site, but I get errors when I try. pkzip add -filetype=3Ddirectory -rec seth.zip lwradord2radord Where the following is the output of=20 egate@eprod[~/seth]:> ls -l lwradord2radord total 6 -rw-r--r-- 1 egate datagate 0 Jun 19 13:48 pkzip.cfg drwxrwxrwx 5 egate datagate 512 Jun 19 13:56 runtime drwxrwxrwx 3 egate datagate 512 Jun 19 13:56 sandbox drwxrwxrwx 4 egate datagate 512 Jun 19 13:56 userlocks egate@eprod[~/seth]:>=20 I have reviewed the help for pkzip and the FAQ online, and have tried a number of permutations, including=20 -filetype=3Dall, etc. I'd appreciate if anyone has suggestions or examples. Thanks Seth --__--__-- Message: 6 From: Jian-Guo Sun <jianguo@speck.spectracom.com> Subject: trusted remote hosts failure - permission deny To: sunmanagers@sunmanagers.org Date: Tue, 19 Jun 101 13:30:07 -0500 (CDT) Cc: jian.sun@speck.spectracom.com (Jian Sun) Hello all, I have three machines A, B and C. A tape drive for system backup is installed in A. B is able to access the tape drive in A but C can't! I created /.rhosts in A for both B and A entries. A and B are running Solaris 2.5.1 but C is running Solaris 8. The error message from C: ufsrestore ivfs A:/dev/rmt/0 1 permission denied Any hints please!? Thank you in advance. Jianguo --__--__-- Message: 7 Date: Tue, 19 Jun 2001 13:38:51 -0500 (CDT) From: Jon <jon@slurpee.org> To: <sunmanagers@sunmanagers.org> Subject: stupid sh/csh environment question Ok, I have a script that works fine if I run ". script.sh" in a bourne shell, but if I run sh script.sh it runs the script but doesnt set the environment variables. My developers are all using different shells, but need this script, and I'd rather not keep porting it, and clue to how to get around this? thanks, jon --__--__-- Message: 8 From: "Ian Roddis" <roddis@nortelnetworks.com> To: sunmanagers@sunmanagers.org Subject: SUMMARY: Arithmetic expressions in /bin/sh Date: Tue, 19 Jun 2001 14:47:37 -0400 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0F8F0.4F689F70 Content-Type: text/plain; charset="iso-8859-1" Hi again, The overwhelming response was to go with ksh instead of sh ( with quite a bit of poking at other OSs for non-standard sh implementations :) ). Just for fun, though, I persevered. Taking advantage of the fact that I was dealing with known quantities ( IP addresses ), I came up with the following. _NETWORK=`echo $_IP_ADDRESS $_NETMASK | sed -e 's/\./ /g' | awk '{ network = ( $1 - ( $1 % ( 255 - $5 + 1 ) ) ) for ( i = 2 ; i <= 4 ; i++ ) network = network "." ( $i - ( $i % ( 255 - $( i + 4 ) + 1 ) ) ) print network }'` This works for all netmasks when applied to each octet. ( Even odd ones like 255.255.236.0 ). This solution seems cleaner ( at least easier to read ) than an equivalent solution in sh or ksh. I didn't try using arrays in ksh, so it might be easier. Thanks muchly to all who responded. -Ian Original Question: Hi, I need to do bitwise operations within a shell script to determine netmasks for a range of IPs ( not interfaces on the current box ). I can't use perl for this ( this will be run on 1500+ nodes, not all configured the same way ). In every other implementation of /bin/sh I've used you could do something like this: echo $(( numberX & numberY )) This doesn't work in Solaris. Is there any way to do this without downloading extra tools? Thanks, Ian ------_=_NextPart_001_01C0F8F0.4F689F70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2654.59"> <TITLE>SUMMARY: Arithmetic expressions in /bin/sh</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>Hi again,</FONT> </P> <P><FONT SIZE=3D2> The overwhelming response was to go with ksh = instead of sh ( with quite a bit of poking at other OSs for = non-standard sh implementations :) ). Just for fun, though, I = persevered. Taking advantage of the fact that I was dealing with known = quantities ( IP addresses ), I came up with the following.</FONT></P> <P><FONT SIZE=3D2>_NETWORK=3D`echo $_IP_ADDRESS $_NETMASK | sed -e = 's/\./ /g' | awk '{</FONT> <BR><FONT SIZE=3D2> network = =3D ( $1 - ( $1 % ( 255 - $5 + 1 ) ) )</FONT> <BR><FONT SIZE=3D2> for ( i = =3D 2 ; i <=3D 4 ; i++ ) network =3D network "." ( $i - ( = $i % ( 255 - $( i + 4 ) + 1 ) ) )</FONT> <BR><FONT SIZE=3D2> print = network</FONT> <BR><FONT SIZE=3D2>}'`</FONT> </P> <P><FONT SIZE=3D2> This works for all netmasks when applied to = each octet. ( Even odd ones like 255.255.236.0 ).</FONT> <BR><FONT SIZE=3D2> This solution seems cleaner ( at least easier = to read ) than an equivalent solution in sh or ksh. I didn't try using = arrays in ksh, so it might be easier.</FONT></P> <P><FONT SIZE=3D2>Thanks muchly to all who responded.</FONT> </P> <P><FONT SIZE=3D2> -Ian</FONT> </P> <BR> <P><FONT SIZE=3D2>Original Question:</FONT> </P> <P><FONT SIZE=3D2>Hi,</FONT> </P> <P><FONT SIZE=3D2> I need to do bitwise operations within a shell = script to determine netmasks for a range of IPs ( not interfaces on the = current box ). I can't use perl for this ( this will be run on 1500+ = nodes, not all configured the same way ). In every other implementation = of /bin/sh I've used you could do something like this:</FONT></P> <P> <FONT SIZE=3D2>echo $(( = numberX & numberY ))</FONT> <BR><FONT SIZE=3D2> This doesn't work in Solaris. Is there any = way to do this without downloading extra tools?</FONT> </P> <P><FONT SIZE=3D2>Thanks,</FONT> <BR><FONT SIZE=3D2> Ian</FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C0F8F0.4F689F70-- --__--__-- Message: 9 Reply-To: "Maccy" <maccy@maccomms.co.uk> From: "Maccy" <maccy@maccomms.co.uk> To: <sunmanagers@sunmanagers.org> Subject: SUMMARY: transport protocol message Date: Tue, 19 Jun 2001 21:40:27 +0100 Organization: MacTel Communications Ltd. My thanks go to :- Julian Simpson Tony Brown Nate Campi Martin Carpenter Thomas Carter Solution : 'rquotad' started from inetd, so if you comment it out in /etc/inetd.conf and type in 'init q' (to read the new inittab). Seems to work so far - messages have disappeared, and I should have commented this line out before. Original question was : > > Hi folks, > > > > I didn't get any answers to my initial query so I'm repeating in case > > anyone has any further ideas. I am seeing many messages in my > > log files of > > the form :- > > > > Jun 18 15:28:39 soar rquotad[3276]: [ID 288276 mail.error] > > warning: unable > > to identify transport protocol > > > > This machine runs the very latest version of Solaris 8. Any > > ideas? My logs > > are going mental...... > > > > Regards > > Mark Mahabir > > > > ---- > > Mark .I. Mahabir (XMM SSC Computer Operator) > > Dept of Physics & Astronomy, Phone +44 116 252 5652 > > University of Leicester, Fax +44 116 252 3311 > > Leicester, LE1 7RH, U.K. --__--__-- Message: 10 From: "Erin Jones" <erin@internationalcomputing.com> To: "SUNmanagers" <sunmanagers@sunmanagers.org> Subject: mirroring a 450 Date: Tue, 19 Jun 2001 16:51:33 -0400 This is a multi-part message in MIME format. ------=_NextPart_000_0599_01C0F8E0.18515500 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hey all,=20 I have a pair of e450s w/ (as I recall) identical hardware. I would = like to make one a clone of the other (w/ different ip and hostname) = anybody have any ideas on how do to this easily. the one to be cloned = has mirrored disks (using disksuite) i don't have any more spaces on my = backplane to put in more drives or I would just try to dd them. anybody = have any fancy ideas? thanx ej ---------------------- DISCLAIMER Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible = for delivery of the message to such person), you may not copy or deliver = this message to anyone. In such case, you should destroy this message = and kindly notify the sender by reply email. Opinions, conclusions and other information in this message that do not = relate to the official business of International Computing, LLC shall be = understood as neither given nor endorsed by it. ----------------------- ------=_NextPart_000_0599_01C0F8E0.18515500 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>hey all, </FONT></DIV> <DIV><FONT face=3DArial size=3D2>I have a pair of e450s w/ (as I recall) = identical=20 hardware. I would like to make one a clone of the other (w/ = different ip=20 and hostname) anybody have any ideas on how do to this = easily. the=20 one to be cloned has mirrored disks (using disksuite) i don't have = any=20 more spaces on my backplane to put in more drives or I would just try to = dd=20 them. anybody have any fancy ideas?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>thanx</FONT></DIV> <DIV><FONT face=3DArial size=3D2>ej</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial = size=3D2>----------------------<BR>DISCLAIMER</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Privileged/Confidential Information may = be=20 contained in this message.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>If you are not the addressee indicated = in this=20 message (or responsible for delivery of the message to such person), you = may not=20 copy or deliver this message to anyone. In such case, you should destroy = this=20 message and kindly notify the sender by reply email.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Opinions, conclusions and other = information in this=20 message that do not relate to the official business of International = Computing,=20 LLC shall be understood as neither given nor endorsed by = it.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial = size=3D2>-----------------------</FONT></DIV></BODY></HTML> ------=_NextPart_000_0599_01C0F8E0.18515500-- --__--__-- Message: 11 From: Daniel Tate <dtate@sath.com> To: "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org> Subject: PCI or sbus expansion on Ex500 machines? Date: Tue, 19 Jun 2001 16:39:12 -0500 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --------------InterScan_NT_MIME_Boundary Content-Type: multipart/mixed; boundary="------------InterScan_NT_MIME_Boundary" --------------InterScan_NT_MIME_Boundary Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0F908.47DACC70" ------_=_NextPart_001_01C0F908.47DACC70 Content-Type: text/plain; charset="iso-8859-1" I've got a E5500 and a E4500, both totally loaded - however, the need to add another card to each system has recently came up - Barring the future netra Ex line upgrades to support Exx00's, does anyone know of any external expansion options? TIA, Daniel S. Tate, SCSA, MCP, A+ Unix Administrator, Shop at Home (615) 263-8381 | dtate@sath.com www.shopathometv.com ------_=_NextPart_001_01C0F908.47DACC70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2653.12"> <TITLE>PCI or sbus expansion on Ex500 machines?</TITLE> </HEAD> <BODY> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">I've = got a E5500 and a E4500, both totally loaded - however, the need to add = another card to each system has recently came up</FONT> <FONT = COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">-</FONT><FONT = COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial"> Barring</FONT> <FONT = COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">the future netra Ex line = upgrades to support Exx00's, does anyone know of any = ext</FONT><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">ernal = expansion options?</FONT></P> <BR> <P ALIGN=3DLEFT><FONT COLOR=3D"#000000" SIZE=3D2 = FACE=3D"Arial">TIA,</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#000080" SIZE=3D2 FACE=3D"Tahoma">Daniel = S. Tate, SCSA, MCP, A+</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#666699" SIZE=3D2 FACE=3D"Tahoma">Unix = Administrator, Shop at Home </FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#666699" SIZE=3D2 FACE=3D"Tahoma">(615) = 263-8381 | dtate@sath.com</FONT></P> <P ALIGN=3DLEFT><FONT COLOR=3D"#999999" SIZE=3D2 = FACE=3D"Tahoma">www.shopathometv.com</FONT></P> </BODY> </HTML> ------_=_NextPart_001_01C0F908.47DACC70-- --------------InterScan_NT_MIME_Boundary-- --__--__-- Message: 12 Date: Tue, 19 Jun 2001 17:26:27 -0700 From: Eric Horne <eric.horne@std.teradyne.com> To: sunmanagers@sunmanagers.org Subject: Booting external disks All- Howdy.. I've got an Ultra 60 with two controllers. An external disk is attached to the second controller. How do I (or can I) force the workstation to boot from the external disk? I tried booting from the /pci@.../ path, but that didn't seem to work (can't open the device). Any ideas? I'll summarize.. Thanks! -Eric --__--__-- Message: 13 Reply-To: <sharma@cdcla.com> From: "Nitin Sharma" <sharma@cdcla.com> To: <sunmanagers@sunmanagers.org> Subject: File size differs when compressing and uncompressing Date: Tue, 19 Jun 2001 17:43:44 -0700 Hi friends, I am facing a problem on Sun Solaris 2.6 OS, When I compress a particular file it gives me different size if I run compress utility again on the uncompress file. Regards Nitin CDC Los Angles Office:-(310) 302-3150 Resi :- (310-) 822-3666 --__--__-- Message: 14 From: BAUMLER Julie L <julie.x.baumler@co.multnomah.or.us> To: "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org> Subject: SUMMARY: Jumper for Firmware upgrade on Ultra5's Date: Tue, 19 Jun 2001 17:43:51 -0700 Original Question: Does anyone know if there is a problem with leaving the JP2 jumper on an Ultra5 or Ultra10 in the writable position? This is the jumper that allows you to upgrade the firmware on these systems. I'm aware of the general potential problems of having the firmware set to write enabled, but other Suns (like the UE450's) come with the firmware jumper set to write enabled and we leave it that way. I'm looking for problems that would be specific to the Ultra5 or Ultra10. I received one answer from Christophe Dupre (Thanks Christophe!): --- begin quote --- Hi, there's no real problem other than the inherently insecure configuration - note that a destroyed firmware (due to software bug, trojan, or other) may leave your Sun unable to boot. As for the E250, E450, etc, they can be made secure by turning the key in the front to the 'locked' position, which also protect against STOP-A / breaks coming from the console (serial A). --- end quote --- Since my particular concern at the moment is keeping firmware up-to-date on a couple of rack-mounted test systems in a physically secure location, I'll probably leave the jumper in the writeable position next time I have to move it. Julie ------------------------------------- Julie L Baumler Sr System Administrator Multnomah Co ISD 503-988-3749 X26909 julie.x.baumler@co.multnomah.or.us --__--__-- _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers End of sunmanagers Digest --------------InterScan_NT_MIME_Boundary--Received on Wed Jun 20 14:10:40 2001
This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:57 EDT