SUMMARY: SUMMARY: Loading perl modules bassed on Solaris uname

3423 byte By CodeProf.com at 2007-12-24 22:46:00
And the winner is 'BEGIN' thanks for the feedback. This code will add a search path based on OS Rev. BEGIN { use POSIX qw(uname); my ($uname_s, $uname_r) = (POSIX::uname())[0,2]; unshift(@INC, "/var/opt/modules/$uname_s/$uname_r" );}If you wish to follow the rest of this ...

Samba problem - help me

493 byte By CodeProf.com at 2007-12-24 22:46:00
Hello: I have installed samba-2.2.2-sol8 on Ultra 10 having Solaris 8. Whiletesting samba's configuration file (smb.conf) using testparm command Iam getting following error: ld.so.1: ./testparm: fatal: libgen.so.1: open failed: No such file ordirectory Killed I have tried to find solution in ...

SUMMARY:Re: UFS tuning

1422 byte By CodeProf.com at 2007-12-24 22:46:00
I thank following people for their suggestion in looking in severaldirections which definitely gave some clue but the problem was solved bysomething which was very unlikely. I changed the HBA as the last weapon andguess what , it worked. Its absolutely fine now.Thanks:Mark BergmanBuddy ...

Migrating from Sparc II to Sparc III technology

1198 byte By CodeProf.com at 2007-12-24 22:46:00
We have 4 E450s and 4 E250s (Sparc II) in our shop. Now that Sun has startedon the Sun Fire line (Sparc III), what our some of your thoughts on how andwhen to migrate to the new hardware.I believe we have about 5 years for support from Sun on the old equipment.Although the equipment would last ...

my usermond daemon is stuck in sleep state

1097 byte By CodeProf.com at 2007-12-24 22:46:00
hi to everyone, I have created a daemon, usermond, that monitors the total time a user logs in and the total time it is busy. It is running on Solaris 2.5.1. The daemon uses three threads, the first thread gathers information regarding the busy and log in time for each user. ...

Fwd: Sol 2.6, logging(logged?) metadevice acting up

4293 byte By CodeProf.com at 2007-12-24 22:46:00
> situation:> > We'vegot a (hardware) raid kit> 8 disks, 1 hot spare, hardware raid5 on that set.> > We had a diskerror on the raid, replaced a disk and (automatically) had a> rebuild of the raidset.> > Unfortunateky, the rebuild did not go 100% correct and we had ...

Summary ...Re: SunFire 880 ..SWAP

693 byte By CodeProf.com at 2007-12-24 22:46:00
Hi Thanks to Simon, Bertrand, Larye, Darren, Kanchan,Todd, Mike, Lars...It was too fast and Solution was quite simple one,once I got the answer...1. makefile 4 gb swaptmpfile2. swap -a swaptmpfile3. swap -d orig-swap-partition4. change orig-swap partition with format command5. swap -a ...

sun/netbackup/device help needed asap

1594 byte By CodeProf.com at 2007-12-24 22:46:00
Sorry to bug everyone on a Saturday :)A few months ago, we revamped our backup system and build a new master netbackup server on a e450, sol8 as I recall. We were using the existing smaller Storagetek L40 jukebox, and then purchased a refurb Timberwolf (much bigger, more drives). Things were ...

Solaris Network Command

298 byte By CodeProf.com at 2007-12-24 22:46:00
Hi all,<p>I'm trying to remember the name of a command I've used under Solaris <br>before. It lists the MAC addresses of all the computers that it can see <br>on the local network. Any ideas? Thanks.<p>-- <br>Doug Krause<br><A HREF="/execute/ask/?codeinfoid=13982">dijon at ratcage.com</A><br>

HELP: problems with mail clients

822 byte By CodeProf.com at 2007-12-24 22:46:00
Hi All -I have some mysterious problems related to mailx and pine.The machine is a Solaris 5.8 box.The following commands will just hang. mailx mailx -f foomail, where foomail is in a user's home directory cat foomail (after mailx -f foomail has been invoked) cp foomail foomail2 ...

