Help Required

From: Sree (sreep@qnetstaff.com)
Date: Thu Jul 04 2002 - 07:44:26 EDT


Dear Sun Managers,
After identifying a oracle process consuming large system resource, how will
i trace its ip address by using the pid
tty is marked as ? when issued who -a
there are lot of process with out controlling terminal,
someone plz help me to solve this issue.

Rgds

sree

----- Original Message -----
From: <sunmanagers-request@sunmanagers.org>
To: <sunmanagers@sunmanagers.org>
Sent: Wednesday, June 12, 2002 2:19 PM
Subject: sunmanagers digest, Vol 1 #1383 - 15 msgs

> Send sunmanagers mailing list submissions to
> sunmanagers@sunmanagers.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
> or, via email, send a message with subject or body 'help' to
> sunmanagers-request@sunmanagers.org
>
> You can reach the person managing the list at
> sunmanagers-admin@sunmanagers.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of sunmanagers digest..."
>
>
> Today's Topics:
>
> 1. Utility that will allow me to talk to an autochanger. (MacDonell,
Dennis)
> 2. FW: disksuite and raid 5 and mirroring. (MacDonell, Dennis)
> 3. ttsession error TT_ERR_INTERNAL (sajan s)
> 4. diff in df-k and du -sk (rashmikant.vyas@ext.icicibank.com)
> 5. Questions about 4800's (Shah, Alay)
> 6. [Q] does Solaris support dynamic DNS? (bbb bb)
> 7. 880 installation (Huey Raine)
> 8. Information On veritas required (manish tahiliani)
> 9. How to change recursively through the lost (Suhas BHIDE)
> 10. Security (Mangesh)
> 11. SUMMARY: Ximian Gnome on Solaris 9 (Santos, Ramiro)
> 12. V880: no CDE login menu (B Bong)
> 13. Summary: rsync through a firewall on Solaris 8 (Andreas Hoeschler)
> 14. netscape 4.7 problem (rekha raghavan)
> 15. Cannot get multi-session CD-RW recording using Solaris8 cdrw (dfp10)
>
> --__--__--
>
> Message: 1
> From: "MacDonell, Dennis" <DennisMacDonell@auslig.gov.au>
> To: "'sun-managers'" <sunmanagers@sunmanagers.org>
> Subject: Utility that will allow me to talk to an autochanger.
> Date: Tue, 11 Jun 2002 17:30:37 +1000
>
> Hi,
>
> We have just received a Sun V880 with Solaris 5.8 and a dual scsi
> controller. I also have a Quantum autochanger, that I was going to try
> connecting to this box. I have had a bit of experience with Compaqs, on
with
> Tru64 there is a utility called mcutil that can talk to the autochanger, so
> that you can get the changer to change tapes, or tell you what the status
of
> the unit is, etc. I was wondering if there was such a utility for Solaris.
>
> Dennis
>
> ######################################
> Dennis Macdonell
> Systems Administrator
> National Mapping Division, Geoscience Australia
> mail: PO Box 2, Belconnen, ACT 2617
> email: mcdonell@auslig.gov.au
> ph: 61 2 6201 4326
> fax: 61 2 6201 4377
> ######################################
>
> --__--__--
>
> Message: 2
> From: "MacDonell, Dennis" <DennisMacDonell@auslig.gov.au>
> To: "'sun-managers'" <sunmanagers@sunmanagers.org>
> Subject: FW: disksuite and raid 5 and mirroring.
> Date: Tue, 11 Jun 2002 17:33:16 +1000
>
> > Hi,
> >
> > We have just received a V880 onto which I have loaded 5.8.
> >
> > What we have is a V880, with 6 x 36gb disks. We are also going to put 6 x
> > 73gb, when the second backplane comes on line. When the second backplane
> > comes on line, we may want to shuffle the disks around, one possibility
is
> > to take one of the 36gb disks that is currently attached to the first
> > backplane and put it on the second backplane, with the idea of creating a
> > mirror set for the boot disk. Currently we have the OS setup on one of
the
> > 36gb disks, with a traditional sort of disk partitioning, ie we have /,
> > swap, /usr, /var and another partition.
> >
> > What I was hoping was to setup a raid 5 set on 4 x 36gb disks using
> > disksuite, saving the last 36gb disk as a mirror for the boot disk. At
> > some latter stage, we will be adding 6 x 73gb disks when the second
> > backplane comes on line. I don't know anything about disksuite, except
> > what the vendor has told me, ie it can do raid anything. So I don't know
> > if disksuite can handle disks of different sizes, it might mean that to
> > have one raid 5 set, we would need to partition the 73gb disks into 2 x
> > 36gb disk partitions. Its early days at the moment, and we might think of
> > just raiding the 73gb disks in the long term, leaving the 36gb as
backups.
> > However at this point in time, I want to set up disksuite across at least
> > 4 of the 36gb disks and have a go at setting up a mirror.
> >
> > Most of my experience has been on Compaq, where I have used LSM or LMF to
> > create mirrors and disk stripping. I have not been able to setup raid 5
> > using LSM, for raid 5 we have always gone to hardware.
> >
> > If anyone has any strategies, or experiences, or recipes for setting up
> > disksuite raid/mirror partitions, I'd be most interested in hearing from
> > you.
> >
> > Dennis
> >
> > ######################################
> > Dennis Macdonell
> > Systems Administrator
> > National Mapping Division, Geoscience Australia
> > mail: PO Box 2, Belconnen, ACT 2617
> > email: mcdonell@auslig.gov.au
> > ph: 61 2 6201 4326
> > fax: 61 2 6201 4377
> > ######################################
>
> --__--__--
>
> Message: 3
> Date: Tue, 11 Jun 2002 02:53:34 -0700 (PDT)
> From: sajan s <s_sajan@yahoo.com>
> Subject: ttsession error TT_ERR_INTERNAL
> To: Managers SUN <sunmanagers@sunmanagers.org>
>
> Hi,
>
> few users get following error when they try to start ttsession
>
>
> ttsession[11544]: _Tt_s_session::s_init(): 1051 (TT_ERR_INTERNAL)!
> ttsession[11544]: child ttsession exited with status 1
>
> But this happens for few users only
> Any idea?
>
> TIA
> Sajan
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --__--__--
>
> Message: 4
> From: rashmikant.vyas@ext.icicibank.com
> Date: Tue, 11 Jun 2002 12:31:45 +0000
> To: sunmanagers@sunmanagers.org
> Subject: diff in df-k and du -sk
>
> HI sunguru,
> I have E6500 server on which all the time it shows difference of 6 to 10GB
> between df -k and du -sk output. Everyday around 20GB files gets deleted and
> that much is written again and all the time df -k increases from 4GB to 8GB
but
> du -sk shows proper , because of above reason partition becomes 100% after 8
to
> 9 days. If I unmount and mount this partition it releases this space. But I
> cann't do it every time as this is production server.
> The files which gets deleted are not being used by any process during
deletion.
>
> Following are the details of this server.
> O.S --> Solaris 7 KJP 106541-19
> partition size --170519136 used (around 132GB)
>
> Need help to solve this problem
> Feel free if u need some more info.
>
> Thanx & Regards,
> Rashmikant Vyas
> ICICI System Consultant
> Wipro Infotech
> Mumbai.
>
> --
>
>
> "This e-mail message may contain confidential, proprietary or legally
privileged information. It
> should not be used by anyone who is not the original intended recipient. If
you have erroneously
> received this message, please delete it immediately and notify the sender.
The recipient
> acknowledges that ICICI Bank or its subsidiaries and associated companies,
(collectively "ICICI
> Group"), are unable to exercise control or ensure or guarantee the integrity
of/over the contents of the information contained in e-mail transmissions and
further acknowledges that any views
> expressed in this message are those of the individual sender and no binding
nature of the message shall be implied or assumed unless the sender does so
expressly with due authority of ICICI Group.Before opening any attachments
please check them for viruses and defects."
>
> --__--__--
>
> Message: 5
> Subject: Questions about 4800's
> Date: Tue, 11 Jun 2002 18:34:14 -0500
> From: "Shah, Alay" <Alay.Shah@cardinal.com>
> To: <sunmanagers@sunmanagers.org>
>
> Fellow Sysadmins,
>
> Two Questions -
> 1. How can I change/modify the LED/LCD display in front of the 4800
> cabinets/hosts to display the system/host name? Would very much like to do
> that!!
> Very nice display. Would be nice if it also displayed the hostname.
>
> 2. How can I get the OS(System is booted now) to tell me that the system is
a
> 4800? I know "uname -a" does not tell me that.
>
> Any and all help will be greatly appreciated.
> Tks & Rgds,
>
> __________________________________________________
>
> Alay Shah
> Enterprise Technology Services
> Allegiance Healthcare Corporation
> 1400 Waukegan Rd.
> McGaw Park
> IL 60085, USA
> P - 847-578-2584
> F - 847-578-5586
> E - Alay.Shah@Cardinal.com
> __________________________________________________
>
> --__--__--
>
> Message: 6
> From: "bbb bb" <mccux1@hotmail.com>
> To: sunmanagers@sunmanagers.org
> Subject: [Q] does Solaris support dynamic DNS?
> Date: Wed, 12 Jun 2002 01:58:15 +0000
>
> on Microsoft Win2000, it support DHCP server work with dynamic DNS server.
> It reduce System Administrator a lot of work on DNS server. Does Solaris 8
> or 9 support this feature?
>
> Thanks.
>
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
> --__--__--
>
> Message: 7
> From: "Huey Raine" <hueyturtle@hotmail.com>
> To: sunmanagers@sunmanagers.org
> Subject: 880 installation
> Date: Wed, 12 Jun 2002 15:15:45 +1200
>
> Hiya
>
> I've heard that sun will not provide support for any V880 that has anything
> less than the full solaris 8 install. Anyone else been told this?
>
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
> --__--__--
>
> Message: 8
> Date: Tue, 11 Jun 2002 22:40:40 -0700 (PDT)
> From: manish tahiliani <manish_tahil@yahoo.com>
> Subject: Information On veritas required
> To: sunmanagers@sunmanagers.org
>
> Any pointers to Sun Certified Data Mgmt Er -Emphasis
> on Veritas Volume MGR Certification. eXAM 310-101.
> Where is the courseware available?
>
> Any help would be highly appreciated.
>
> Thanks and Regards
>
> Manish
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --__--__--
>
> Message: 9
> Subject: How to change recursively through the lost
> To: sunmanagers@sunmanagers.org
> From: "Suhas BHIDE" <suhas@ctl.creative.com>
> Date: Wed, 12 Jun 2002 14:28:34 +0800
>
> Hello All Administrators....
>
> I want to change some parameters in a list of files. I created one file
> which contains a list of all these files
> in which I need to change the parameter. I am not able to find out how to
> pass this file as a parameter to
> the perl script I am using.
>
> e.g. my filename is "nfiles" which looks something like:
>
> ./pcwwappl/admin/applcust.txt
> ./pcwwappl/admin/applora.txt
> ./pcwwappl/admin/adconfig.txt
> ./pcwwappl/admin/topfile.txt
> ./pcwwcomn/portal/aplogon.html
> ./pcwwcomn/html/US/ICXINDEX.htm
>
>
> Now I need to change some parameters in each of these files using perl.
>
> find /foo -type f | xargs perl -pi -e 's/host1/host2/g'
>
> Pls. help.
>
> Thanks...Suhas Bhide
>
> --__--__--
>
> Message: 10
> Reply-To: "Mangesh" <mangesh.v@xaalliance.com>
> From: "Mangesh" <mangesh.v@xaalliance.com>
> To: "sunmanager" <sunmanagers@sunmanagers.org>
> Subject: Security
> Date: Wed, 12 Jun 2002 16:11:23 +0800
> Organization: XATMI
>
> Hi Gurus,
>
> I have a E-450 machine with Solaris 8 running on it. If I want to do
an
> Audit trial on the system from the O.S side, how would I
> do it in this circumstances.
> 1) If a user is logging in through the OS.
> Here the answer may be using the "last" command to check for login &
> logout or using "ps -fu"command to check his
> process. But do we have any other utilities to find out what the user
is
> actually doing. I know a command called "script", but I
> did not find anything very useful in the man pages to check what the
user
> is doing .
> If any of you can put some more light on this would be useful to me.
>
> 2) If a user is logging in to the database through the SQLnet, where the
> process shows (LOC=NO).
> I know this is a job of a DBA, but is there any way to check from my
> side, as a sysadmin.
>
> Thanks in advance.
>
> Regards
> Mangesh
>
> --__--__--
>
> Message: 11
> From: "Santos, Ramiro" <Ramiro.Santos@commerzbankib.com>
> To: "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org>
> Subject: SUMMARY: Ximian Gnome on Solaris 9
> Date: Wed, 12 Jun 2002 10:54:30 +0200
>
> Hi, many thanks to:
> David Leach, Doug Otto, Jonathan Jackson, Brett Lanham.
>
> Here is the solution for this problem (I suppose):
>
>
> > if you're in a bind, and can't wait, you could intercept the library call
> > it's making using LD_PRELOAD. ie, if it's calling uname(2) then create a
> > shared object with uname(2) and by preloading it you can fool the
> installer
> > into thinking you're running 5.8.
> >
> > if it's doing it another way, (ie, looking at sysinfo(2) or something
> else)
> > you'll basically just need to adapt what i've done below for that call.
> >
> > I guarantee nothing except that this might screw things up. no
> warranties,
> > no nothing. if it works, good. if not, too bad. okay?
> >
> > regards,
> >
> > david.
> >
> > A quick and dirty of what I've just said is as follows:
> >
> > Compile with:
> > gcc -o fakeuname.o -c -fPIC -Wall fakeuname.c
> > gcc -o libfakeuname.so -shared -W1,export-dynamic fakeuname.o -ldl
> >
> > fakeuname.c:
> > #include <sys/types.h>
> > #include <dlfcn.h>
> > #include <unistd.h>
> > #include <sys/utsname.h>
> >
> > #if defined(RTLD_NEXT)
> > #define REAL_LIBC RTLD_NEXT
> > #else
> > #define REAL_LIBC ((void *) -1L)
> > #endif
> >
> > static void *(*real_uname)() = 0;
> >
> > int uname(struct utsname *name)
> > {
> > if (0 == real_uname )
> > real_uname = (void *(*)())dlsym(REAL_LIBC, "uname");
> >
> > if (0 == real_uname )
> > exit (1);
> >
> > real_uname (name);
> > name->release[0] = '5';
> > name->release[1] = '.';
> > name->release[2] = '7';
> > name->release[3] = '\0';
> >
> > return 0;
> > }
>
> This reply was sent by David Leach
>
>
>
> > I got around this in a previous version of Ximian (written for Solaris 7
> > just as 8 came out). If you look at the installation script it uses a
> > couple of switches on 'uname' to get its information. I temporarily
> > moved /usr/bin/uname and replaced it with a shell script that handled
> > the arguments used by ximian and returned bogus data. It installed and
> > was fine after that. I looked for my fake uname script but I don't seem
> > to have it anymore. There really isn't much more too it than a 'case'
> > section and a couple of echo commands.
>
> This reply was sent by Doug Otto
>
>
>
> > You can try to fool uname...I have heard of that working. I installed
> > ximian on 8 then upgraded to 9...that worked.
>
> This one was sent by Jonathan Jackson
>
>
>
> > You do not have to have the whole Ximian gnome distribution to get
> evolution.
> > Have you tried installing just the packages neccessary to get evolution
> working?
> > I've got evolution working fine on my home PC (redhat 7.2) and I never
> installed Ximian.
> > I did use RPM however. You should be able to find source tarballs for
all
> the needed
> > software. It will probably be more work figuring out the deps but it
> should be able
> > to be done. Good luck.
>
> and this one by Brett Lanham
>
>
>
> Yours sincerely,
>
> Ramiro Santos
>
> ZIT P 7.21 Unix Server Implementation
>
> _______________________________________________________
>
> Contact: Phone: +49-(0)-69-136-43523
> Fax: +49-(0)-69-136-47040
> E-Mail: Ramiro.Santos@CommerzbankIB.com
>
> Address: Commerzbank AG
> Zentraler Servicebereich IT Production
> C/S Services Investment Banking - ZIT P 7.41
> Mainzer Landstr. 151 - DLZ 1, 06.52.0560
> D-60321 Frankfurt / Main
> _______________________________________________________
>
> --__--__--
>
> Message: 12
> Date: Wed, 12 Jun 2002 02:47:13 -0700 (PDT)
> From: B Bong <sunmoon208@yahoo.com>
> Subject: V880: no CDE login menu
> To: sunmanagers@sunmanagers.org
>
> Dear SunManagers,
>
> Highly appreciate your response urgently pertaining
> to this problem.
>
> I've a SunFire V880 machine with Solaris 108528-14
> kernel patch. After installed the recommended patches
> recently, I'm having problem getting the CDE login
> menu.
>
> When booting up, the GUI login screen would not
> appear.
> It stops at the console login prompt without going to
> CDE. After user logging in using the command line,
> it will display Openwin screen and access openwin. But
> it can't access CDE. When we exit from openwin, it
> goes
> back to console login prompt
>
> The error below appears before entering the command
> line login prompt.
> /usr/openwin/bin/xrdb: Connection refused
> /usr/openwin/bin/xrdb: Can't open display ':0'
>
> Couldn't open display connection
>
> The meesage below is taken from /.dt/errorlog file
> # more errorlog
> Tue Jun 11 12:15:33 2002
> Workspace Manager: I/O error on display:: :0.0
> Tue Jun 11 12:15:33 2002
> dtsession: Connection to server lost - exiting.
> Tue Jun 11 14:58:05 2002
> dtsession: Invalid display name - exiting.
>
> Previously, we encountered this problem after
> installing recommended patches (108528-14)
> but a reboot on the server solve the problem and the
> CDE could be accessed. But a recent
> reboot on the server caused this problem again but a
> reboot this time did not solve the
> problem.
>
> Highly appreciate someone can shed a light on this.
> Thank you.
>
> Regards,
> Andrew
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --__--__--
>
> Message: 13
> Date: Wed, 12 Jun 2002 11:58:12 +0200
> Subject: Summary: rsync through a firewall on Solaris 8
> From: Andreas Hoeschler <ahoesch@smartsoft.de>
> To: sunmanagers@sunmanagers.org
>
> Hi,
>
> thanks to all that responded to my question. Most recommended to check
> whether rsync is installed on the target machine and availablke in the
> standard path which it was not. After installing the rsync package it
> worked like a charm.
>
> Thanks,
>
> Andreas
>
> >> I am trying to rsync through ssh to a Solaris 8 machine. The firewall
> >> is
> >> configured to let in port 22 (ssh) only. I see the following:
> >>
> >> bash2.05 ahoesch@localhost ~ % rsync -avz -e ssh
> >> /Users/ahoesch/Downloads/postfix/postfix-1.1.11.tar.gz
> >> root@62.154.134.74:/usr/src
> >> rsync: open connection using ssh -l root <ip-address> rsync --server
> >> -vlogDtprz . /usr/src
> >> root@<ip-address>'s password:
> >> rsync: Command not found.
>
> --__--__--
>
> Message: 14
> Date: Wed, 12 Jun 2002 03:19:20 -0700 (PDT)
> From: rekha raghavan <rekha_raghavan@yahoo.com>
> Subject: netscape 4.7 problem
> To: sunmanagers@sunmanagers.org
>
> Hi managers,
>
> I have been facing this problem with netscape 4.7 for
> quite some time now. The OS i am working on is Solaris
> 2.7 with latest kernel patch (106541-20).
>
> The netscape browser all of a sudden displays no
> information or blank page when the reload button is
> clicked, although it says "Document done". This
> happens even when i try to open a totally new site
> from a new browser window. The netscape mail also
> hangs after this occurs. There is no particular
> frequency of occurance for this problem, it happens as
> and when.
> But once this occurs, i will have to either kill all
> netscape sessions and re-open a fresh one, or opening
> another new netscape seesion without killing the
> existing ones also works.
>
> Hoping that you guys will help me in resolving this
> issue.
>
> Thanks,
> Richa
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --__--__--
>
> Message: 15
> Date: Wed, 12 Jun 2002 07:11:53 -0400 (EDT)
> From: dfp10 <dfp10@wadsworth.org>
> Reply-To: dfp10 <dfp10@wadsworth.org>
> Subject: Cannot get multi-session CD-RW recording using Solaris8 cdrw
> To: sunmanagers@sunmanagers.org
> Cc: dfp10@wadsworth.org
>
> Hello!
> I am trying to place several, distinct, backup mkisofs data directories
> (dir1.iso, dir2.iso, dir3.iso,etc) on the same disk, to nearly fill the
CD-RW
> disk. After correctly recording the first directory on the "open" (-O) disk,
> writing the second corrupts it.
> Here is my current procedure:
> 1. mkisofs -l -L -r -o /tmp/dir1.iso /dir1
> 2. cdrw -O -i /tmp/dir1.iso (-O to keep the recording open). The cdrom
> can be read (even though it is "open") and verified to be correct.
> 3. Try to obtain the track information in order to write the second
> session: cdrw -M
> Device: Plextor CD-RW etc
> Firmware: Rev 1.04 etc
> Track No. Type Start address
> 1 Data 0
> Leadout Data 7708
> Last session start address: 0 (N1= 0)
> Next writable address: 285398 (N2= 285398)
> 4. I create the 2nd iso file using the above values of N1 and N2;
> mkisofs -o /tmp/dir2.iso -r -C N1,N2 -M /vol/dev/rdsk/c0t2d0/cdrom /dir2
> 5. Then write rhe second iso directory: cdrw -i -O /tmp/dir2.iso
> (keeping the recording open for a third recording)
> Both the first and second records are always corrupted
> Your advice will be summarized>
> Thanks,
> Don
> ###############################################################
> Donald F. Parsons MB.BS, Ph.D, Research Physician,Wadsworth Ctr
> NY State Dept of Health, ESP Box 509, Albany NY 12201-0509
> dfp10@telemed.wadsworth.org (518)474-7047
>
>
> --__--__--
>
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
>
>
> End of sunmanagers Digest
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:33 EDT