From Henrik.Huhtinen at appelsiini.com Mon Dec 2 06:49:25 2002 From: Henrik.Huhtinen at appelsiini.com (Henrik Huhtinen) Date: Mon, 2 Dec 2002 13:49:25 +0200 Subject: SUMMARY: error reporting on Solaris (like aix "errpt?") Message-ID: <823F03C336803C4E8631516FA79E580D2ACFEE@app-hki-srv01.local.appelsiini.com> Hello, thanks for your answers. Original question is listed in the end of this message. Summarizing the answers, I would still say that there is not any identical equivalent for "errpt", but SunVTS package looks promising for the hardware verification part. More info from: http://www.sun.com/oem/products/vts "SunVTS, Sun Validation Test Suite, tests and validates Sun hardware by verifying the connectivity and functionality of hardware devices, controllers and peripherals. SunVTS is used by OPs, OEMs, SunService/Field, Design Engineering, SQA and end users to ensure a "clean bill of health" of the overall system under test and its underlying hardware. The tool is used for both Hardware validation and repair verfication." Other people suggested using syslog, dmesg, prtdiag, which were not exactly what I was looking for (I should have described errpt better). Someone suggested parsing the syslog output with software like Swatch or Logmonitor, which might come close to errpt functionality. These are 3rd party softwares, so I will look first into SunVTS. Thank you for all your answers: Mark Deiss Scott Howard K.K. Mookhey Doug Floer Joe Flatcher Bertrand Hutin Thorfinn Rasmussen My original question: ======== Hello, a client with aix background asked me if there exists an error reporting tool in Solaris with similar features as the system command 'errpt' in aix. I've found errpt very handy in the few aix systems I work on, since you can quickly see if you have hardware or software problem and in which part of the system the problem probably is. My quick answer was "not that I'm aware of, but let me check". So, am I just ignorant of some feature in Solaris or can anybody recommend some 3rd party tool with similar features? As usual, willing to summarize. Henrik ======= __________________________________________________________ Henrik Huhtinen Appelsiini Finland Oy gsm +358 40 760 4260 Mechelininkatu 1a tel +358 9 2530 2620 00180 Helsinki fax +358 9 2530 2631 http://appelsiini.com/ _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From mark at solinus.com Mon Dec 2 10:14:08 2002 From: mark at solinus.com (Mark) Date: Mon, 2 Dec 2002 09:14:08 -0600 Subject: SUMMARY: avoiding jumpstart automated reboot Message-ID: <20021202151408.GC381@arakkis.solinus.com> Hey all -- As a summary to my question last week about keeping a jumpstart flash install from automatically rebooting, the winning answer came from Darren Dunham and Scott Howard, who advised me to swap in a new shell at the end of the finish script. # End of finish script /bin/sh -i This does exactly what I need. Thanks to all who responded! -- Mark Maurer mark at solinus.com Programmer / Administrator, Solinus, Inc. _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From amateo at um.es Mon Dec 2 14:42:08 2002 From: amateo at um.es (Angel L. Mateo) Date: 02 Dec 2002 20:42:08 +0100 Subject: SUMMARY: I can't install packages under Solaris 9 In-Reply-To: <1038828654.27205.6.camel@joshua> References: <1038828654.27205.6.camel@joshua> Message-ID: <1038858128.27206.79.camel@joshua> The problem was that I have /var/ filesystem corrupted. I have fixed it and now pkgadd works correctly. Thanks to John Riddoch, David Markowitz and Christian Masopust for their help. The problem was > > I have installed Solaris 9 in an Enterprise 450. I have installed the > core option, and then I added some Solaris packages. > > Now I want to install some Solaris Freeware packages (gcc, perl and > others), but I can't install any of them. I run "pkgadd -d > gcc-3.2-sol9-sparc-local" as root and I get a lot of error messages like > these: > > cpio: Cannot open/create reloc/man/man7/gpl.7, errno 22, Invalid > argument > cpio: Cannot create directory "reloc/share", errno 22, Invalid argument > cpio: Unable to reset modification time for "share", errno 2, No such > file or directory > cpio: Cannot chmod() "reloc/share", errno 2, No such file or directory > cpio: Cannot chown() "reloc/share", errno 2, No such file or directory > cpio: Cannot open/create reloc/share/java, errno 22, Invalid argument > cpio: Cannot open/create reloc/share/java/libgcj-3.2.jar, errno 22, > Invalid argument > 550800 blocks > 1498 error(s) > pkgadd: ERROR: attempt to process datastream failed > - process failed, exit code 90 > pkgadd: ERROR: unable to unpack datastream > > and the package is not installed. The same package (is distributed in a > file, not in a directory) is installed without problems in other Solaris > 9 system I have (it's a V100). > > Any idea? > -- Angel L. Mateo Martmnez Seccisn de Redes y Comunicaciones Area de Tecnologmas de la Informacisn _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 968367590 Fax: 968363389 _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From johnny.hall at cox.com Mon Dec 2 18:42:26 2002 From: johnny.hall at cox.com (Johnny Hall) Date: 02 Dec 2002 18:42:26 -0500 Subject: [SUMMARY] st.conf and sd.conf] Message-ID: <1038872546.18571.10.camel@catlmsxjh01.cci.cox.com> Thanks for everyone's input. Everyone pretty much agreed that we will have to reboot for now. The update_drv command in Solaris 9 might help us out a little when we roll that out. Original Post Follows. -- Johnny W. Hall Unix Systems Administrator Cox Communications johnny.hall at cox.com V: 404-269-6843 F: 404-269-7394 "All you need is ignorance and confidence; then success is sure." - Mark Twain Subject: st.conf and sd.conf From: Johnny Hall To: Sun Managers Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 22 Nov 2002 11:38:41 -0500 Message-Id: <1037983121.22092.114.camel at catlmsxjh01.cci.cox.com> Mime-Version: 1.0 Hello Managers, I heard a rumor yesterday that you can get by without using the st.conf and sd.conf files in Solaris 8. We would like to do this since we track downtime, etc. and often get requests for more disk space added to these boxes from our EMC SAN in which we have to modify the sd.conf file and reboot. I've searched sunsolve and didn't find anything. If this is true could someone point me in the right direction as how to get more information about this. Thanks, -- Johnny W. Hall Unix Systems Administrator Cox Communications johnny.hall at cox.com V: 404-269-6843 F: 404-269-7394 "All you need is ignorance and confidence; then success is sure." - Mark Twain _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From Satish.Ramaswamy at uscellular.com Mon Dec 2 19:18:19 2002 From: Satish.Ramaswamy at uscellular.com (Ramaswamy, Satish) Date: Mon, 2 Dec 2002 18:18:19 -0600 Subject: summary : problems with ufsrestore Message-ID: <750215D65E63BE4AB69BDFE85ACE9A4C01AC48@chixchg03.wireless.local> thanks all for your help. the problem is solved thanks to darren,jay ufsrestore ibf 126 /dev/rmt/0cbn solved it but before did a mt -f /dev/rmt/0cbn asf 1 what i did was this taken a ufsdump on the same tape that i write to everynight by means of a dd command i didn't know how many records were present before my ufsdump began. satish _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From richard_mackerras at mysun.com Tue Dec 3 05:06:32 2002 From: richard_mackerras at mysun.com (Richard Mackerras) Date: Tue, 03 Dec 2002 10:06:32 GMT Subject: SUMMARY: 3910 or 6910 Message-ID: <17f8d1bbf6.1bbf617f8d@mysun.com> Thanks to Julie and mcc. The 6910 can subdivide the LUNs presented by the T3s where the 3910 can only present the T3 LUNs. Thanks People. Richard ================================================== Richard, The difference is the virtualization engines. A 3910 doesn't have them, the 6910 does (2, I believe). The VEs let you subdivide the T3's into many small virtual LUNs which can then be zoned for individual servers. On the 3910, you can only have as many LUNs presented as the T3 can provide (not sure if it is fixed for more than two per brick or not yet... I haven't installed/tested the latest firmware). Also, I think you have to provide all of the zoning through your switch hardware if you need it (I have to on our 3960). I am using a 3960 for database (where I need high throughput) and a 6960 (which has 4 VEs) for general SAN. -mcc ============================================================ Hi Richard These are quite new so I had to check in Sunsolve but on checking I have found the two attachments provided explain the differences. I have also found that the 6910 supports larger drives (up to 181Gb disk) Regards Julie {Attachments were http://sunsolve.sun.com/handbook_private/Systems/3900- 6900/3910_cabling.html and http://sunsolve.sun.com/handbook_private/Systems/3900- 6900/6910_cabling.html or http://sunsolve.sun.co.uk/handbook_private/Systems/3900- 6900/3910_cabling.html and http://sunsolve.sun.co.uk/handbook_private/Systems/3900- 6900/6910_cabling.html but you have to login to Sunsolve to see them.} ============================================= ORIGINAL:- Hi, I have a config from Sun in which they spec a 3910 disk array. I cannot understand what the difference is between a 3910 and a 6910. Where would I use a 3910? Where would I use a 6910? Thanks people, Richard My email addresses are: "Richard_Mackerras" in the domain "MySun.Com" "Richard.Mackerras" in the domain "AvonAndSomerset.Police.UK" _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From John.Mitchell at uk.experian.com Tue Dec 3 09:18:16 2002 From: John.Mitchell at uk.experian.com (Mitchell, John) Date: Tue, 3 Dec 2002 14:18:16 -0000 Subject: SUMMARY: getting the OPB version from command line Message-ID: <77409C30EE66D511B84D00508B5C15C651FFD7@host-not-exch1.experian.co.uk> Thanks for the overwhelming response the correct answer was # prtconv -V John Mitchell Systems Engineer -----Original Message----- From: Mitchell, John Sent: 03 December 2002 13:49 To: 'sunmanagers at sunmanagers.org' Subject: getting the OPB version from command line Does anybody know how to obtain the OBP version from the command line in solaris 8? (without dropping to the OK prompt) Thanks in advance John Mitchell ======================================================================= Information in this email and any attachments are confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. There is no intention to create any legally binding contract or other commitment through the use of this email. Experian Limited (registration number 653331). Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From wavexx at ngweb.it Tue Dec 3 09:59:11 2002 From: wavexx at ngweb.it (wave++) Date: Tue, 3 Dec 2002 15:59:11 +0100 Subject: [SUMMARY] users statistics Message-ID: The question was: > Is there any way to obtain statistics like: > > - most active user of the day > - most cpu-hammer program of the day for each user > > without activating process accouting or polling 'ps -ef'? Result: - use prstats insteads of "ps -ef", which is like top on sterois to get more statistics about processes. You must, however, poll continuosly the command. Solaris only. - use sarcheck: polls sar and pf -efl output. It's commercial, althoug is supported by many different operating systems. - activate process accounting: is more efficient and returns perfect results. The only problem is that accounting data must be parsed differently by different operating systems. Thanks to all who responded. _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From mdemarco at tritonpcs.com Tue Dec 3 10:13:01 2002 From: mdemarco at tritonpcs.com (Mike Demarco) Date: Tue, 3 Dec 2002 10:13:01 -0500 Subject: SUMMARY: Looking for a GUI mail do everything package Message-ID: Lots of good responses: If you mean a web-based mail interface...check out Squirrelmail, http://www.squirrelmail.org. I've used it and can really recoomend it. I doubt you'll find an all-in-one like you seem to be looking...for list management, check out Mailman, http://mailman.sourceforge.net/ have you tried looking into the commerical version of Sendmail? (sendmail.com rather than sendmail.org (freeware)). I believe that they have what you are looking for on all bases. Unless they've started going Exchange for Solaris I thik you may be out of luck. ;-) However, you might try looking at Communigate Pro. http://www.stalker.com/CommuniGatePro/ exim (smtp server) + squirrelmail (webmail) + courier-pop3 (pop3 software) + courier-imap (imap software) + mailman (mailling list management) + exiscan (virus scanner for exim) http://www.stalker.com/cpro/default.html Ximian Evolution does all but the spam filtering. It comes with the Gnome interface packages. Communigate Pro seems to do what I need and you can buy support for it. Thanks go to: Galen Johnson Ryan Bishop Joe Fletcher wave++ Yura Pismerov NetComrade Sean Quaint Original question: Hello: I am in the need for a GUI (web based) mail package that will be able to do it all: smtp/pop3/imap4 filters, aliases, virus scan, forwarding, rerouting, user configured custom rules, list management, restrict by (address, domain, keyword ) Must be configurable for 100% uptime and 0% data loss. would like to separate smtp and imap4 to different servers. Anyone using something out there that they can recommend? _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From allan at nwe.ufl.edu Mon Dec 2 20:08:31 2002 From: allan at nwe.ufl.edu (Allan West) Date: Mon, 2 Dec 2002 20:08:31 -0500 (EST) Subject: SUMMARY: L20 LTO autloader barcode help In-Reply-To: <200212021851.gB2IpdG01160@clas.ufl.edu> Message-ID: I love this list! I got several problems solved at once... David Eisner wrote: > > See page 4-9 (acutally page 61) of this manual: > > http://h200005.www2.hp.com/bc/docs/support/SupportManual/lpg28701/lpg28701.pdf > > I think the bar code format is part of the Ultrium spec. This doc > is for the L9 drive, but I think it should apply tot he L20 LTO as well. > > -David and Jay Lessert wrote > > > We have no documentation on the unit, nor > > That's easy to fix, right? > > http://sunsolve.sun.com/handbook_pub/Systems/L20/L20.html > FWIW, the following script (grabbed off the HP support site, found > with Google) and sample postscript work. > > I'm just dumping them on plain stock, cutting them out by hand, and > taping them on; these particular tapes get handled very little and > almost exclusively by me, so I'm not too concerned about wear & tear. > > Serious pre-cut sticker stock is available for LTO, of course, but > not at Office Depot, and I didn't have time. > > The postscript is not as well parameterized as it should be, but is > a lot better than when *I* got it. :-) I'm posting the tar file he sent me on my web page rather than attaching it: http://web.nwe.ufl.edu/~allan/pub/barcode_lto.tar.gz Thanks very much to both respondents. I'll be printing barcodes in the morning. >8^) Allan On Mon, 2 Dec 2002, I asked the list: > Greetings, > Does anyone know from experience what the specs are for barcoding tapes in > a Sun L20 LTO tape autoloader? We have no documentation on the unit, nor > did we receive example barcode stickers with it. We're looking for the > barcode format and physical dimensions for the label. > Thanks, Allan -- Allan West College of Liberal Arts & Sciences, CLASnet P.O. Box 112034 Gainesville FL 32611-2034 (352) 392-6294 voice (352) 846-1995 fax _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From Satish.Ramaswamy at uscellular.com Tue Dec 3 14:03:33 2002 From: Satish.Ramaswamy at uscellular.com (Ramaswamy, Satish) Date: Tue, 3 Dec 2002 13:03:33 -0600 Subject: summary of automatic starting of tomcat Message-ID: <750215D65E63BE4AB69BDFE85ACE9A4C09F3AA@chixchg03.wireless.local> i just exported the PATH variable today and i can't test it out until the eve/ late at night today when i can reboot the server. also i've set and exported the PATH variable in /etc/profile which is read first for the korn/bourne shells hence didn't feel the need of exporting the PATH again in my script but have done so now. -----Original Message----- From: Ryan.Bishop at exim.gov [mailto:Ryan.Bishop at exim.gov] Sent: Tuesday, December 03, 2002 12:49 PM To: Ramaswamy, Satish Subject: Re: automatic starting of tomcat You have to export the path since this is being run as a shell script, hence it is running within a shell. Anytime that you are writing a "shell script" rather you are using sh, bash, tcsh or anything else, it is always good practice to export your paths so that the shell will have the correct envioronment variables that you expect it to have. When it runs in the shell, the user of the shell, in this case root (?) will use the default environment variables within /etc/skel/profile for the path (which by the way is only /usr/bin and /usr/sbin i believe). Question: Did the script work correctly once you started exporting the PATH variable to the shell process? If so, then the proof is in the pudding, as they say. I hope that this helps. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-=-= Ryan Bishop Sr. Unix Administrator/Security Administrator "In three words I can sum up everything I've learned about life: It goes on." -- Robert Frost -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-=-= "Ramaswamy, Satish" lular.com> cc: (bcc: Ryan Bishop/IMT/EXIMBANK) Sent by: Subject: automatic starting of tomcat sunmanagers-admin at sunma nagers.org 12/03/2002 12:51 PM hi, i have a solaris e-450 server and each time i'd like to find out how to start tomcat automatically when the server reboots. i've written a wrapper script called autotomcat as follows #!/bin/sh #written by satish ramaswamy TOMCAT_HOME=/export/home/webmstr/jakarta-tomcat-3.3 export TOMCAT_HOME PATH=/usr/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/usr/ucb:$TOMCAT_HOME/bi n:. export PATH #chang made 12/03/02 cd $TOMCAT_HOME/bin pscount=`ps -ef |grep "[j]ava"| wc -l` #echo $pscount if [ $pscount -eq 0 ]; then cd $TOMCAT_HOME/bin #echo "inside if" tomcat.sh start fi i've tried couple of things. 1) renamed this script S98autotomcat and placed it in /etc/rc3.d/ directory but this doesn't seem to work when the server reboots. 2) in cron 10,20,30,40,50 * * * * /scripts/autotomcat > /dev/null have the script called every 10 minutes. the reason i do this is because i have a backup script and don't know how long the backup takes and at the end i reboot the server. but this didn't work either. however, i changed my autotomcat script and am now exporting the PATH but i don't see why i should since i'm not using the variables in the script outside the script. thanks in advance. satish ph:630-875-8263 _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From Satish.Ramaswamy at uscellular.com Tue Dec 3 15:10:22 2002 From: Satish.Ramaswamy at uscellular.com (Ramaswamy, Satish) Date: Tue, 3 Dec 2002 14:10:22 -0600 Subject: summary of automatic starting of tomcat Message-ID: <750215D65E63BE4AB69BDFE85ACE9A4C01AC54@chixchg03.wireless.local> all: thanks for your input. i was given a script which i'm enclosing after i've made changes to it according to my environment. this was provided by david foster. i'll implement and test it later on tonight. so hopefully, the scottish chap who also has tomcat installed can use this instead of manually starting it up. i've placed it in /etc/init.d/tomcat and made it executable. i'll create a symbolic link in the /etc/rc3.d/ dir cd /etc/rc3.d ln -s S98autotomcat /etc/init.d/tomcat though david instructed me to do this i the /etc/rc2.d dir but i think it shouldn't make a difference. i'm also sending it as a text attachement david's orginal script. satish #!/bin/sh # Make sure that /export/home/webmstr/ is mounted [ ! -d /export/home/webmstr/jakarta-tomcat-3.3 ] && exit 1 case "$1" in 'start') if [ -x /export/home/webmstr/jakarta-tomcat-3.3/bin/startup.sh ]; then echo "Starting tomcat server ..." JAVA_HOME=/usr/j2se; export JAVA_HOME TOMCAT_HOME=/export/home/webmstr/jakarta-tomcat-3.3 export TOMCAT_HOME /export/home/webmstr/jakarta-tomcat-3.3/bin/startup.sh fi ;; 'stop') if [ -x /export/home/webmstr/jakarta-tomcat-3.3/bin/shutdown.sh ]; then echo "Stopping tomcat server ..." JAVA_HOME=/usr/j2se; export JAVA_HOME TOMCAT_HOME=/export/home/webmstr/jakarta-tomcat-3.3 export TOMCAT_HOME /export/home/webmstr/jakarta-tomcat-3.3/bin/shutdown.sh fi ;; *) echo "Usage: $0 { start | stop }" exit 1 ;; esac exit 0 #!/sbin/sh # Make sure that /usr/local/ is mounted [ ! -d /usr/local/jakarta-tomcat-4.0.5 ] && exit 1 case "$1" in 'start') if [ -x /usr/local/jakarta-tomcat-4.0.5/bin/startup.sh ]; then echo "Starting tomcat server ..." JAVA_HOME=/usr/j2se; export JAVA_HOME CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.5 export CATALINA_HOME /usr/local/jakarta-tomcat-4.0.5/bin/startup.sh fi ;; 'stop') if [ -x /usr/local/jakarta-tomcat-4.0.5/bin/shutdown.sh ]; then echo "Stopping tomcat server ..." JAVA_HOME=/usr/j2se; export JAVA_HOME CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.5 export CATALINA_HOME /usr/local/jakarta-tomcat-4.0.5/bin/shutdown.sh fi ;; *) echo "Usage: $0 { start | stop }" exit 1 ;; esac exit 0 _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From Satish.Ramaswamy at uscellular.com Tue Dec 3 15:18:24 2002 From: Satish.Ramaswamy at uscellular.com (Ramaswamy, Satish) Date: Tue, 3 Dec 2002 14:18:24 -0600 Subject: summary of automatic starting of tomcat Message-ID: <750215D65E63BE4AB69BDFE85ACE9A4C01AC55@chixchg03.wireless.local> a correction the syntax of the link command should be ln -s /etc/init.d/tomcat Stomcat ... sorry. i always get confused and hence check my unix in a nutshell. s -----Original Message----- From: Ramaswamy, Satish Sent: Tuesday, December 03, 2002 2:10 PM To: 'sunmanagers at sunmanagers.org' Subject: summary of automatic starting of tomcat all: thanks for your input. i was given a script which i'm enclosing after i've made changes to it according to my environment. this was provided by david foster. i'll implement and test it later on tonight. so hopefully, the scottish chap who also has tomcat installed can use this instead of manually starting it up. i've placed it in /etc/init.d/tomcat and made it executable. i'll create a symbolic link in the /etc/rc3.d/ dir cd /etc/rc3.d ln -s S98autotomcat /etc/init.d/tomcat though david instructed me to do this i the /etc/rc2.d dir but i think it shouldn't make a difference. i'm also sending it as a text attachement david's orginal script. satish #!/bin/sh # Make sure that /export/home/webmstr/ is mounted [ ! -d /export/home/webmstr/jakarta-tomcat-3.3 ] && exit 1 case "$1" in 'start') if [ -x /export/home/webmstr/jakarta-tomcat-3.3/bin/startup.sh ]; then echo "Starting tomcat server ..." JAVA_HOME=/usr/j2se; export JAVA_HOME TOMCAT_HOME=/export/home/webmstr/jakarta-tomcat-3.3 export TOMCAT_HOME /export/home/webmstr/jakarta-tomcat-3.3/bin/startup.sh fi ;; 'stop') if [ -x /export/home/webmstr/jakarta-tomcat-3.3/bin/shutdown.sh ]; then echo "Stopping tomcat server ..." JAVA_HOME=/usr/j2se; export JAVA_HOME TOMCAT_HOME=/export/home/webmstr/jakarta-tomcat-3.3 export TOMCAT_HOME /export/home/webmstr/jakarta-tomcat-3.3/bin/shutdown.sh fi ;; *) echo "Usage: $0 { start | stop }" exit 1 ;; esac exit 0 #!/sbin/sh # Make sure that /usr/local/ is mounted [ ! -d /usr/local/jakarta-tomcat-4.0.5 ] && exit 1 case "$1" in 'start') if [ -x /usr/local/jakarta-tomcat-4.0.5/bin/startup.sh ]; then echo "Starting tomcat server ..." JAVA_HOME=/usr/j2se; export JAVA_HOME CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.5 export CATALINA_HOME /usr/local/jakarta-tomcat-4.0.5/bin/startup.sh fi ;; 'stop') if [ -x /usr/local/jakarta-tomcat-4.0.5/bin/shutdown.sh ]; then echo "Stopping tomcat server ..." JAVA_HOME=/usr/j2se; export JAVA_HOME CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.5 export CATALINA_HOME /usr/local/jakarta-tomcat-4.0.5/bin/shutdown.sh fi ;; *) echo "Usage: $0 { start | stop }" exit 1 ;; esac exit 0 _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From bob at dtcc.edu Tue Dec 3 15:30:13 2002 From: bob at dtcc.edu (Bob Rahe) Date: Tue, 3 Dec 2002 15:30:13 EST Subject: Summary: Sun Pci II and mouse problems Message-ID: <200212032030.gB3KUDO01397@hobbes.dtcc.edu> Well, thanks to Bryan Hodgson for some ideas which unfortunately didn't help the problem but he did warn me away from putting in any of the SiS driver updates into the XP machine(!). He was the ONLY person to comment. Turns out updating to patch # 108605-31 and rebooting got things working just fine. That's the ffb Graphics patch. I was at the -23 level and -31 seems to have fixed it. Original message was: ----------------------------- I've installed a SUNpci II pro card in my Sunblade 1000 running Solaris 8, installed Windows XP and SP1 on it, upgraded the Sunpci software to 2.3.2 and run the update drivers script. I'm running it to a window on the SunBlade. The problem is the mouse. Clicks seem to act in ways that are non- obvious. For example, a single click (not click and hold, just a simple click) on the background acts like I'm clicking and holding. I.e. if I click once and then move the mouse it starts making rectangles. Similarly if I click on something (single) and move the mouse it starts to move the object around. Various other bizarre behavior in trying to get single clicks on some buttons to do anything and double clicks seem to require furious clicking to get to work. I've checked various places in the Windows control panels that might actually CAUSE this - there's an option that actually does that - sticky clicks or something - but it's turned off. I even tried turning it on and it oddly made NO difference.... Also, once the pc is booted up to windows the 'attach mouse' key/menu option seems to have no effect. As in nothing happens or changes when you select it or hit the meta-M. Ideas anyone? Thanks Bob -------------------------------------- -- ---------------------------------------------------------------------------- |Bob Rahe, Delaware Tech&Comm Coll. / | |Computer Center, Dover, Delaware / | |Internet: bob at dtcc.edu (RWR50) / | ---------------------------------------------------------------------------- _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From bob at dtcc.edu Tue Dec 3 15:54:03 2002 From: bob at dtcc.edu (Bob Rahe) Date: Tue, 3 Dec 2002 15:54:03 EST Subject: un-Summary: Sun Pci II and mouse problems Message-ID: <200212032054.gB3Ks3d01793@hobbes.dtcc.edu> Well, I'll take that back, I spoke too soon. It looks as tho it is still there but... A short click causes the 'sticky' click where a longer one (about a second or so) will not. I'd have SWORN it was fixed but after doing various other things and rebooting it a few times it's now doing the above. (And, no, the option in the mouse settings to do that is not on.) I'll summarize if/when I get it REALLY fixed... 8-( Bob -- ---------------------------------------------------------------------------- |Bob Rahe, Delaware Tech&Comm Coll. / | |Computer Center, Dover, Delaware / | |Internet: bob at dtcc.edu (RWR50) / | ---------------------------------------------------------------------------- _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From jjacocks at mac.com Wed Dec 4 05:20:12 2002 From: jjacocks at mac.com (J. Alexander Jacocks) Date: Wed, 4 Dec 2002 05:20:12 -0500 Subject: Cron Problems SOLVED! (Summary) Message-ID: <000701c29b7e$bc1a4ce0$c6fefe0a@cheetaur> As it turns out, cron (and at) are now using PAM to do authentication. We have a PAM rule in place to deny authentication to non-explicitly defined services. This was causing cron to not run jobs. Thanks to all for the many suggestions, especially Luc I. Suryo, who took the time to work through an in-depth diagnosis of this issue. _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From leviashcol at hotpop.com Wed Dec 4 06:19:50 2002 From: leviashcol at hotpop.com (Levi Ashcol) Date: Wed, 4 Dec 2002 13:19:50 +0200 Subject: [SUMMARY] Security login banner- How ? In-Reply-To: Message-ID: My Original Posts are below. Thanks to these Gurus: David B. Harrington, Patrick O'Reilly, Paul Fiengo, Carl Gobbo, Jon Godfrey, Deborah Santomauro, Doug Floer, Ric Anderson, David Foster, Gavin Brennan, DEWINTER Steven, Min Oo Tint, Angel Sevilla, Ozgur C. Demir ,Matt Harris Thomas Jones, Simon Millard, Ken McKinlay, Jef Elliott, Gary P Carr ,Mark Donaldson, Brooke King, getmeta at programmer.net, Eric Falen, dana at dtn.com, Mark Deiss. 1- use the /etc/issue, /etc/motd to write any security warnings. ***Before Login 2- Change the "Dtlogin logo bitmapFile" and/or "Dtlogin greeting labelString" in /etc/dt/config/C/Xresources (copy it from /usr/dt/config/C/Xresources) Method: - Make a gif out of your message, convert it to an xpm (eg using /usr/dt/bin/sdtimage) then inserting that in Xresources file Dtlogin*logo*bitmapFile: /usr/local/images/mysite.pm - Make changes to Dtlogin*greeting.labelString in Xresources file Dtlogin*greeting.labelString:Welcome to %LocalHost%\n\n Access and use to this machine\n\ is restricted to authorized users\n\ **** After Login 3- If you want the message to come after the cde login, try and get hold of xmessage. This will allow you to open a window with a message in it and require a button-click to clear it. Add xmessage to the global xstartup scripts 4-Make a copy of /usr/dt/config/sessionetc into /etc/dt/sessionetc. Example: - Create a file /etc/motd.admin (Put the waning here) - Write this in sessionetc file FILE=/etc/motd.admin if [ -s "${FILE}" ]; then # logname command is unreliable at this level case `id | cut -d"(" -f2 | cut -d")" -f1` in root|mcd) MOTD=`cat "${FILE}" | sed -e 's/$/\\\n/'` /usr/dt/bin/dterror.ds "${MOTD}" "Contents of ${FILE}" \ "Click here when finished viewing" ;; esac fi - General /usr/dt/dterrors usage: /usr/dt/bin/dterrors.ds "MESSAGE(use \n for multi lines)" "Window TITLE" "BUTTON NAME" 5- Check this out (I did not try this !) http://www.sunmanagers.org/pipermail/summaries/2001-August/001187.html 6- Link to CDE login manager configuration guide: http://www-vms.gsi.de/vmsdoc/ndesk/SysAdmin/sysadmin_4.html#HEADING26 7- Alternatively, you could disallow logins via the CDE dialog and start CDE in the user's .xinitrc as openwin starts upon login. I put this in my .xinitrc: ssh-agent /usr/dt/bin/Xsession or, if you don't want an ssh-agent parent process, simply /usr/dt/bin/Xsession The advantages are that you can use /etc/issue and avoid the possible security hole/sloppiness of allowing direct root logins, possibly across the network. you need to disable the CDE login dialog, too. Thanks all Levi -----Original Message----- From: sunmanagers-admin at sunmanagers.org [mailto:sunmanagers-admin at sunmanagers.org] On Behalf Of Levi Ashcol Sent: Wednesday, November 20, 2002 9:58 PM To: sunmanagers at sunmanagers.org Subject: [Clarification] Security login banner- How ? Hi all, I received many flames for asking that question. All good guys advise me to read the man pages of /etc/issue and /etc/motd. My question was not clear at all. What I want to do is : - When the user login through the graphical interface(CDE/OpenWindows) and authenticated correctly a "pop up message box" with an OK button appears saying: "Access to this system is restricted....." Short version: I want to display a message box when the user logged into the system. Can I do that easily by playing with the X/DT configuration files ? Please Help. IWS Levi -----Original Message----- From: sunmanagers-admin at sunmanagers.org [mailto:sunmanagers-admin at sunmanagers.org] On Behalf Of Levi Ashcol Sent: Monday, November 18, 2002 8:54 PM To: sunmanagers at sunmanagers.org Subject: Security login banner- How ? Hi, I want to display a security login banner(Access to this system is restricted and monitored....bla bla bla )to my users while login through CDE or Open Windows. Anybody knew how to do this ? IWS Levi _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From McCaffityR at epg.lewis.army.mil Wed Dec 4 09:42:35 2002 From: McCaffityR at epg.lewis.army.mil (McCaffity, Ray (Contractor)) Date: Wed, 4 Dec 2002 06:42:35 -0800 Subject: SUMMARY: How to kill sockets? Message-ID: <9669B05099E9D411B6E400B0D0AA476C79D064@epg.lewis.army.mil> Got about 20 replies saying to use lsof. I had already tried this, but as I said there was no PID so lsof didn't help. However I got some helpful developer advice. The gold stars go next to Nicolas D. Doug W. and Mark at sol mark at solinus mention - ing this, try adding a setsockopt() call with the parameter of SO_REUSEADDR. This was actually helpful, and ended up fixing the problem. Many other people mentioned changing the stack example: /usr/sbin/ndd -set /dev/tcp tcp_time_wait_interval 30000 you should be able to set the timeout on sockets via the ndd command or by using the ndd commands within a startup script since the commands entered using ndd via the command line are not in effect once you reboot the system, hence the need for a startup script. Nicolas D sent some helpful links as well. There were related to the solaution Mark gave above. http://www.sean.de/Solaris/soltune.html ftp://ftp.rfc-editor.org/in-notes/rfc1122.txt You should modify tcp_time_wait_interval and also tcp_fin_wait_2_flush_interval. Try : ndd -set /dev/tcp tcp_time_wait_interval 40000 ndd -set /dev/tcp tcp_fin_wait_2_flush_interval 67500 Doug W. was on the right track as well. set the socket options correctly in your app. man -s3n setsockopt Sahri Y. mentioned restarting inetd, which worked, but effectively shut down the rest of the sockets on the machine as well, so that really wasn't an option. -----Original Message----- From: McCaffity, Ray (Contractor) Sent: Tuesday, December 03, 2002 8:07 AM To: Sunmanagers (E-mail) Subject: How to kill sockets? We have an application, it uses TCP/IP sockets. However when we quit (kill) the application, the sockets remain open (in a close wait state) virtually forever (at least for a few days). How can I kill these socket connections? (The application is already dead, there is no PID associated with the socket). Do I have to reboot everytime this happens? Ray _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From jsoutherd at bakersfield.com Wed Dec 4 11:42:54 2002 From: jsoutherd at bakersfield.com (Jim Southerd) Date: Wed, 4 Dec 2002 08:42:54 -0800 Subject: SUMMARY: Enterprise Server Paths interpretation Message-ID: <6D32517004178743B3E795110ED09FDA03B84FFC@exchange.bakersfieldcalifornian.net> That was FAST!!!! Thank you all who replied. Here are some replies. Sun has this doc at http://sunsolve.sun.com/pub-cgi/show.pl?target=content/content2&ttl=article Below is some explanation. Hi Jim Count 2 numbers for each cpu board then io board in turn so cpu board io board Board 0 0 1 Board 1 2 3 Board 2 4 5 Board 3 6 7 Board 3 8 9 Board 5 a b (goes to hexadecimal after 9) Board 4 c d Board 7 e f This is where the sbus@ number comes from So /sbus at 2,0/SUNW,socal at d,10000/sf at 0,0 (sf0) is off IO board 1 and /sbus at a,0/SUNW,socal at d,10000/sf at 0,0 (sf2) is off IO board 5 The next part is socal at d Socal at d is the onboard GBIC so look for a connection at board level. Any more info needed I am your Girl!!! Regards Julie Here's my original request: -----Original Message----- From: Jim Southerd [mailto:jsoutherd at bakersfield.com] Sent: 04 December 2002 16:21 To: Sunmanagers (E-mail) Subject: Enterprise Server Paths interpretation Can some one direct me to a site/document, etc... on how to interpret those funky Sun loooong ids to a real hardware? I'm currently experiencing Fibre Channel challenges and I did see a couple messages regarding some device, but have no clue. Here are two samples /sbus at 2,0/SUNW,socal at d,10000/sf at 0,0 (sf0) /sbus at a,0/SUNW,socal at d,10000/sf at 0,0 (sf2) And of course couple days ago I had a panic reboot. E4500 Solaris 7 Thank you in advance for your help. PS: I did find an interesting site with a tech note on how to read, but it's not entirely helpful since it's not the E4500. Jim Southerd mailto:jsoutherd at bakersfield.com Progress / Solaris Administrator Information Services Sr. Systems Analyst The Bakersfield Californian http://www.bakersfield.com 661.395.7429 / Fax: 661.395.7696 _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From hcchu at seventreasures.net Wed Dec 4 13:31:37 2002 From: hcchu at seventreasures.net (Hubert Chu) Date: Wed, 4 Dec 2002 13:31:37 -0500 (EST) Subject: SUMMARY: V480 serial connection In-Reply-To: Message-ID: Thanks to everyone that responded. Unfortunately we've exhausted all possibilities with no success, so we're sending the machine back for some testing. Right now it looks to me like a bad serial port, unlikely as that seems. On Tue, 3 Dec 2002, Hubert Chu wrote: > > We're experiencing problems connecting to a new V480 through a serial > connection. I'm connecting directly to the 480's serial port with a null > modem RJ-45 cable. I can see the POST, boot sequence, and login prompt > just fine, but I'm unable to transmit any commands. I'm also unable to > send a break signal. > > I'm almost certain the cabling is correct, as we set up our other 480s in > the same manner. Has anyone ever experienced this problem? Could it be a > hardware problem with the serial port? > > TIA _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From rlegate at shaw.ca Wed Dec 4 13:31:38 2002 From: rlegate at shaw.ca (rlegate at shaw.ca) Date: Wed, 04 Dec 2002 11:31:38 -0700 Subject: SUMMARY erasing dacstore Message-ID: <1ef37a1ea531.1ea5311ef37a@shaw.ca> As Darren Dunham pointed out, it was just the VTOC I wanted to erase. Andy Yother suggested under (f)ormat (t)ype and then (l)abel to select auto configure (option # 0), which worked. The label command must be used after in order for it to stick.I had tried selecting "SUN9.0G" (option # 18) but it had no effect. Rob Legate 780-493-2625 780 498-6540 cell _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From RWilliams at B-Line.ca Wed Dec 4 14:40:11 2002 From: RWilliams at B-Line.ca (Richard Williams) Date: Wed, 4 Dec 2002 14:40:11 -0500 Subject: summary NIS Message-ID: <014E75437724D511A60F0050BAAB3BFB3C7B08@MAIL> Thanks to all who replied. Most people were recommending the same setup. I will try your suggestion and will also invest in the book Managing NFS and NIS from O'Reilly, which was recommended by so many of you Here are a few of the suggestions: Martha Having a master and slave is a great idea - in fact, I wouldn't run with just one NIS server. I try to run two per subnet, because I have several older machines that can't bind off their subnet without intervention. This makes automatic re-binding in case of failure impossible and creates many unhappy users. The way the master and slave(s) works is not a cut-and-dried slaves take over for master. That's a little misleading. The master will still be the only place where you update your maps, so, in that sense, the slave doesn't take over. All the slave really does is provide an alternate machine for your clients to bind to rather than the master. Then, you must fix your master before you will be able to update maps again. John On each client machine using NIS you will need to A) add an entry in to the local hosts file for the NIS slave (you should already have an entry for the NIS master) B) run `ypinit -c` on the client. You need to enter the host names for both NIS servers (master and slave). This is what tells the client where to search for NIS servers. This command will basically edit the file /var/yp/binding//ypservers On the new NIS slave server run `ypinit -s ` to set up the master/slave relationship with the NIS master server. After you get the slave server set up, make as change to an NIS map on the master and verify that the updated map got pushed to the slave. Hi gurus, My NIS server died yesterday and caused total chaos. My plan now is to have two NIS servers on the network, Sol2.6, master / slave. Will the slave take over if the master goes down? Is there anything special I have to do for this configuration? I inherited this network so I am not very knowledgeable on NIS. All help will be greatly appreciated. Richard Martha Crocker UNIX System Administrator Philips Semiconductors 9651 Westover Hills Blvd. M/S 406 San Antonio, Texas 78251 (210)522-7468 voice (210)522-7300 fax martha.crocker at philips.com The information contained in this message is confidential and may be legally privileged. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, dissemination, or reproduction is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From foster at dim.ucsd.edu Wed Dec 4 17:08:23 2002 From: foster at dim.ucsd.edu (David Foster) Date: Wed, 4 Dec 2002 14:08:23 -0800 (PST) Subject: [SUMMARY] CDE: Adding Workspace Menu Items / Disabling auto screen-lock Message-ID: <200212042208.gB4M8NJ14585@dim.ucsd.edu> Got no replies on the "disable auto-lock" query, seems like this should be an easy fix but I sure cannot find it. One workaround is to adjust the timeout value for the DT screen saver: /etc/dt/app-defaults/C/Dtscreen As for adding workspace menu items, I've attached one SRDB doc which explains why sometimes changes made in /etc/dt files may not be seen by users. One person said to change the file sys.dtwmrc in /usr/dt/config/C if my locale is standard. Actually this file should be *copied* to /usr/dt/config/C where it will be used before the /usr/dt version. Then menu items can be added. Here is one example: to add extra telnet links: Menu TelnetMenu { "Remote Logins" f.title "poseidon" f.exec "/usr/openwin/bin/xterm -bg black -fg green -sb -e telnet poseidon" "barbie" f.exec "/usr/openwin/bin/xterm -bg black -fg green -sb -e telnet barbie" } I was referred to a CDE FAQ: http://www.immt.pwr.wroc.pl/faq/msg00025.html but this doesn't answer either of my questions. Thanks to: E. Annette Lee Rene Occelli Christer Eriksson Jimmy De Laet > > > Ok. Every time I have to dig into CDE I get a massive headache. > > Can someone please tell me how I would: > > 1) Add a Workspace menu item with mutiple options, system-wide. > I know how to add it for a single user, by modifying files > in ~user/.dt, but I would like to make this the default setup > that each user inherits. > > I've tried mucking with /etc/dt, but the changes don't > seem to get sucked in when a new user is created. > > It would be nice to be able to just modify a file which > defines the menu, similar to XDM, and not have to bother > with "action files" etc.. > > 2) Make it so the automatic screen locking feature (after a > period of inactivity) is Off by default, or disable this > feature if possible. > > Dave > > > << All opinions expressed are mine, not the University's >> > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > David Foster National Center for Microscopy and Imaging Research > Programmer/Analyst University of California, San Diego > dfoster at ucsd.edu Department of Neuroscience, Mail 0608 > (858) 534-4583 http://ncmir.ucsd.edu/ > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > "The reasonable man adapts himself to the world; the unreasonable one > persists in trying to adapt the world to himself. Therefore, all progress > depends on the unreasonable." -- George Bernard Shaw > > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers << All opinions expressed are mine, not the University's >> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= David Foster National Center for Microscopy and Imaging Research Programmer/Analyst University of California, San Diego dfoster at ucsd.edu Department of Neuroscience, Mail 0608 (858) 534-7968 http://ncmir.ucsd.edu/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= "The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable." -- George Bernard Shaw SRDB ID: 20466 SYNOPSIS: Configuring dtwmrc System Wide Desktop Changes using CDE 1.3 or Solaris Desktop Extensions 1.0 DETAIL DESCRIPTION: Custom global desktop setting are not taking effect in Solaris 2.6 or Solaris 7. Common Desktop Environment (CDE) 1.3 is being used. The same problem occurs on Solaris 2.6 using Solaris Desktop Extensions (SDE) 1.0. The /etc/dt/config/sys.dtwmrc file is being edited to create the changes but users are not seeing the changes when they login to CDE. Same problem occurs when /usr/dt/config/sys.dtwmrc is used. With earlier versions of CDE (1.2 and below), System Administrators could build system wide menu definitions by editing /etc/dt/config...sys.dtwmrc or /usr/dt/config...sys.dtwmrc All users saw the changes unless they explicitly customized their environment with a $HOME/.dt/...dtwmrc file. SDE 1.0 and CDE 1.3 have changed the process so that users have a $HOME/.dt/...dtwmrc file after their first login. Subsequent changes to the /etc/dt/config/...sys.dtwmrc will not be visible. SOLUTION SUMMARY: System administrators can modify the system /etc/dt/config/sys.dtwmrc or /usr/dt/config/sys.dtwmrc file to add a filename to the INCLUDE clause at the end of the file. Example: INCLUDE { $HOME/.dt/$LANG/wsmenu.dtwmrc /etc/dt/config/sys.dtwmrc.extras $HOME/.dt/user.dtwmrc } The sys.dtwmrc.extras file will contain the actual changes that are being made to the system. Since a new user will get a copy of the /etc/dt/config/sys.dtwmrc when the user first logs in, the INCLUDE clause will be there and sys.dtwmrc.extras containing the global changes will be loaded. The System Administrator can change the included file and the users will get the updates whenever they logout and log back in or restart the workspace manager. Notes on Search order: When a user logs into CDE, the system looks for a dtwmrc file using the following search order: $HOME/.dt/$LANG/dtwmrc $HOME/.dt/dtwmrc /etc/dt/config/$LANG/sys.dtwmrc /etc/dt/config/sys.dtwmrc /usr/dt/config/$LANG/sys.dtwmrc /usr/dt/config/sys.dtwmrc Notes on SDE 1.0 and CDE 1.3 from: InfoDoc 17743 CDE versions and Solaris versions CDE 1.2 bundled with Solaris 2.6 and only supported on 2.6. Cannot be used with any other OS release. And you cannot use earlier versions of CDE with Solaris 2.6. Solaris Desktop "early-access release of CDE 1.3." Contains many features Extension 1.0 of CDE 1.3, but is not true CDE 1.3. May be used with (SDX, SDE, Solaris 2.6, but the user runs the risk of having problems SolarEZ) when applying CDE 1.2 patches to SDE packages. Not supported for any version of Solaris except 2.6. CDE 1.3 bundled with Solaris 7 and only supported on Solaris 7. Cannot be used with any other OS release. And you cannot use earlier versions of CDE with Solaris 7. BUG REPORT ID: 4194043 PRODUCT AREA: Windows PRODUCT: CDE SUNOS RELEASE: Solaris 7 HARDWARE: any _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From sunixadm at yahoo.com Thu Dec 5 02:04:53 2002 From: sunixadm at yahoo.com (UnixAdmin) Date: Wed, 4 Dec 2002 23:04:53 -0800 (PST) Subject: SUMMARY: Locking down access to workstations via Exceed In-Reply-To: <20021203151531.36725.qmail@web20209.mail.yahoo.com> Message-ID: <20021205070453.82636.qmail@web20203.mail.yahoo.com> Hi Admins, Thanks to the following for helping me solve this problem: Mike Penny McCaffity, Ray Brent Killion Peers, Julie Christophe Dupre John D Groenveld McKinlay, Ken What worked for me was coppying the file /usr/dt/config/Xaccess to /etc/dt/config/. and hashing the lines that allowed XDMCP connections to the workstations. Thanx -Joe --- UnixAdmin wrote: Hi Admins, I'm looking for a way (on the workstation) to prevent Exceed users from attaching to different workstations. The workstations are all running Solaris 8. Thanx -Joe Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From jmc_babu at yahoo.com Thu Dec 5 05:43:53 2002 From: jmc_babu at yahoo.com (Chandra babu) Date: Thu, 5 Dec 2002 02:43:53 -0800 (PST) Subject: summary:sun ultra10 problem Message-ID: <20021205104353.85650.qmail@web13405.mail.yahoo.com> Thanx to Mr.HICHEL and peers julie for their suggestions. Peers suggested this problem has a bug for a non-networked sun ultra10.Bug id and problem description is attached.Thanx to the list. thanx chandra babu ===== ------------------------------------------------------ J.M CHANDRA BABU PH-080-2272425 ENGINEER-CS RES-080-3494178 CMC LTD. PAGER-9624-213790 BANGALORE-01 ------------------------------------------------------- Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From jmc_babu at yahoo.com Thu Dec 5 05:48:57 2002 From: jmc_babu at yahoo.com (Chandra babu) Date: Thu, 5 Dec 2002 02:48:57 -0800 (PST) Subject: summary:sun ultra10 problem Message-ID: <20021205104857.86211.qmail@web13405.mail.yahoo.com> Thanx to Mr.HICHAEL and peers julie for their suggestions. Peers suggested this problem has a bug for a non-networked sun ultra10.Bug id and problem description is attached.Thanx to the list. thanx chandra babu ===== ------------------------------------------------------ J.M CHANDRA BABU PH-080-2272425 ENGINEER-CS RES-080-3494178 CMC LTD. PAGER-9624-213790 BANGALORE-01 ------------------------------------------------------- Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com [demime 0.99c.7 removed an attachment of type application/msword which had a name of Bug ID.doc] _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From jon.ingason at equant.com Thu Dec 5 08:03:50 2002 From: jon.ingason at equant.com (jon.ingason at equant.com) Date: Thu, 5 Dec 2002 14:03:50 +0100 Subject: SUMMARY: Problem with the environment variable PATH Message-ID: Hi all, I got six answer which pointed out /etc/default/login. Well, that did not help, because I had looked there and found that PATH definition was commented out there. Original e-mail: ======================================================== I have some problem with the environment variable PATH. I am running Solaris 8 on Ultra 1, 10 and Enterprise 220R. On the Ultra 1 and 10 I get following PATH variable: PATH=/usr/bin::/usr/dt/bin:/usr/openwin/bin:/bin:/usr/ucb: On the Ultra Enterprise 220R I get following PATH variable: PATH=/usr/bin: This is if I ignore /etc/profile and other config files. The difference is that the Ultra 1 and 10 have patch 108528-15, while the Ultra Enterprise 220R have patch 108528-14. The question is where is the PATH variable initialized before /etc/profile is read and why is this difference between the patches? ======================================================== Regards Jon Ingason | Administration of UNIX Sr Field Ops Eng | DNS, Mail, News, Web, etc ------------------------------------------------------- IP/Router Operation Equant Sweden AB ------------------------------------------------------- Solna strandvdg 80 | Work: +46 8 5191 3316 PO BOX 1 | Fax: +46 8 5191 3200 171 18 SOLNA | Cellular: +46 708 91 3316 SWEDEN | E-mail: Jon.Ingason at equant.com ------------------------------------------------------- This e-mail (including any attachments) is confidential and may be legally privileged. If you are not an intended recipient or an authorized representative of an intended recipient, you are prohibited from using, copying or distributing the information in this e-mail or its attachments. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete all copies of this message and any attachments. Thank you. _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From duprec at scorec.rpi.edu Thu Dec 5 09:22:59 2002 From: duprec at scorec.rpi.edu (Christophe Dupre) Date: Thu, 5 Dec 2002 09:22:59 -0500 (EST) Subject: SUMMARY: Dual-attached disk array question In-Reply-To: Message-ID: Thanks to : Darren Dunham Chip Paswater Sven Heydecke for the quick replies. It seems that the only solution available on Solaris to dual-path non-fibre channel devices is to use Veritas Volume Manager with its VxDMP feature. However, that works only if the device reports different id/serial# for each LUN so that VxDMP can see that they're different. On Wed, 4 Dec 2002, Christophe Dupre wrote: > Hi, > I have a Sun Fire 280R with two Ultra160 SCSI controllers, connected to a > dual-controller disk array (which means that I can access each LUN on the > disk array through both controllers). I'd like to setup a redundant path. > I looked at Sun's AP (Alternate Pathing) which seems to do what I want, > but it only seems to support fibre channel ports, not vanilla SCSI ones. > > Am I missing something ? Is there a solution to have failover in case a > cable fails (or is accidentaly pulled out) ? > > Thanks. > > > -- > Christophe Dupre > System Administrator, Scientific Computation Research Center > Rensselaer Polytechnic Institute > Troy, NY USA > Phone: (518) 276-2578 - Fax: (518) 276-4886 > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers > -- Christophe Dupre System Administrator, Scientific Computation Research Center Rensselaer Polytechnic Institute Troy, NY USA Phone: (518) 276-2578 - Fax: (518) 276-4886 _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From jon.ingason at equant.com Thu Dec 5 09:59:13 2002 From: jon.ingason at equant.com (jon.ingason at equant.com) Date: Thu, 5 Dec 2002 15:59:13 +0100 Subject: SUMMARY II: Problem with the environment variable PATH Message-ID: Hi all, I got the right answer from Geoff Lane. Here is his answer: PATH=/usr/bin: is the system default (set by login I think) and is what you see if no other PATH is set in /etc/default/login, /etc/profile, .profile etc. PATH=/usr/bin::/usr/dt/bin:/usr/openwin/bin:/bin:/usr/ucb: includes /usr/dt/bin which suggest that it was set during a login via CDE. The default PATH for CDE logins is found in Dtlogin*userPath: in /usr/dt/config (or /etc/dt/config if modified.) If you also use SSH, PATH may be set within the ssh global config. It's a mess. Anything that uses an authenticated login should pick up /etc/default/login and use the value there but history means that every major login path into the system uses it's own standard :-( I now ignore them all and explicitly set PATH in .profile (and deal with cron, su etc as I need to.) Tanks Geoff. The original e-mail: > ======================================================== > I have some problem with the environment variable PATH. > I am running Solaris 8 on Ultra 1, 10 and Enterprise 220R. > On the Ultra 1 and 10 I get following PATH variable: > > PATH=/usr/bin::/usr/dt/bin:/usr/openwin/bin:/bin:/usr/ucb: > > On the Ultra Enterprise 220R I get following PATH variable: > > PATH=/usr/bin: > > This is if I ignore /etc/profile and other config files. > The difference is that the Ultra 1 and 10 have patch > 108528-15, while the Ultra Enterprise 220R have patch > 108528-14. > > The question is where is the PATH variable initialized > before /etc/profile is read and why is this difference > between the patches? > ======================================================== Regards Jon Ingason | Administration of UNIX Sr Field Ops Eng | DNS, Mail, News, Web, etc ------------------------------------------------------- IP/Router Operation Equant Sweden AB ------------------------------------------------------- Solna strandvdg 80 | Work: +46 8 5191 3316 PO BOX 1 | Fax: +46 8 5191 3200 171 18 SOLNA | Cellular: +46 708 91 3316 SWEDEN | E-mail: Jon.Ingason at equant.com ------------------------------------------------------- This e-mail (including any attachments) is confidential and may be legally privileged. If you are not an intended recipient or an authorized representative of an intended recipient, you are prohibited from using, copying or distributing the information in this e-mail or its attachments. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete all copies of this message and any attachments. Thank you. _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From zaigui at yahoo.com Thu Dec 5 15:20:33 2002 From: zaigui at yahoo.com (Zaigui Wang) Date: Thu, 5 Dec 2002 12:20:33 -0800 (PST) Subject: Summary: background a process: how to catch its output (error, standard out, etc)? In-Reply-To: <200212051922.gB5JMSJ16216@dim.ucsd.edu> Message-ID: <20021205202033.37643.qmail@web12304.mail.yahoo.com> Thanks for the quick replies from: Steve Maher David Foster Darren Dunham William J. Bochnik All of you guy provided the information that I wanted. My initial confusion came from the fact that I tried to catch the output after the "&", such as: tar xvf a_tar_file & > /tmp/log 2>&1 of course it did not work for me. The correct way of doing this is: tar xvf a_tar_file > /tmp/log 2>&1 & As far as recording the PID is concerned, $! seems to be the easiest way to go. I like Steve's way of handling this: scriptone.sh > /var/scriptone.$!.txt 2>&1 & Zaigui Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From Sumair.Mahmood at qlogic.com Thu Dec 5 16:35:46 2002 From: Sumair.Mahmood at qlogic.com (Sumair Mahmood) Date: Thu, 5 Dec 2002 13:35:46 -0800 Subject: SUMMARY: Formatting Numbers to be Comma Separated Message-ID: ORIGINAL QUESTION ================= Any suggestions on how I can format numbers so that they come out comma separated? INPUT: echo "123456789" | OUTPUT: 123,456,789 My research into awk/nawk [and print/printf] didn't prove very successful. It seems only to do floating point, e-notation, etc. I suppose I could write a script to do this, but I'm hoping there is a Solaris utility / option I'm simply over looking. ANSWERS ================= 1. John Leadeham provided the sed solution I needed: From Eric Pement's Handy One-Liners for Sed document at http://www.student.northpark.edu/pemente/sed/sed1line.txt # add commas to numeric strings, changing "1234567" to # "1,234,567" gsed ':a;s/\B[0-9]\{3\}\>/,&/;ta' # GNU sed sed -e :a -e 's/\(.*[0-9]\)\([0-9]\{3\}\)/\1,\2/;ta' # other seds # add commas to numbers with decimal points and minus # signs (GNU sed) gsed ':a;s/\( \|[ 0-9.]\)\([0-9]\+\)\([0-9]\{3\}\)/\1\2,\3/g;ta' 2. Darren Dunham, Dave Mitchell, and Andy Bach demonstrated the same in Perl: This is a frequently asked question of perl, so if you have that installed you can type % perldoc -q "commas added" and see the entry for doing this as a perl script. $ echo "1234567890" | perl -pe '1 while s/(.*)(\d)(\d\d\d)/$1$2,$3/' 1,234,567,890 3. And Tim's awk script is something I aspire to be able to emulate one day! Here is one example, it works with any number of digits, as far as is reasonable. It does NOT zero fill: { len=length($1) place=1 while (len > 0) #Going to pick off digits one at a time { digit=substr($1,len,1) # printf("Current digit is %d\n",digit) if (place > 3) {place = 1 outval=digit","outval } else {outval=digit outval } len-- place++ # printf("pretty number is %s\n",outval) } printf("pretty number is %s\n",outval) } -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Sumair Mahmood Sr. Unix Systems Engineer QLogic Corporation -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From santhaman at hotmail.com Thu Dec 5 17:01:28 2002 From: santhaman at hotmail.com (Santhakumar Sivasingam) Date: Fri, 06 Dec 2002 09:01:28 +1100 Subject: Summary: Hardning Sol 7 Message-ID: Hi, Thanks to the following managers for their valuable time and input (links and doco). The server is alredy running on minimal services and we want to tighten it further. rpc/md entery in /etc/inetd.conf will not be affected unless I use gui tool for sds. Karl Vogel Michael Peppard Chris Price Christopher Paul Galjan Henrik Huhtinen Markus Schlup petri kallberg Luc I. Suryo Angel Alejandro Vega McKinlay, Ken McCaffity, Ray Thanks Santha _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From ellipses at society86.com Fri Dec 6 00:34:45 2002 From: ellipses at society86.com (ellipses) Date: Thu, 5 Dec 2002 23:34:45 -0600 Subject: SUMMARY; Ethernet Interfaces.. Message-ID: <00cd01c29ce9$3cecf370$01a8a8c0@rancid3> Several of you asked for the solution to this, and so I did send a post to the list about it last week.. but never saw it post, or got a response from the moderator.. so here it is again. ----------------------- cut ----------------------------------------- Use SunTrunking, which is available from sun for a price, or IP Mulitpathing (IPMP), which was conveyed to be included with Solaris software following 8 01/01 and Up. Info for these can be found @ docs.sun.com Also, some said to look into some specialized cards (http://www.znyx.com) Or look into EtherChannel.. Thats was pretty much what most of the answers were. I'll probably look into the IPMP stuff. becuase my boxen are sitting on Cisco gear, so that will probably work best, Although I wont get 200Mbps througput, Im more worried about redundancy, BUT if my higher ups decide they want to see 200Mbps, then they gotta spring for the SunTrunking software! :) Theere ya go.. Thanks again for the help! ------------------------cut ---------------------------------------- Good luck! jrmy _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From richard at yellowgoanna.com Fri Dec 6 08:18:37 2002 From: richard at yellowgoanna.com (Richard Russell) Date: Fri, 6 Dec 2002 23:48:37 +1030 Subject: SUMMARY: iPlanet password security In-Reply-To: <20021206162606.A7110@yellowgoanna.com>; from richard@yellowgoanna.com on Fri, Dec 06, 2002 at 04:26:06PM +1030 References: <20021206162606.A7110@yellowgoanna.com> Message-ID: <20021206234837.A8458@yellowgoanna.com> I've been told that iPlanet requires an LDAP server to do any authentication. If this is indeed the case, I'm pretty dissappointed. Whatever happenned to making the simple things simple? Anyway, now I need to install an LDAP server and work out how to configure it for the simple task of one username and password... sigh. Thanks for the help anyway, gurus :) rr On Fri, Dec 06, 2002 at 04:26:06PM +1030, Richard Russell wrote: > Hi, > > I have an iPlanet (Sun ONE) Web Server, Enterprise Edition 6.0 running > on a V100 with Solaris 8. I have a vitrual server that has a directory > structure as follows: > > /index.html > /Application1/ > /Application2/ > > ... and I want to be able to restrict access to Application1 to a > single user, while leaving index.html and the Application2 separate. > Now, I've discovered the ACL file editing on the web-based admin > interface, and indeed, I have set up my ACL file approximately as I > want it[1]. However, I can't figure out what I'm supposed to be > authenticating against. In Apache, I use htpasswd to create an apache > passwd file... What do I use with iPlanet? > > thanks > > rr > > [1] The ACL file (slightly edited for privacy) > ---- > version 3.0; > acl "default"; > authenticate (user, group) { > prompt = "iPlanet Web Server"; > }; > allow (read, list, execute,info) user = "anyone"; > allow (write, delete) user = "all"; > > acl "es-internal"; > allow (read, list, execute,info) user = "anyone"; > deny (write, delete) user = "anyone"; > > acl "path=/"; > authenticate (user,group) { > database = "default"; > method = "basic"; > prompt = ""; > }; > allow (all) > (user = ""); > > deny (all) > (user = "anyone"); > ---- > > > > -- > Richard Russell > Yellow Goanna P/L > e: richard at yellowgoanna.com > m: +61 412 827 805 > f: +61 8 8462 2362 > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers > -- -- Richard Russell Yellow Goanna P/L e: richard at yellowgoanna.com m: +61 412 827 805 f: +61 8 8462 2362 _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From Jeffrey.Wimmer at northropgrumman.com Fri Dec 6 10:36:50 2002 From: Jeffrey.Wimmer at northropgrumman.com (Wimmer, Jeffrey) Date: Fri, 6 Dec 2002 07:36:50 -0800 Subject: SUMMARY: CDRW and Plextor PW-12/10/32TSe Message-ID: I thought I had sent a summary of the CDRW/Plextor problem, but have had several people email me directly asking if I found a fix, so it's evident my summary never made it to the list. Here it is again, and hopefully will help those still having problems. I have had several people send suggestions, all of which I've tried, and I thank the following people for sending them. Randy Adams provided the fix listed below. Jay Lessert David Foster Thomas McMurtrey Rainer Heilke Ryan Krenzischek Randy Adams. I noticed the following if I placed a blank cd-rw into the plextor vs a blank CD-R: # cdrw -M Device : PLEXTOR CD-R PX-W1210S Firmware : Rev. 1.03 (05/23/01 10) Media is blank # This tells me it reads the media just fine, but if I do the following, it shows the error and won't change reporting status until the plextor is powered off and back on: # cdrw -i 2.6.recommended.iso Initializing device...done. Writing track 1...failed. Transport mechanism error: I/O error This file (2.6.recommended.iso is only about 129MB of data...so it should be fine. The SGC and FBK files that some recommended only need to be used if cdrecord is used. If you use cdrw on Sol 8, no additional drivers need to be used, but yet, I can't seem to get it to write to the CD-RW properly, or get it to recognize it afterwards. Solaris 8 was installed with 64bit support, but I don't see how that would come into play. THE FIX: The problem I had was in the switch positions on the rear of the drive. They needed to be set as follows, then power the drive off and back on, and all was well. First switch is parity OFF Second switch is termination ON Third switch is test OFF Fourth switch is block OFF Fifth is for audio if you need it. The bios on the Plextor only can handle active termination. After resetting the dip switches, I did the following as my test: hdw200# cdrw -M Device : PLEXTOR CD-R PX-W1210S Firmware : Rev. 1.03 (05/23/01 10) Media is blank hdw200.littondsd.com# cdrw -i 2.6.recommended.iso Initializing device...done. Writing track 1...done. Finalizing (Can take upto 4 minutes)...done. hdw200# Thanks all ..... Jeff Wimmer The original question is below > > I have attached the Plextor 12/10/32S to my Ultra 30, it's all > recognized just fine. When I do the following command to write a cd > however, I get the following error. Has anyone ever seen it before? > > > # mkisofs -r /development 2>/dev/nul | cdrw -i -p 1 > Initializing device...done. > Writing track 1...failed. > Transport mechanism error: > I/O error > > I looked at the CD after it errored and saw that it wrote a bit on the > first few tracks....then the error kicked it out....I would think > writing at a speed of 1 should be slow enough....but then again maybe > it's too slow. I then ran it in sim mode....and got the following > below... > > # mkisofs -r /development 2>/dev/nul | cdrw -S -i -p 1 > Initializing device(Simulation mode)...done. > Writing track 1...failed. > Transport mechanism error: > I/O error > > Just about the same thing. I will try it once more at a faster > speed...could have been going too slow with a -p 1 speed. > > I was trying to write the contents of the development filesystem to > CD....and it's less than 600MB so it should fit just fine......any > ideas? > > I'll summarize > > Jeffrey G. Wimmer. 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 Jeffrey.Wimmer at northropgrumman.com [demime 0.99c.7 removed an attachment of type image/gif which had a name of flyingwing.gif] _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From joe.fletcher at btconnect.com Fri Dec 6 10:49:50 2002 From: joe.fletcher at btconnect.com (joe.fletcher at btconnect.com) Date: Fri, 6 Dec 2002 15:49:50 GMT Subject: SUMMARY: Emulex Lightpulse in Blade2000 Message-ID: <3df0c71e.51fc.0@btconnect.com> Hi, Fixed it. The solution was to reorder the cards in the PCI slots. We now have the graphics card in the bottom slot and the two LP8000s in slots 2 & 3. ----------------originally ------------------------------ Got a Blade 2000, 2x900MHz into which I'm attempting to install a couple of Emulex Lightpulse 8000 fibre HBA. As soon as I install the drivers (lpfc4.2.1e) the machine will crash on restart with a PCI bus error. Take the drivers out and everything works again. Solaris is patched on the Blade. OBP is 4.5.16. Emulex cards are new with latest firmware. FWIW we've got dozens of V880s using these things without problems. Any ideas anyone? _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From Warchol at harthosp.org Fri Dec 6 10:55:53 2002 From: Warchol at harthosp.org (Dave Warchol) Date: Fri, 06 Dec 2002 10:55:53 -0500 Subject: SUMMARY: Mirroring, SunBlade 1000 with DiskSuite Message-ID: First, my apologies for the late summary. Second, thanks to all who replied: - Mike Demarco - Julie Peers (I had four responses from Julie, awesome....), - Hichael Morton, and, - "Mke" =============================================== From richard at yellowgoanna.com Fri Dec 6 11:14:00 2002 From: richard at yellowgoanna.com (Richard Russell) Date: Sat, 7 Dec 2002 02:44:00 +1030 Subject: SUMMARY: [2] iPlanet password security In-Reply-To: <20021206234837.A8458@yellowgoanna.com>; from richard@yellowgoanna.com on Fri, Dec 06, 2002 at 11:48:37PM +1030 References: <20021206162606.A7110@yellowgoanna.com> <20021206234837.A8458@yellowgoanna.com> Message-ID: <20021207024400.E8458@yellowgoanna.com> On Fri, Dec 06, 2002 at 11:48:37PM +1030, Richard Russell wrote: > I've been told that iPlanet requires an LDAP server to do any > authentication. If this is indeed the case, I'm pretty dissappointed. > Whatever happenned to making the simple things simple? Anyway, now I > need to install an LDAP server and work out how to configure it for > the simple task of one username and password... sigh. OK, problem solvered. LDAP is not needed, as a number of people pointed out... It's just the default. To enable .htaccess style authentication, I followed directions as stated in http://docs.sun.com/source/816-5682-10/esaccess.htm#1011810, specifically the sections titled: "Enabling .htaccess from the User Interface" and "Enabling .htaccess from magnus.conf" (which was half-done automatically, but step 6 was not...) I then had to edit the generated.https-.acl file, and remove an ACL I had earlier added, so it would use the .htaccess and _not_ try to do anything funky with a non-existing LDAP server. From Karl.Rossing at Federated.CA Fri Dec 6 11:21:31 2002 From: Karl.Rossing at Federated.CA (Karl.Rossing at Federated.CA) Date: Fri, 6 Dec 2002 10:21:31 -0600 Subject: Summary: Formmail In-Reply-To: Message-ID: Run TFMail instead: http://nms-cgi.sourceforge.net/ Thanks to all that replied. sunmanagers-admin at sunmanagers.org wrote on 12/03/2002 10:21:36 AM: > Is there anything i should watch for when implementing formmail.pl on a > solaris 8 box on a DMZ? > > http://www.scriptarchive.com/formmail.html > > Thanks > > Karl > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From jsoutherd at bakersfield.com Fri Dec 6 13:15:03 2002 From: jsoutherd at bakersfield.com (Jim Southerd) Date: Fri, 6 Dec 2002 10:15:03 -0800 Subject: Summary: Simple question ... Message-ID: <6D32517004178743B3E795110ED09FDA03B85017@exchange.bakersfieldcalifornian.net> Thanks to all who replied. Guess I was not too far off. The replies made me think and try things. What I found is that you can do all sorts of put, get, but you cannot mix mput/mget with get/put. And as far as status, no one said it does. Some of the suggestions were exactly what I'm doing already, putting a status file out there and checking for it's existence. Most suggested to use Perl, unfortunately I don't know Perl. I wanted to learn it long ago, but life got on the way. Oh, I used Perl before by looking at other scripts, and I may consider it, but what I'm doing presently is doing the job. Some suggested Expect http://expect.nist.gov/ I would rather not load another thing on my server. Again, thank you all for your suggestions. Here's my original question. -----Original Message----- From: Jim Southerd Sent: Friday, December 06, 2002 8:38 AM To: Sunmanagers (E-mail) Subject: Simple question ... Sorry to ask such a simple question, but I cannot find any dox anywhere on this. I am currently running several ftp scripts getting or megetting and putting files, but I have several scripts each doing one of the above or the other. What I would like to be able to do is to script more then one function within a single ftp session. Is that possible? Does ftp return any kind of a status code so my shell script can tell if the ftp was successful? Any direction would be greatly appreciated, thank you! Jim Southerd mailto:jsoutherd at bakersfield.com Progress / Solaris Administrator Information Services Sr. Systems Analyst The Bakersfield Californian http://www.bakersfield.com 661.395.7429 / Fax: 661.395.7696 _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From jsoutherd at bakersfield.com Fri Dec 6 13:44:56 2002 From: jsoutherd at bakersfield.com (Jim Southerd) Date: Fri, 6 Dec 2002 10:44:56 -0800 Subject: Summary: Simple question ... (Correction) Message-ID: <6D32517004178743B3E795110ED09FDA03B85019@exchange.bakersfieldcalifornian.net> Just thought of trying some... Found out you can mix mput/mget with put/get as long as the put/get happens before the mput/mget. put myfile mget manfiles.* -----Original Message----- From: Jim Southerd Sent: Friday, December 06, 2002 10:15 AM To: Sunmanagers (E-mail) Subject: Summary: Simple question ... Thanks to all who replied. Guess I was not too far off. The replies made me think and try things. What I found is that you can do all sorts of put, get, but you cannot mix mput/mget with get/put. And as far as status, no one said it does. Some of the suggestions were exactly what I'm doing already, putting a status file out there and checking for it's existence. Most suggested to use Perl, unfortunately I don't know Perl. I wanted to learn it long ago, but life got on the way. Oh, I used Perl before by looking at other scripts, and I may consider it, but what I'm doing presently is doing the job. Some suggested Expect http://expect.nist.gov/ I would rather not load another thing on my server. Again, thank you all for your suggestions. Here's my original question. -----Original Message----- From: Jim Southerd Sent: Friday, December 06, 2002 8:38 AM To: Sunmanagers (E-mail) Subject: Simple question ... Sorry to ask such a simple question, but I cannot find any dox anywhere on this. I am currently running several ftp scripts getting or megetting and putting files, but I have several scripts each doing one of the above or the other. What I would like to be able to do is to script more then one function within a single ftp session. Is that possible? Does ftp return any kind of a status code so my shell script can tell if the ftp was successful? Any direction would be greatly appreciated, thank you! Jim Southerd mailto:jsoutherd at bakersfield.com Progress / Solaris Administrator Information Services Sr. Systems Analyst The Bakersfield Californian http://www.bakersfield.com 661.395.7429 / Fax: 661.395.7696 _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From rene_casalme at baxter.com Fri Dec 6 13:51:58 2002 From: rene_casalme at baxter.com (rene_casalme at baxter.com) Date: Fri, 6 Dec 2002 10:51:58 -0800 Subject: Summary - High I/O Wait but can't find which process is doing it Message-ID: Thank you to all who responded. The one I find helpful is the "ps -elf" which shows the status of the processes. There were a number of suggestions to perform a truss to see what's going on with that process - as seen in the "ps -elf" command. A number of people suggested using the lsof command. In my particular situation this was not as helpful since there were a number of database running in the busy partition - lsof showed me all of the big datafiles opened by the five database instances. I noted that the developers were creating databases on their own. The /etc/system parameters were for two databases so I increased the number of semaphores based on the Oracle guidelines. This appears to have solved the problem and alleviated what appears to be locking. Many thanks to the following people: _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From hollister_harley at yahoo.com Fri Dec 6 14:26:32 2002 From: hollister_harley at yahoo.com (Kevin Butters) Date: Fri, 6 Dec 2002 11:26:32 -0800 (PST) Subject: Summary: NICs setting to 0.0.0.0 Message-ID: <20021206192632.57989.qmail@web21203.mail.yahoo.com> Thank you for all the responses. Everyone was close or right on the money. The problem stemmed from a mismatch of hostname entries in the /etc/hostname.hme0 and /etc/hosts. Thank you, HH Yahoo! Mail Plus - Powerful. Affordable. Sign up now _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From Satish.Ramaswamy at uscellular.com Fri Dec 6 15:26:17 2002 From: Satish.Ramaswamy at uscellular.com (Ramaswamy, Satish) Date: Fri, 6 Dec 2002 14:26:17 -0600 Subject: extracting a specific file from tape using dd Message-ID: <750215D65E63BE4AB69BDFE85ACE9A4C09F3AF@chixchg03.wireless.local> gurus, i'm writing to tape using the dd command (i'll change the script to use cpio instead henceforth). the reason i do this, is i tar a bunch of files, then gzip them and write to tape. i didn't want to tar them again and write to tape.) the question is how do i retrieve a specific file from tape. i don't wish for all the files that i've written so far since i don't have the disk space. the command is use to write to tape is this dd if=/Backup/OMP$DATE.tar.gz of=$TAPE the values are obtained from the script DATE=`date '+%Y_%m_%d'` PATH1=/u01/apps/WatchMark/FlexPM/5.1/OMP TAPE=/dev/rmt/0n #changed the TAPE value from 0cbn (blocking factor 126 * 512) to 0n 12/05/02 export TAPE export PATH1 export TAPE mt eom tar cvf /Backup/OMP$DATE.tar $PATH1/*.log gzip -N /Backup/OMP$DATE.tar mt -f /dev/rmt/0cbn nbsf 1 ( now, i tried dd if=/dev/rmt/0cbn bs=64512 (since the c implies a blocking factor of 126) of=/Backup but this is a directory and of expects a filename. thanks. satish _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From t.hespe at unsw.edu.au Fri Dec 6 17:03:46 2002 From: t.hespe at unsw.edu.au (Tim Hespe) Date: Sat, 07 Dec 2002 09:03:46 +1100 Subject: Summary - SDS question. Message-ID: <5.2.0.9.0.20021207084532.02eebb28@pop3.unsw.edu.au> Thanks to: Jed Dobson, Jeff Woolsley, Julie Peers, Ana Estuardo, Ralf Albrecht. With regards to resyncing the submirror, 4 out 5 respondents suggested using metareplace with -e option. One respondent suggested I just use metattach to resync the device. Being excessively timid I was not brave enough to try the second method (which I have no doubt would have worked) so I went with the majority and the first method which worked fine. I recreated the metadb replicas as below. Thanks again to all respondents. Original post: >Hi Sunmanagers, > We experienced power fluctuations which caused a drive to momentarily spin >down. The drive has 5 slices 4 of which are submirrors of 4 different SDS mirrors. >The 5th slice contains metadb replicas. >I am fairly confident that there is nothing wrong with the disk. >Two of these submirrors are shown as needing maintenance and the other 2 are OK. >Also one of the metadb replicas on this device are showing up as having device write >errors. > > flags first blk block count > a m p luo 16 1034 /dev/dsk/c0t0d0s7 > a p luo 1050 1034 /dev/dsk/c0t0d0s7 > a p luo 2084 1034 /dev/dsk/c0t0d0s7 > a p luo 16 1034 /dev/dsk/c2t0d0s7 > a p luo 1050 1034 /dev/dsk/c2t0d0s7 > a p luo 2084 1034 /dev/dsk/c2t0d0s7 > W p l 16 1034 /dev/dsk/c7t0d0s7 > a p luo 1050 1034 /dev/dsk/c7t0d0s7 > a p luo 2084 1034 /dev/dsk/c7t0d0s7 > >Question. > Should I use metareplace with the -e option to transition the submirrors needing >attention to the available state. The man page seems to be saying that you would use this option when >you have had a power disturbance. Has anyone had a similar experience and used this option? > I guess the alternative would be to do >metadetach->metaclear->metattach > >Also what steps should I take to fix the metadb replica? >metadb -d /dev/dsk/c7t0d0s7 >followed by >metadb -a -c 3 /dev/dsk/c7t0d0s7 ? Tim Hespe System Admin. University of New South Wales Library t.hespe at unsw.edu.au _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From Satish.Ramaswamy at uscellular.com Fri Dec 6 19:10:56 2002 From: Satish.Ramaswamy at uscellular.com (Ramaswamy, Satish) Date: Fri, 6 Dec 2002 18:10:56 -0600 Subject: summary: extracting a specific file from tape using dd Message-ID: <750215D65E63BE4AB69BDFE85ACE9A4C09F3B4@chixchg03.wireless.local> gurus, thanks to mark,jim , tom who responded. i resolved the problem with the help of a spanish friend dd= | gzip -d -c (i was missing this) |tar xvf - or tar tvf- satish _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From ajithkg at infosys.com Sat Dec 7 10:00:01 2002 From: ajithkg at infosys.com (Ajith Kumar.G) Date: Sat, 7 Dec 2002 20:30:01 +0530 Subject: SUMMARY: Network performance on E 250. Message-ID: Thanks to Siebe_Jamnagar Patrick Oreilly Ryan Bishop Patrick Oreilly Siebe_Jamnagar julie.peers Walt.Sullivan There are two interface cards in the machine. All my ndd queries were getting the status from instance 1 which is not connected. Just before ndd queries, I have set the instance to 0. Now, I am getting the proper status of hme0. Thanks for your help. Regards, Ajith -----Original Message----- From: Ajith Kumar.G Sent: Thursday, December 05, 2002 11:23 PM To: sunmanagers at sunmanagers.org Subject: Network performance on E 250. Hi Gurus, I have one E250 machine. Machine is connected to a 100 MBPS full duplex switch port. I am able to connect to the machine from the network. But the network performance is not appreciable. Here is the output of my network status commands ndd -get /dev/hme link_speed 0 ndd -get /dev/hme link_mode 0 ndd -get /dev/hme link_status 0 Its quite embarrassing that I get '0' in network status. Believe me, I can connect to the machine from the network !! So I try to force the 100 MBPS full duplex on hme. My /etc/system has the below entries. 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 Even after forcing the 100MBPS it give me the same status on all the ndd -get commands as mentioned earlier. Any help on this would be of great help. Will summarize. Regards, Ajith _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From jjah at sol.ccsf.cc.ca.us Sun Dec 8 13:03:08 2002 From: jjah at sol.ccsf.cc.ca.us (Joe R. Jah) Date: Sun, 8 Dec 2002 10:03:08 -0800 (PST) Subject: SUMMARY: Updading Recommended Patch Cluster Message-ID: Thank you Dave Foster, Andrew J. Caines, Hichael Morton, Alex Theodore, and Steve B. for your responces. For now I will do what I have been doing: Download the entire cluster, diff the patch_order against the last installed one, and install with resulting patch_order. I could skip the diff and install with its patch_order intact; the installed patches wont install, anyway;) The alternative is to get an account at Sunsolve to get their patchdiag and other utilities to automate the process. Andrew's custom_cluster URL is broken, so I could not check it out;( Here is the original message; the five responses follow: ---------- Original message ---------- Date: Sat, 7 Dec 2002 12:58:37 -0800 (PST) From: Joe R. Jah To: sunmanagers at sunmanagers.org Subject: Updading Recommended Patch Cluster Hi Folks, I apply the latest Recommended Patch Cluster to my Spark box periodically; however, every time I download the entire cluster, ~75 MB, for just a few new patches from: http://sunsolve.Sun.COM/pub-cgi/show.pl?target=patches/patch-access Is there a "Recommended Patch Cluster *Update*", or something that I can download only what has been added since my last download? Best regards, Joe -- _/ _/_/_/ _/ ____________ __o _/ _/ _/ _/ ______________ _-\<,_ _/ _/ _/_/_/ _/ _/ ......(_)/ (_) _/_/ oe _/ _/. _/_/ ah jjah at sol.ccsf.cc.ca.us ------- 1 ------- Date: Sat, 7 Dec 2002 13:05:14 -0800 (PST) From: David Foster To: jjah at sol.ccsf.cc.ca.us Subject: Re: Updading Recommended Patch Cluster There are some patch utilities like patchdiag at SunSolve that can check your system for outstanding patches and download *those*, check those out. Dave Foster ------- 2 ------- Date: Sat, 7 Dec 2002 16:34:54 -0500 From: Andrew J Caines To: Joe R. Jah Subject: Re: Updading Recommended Patch Cluster Joe, > Is there a "Recommended Patch Cluster *Update*", or something that I can > download only what has been added since my last download? Nope, but you can run my custom_cluster[1] script on the cluster tarball to save yourself a lot of time by eliminating applied patches. Just put the tarball in /var/tmp (or $BaseDir) and run it. [1] http://halplant.com:88/software/Solaris/scripts/custom_cluster -Andrew- -- _______________________________________________________________________ | -Andrew J. Caines- Unix Systems Engineer A.J.Caines at halplant.com | | "They that can give up essential liberty to obtain a little temporary | | safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 | ------- 3 ------- Date: Sat, 7 Dec 2002 19:42:00 -0800 (PST) From: Hichael Morton To: Joe R. Jah Subject: Re: Updading Recommended Patch Cluster at sunsolve, you can download patches individually. documentation gives the patches in the recommended list and can compare it to what you have already installed and just download the ones you need. (with multiple machine, i still download the new recommended patch and install all of them. the install program will ignore the patches already installed and just install the needed patches. to me, this is less work and aggravation. if you have the time and inclination, you can do all this "by hand". ------- 4 ------- Date: Sat, 7 Dec 2002 23:40:56 -0500 From: Alex Theodore To: Joe R. Jah Subject: Re: Updading Recommended Patch Cluster If you have a sunsolve account you may be able to downoad and use patchdiag tool. It will download a patchlist and compare it to what you have installed on your system thus creating a list of 'new' suggested patches for your system. You could parse this list and create a .netrc file for use with ftp so that you can download all the new files, etc.. I have done that type of thing in the past and it has worked very well. Best regards, Alex Theodore ------- 5 ------- Date: Sun, 8 Dec 2002 14:28:26 -0500 (EST) From: sun at bagdon.com To: Joe R. Jah Subject: Re: Updading Recommended Patch Cluster you could see if you can download just the patch-order file, then diff against showrev-p (highest rev loaded), see if the patch-order rev is higher, make a list of patches to download, then just download those patches. But something that Sun would offer? Not to my knowledge. Steve B. _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From lists at acksys.co.uk Mon Dec 9 06:44:26 2002 From: lists at acksys.co.uk (Darren Beale) Date: Mon, 9 Dec 2002 11:44:26 -0000 Subject: SUMMARY GCC 3.2 and missing 'ar' Message-ID: <007e01c29f78$53640170$6701a8c0@DOPPLER> Thanks to all who responded to my recent post where I asked where 'ar' was and if anyone uses GCC 3.2 with any problems I found 'ar' myself 10 seconds after hitting send, it's in /usr/css/bin NOT /usr/bin/ccs It also looks as if GCC 3.2 will work OK according to a few responses, I'll get over to the relevant lists now thanks again -- Darren Beale - Acksys Ltd Office: 020 8530 1454 Fax: 07092 394822 Mobile: 07711 716197 http://www.acksys.co.uk _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From HickeyM at bsci.com Mon Dec 9 11:17:21 2002 From: HickeyM at bsci.com (Hickey, Michael) Date: Mon, 9 Dec 2002 11:17:21 -0500 Subject: SUMMARY : /var/adm/messages Message-ID: <66583D98267CD411AF2B00805FC162AC02EB5A18@natpr4.bscexc1.bsci.com> Thanks to all who responded! Original Post: What setting controls the size of this log file, how do I tell it how large to grow before it rolls over? I looked in syslog.conf but I cannot Identify what determines the rollover. Summary of Responses: Pre Solaris 9: The roll over is controlled using /usr/lib/newsyslog, which is run from root's crontab. It rotates both /var/adm/messages and /var/log/syslog. 10 3 * * 0 /usr/lib/newsyslog Solaris 9: The rollover is controlled by /usr/sbin/logadm. This is a new program from Sun that will do smarter rotation, by rotating on file size or rotating on dates. The config file is /etc/logadm.conf 10 3 * * * /usr/sbin/logadm _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From chipman at ecopiabio.com Mon Dec 9 14:56:12 2002 From: chipman at ecopiabio.com (Tim Chipman) Date: Mon, 09 Dec 2002 14:56:12 -0500 Subject: SUMMARY: e250 <-> e450 Identity Swap ? Message-ID: <3DF4F55C.83D4B498@ecopiabio.com> Many! thanks to all those who replied; in no paticular order: Bruce Purcell Ryan Bishop Kevin Buterbaugh McClark Paolo Jejcic Robert Brockway Doug Floer John Riddoch Nick Hindley There were a variety of answers, ranging as follows: -> Don't do it, you must be mad :-) - insidious little issues will creep in and bite you in the future ; plus it isn't sun-supported hence creates tech support issue if sunsupport is needed. -> No prob, should work fine, probably best to do the swap using a cloned disk or the like to provide rollback in case of "disaster" (ie, the swapped disk is mucked up somehow and you want to get back where you started :-) -> as for 3rd party apps tolerating the migration, it will depend on the apps. "should typically be OK though". !!Note there MAY be licensing issues since some apps are licensed by CPU / CPU Power etc!! [ note the case for me on this box, but always good to keep in mind :-) ] In light of these comments, I'm still pondering if I want to proceed. The majority concensus suggests "yay" rather than "nay" ; certainly at the very least, I'll use a cloned disk or the like to test to ensure I've got a painless rollback in place. Many thanks again to all those who replied - the help is greatly! appreciated. Tim Chipman {and now, to see for yourself? the replies follow:} ===========ORIGINAL REPLIES FOLLOW=============== This should be fine. e250s & e450s are similar in many ways. As long as the cpu architecture is the same (sun4u in this case) it should be fine. The touch ./configure is smart though :) Checkout the man page for installboot and be ready to boot off cdrom when run installboot to get the e450 booting off the right device. Back the drive up before starting but I think you'll be fine. Good luck! Cheers, ============================== As I remember there is no "special" configuration that avoid you to do it. I did it from a E450 to a E250, and after a few boot -r everything work perfect. So it is doable. Anyway, I recommend you try first with another disk, make a dd of the root disk and then use that one in the new server. It should work perfect. Regards.- ============================== I haven't done an e250 to e450 transition before, but when I moved the boot disks from one E10k domain to another one, I had to remove /etc/path_to_inst and do a boot -a. This lets the system fix up the bus and device path differences. As for the apps, it really depends on the app. The main thing you might encounter from standard commercial applications is hostid based license locking. Usually, it's just a matter of transferring your licenses (and somtimes paying more money to license the extra CPUs). ============================== What we would typically do in that situation is temporarily install the E450's root disk in the E250 (this assumes they're the same size drive), then partition it identically and copy the E250's root disk to it. Put it back in the E450 and do a "boot -r." Having said that, I don't see any reason why your plan wouldn't work. HTH... ============================== This should not be an issue as long as you touch /.reconfigure or issue the boot -r command from the prompt. As you said below the hardware is identical and the nomenclature of the hardware i believe is the same. I can not remember if I have done this personally but I do not think that it would be an issue. ============================== I've done the reverse. At my last company, we ran databases (Progress) on e450s. We moved those disks to an e250. Ours were mirrored -- SDS was not happy, so we re-did the mirroring. With the reconfigure, we didn't have any other real problems. In theory, they are the same server (almost...) using the same hardware and the same OS. That's supposed to be the Solaris selling point -- proprietary stuff can be expected to just work. Anyway, moving backward from the e450 to the e250 was a breeze with the reconfigure. That was a couple of years ago, so perhaps time has made it seem easier ;-) ============================== Should work. Might be safer and maybe just as quick to do a ufsdump/ufsrestore from single user mode on the E450 over the network. ============================== The E250 and E450 use fairly radically different hardware internals (# of PCI/SCSI buses, how the memory is laid out), so I'd be surprised if your path_to_inst file worked OK on the E450. However, I have heard of various methods of doing this with booting from CD to create the path_to_inst & /dev tree; try this: http://groups.google.co.uk/groups?q=sun+managers+move+disk+path_to_inst&hl=e n&lr=&ie=UTF-8&selm=v0153050cacbd5e532b50%40%5B193.96.189.32%5D&rnum=5 ============================== From duprec at scorec.rpi.edu Mon Dec 9 15:17:01 2002 From: duprec at scorec.rpi.edu (Christophe Dupre) Date: Mon, 9 Dec 2002 15:17:01 -0500 (EST) Subject: SUMMARY: Hard drive brack for V100 In-Reply-To: Message-ID: Thanks to: Hichael Morton Randy Romero Andreas Hoeschler Brian Leveille Timothy Lorenc Harrington, David Luc I. Suryo Gerald Combs Jay Lessert Matt Harris I got tons of pointers to the Netra X1 3rd party disk instructions at http://jwm3.com/labs/netra/ which is a do-it-yourself guide at modifying the provided filler bracket. I also got pointers to a fwe sites that might have the bracket part#, but I couldn't find it. Finally, I got the numbers of two 3rd party vendors that might stock them, from which I'm waiting for a call back. I'd rather buy them (for a fair price) than doing it myself (laziness), but I'll do it in last resort. On Mon, 9 Dec 2002, Christophe Dupre wrote: > Hello everyone, > we just bought six V100 from Sun to be used as infrastructure servers (you > know, DNS, LDAP, syslog, etc). We expected to be able to put 3rd party > drives and memory in them as Sun's is really ovepriced : $250 list > ($200 discounted) for a 40GB hard drive, and nothing bigger available. I > can get a 80GB Seagate at the campus store for $120. Except that the 3rd > party won't have the required bracket, and according to my Sun rep I can't > get a disk bracket by itself. > > I don't know what is Sun's strategy here, but it's not increasing their > market share. I already have increasing difficulty to justify a Sun > machine, having to pay double for a stupid bracket will not help my case. > > So, is there anyone here who knows if that bracket has a part number, or > of a 3rd party that sells such brackets ? As far as I can tell, the Netra > X1 uses the same kind. > > > -- > Christophe Dupre > System Administrator, Scientific Computation Research Center > Rensselaer Polytechnic Institute > Troy, NY USA > Phone: (518) 276-2578 - Fax: (518) 276-4886 > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers > -- Christophe Dupre System Administrator, Scientific Computation Research Center Rensselaer Polytechnic Institute Troy, NY USA Phone: (518) 276-2578 - Fax: (518) 276-4886 _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From jsoutherd at bakersfield.com Mon Dec 9 15:22:17 2002 From: jsoutherd at bakersfield.com (Jim Southerd) Date: Mon, 9 Dec 2002 12:22:17 -0800 Subject: Summary: Simple question ... (getting status) Message-ID: <6D32517004178743B3E795110ED09FDA4E7562@exchange.bakersfieldcalifornian.net> Well fellow Sun managers, here's a real nice idea I got from John Surveyor, thank you John. I never thought of it and it should work real well. why not use the -v option and direct the output to some log file, then have the calling script check that log for successful connection and transfer. Here's a sample user at mysys /scriptfiles >cat doftp #!/bin/sh /scriptfiles/ftptest > /scriptfiles/ftp.log user at mysys /scriptfiles >cat ftptest ftp -i -n -v myserver << finish user anonymous mypasswd asc lcd /mydir/subdir cd /somedir/somesubdir mput junk.* bye finish user at mysys /scriptfiles >cat ftp.log Connected to myserver. 220 Myserver Microsoft FTP Service (Version 5.0). 331 Anonymous access allowed, send identity (e-mail name) as password. 230 Anonymous user logged in. 200 Type set to A. Local directory now /mydir/subdir 250 CWD command successful. 200 PORT command successful. 150 Opening ASCII mode data connection for junk.0. 226 Transfer complete. 200 PORT command successful. 150 Opening ASCII mode data connection for junk.1. 226 Transfer complete. 200 PORT command successful. 150 Opening ASCII mode data connection for junk.2. 226 Transfer complete. 221 user at mysys /scriptfiles > I did not write the checking script, that would be too imatterial at this point. Thank you all for your assistance! -----Original Message----- From: Jim Southerd Sent: Friday, December 06, 2002 10:45 AM To: Sunmanagers (E-mail) Subject: Summary: Simple question ... (Correction) Just thought of trying some... Found out you can mix mput/mget with put/get as long as the put/get happens before the mput/mget. put myfile mget manfiles.* -----Original Message----- From: Jim Southerd Sent: Friday, December 06, 2002 10:15 AM To: Sunmanagers (E-mail) Subject: Summary: Simple question ... Thanks to all who replied. Guess I was not too far off. The replies made me think and try things. What I found is that you can do all sorts of put, get, but you cannot mix mput/mget with get/put. And as far as status, no one said it does. Some of the suggestions were exactly what I'm doing already, putting a status file out there and checking for it's existence. Most suggested to use Perl, unfortunately I don't know Perl. I wanted to learn it long ago, but life got on the way. Oh, I used Perl before by looking at other scripts, and I may consider it, but what I'm doing presently is doing the job. Some suggested Expect http://expect.nist.gov/ I would rather not load another thing on my server. Again, thank you all for your suggestions. Here's my original question. -----Original Message----- From: Jim Southerd Sent: Friday, December 06, 2002 8:38 AM To: Sunmanagers (E-mail) Subject: Simple question ... Sorry to ask such a simple question, but I cannot find any dox anywhere on this. I am currently running several ftp scripts getting or megetting and putting files, but I have several scripts each doing one of the above or the other. What I would like to be able to do is to script more then one function within a single ftp session. Is that possible? Does ftp return any kind of a status code so my shell script can tell if the ftp was successful? Any direction would be greatly appreciated, thank you! Jim Southerd mailto:jsoutherd at bakersfield.com Progress / Solaris Administrator Information Services Sr. Systems Analyst The Bakersfield Californian http://www.bakersfield.com 661.395.7429 / Fax: 661.395.7696 _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From Eric.Trager at cbel.cit.nih.gov Mon Dec 9 16:18:53 2002 From: Eric.Trager at cbel.cit.nih.gov (Eric Trager) Date: Mon, 9 Dec 2002 16:18:53 -0500 (EST) Subject: SUMMARY: Overland Neo, Legato Networker, Solaris 8 - no go Message-ID: First, thanks to those who wrote to me with suggestions and thoughts, including Julie Peers David Eisner Wanke Matthias Marco Breedeveld Joe Fletcher Luc Suryo I have to say that this issue did not get resolved the way I would have liked. What I ended up doing, as an experiment, was to connect the Neo library to a Linux server obtained from Western Scientific that was host to an external LVD SCSI RAID enclosure. With the terminator on the jukebox now lit green, reporting an LVD connection, Networker was able to find and communicate with the jukebox enough to install it. What I am forced to assume is that the SE-SCSI port on the E6500 created such a poor connection to the jukebox (whose end was a VHDCI Micro Centronics 68-pin) and its drives that, while the devices were all detected on boot and the tape drives could be read from/written to, Networker could not communicate well enough with the jukebox to do anything with it other than see it. We are going to get one of the two jukeboxes into production over SCSI with a Linux node fitted with an Adaptec 29160. We are going to try to get the optional jukebox fiber connection working with the 6500 using the other library, since the SCSI connection is a no-go with that server and we don't want to invest in another expensive sbus card. - Eric ------- Original Post: This is something of a shot in the dark, but we're caught in a bad situation and my hope is someone reading this may have worked his/her way out of a similar situation. We are trying to get an Overland Neo LXN4000 series jukebox with two HP LTO drives working with an E6500 server. The drives and jukebox are connected to one another using VHDCI micro SCSI connections, and the box is then connected to the server using a wide 68-pin-to-68-pin-VHDCI cable. The terminator on the end of the chain on the jukebox is lit red indicating an SE connection. The server, using tar, can easily write and read to the drives. The MTX program (mtx.sourceforge.net) can communicate with the jukebox and move tapes around, including to and from the drives. The problem starts with Legato Networker. The software cannot seem to be able to communicate with the jukebox robotics. jbconfig finds the jukebox but after confirming the SCSI control port it simply says it's unable to access the jukebox. The sjirdtag program spits out bash-2.04# /etc/LGTOuscsi/sjirdtag scsidev at 7.6.0 SJIRDP: Device busy Code:0x29, Str= Legato support has been communicating with me (slowly) for the last couple of weeks, but we've gotten nowhere. I'm using version 6.1.2. I've been hoping they could tell me about a good debugging program to try but nothing has given any useful information. Overland has been helpful but they believe it is a Legato issue, especially since tar and mtx have no issues with the system. The only reason I doubt that a little is when I reset the server and drop to the ok prompt, probe-scsi-all reports the HP drives properly, but when it is supposed to report the Overland (OVERLANDNEO Series), it says Unknown message 2 I am open to any and all theories, suggestions, and similar war stories on this kind of thing. I'm just looking for new ideas at this point. _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From srothenb at montefiore.org Mon Dec 9 16:38:55 2002 From: srothenb at montefiore.org (Seth Rothenberg) Date: Mon, 09 Dec 2002 16:38:55 -0500 Subject: SUMMARY: timestamp Message-ID: Thanks to >>> "Fiengo, Paul (Contractor)" 12/09/02 04:09PM >>> >>> Jay Lessert 12/09/02 04:34PM >>> >>> Darren Dunham 12/09/02 04:19PM >>> >>>> david.markowitz at sspsolutions.com >>>Ray Brownrigg (and others who are still answering) for correct diagnosis. The server's clock does not match the client's clock. I need to set up NTP. For now, I just used rdate. The timestamp problem went away. We'll see if the application is any better.... Thanks guys Seth -----Original Message----- From: Seth Rothenberg [mailto:srothenb at montefiore.org] Sent: Monday, December 09, 2002 3:16 PM To: sunmanagers at sunmanagers.org Subject: timestamp I have an Ultra 60 running Solaris 8, and NFS mounting a Filesystem from a 4500 running 2.6. A number of files created in this filesystem have a strange appearance when I run ls -l - or even if I do a find with -ls, the timestamp is "Dec 9 2002" I was under the impression that ls will display the year if the file is older than six months, and will display the time if newer. The reason I am asking is we are having a problem with an application and I wonder if this is a sign of serious system problem, which may resolve my applications issue. Thanks Seth _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From santhaman at hotmail.com Mon Dec 9 16:53:35 2002 From: santhaman at hotmail.com (Santhakumar Sivasingam) Date: Tue, 10 Dec 2002 08:53:35 +1100 Subject: Summary: Apache htaccess Message-ID: Hi I was missing this line in httpd.conf AllowOverride AuthConfig Many thanks goes to Jim Winkle David Eisner Tyler Hardison Santha _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From aiggno at pmail.vnn.vn Tue Dec 10 04:56:47 2002 From: aiggno at pmail.vnn.vn (aiggno) Date: Tue, 10 Dec 2002 16:56:47 +0700 Subject: SUMMARY: Do I need to reinstall OS after added CPU to Sun 250 ? Message-ID: <003101c2a032$9ccbdc10$6e00a8c0@Dam> Hi all, Many thanks to : John B Balog Thomas_J_Jones Josh Turgasen Darren Brechman-Toussaint Robert Brockway Casper John Riddoch Raymond Plassart Bikash Sarkar Harald Mann Michael After you physicall install the CPU there are only two things you need to do. First is to do a reconfiguration reboot. You can do this by creating a file named "reconfigure" in the root directory ( touch /reconfigure ) and rebooting the system, using the command "reboot -- -r" or by using the command "boot -r" at the OpenBoot OK prompt. After you can done this use the "prtdiag" command. It will display the number of CPUs the system sees. You should see two CPUs: 0 and 1. If you can see them then both the hardware and software see the CPU and you are done. Regards, Aiggno _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From jon.ingason at equant.com Tue Dec 10 09:35:21 2002 From: jon.ingason at equant.com (jon.ingason at equant.com) Date: Tue, 10 Dec 2002 15:35:21 +0100 Subject: SUMMARY: Driver for D-Link DFE-580TX Message-ID: Thanks to all that answer. As I had already guessed, there are no driver for D-Link DFE-580TX for the SPARC platform. Regards Jon Ingason Equant Sweden AB Solna strandvdg 80 Phone: +46-8-5191 3316 Fax: +46-8-5191 3200 Mobile Phone: +46-708-91 3316 http://www.equant.com This e-mail (including any attachments) is confidential and may be legally privileged. If you are not an intended recipient or an authorized representative of an intended recipient, you are prohibited from using, copying or distributing the information in this e-mail or its attachments. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete all copies of this message and any attachments. Thank you. _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From netcomrade at bookexchange.net Tue Dec 10 12:35:14 2002 From: netcomrade at bookexchange.net (NetComrade) Date: Tue, 10 Dec 2002 12:35:14 -0500 (EST) Subject: SUMMARY: mapping e450's drives to physical locations In-Reply-To: Message-ID: Mike Kail was quick to point out this link: http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=finfodoc%2F18931&zone_110=18931 Thanx On Tue, 10 Dec 2002, NetComrade wrote: > can somebody point me (online) where I can get this info. > > e.g. i know c1t4 is an external drive, and i know c0t1 is the failed drive > I know where both are, but how about the rest? > > Thanx. > > 0. c0t0d0 > /pci at 1f,4000/scsi at 3/sd at 0,0 > 1. c0t1d0 > /pci at 1f,4000/scsi at 3/sd at 1,0 > 2. c0t2d0 > /pci at 1f,4000/scsi at 3/sd at 2,0 > 3. c0t3d0 > /pci at 1f,4000/scsi at 3/sd at 3,0 > 4. c1t4d0 > /pci at 1f,4000/scsi at 2/sd at 4,0 > 5. c2t0d0 > /pci at 6,4000/scsi at 2/sd at 0,0 > 6. c2t1d0 > /pci at 6,4000/scsi at 2/sd at 1,0 > 7. c2t2d0 > /pci at 6,4000/scsi at 2/sd at 2,0 > 8. c2t3d0 > /pci at 6,4000/scsi at 2/sd at 3,0 > 9. c3t0d0 > /pci at 6,4000/scsi at 2,1/sd at 0,0 > 10. c3t1d0 > /pci at 6,4000/scsi at 2,1/sd at 1,0 > 11. c3t2d0 > /pci at 6,4000/scsi at 2,1/sd at 2,0 > 12. c3t3d0 > /pci at 6,4000/scsi at 2,1/sd at 3,0 > _______________________________________________ > sunmanagers mailing list > sunmanagers at sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From chipman at ecopiabio.com Tue Dec 10 15:13:22 2002 From: chipman at ecopiabio.com (Tim Chipman) Date: Tue, 10 Dec 2002 15:13:22 -0500 Subject: SUMMARY: "Public" NFS Share not Mounted @ Boot, But Mounts OK "Manually" Message-ID: <3DF64AE2.183C7E80@ecopiabio.com> Sorry for the delay in summarizing this. Many! Thanks to (in no specific order): topher Robert Harris John Riddoch Omar Siddique Ed Rolison Don Schultz Jem Richards Basic Concensus: ================ -> why aren't I using automounter ? This should fix the issue. -> consider adding a high-numbered rc3 script (or similar) to manually kludge the mount late in boot cycle, as there appears to be a dependency right now that isn't happy. Unfortunately, despite the fact that others have apparently had this problem, there were no explicit comments indicating that the solution had ever been debugged (ie, rather than using work-arounds, "X then Y is the cause, resolved THUS".) Not that I'm unhappy to have good workarounds - it just is interesting there wasn't an exact known cause. Anyhoo. I'm delighted to have a solution - so - thanks again, all! -Tim Chipman ORIGINAL QUESTION: ================== > Hi All, > > A weird problem here with "Public NFS" share mounts which is very > consistent, rather frustrating, and AFAIK not "good", thus I'm curious > if anyone has ever seen this / knows of any fixes. > > I've got a small central NFS server box that shares various directory > trees out via NFS to a number of client systems on the same subnet. > > For internal security reasons, we're starting to run firewalls on all > machines internally, so we have a solid network of "trusted hosts". To > facilitate this, client NFS mounts are using the "public" option, which > encourages NFS to (a) use TCP, (b) not use RPC but instead use only a > single, fixed port for traffic (hence it is easy to make firewall rules > that permit this traffic). > > The NFS mounts appear to work fine ; cooperate with the single-port > firewall rule, and that is "just dandy". > > The WEIRD thing that drives me "crazy": When the NFS client boxes are > rebooted (ie, for scheduled maintenance) -- they fail to mount the NFS > shares that are specified in the /etc/vfstab at boot time [see below for > client, server NFS config lines]. In the past (prior to adding the > "public" flag as a mount option) this wasn't a problem. > > The "odd" thing about all this: after the machine is booted, as root, I > can simply issue the command, > > mount /import/nfssrvr/share_name > > .. and the share is mounts perfectly, no questions asked. Thus, I'm > quite confident there is no problem with my entry in the vfstab, and it > definitely does work smoothly - when called manually by root, after > bootup. However, this is an extra step I'd rather not have to remember > to do on all these NFS clients, since forgetting to do so means the > shares are unavailable until ... a user can't access the nfs mount ; > they bug me, and I do the mount manually as root. > > If anyone has any ideas on this, I'll certainly be VERY happy to hear > about it. > > Thanks very much! _______________________________________________ sunmanagers mailing list sunmanagers at sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers From ahoesch at smartsoft.de Tue Dec 10 16:32:11 2002 From: ahoesch at smartsoft.de (Andreas Hoeschler) Date: Tue, 10 Dec 2002 22:32:11 +0100 Subject: Summary: rsync broken after installing openssl-0.9.6g-sol8-sparc-local.gz In-Reply-To: Message-ID: Hi all, Thanks to : "Timothy Lorenc" David Foster Trent Petrasek The problem was caused by an incompatibilty between ssh and openssl. It was recommended to recompile (install newer versions) of all depending packages which I have no time for right now. I decided to reinstall openssl-0.9.6c-sol8-sparc-local.gz instead. This fixed the problem for me and even apache 3.27 works fine with this version. Thanks, Andreas > -----Original Message----- > From: sunmanagers-admin at sunmanagers.org > [mailto:sunmanagers-admin at sunmanagers.org]On Behalf Of Andreas Hoeschler > Sent: Tuesday, December 10, 2002 3:43 PM > To: sunmanagers at sunmanagers.org > Subject: rsync broken after installing > openssl-0.9.6g-sol8-sparc-local.gz > > > Hi managers, > > after installing openssl-0.9.6g-sol8-sparc-local.gz from > www.sunfreeware.com on Solaris 8 (Netra X1) I get the following when > using rsync: > > bash-2.03$ rsync -avz -e ssh WebApp.smart > ahoesch at jupiter:/home/ahoesch/Documents > ld.so.1: ssh: fatal: relocation error: file > /usr/local/ssl/lib/libcrypto.so.0.9.6: symbol main: referenced symbol > not found > > This worked before the installation with an older version of openssl.