E3k unable to boot

710 byte By CodeProf.com at 2007-12-24 22:46:00
Hi, I have a E3000 which is running oracle 9i, however it hang on the bootup time after I restart the server. Below are the console output from theterminal. Is there any thing wrong with it? Because it just hang at "\" andeven wait for a few hrs, it still not ...

"Overlapping swap files are not allowed" after changing swap partition

2882 byte By CodeProf.com at 2007-12-24 22:46:00
I have recently been put in charge of a ultra 2 box that wasn't setup by me. Since this machine had two 9gb drives and only one was being used I installed Solstice DiskSuite like I would normally on any other install I did, but for this to happen I had to shrink the swap partition to create a ...

Sol 2.6 logging metadevice has problems

3247 byte By CodeProf.com at 2007-12-24 22:46:00
situation:We'vegot a (hardware) raid kit8 disks, 1 hot spare, hardware raid5 on that set.We had a diskerror on the raid, replaced a disk and (automatically) had arebuild of the raidset.Unfortunateky, the rebuild did not go 100% correct and we had somecorreuption on the disks.This raidset is ...

Restrict/Prevent POP/IMAP Access by Hotmail Yahoo etc

692 byte By CodeProf.com at 2007-12-24 22:46:00
We would like to prevent users from pulling their emailoff our pop/imap server through Hotmail, Yahoo etc. Theobvious solution is to set up a firewall rule to preventaccess by Hotmail, Yahoo etc servers.Has anyone addressed this problem?Has anyone compiled (sells?) a list of IPs to block?Is ...

Type 5 keyboard on SunBlade 1000

654 byte By CodeProf.com at 2007-12-24 22:46:00
Hi!I have software that wants a Sun type 5 keyboard.Does anyone know any way to fool a program into thinkingthat it is connected to a SunBlade 1000 with a type 5 boardwhen it's actually a type 6 keyboard?Failing that, does anyone know whether there is an adapterthat will allow me to use a real ...

C compiler

370 byte By CodeProf.com at 2007-12-24 22:46:00
Managers, Does Solaris 8 come with a fully functional C compiler? Thepowers-that-be prefer not to use gcc due to support issues in ourenvironment. We are a higher-ed institution and a member of the ScholarPACprogram. Will we need to purchase the compiler/license seperately or is ...

Summary:: Netra T1 AC200 anomoly

3180 byte By CodeProf.com at 2007-12-24 22:46:00
Turns out to be a bad cdrom was giving different hardware paths. Crazything was that with diagnostics turned on, it appeared that the cdrom wasbeing found, however using probe-ide, it was giving inconsistent errors.Replaced cdrom and all is well again.Many thanks to those that helped with ...

Expect Script issues

863 byte By CodeProf.com at 2007-12-24 22:46:00
Dear Sun Gurus,I have just installed expect 5.25 along with tcl-8.0 and tk-8.0 on a solaris 2.6 sparc 5.I modified a script I saw posted over a month ago. Here is a simple copy of my script:#!/usr/local/bin/expectlog_file -noappend "telnetoutput.txt"spawn telnet 138.10.12.144expect ...

Summary: Solaris8-GCC 3.0.3 compiler

1865 byte By CodeProf.com at 2007-12-24 22:46:00
Hi Thanks to Darren, Michel, Kris, Tim, Hocke, Evans,Randy, Daniel, Stace, Alex, Mark, Dragon, Frabrice,Giardian, McCaffityEverybody pointed towards installing binutil packageto solve the problem.Also some advised to use 2.95.3 on PRODUCTION ServerBut to take advantage of 64-bit I have ...

Multicast Oddities

1818 byte By CodeProf.com at 2007-12-24 22:46:00
Hi All -I'm seeing some odd behavior with respect to multicast on a couple of our Solaris 8 boxes...Each of the boxes in question is on three subnets:SUBNET-1: 10.1.1.0/24SUBNET-2: 10.0.20.0/27SUBNET-3: 10.0.20.32/27I'm trying to explicitly route multicast traffic for 225.0.0.0 on SUBNET-2, ...

Summary: mmap issue

1003 byte By CodeProf.com at 2007-12-24 22:46:00
Thanks to Dave and sysadmin at astro.su.seSolution:---------There's no need for to to be fixed - you just need touse fixed offsetsfrom whatever pointer mmap returns. eg unsigned char *base; base = (unsigned char *) mmap(........); *(base+100) = 'A'; /* write an A to byte 101 ofthe ...

SunFire-280R, L9, Networker: kern.notice lus_intr(3.0.0): transport failure

889 byte By CodeProf.com at 2007-12-24 22:46:00
I have a fresh Install of Solaris-8 with latest recommended patches. An L9tape library is being used by Networker version 5.5.4. On the first fullbackup networker had no problem with with the library. Today networker ishaving trouble operating the L9. The following is appearing ...

extending mmap area?

528 byte By CodeProf.com at 2007-12-24 22:46:00
Hi All Is it possible to extend mapped area?something like //Mapping sizeof(mystruct) addr = (mystruct *) mmap(0, sizeof(mystruct), ...); //Using mystruct->datasize, extening mmap area newaddr = mremap((void *)addr, addr->datasize, ...);Is there any api simular to mremap,or is ...

system reboot

279 byte By CodeProf.com at 2007-12-24 22:46:00
Hi,<br>I am having this peculiar problem.<br>one of the solaris box reboots itself after few minutes.<br>Can it due to any application running on this box ?<br>If yes, what are the situations in which this can happen.<br>and where to look to troubleshoot.<p>Thanks,<br>Ashish<br>

Utilization

423 byte By CodeProf.com at 2007-12-24 22:46:00
Hello,Can anybody suggest someways wherein I can get the overall %utilization ofCPU, Memory and disk for a sun solaris machine.Thanks & Regardstagdba_______________________________________________codeprof mailing listcodeprof at ...

server resource monitoring

714 byte By CodeProf.com at 2007-12-24 22:46:00
Hi,I want to monitor my server resources status such as memory, CPU load,etc. I know top and iostat will do the work but I need utility programthat can store history, generate a chart, identify the peak hour,etc(similar to webalizer) so I can produce a weekly and monthly report,preferrably web ...

Off-line it, or Detach it?

5718 byte By CodeProf.com at 2007-12-24 22:46:00
Hello:I have a problem with a DiskSuite 4.2 mirror, and I'd like some adviceon how to tackle the problem. I have a few two-way mirrors. I recentlydiscovered that some of the sub-mirrors went into a"Maintenance/Critical" state. One mirror is mounted as / and the other/varIn each ...

inetd

349 byte By CodeProf.com at 2007-12-24 22:46:00
telnet , ftp and other inetd services hangs on Solaris 2.6 (Ultra- 10).we need to kill the inetd to start these services back. do anyone haveany insight on this why this happenning-rakesh------------------------------------------------------------------------Join the worlds largest e-mail ...

Summary: logging in vxfs

1483 byte By CodeProf.com at 2007-12-24 22:46:00
Hello Managers,Thanks for all who replied .Every one pointing to very less time required to do an fsck ,but it does need an fsck .It's a journal file system which will make log automatically.RegardsRaghuAt 05:54 AM 5/21/2002 -0700, Jason Wood wrote:>VxFS is inherantly a journelled file ...

SUMMARY: SBus Board Swap (Off-Topic)

1906 byte By CodeProf.com at 2007-12-24 22:46:00
Sorry for a late summary.Thanks to Carsten Boeddicker and Justin Stringfellow for their timeresponding my email.(Un-)fortunately I just got a new E4500, so I never try to swap the SBusboard.Anyway please find their idea :1. The swap could create a trouble since the controllers depends on ...

Solaris Hang after Copyright Message

710 byte By CodeProf.com at 2007-12-24 22:46:00
Hi, I have a E3000 which is running oracle 9i, however it hang on the bootup time after I restart the server. Below are the console output from theterminal. Is there any thing wrong with it? Because it just hang at "\" andeven wait for a few hrs, it still not ...

How to change the IP

672 byte By CodeProf.com at 2007-12-24 22:46:00
Hi gurus...Please help me out with this problem.I am new to Solaris and Administration.and in this organization the earlier sys admin used an ip series198.1.1.10/255.255.255.0 and with Solaris 2.6 and oracle database installon the server I want to change the ip to 192.168.1.0/255.255.255.0 How ...

time since epoch in secs

355 byte By CodeProf.com at 2007-12-24 22:46:00
Hi all,how will I find the time since epoch in secs in solaris. I know in linux we have "date +'%s' " . can anybody give me some solution pls .Thanks&Regards,A.K.Rasanthph: 91-80-8522507 Ext 1626--------------------------------------------------------------Velankani Information ...

SUMMARY: Can Solaris do source routing like Linux with advanced routing?

2922 byte By CodeProf.com at 2007-12-24 22:46:00
Whoops, sorry, I just discovered that I forgot to send this summary beforeI went on holidays...So here we go. My question was:> I'm looking for a possebility to do 'source routing'. What I mean with it is> that I want to be able to route based on the source, not the destination> ...

Summary:time since epoch in secs

568 byte By CodeProf.com at 2007-12-24 22:46:00
Hi ,Thanks to all who had replied to my posting.the best answer I got to find time since epoch is :/usr/bin/truss /usr/bin/date 2>&1 | /usr/bin/awk '/^time/ {print $NF}'Thanks a lot Mr Dennis Patterson.the other option is :perl -e 'print time;'Thanks to:Dan KellySchmitt MartinDarren ...

patches - a minor point to query

476 byte By CodeProf.com at 2007-12-24 22:46:00
Hey,I am trying to understand something about Sun patches. Let's say that a system has 107226-18 installed. Then some applicationsays it needs 107226-17 to be installed, recommended for CDE users (whichsome users are). Does -18 supercede -17, or should -17 be installed as ...

SUMMARY- patches - a minor point to query

469 byte By CodeProf.com at 2007-12-24 22:47:00
Many, many, MANY of you replied - all with the same answer:Yes, a later patch always supercedes the earlier one, and contains everything therein, plus the new stuff.There's so many replies, I can't possibly thank you directly,but you have clarified this point for me quite ...

How to mirror a failing drive?

1176 byte By CodeProf.com at 2007-12-24 22:47:00
I have a Disksuite 4.2 metadevice that, due to a string of events, containsonly one submirror. One of the stripes on that mirror is now marked as"Last Erred" in disksuite. It is still online but I occasionally get errorslike the following in /var/adm/messages:May 22 11:18:20 server ...

Erasable Optical drive(EOD)

237 byte By CodeProf.com at 2007-12-24 22:47:00
An embedded and charset-unspecified text was scrubbed...<br>Name: not available<br>Url: <A HREF="../attachments/20020522/8acde930/attachment.ksh"> http://www.codeprof.com/pipermail/codeprof/attachments/20020522/8acde930/attachment.ksh</A>

Erasable Optical drive(EOD)

237 byte By CodeProf.com at 2007-12-24 22:47:00
An embedded and charset-unspecified text was scrubbed...<br>Name: not available<br>Url: <A HREF="../attachments/20020522/6762d71e/attachment.ksh"> http://www.codeprof.com/pipermail/codeprof/attachments/20020522/6762d71e/attachment.ksh</A>

Erasable Optical drive(EOD)

237 byte By CodeProf.com at 2007-12-24 22:47:00
An embedded and charset-unspecified text was scrubbed...<br>Name: not available<br>Url: <A HREF="../attachments/20020522/ea553493/attachment.ksh"> http://www.codeprof.com/pipermail/codeprof/attachments/20020522/ea553493/attachment.ksh</A>

SZ and RSS column in ucb/ps

415 byte By CodeProf.com at 2007-12-24 22:47:00
Hi Everyone,Is this a correct assumption that if RSS is larger than SZ, then the application have memory leak?SZ=total size of the processRSS=resident set size of processThank you all.________________________________________________Get your own "800" numberVoicemail, fax, email, and a ...

Anyone using Symantex Ghost to clone Solaris systems?

285 byte By CodeProf.com at 2007-12-24 22:47:00
As opposed to using JumpStart I've heard rumour that disk cloning<br>with Symantec's Ghost is possible. Has anyone done it?<p>Thanks,<p> Ed<p>Ed Sanborn (978) 367-8478<br>Principal Network Administrator<br>SnowShore Networks<br>285 Billerica Rd.<br>Chelmsford, MA. 01824<br>

Multiple Vulnerabilities in solaris in.rarpd

3842 byte By CodeProf.com at 2007-12-24 22:47:00
Just saw this advisory for in.rarpd, claims of local and remotevulnerabilities.So my question is, can this be disabled? The daemon is onlyrunning on two of our systems, one is a SunRay server and theother is our NIS master, and I can't afford to break either.A preliminary search for ...

Strange LVD Symbois problems.

1485 byte By CodeProf.com at 2007-12-24 22:47:00
Hi everyone!I have an E450 with 2 Symbios Logic SCSI LVD cards in it and it would notsee any of them in probe-scsi-all. I can see it on prtdiag though. I am thinking to upgrade OBP, it has ratherold version 3.16.2. Any suggestions?George ...

SUMMARY: POP3 server for Solaris

529 byte By CodeProf.com at 2007-12-24 22:47:00
The votes are in and the package getting the most votes was: qpopper A number of other packages got good reviews: UWash imap servercucipoppopa3dcyruscourierimapgnu-pop3d Thanks to all who responded! I'm going to be evaluating several of thesebefore I make my final decision.Blaine OwensEastman ...

E450 PCF8574 failed

660 byte By CodeProf.com at 2007-12-24 22:47:00
We have a SUN E450. It has a problem.The error message is: Read from PCF8574(FPM) failed read of LM75 failed Unix: warning: write to PCF8574 failed, addr=70 Fan Fail is 0x79, retries=3. PS Fan number 0 Failed. Fan Failure(s), system shutdown. (Fatal System Environmental control Error)I saw the ...

Examples of using dd to clone systems.

319 byte By CodeProf.com at 2007-12-24 22:47:00
Howdy folks, Has anyone mass-cloned systems from a master system withdd? I have a fully configured Netra X1 that I simplywant to duplicate on other Netra X1's....-EdEd Sanborn (978) 367-8478Principal Network AdministratorSnowShore Networks285 Billerica Rd.Chelmsford, MA. ...

Recovering VXFS filesystem after shrinking...

295 byte By CodeProf.com at 2007-12-24 22:47:00
Hi All,<p>Does anyone have a procedure for recovering lost inodes after a Veritas<br>Files System has been shrunk. I believe there's a vxfs command that will<br>point to lost inodes so that one can rebuild lost files & directories. Any<br>help would be much appreciated. Thanks!<p>--ian<br>

SUNWut SunRay package for testing?

305 byte By CodeProf.com at 2007-12-24 22:47:00
Does anyone know if Sun offers a time-restricted version of SUNWut, or some form of package that is for eval purposes? I've had about 9-10 SunRay's land on my desk, and I need to idenfity their condition and make sure they're working, before moving them on.Thanks, and will summarize.Steve ...