Ps on solaris 10 - help?
I'm trying to list 'currently running processes on a machine running Solaris 5.10, however it's also listing processes that are not yet currently.
How do I list only currently running processes?
bash-3.00$ ps -eaxgww
PID TT S TIME COMMAND
0 ? T 0:06 sched
1 ? S 6:22 /sbin/init
2 ? S 0:00 pageout
3 ? S 9590:57 fsflush
7 ? S 56:19 /lib/svc/bin/svc.startd
9 ? S 14:05 /lib/svc/bin/svc.configd
71 ? S 66:25 /usr/sbin/nscd
72 ? S 0:00 /usr/lib/sysevent/syseventd
81 ? S 97:48 /usr/lib/picl/picld
94 ? S 14:39 /usr/lib/crypto/kcfd
99 ? S 0:00 /usr/lib/power/powerd
122 ? S 53:53 /usr/lib/inet/in.mpathd -a
195 ? S 2:01 /usr/sbin/cron
196 ? S 0:00 /usr/sbin/rpcbind
199 ? S 0:00 /usr/lib/nfs/statd
201 ? S 0:28 /usr/lib/saf/sac -t 300
202 ? S 0:00 /usr/lib/nfs/lockd
213 ? S 3:36 /usr/lib/utmpd
218 ? S 0:24 /usr/lib/saf/ttymon
225 ? S 14:22 /usr/lib/inet/inetd start
288 ? S 4:08 /usr/lib/autofs/automountd
313 ? S 0:01 /usr/lib/fm/fmd/fmd
325 ? S 2:51 /usr/lib/ssh/sshd
418 ? S 0:13 /usr/lib/snmp/snmpdx -y -c /etc/snmp/conf
426 ? S 0:00 /usr/dt/bin/dtlogin -daemon
430 ? S 0:00 /usr/lib/dmi/dmispd
431 ? S 0:00 /usr/lib/dmi/snmpXdmid -s umbriel
439 ? S 1:14 /usr/sbin/vold
479 ? S 235:17 /usr/sfw/sbin/snmpd
494 ? S 1:52 /usr/lib/sendmail -Ac -q15m
497 ? S 31:35 /usr/lib/sendmail -bd -q15m
593 ? S 0:00 /usr/dt/bin/rpc.ttdbserverd
687 ? S 0:00 devfsadmd
1591 ? S 412:16 /usr/jdk/jdk1.6.0_02/bin/java -Djava.util.logging.manager=org.apache.juli.Class
1848 ? S 6:59 /usr/apache2/bin/httpd -f /etc/apache2/httpd.conf-example -k start
1876 ? S 6:51 /usr/apache2/bin/httpd -f /etc/apache2/httpd.conf-example -k start
2045 ? S 0:06 /usr/openwin/bin/xfs
2105 ? S 0:00 /bin/ksh /usr/dt/bin/sdtvolcheck -d -z 5 cdrom,zip,jaz,dvdrom,rmdisk
2120 ? S 0:00 /bin/cat /tmp/.removable/notify2105
2269 ? S 0:00 /bin/ksh /usr/dt/bin/sdtvolcheck -d -z 5 cdrom,zip,jaz,dvdrom,rmdisk
2336 ? S 0:00 /bin/cat /tmp/.removable/notify2269
2439 ? S 0:00 /bin/ksh /usr/dt/bin/sdtvolcheck -d -z 5 cdrom,zip,jaz,dvdrom,rmdisk
2458 ? S 0:00 /bin/cat /tmp/.removable/notify2439
2722 ? S 71:19 /usr/openwin/bin/Xsun :0 -defdepth 24 -nobanner -auth /var/dt/A:0-dhaq1a
2746 ? S 0:00 /usr/dt/bin/dtlogin -daemon
2759 ? S 76:00 dtgreet -display :0
2760 Z 0:00 <defunct>
3287 ? S 54:29 /usr/jdk/jdk1.6.0_02/bin/java -cp /projects/handsetmanagementws/lib/TaminoAPI4J
3332 ? S 0:00 /usr/lib/ssh/sshd
3336 ? S 0:00 /usr/lib/ssh/sshd LANG=C PATH=/usr/sbin:/usr/bin SMF_FMRI=svc:/network/ssh:default SMF_METHOD=/lib/svc/method/sshd start SMF_RESTARTER=svc:/system/svc/restarter:default TZ=Europe/Malta
3369 ? S 235:30 /usr/j2se/bin/java -cp .:/projects/otawmlpush/lib/CPSCommons_v1.2.jar:/projects
3643 ? R 199:26 /usr/j2se/bin/java -cp .:/projects/devicedetection/DMscheduler/lib/commons-coll
7322 ? S 16:59 /usr/j2se/bin/java -cp .:/projects/otadbupdater/lib/activation.jar:/projects/ot
8103 ? S 15:01 /usr/apache2/bin/httpd -f /etc/apache2/httpd.conf-example -k start
8161 ? S 0:15 /usr/lib/krb5/ktkt_warnd
8564 ? S 277:56 /usr/j2se/bin/java -cp .:/projects/devicedetection/DMlistener/lib/CPSCommons_v1
9914 ? S 36:30 /usr/apache2/bin/httpd -f /etc/apache2/httpd.conf-example -k start
9915 ? S 21:37 /usr/apache2/bin/httpd -f /etc/apache2/httpd.conf-example -k start
9916 ? S 21:24 /usr/apache2/bin/httpd -f /etc/apache2/httpd.conf-example -k start
9917 ? S 21:16 /usr/apache2/bin/httpd -f /etc/apache2/httpd.conf-example -k start
9918 ? S 21:27 /usr/apache2/bin/httpd -f /etc/apache2/httpd.conf-example -k start
9919 ? S 21:25 /usr/apache2/bin/httpd -f /etc/apache2/httpd.conf-example -k start
9935 ? S 21:22 /usr/apache2/bin/httpd -f /etc/apache2/httpd.conf-example -k start
10105 ? S 88:14 /usr/j2se/bin/java -Dgowebservices.properties=/projects/tomcat/jakarta-tomcat-4
12433 ? S 0:02 /etc/bkupexec/agent.be -c /etc/bkupexec/agent.cfg
12434 ? S 2:39 /etc/bkupexec/agent.be -c /etc/bkupexec/agent.cfg
12534 ? S 12:17 /usr/j2se/bin/java -cp .:/projects/ddtp/webapps/axis/WEB-INF/lib/DBObjects-6.2.
12685 ? S 21:30 /usr/apache2/bin/httpd -f /etc/apache2/httpd.conf-example -k start
12972 ? S 196:14 /usr/j2se/bin/java -Xmx512m -cp /lib/tools.jar:/lib/dt.jar:.:/projects/ivrserve
13054 ? S 0:00 /usr/sbin/rpc.metad
13056 ? S 0:00 /usr/sbin/rpc.metamhd
13057 ? S 0:00 /usr/sbin/rpc.metamedd
13071 ? S 380:58 /usr/j2se/bin/java -Dviper.fifo.path=/var/run/smc898/boot.fifo -Xmx128m -Djava.
13770 ? S 0:40 /usr/sbin/syslogd
14707 ? S 0:00 /usr/dt/bin/rpc.cmsd
15382 ? S 190:18 /usr/j2se/bin/java -Xmx512m -cp .:/projects/studentoffers/lib/BLI.jar:/projects
16802 ? S 94:39 /usr/java/bin/java -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogMa
16808 ? S 44:21 java -Xmx128m -Dpi.lcf=pi.lcf -Dpi.properties=pi.properties -cp .:/projects/jra
18875 ? S 17:13 /usr/j2se/bin/java -cp .:/projects/autotopupWS/webapps/axis/WEB-INF/lib/BLI.jar
19169 ? S 24:54 /usr/j2se/bin/java -cp .:/projects/autotopupWS/webapps/axis/WEB-INF/lib/BLI.jar
24829 ? S 122:18 /usr/jdk/jdk1.6.0_02/bin/java -cp .:/projects/creditcheckws/webapps/axis/WEB-IN
25429 ? S 201:14 /usr/java/bin/java -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogMa
25457 ? S 91:47 /usr/jdk/jdk1.6.0_02/bin/java -Djava.util.logging.manager=org.apache.juli.Class
28584 ? S 0:00 /usr/lib/ssh/sshd
28590 ? S 0:01 /usr/lib/ssh/sshd
2691 console S 0:00 /usr/lib/saf/ttymon -g -d /dev/console -l console -T sun -m ldterm,ttcompat -h
3338 pts/1 S 0:00 -bash USER=jcami LOGNAME=jcami HOME=/export/home/jcami/ PATH=/usr/bin MAIL=/var/mail//jcami SHELL=/bin/bash TZ=Europe/Malta LANG=C SSH_CLIENT=10.159.20.18 1549 22 SSH_CONNECTION=10.159.20.18 1549 10.158.48.20 22 SSH_TTY=/dev/pts/1 TERM=xterm
3342 pts/1 S 0:00 bash TERM=xterm SHELL=/bin/bash SSH_CLIENT=10.159.20.18 1549 22 SSH_TTY=/dev/pts/1 USER=jcami MAIL=/var/mail//jcami PATH=/usr/bin:/usr/local/bin PWD=/export/home/jcami/ LANG=C TZ=Europe/Malta SHLVL=1 HOME=/export/home/jcami/ LOGNAME=jcami SSH_CONNECTION=10.159.20.18 1549 10.158.48.20 22 _=/usr/bin/bash
3462 pts/1 O 0:00 /usr/ucb/ps -eaxgww SHELL=/bin/bash TERM=xterm SSH_CLIENT=10.159.20.18 1549 22 OLDPWD=/projects/autotopupWS SSH_TTY=/dev/pts/1 USER=jcami PATH=/usr/bin:/usr/local/bin MAIL=/var/mail//jcami PWD=/projects/autotopupWS/logs LANG=C TZ=Europe/Malta HOME=/export/home/jcami/ SHLVL=2 LOGNAME=jcami SSH_CONNECTION=10.159.20.18 1549 10.158.48.20 22 _=/usr/ucb/ps
3279 pts/17 O 2:25 /usr/j2se/bin/java -cp .:/projects/autotopup/lib/BLI.jar:/projects/autotopup/li
3280 pts/17 S 0:00 /bin/sh ./scripts/autotopup log
3289 pts/17 S 0:00 tail -f /projects/autotopup/logs/autopay.log +// this process was run a long while ago...!!+
28592 pts/17 S 0:00 -bash
28596 pts/17 S 0:00 -sh
28600 pts/17 S 0:00 bash
2747 ?? S 0:00 /usr/openwin/bin/fbconsole -d :0
bash-3.00$
bash-3.00$ uname -a
SunOS umbriel 5.10 Generic sun4u sparc SUNW,Sun-Fire-V240
jon80 wrote:
I'm trying to list 'currently running processes on a machine running Solaris 5.10, however it's also listing processes that are not yet currently.
How do I list only currently running processes?On a uniprocessor, that question would make no sense. The answer would always be "ps" (if you used ps to ask the question).
ps has some filter options, but they're not universal, so you can't filter on process state for instance. Just grep for it. You're running the ucb version, so the state is given in the third column. Grep out the 'O'.
Or rearrange the output so it's easier to filter.
ps -e -o 's,pid,args' | grep ^O
All that said, perhaps you just want to run 'prstat' instead.
Darren
Similar Messages
-
No luck to start solaris help please?
hi,
i wiped my hard disk twice, and installed the solaris 10 11/06 x86 six times but still problem, i installed the solaris in the first partiton of the primary IDE master, the partition is bootable, the installation process compleled with final installation of boot blocks and the message was "installaion completed" and prompt me to reboot the system, but after reboot i got the black screen with this message:
Bad PRB sig.
i booted the solaris dvd in the single user mode, the system was mounted under /a, and installed the grub to the MBR with this command:
/sbin/installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0d0s0
The installation asked me for overriting of the MBR, my answer was "yes" and the ouput wass successful without any error message, but when i reboot the system , at this time i got the back screen with the grub word and a blanking cursor, not at least the grub prompt.
i installed the fedora in the other partition and the grub to the MBR and add the solaris to the fedora grub:
title solaris
root (hd0,0)
chainloader +1
makeactivera
but still can't boot the solaris and the error is:
Booting solaris
root (hd0,0)
File system type unknown, partition type 0xbf
Error 13: Invalid or unsupported excutable format
please help me is there any way to start solaris?Solaris version of grub and Linux version appear and behave much the same but they are not interchangeable. Solaris version has enhanced support for both ufs and ext2 and Solaris slices (sub-partitions) whereas Linux version lacks all these features. Both versions can competently boot Windows by chain loading (pointing Windows boot partition) since all Windows contains its Windows specific boot loader (typically ntldr) pointer within its PBR (partition boot record).
If you use Solaris grub to boot Linux, then Linux grub must be embedded in Linux PBR whereas Solaris one on MBR as follows:
# grub
grub> find /boot/grub/stage1
(hd0,1,a) this answer from grub may be different_
grub> root (hd0,1,a)
filesystem is ufs, partition type 0xbf
grub> setup (hd0)
Checking if boot/grub/stage1 exists...yes
Checking if boot/grub/stage2 exists...yes
Checking if boot/grub/e2fs_stage1_5 exists...yes
Running embed /boot/grub/e2fs_stage1_5(hd0)...16 sectors
are embedded... succeeded
Running install /boot/grub/stage1(hd0) (hd0)1+16p (hd0,1,a)
/boot/grub/stage2/boot/grub/menu.lst... succeeded
Done.
grub> quit
# reboot
Pinecloud, -
Hi
I am having much experince oracle in windows enivronment . But In solaris i dont have.My new project full and full based on solaris only. I want the basic commands and related thing to handle oracle in solaris .pls help me
thanks in advance.
nullhttp://docs.sun.com/app/docs
would be a good place to start off with...
Since you have not mentioned about the Oracle version..
http://www.dbspecialists.com/presentations/oracle817solaris.html -
Scanner on solaris HELP!!!!
I am running Solaris 10 6/06 and have installed the companion cd as well as someother things (Quake II, QEMU for example). I am trying to set up a USB HP office Jet 5500 all-in-one series. I set it up as a printer but i cant set up the scanner functions. I run the following commands and get the following output:
# /opt/sfw/bin/sane-find-scanner
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x03f0 [hp], product=0x3a11 [officejet 5500 series]) at libusb:/dev/usb:3f0.3a11/0
found USB scanner (vendor=0x046d, product=0x0921, chip=ICM532B) at libusb:/dev/usb:46d.921/0
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
# /opt/sfw/bin/scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
As you can see SANE can find the scanner from 'sane-find-scanner' but does not recognize it with 'scanimage -L'. I would greatly appriate any assistance and thank you for reading this.It seems that you didn't set all the environment variables correctly. Check if the following variables are set correctly:
- ORACLE_HOME
- ORA_NLS33
- LD_LIBRARY_PATH
- PATH -
Again - compilation under solaris - help!
Hi all
I'm trying to compile the following test code:
#include <occi.h>
#include <iostream>
using namespace std;
using namespace oracle::occi;
int main(int argc, char ** argv)
Environment *env;
Connection * conn;
try{
env = Environment::createEnvironment();
conn = env->createConnection(user, pass, sid);
env->terminateConnection(conn);
Environment::terminateEnvironment(env);
} catch (SQLException &e) {
cout<<"Exception: %s\n", e.getNLSMessage(env).c_str();
return 0;
My system is Solaris 9 sparc 64-bit
Oracle Database 10.1.0.2
I run this command:
CC -I/u00/oracle/product/10.1.0/db_1/rdbms/public -L/u00/oracle/product/10.1.0/db_1/lib -locci10 test.cpp
and get the famous error
Undefined first referenced
symbol in file
void oracle::occi::Environment::terminateEnvironment(oracle::occi::Environment*) test.o
oracle::occi::Environment*oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode,void*,void*(*)(void*,unsigned),void*(*)(void*,void*,unsigned),void(*)(void*,void*)) test.o
oracle::occi::__RTTI__1nGoracleEocciMSQdDLException_ test.o
[Hint: static member oracle::occi::__RTTI__1nGoracleEocciMSQdDLException_ must be defined in the program]
ld: fatal: Symbol referencing errors. No output written to a.out
I've tried to use:
gcc 3.4.2
Sun Forte 6.0
Sun Forte 6.2
Sun Forte 7
Sun Studio 10
all the same
if I set LD_LIBRARY_PATH and try to link with *.so library - it gives me "wrong ELF class: ELFCLASS64"
I've tried to install and use Client 10.2 - no effect
Under Windows it works perfectly.
What should I do to make this thing compile under Solaris?
Message was edited by:
[email protected]
Message was edited by:
[email protected]If you want your application to be 32 bit
- use Sun Forte 6.2 and link with OCCI library under $ORACLE_HOME/lib32
If you want your application to be 64 bit
- use Sun Forte 8 and link with libraries under $ORACLE_HOME/lib
( You should be passing the 64 bit compile flag "-xarch=v9" ) -
Problem in Application Help Configuration in Solution Manager
Hi Experts,
Here I facing one problem during Application Help configuration..
When I am going through application help for Solman Configuration it's taking me to standard erp help..
Where as in SR13, under PlainHtmlHttp,
In path tab I had given <b>saphelp_sm40/helpdata</b> for solution manager document.
But for other standard t-code it's giving actual application help.
where for SMSY,SOLAR01 etc i am not getting the application help.
Looking for advices.
Thanks & Regards,
Sumanta ChatterjeeDear Sumanta,
This depends on how you want to (or how you can) use this http://help.
sap.com site.
At first you must be aware of the different areas on this site, these
areas have different URL structures, for example:
- http://help.sap.com/saphelp_erp2004 <<< for mySAP ERP
- http://help.sap.com/saphelp_47x200 <<< for R3 Enterprise
- http://help.sap.com/saphelp_nw04 <<< for SAP NetWeaver 04
- http://help.sap.com/saphelp_sm32 <<< for SAP Solution Manager 3.2
The main problem is that in the area "http://help.sap.com/saphelp_sm32"
there is only online documentation for the Solution Manager
functionality.
Can you please check the table SBAON_CCHK with transaction SE16.
The following record must exist:
MANDT COMPONENT NAME_EN
xxx ST Solar Help
If this record does not exist, please create this record manually.
This should help resolve the issue.
Regards
Amit -
Downloading on solaris machine
I tried to download the weblogic platform on my solaris machine but it doest goto
the download page.I have logged in, but its not helping.i was able to download
on my windows machine.Also i can download other products but not BEA products
on the solaris.Help neede urgentlyCheck for your firewall settings or how yr solaris box is connected differently
in the network then your windows machine. May be your proxy is not alloweing you
to download.
Rakesh
"Sangeetha Kamath" <[email protected]> wrote:
>
I tried to download the weblogic platform on my solaris machine but it
doest goto
the download page.I have logged in, but its not helping.i was able to
download
on my windows machine.Also i can download other products but not BEA
products
on the solaris.Help neede urgently -
Migration from 8.1.6 R2 to 8.1.7 R3
What are the things which need a closer watch ! while migrating an application from 8.1.6 to 8.1.7. on SUN/Solaris
Help will be appreciated.
Regards
SunilHi,
The upgrade from 8.1.6 to 9.2 with full export method doesn't work, and it seems normal if we read the metalink note 132904.1 about Compatibility Matrix for Export & Import Between Different Oracle Versions.
Try an export/import schema level.
Nicolas. -
Help needed on installation of Oracle 9i on Sun Solaris 8
Hey,
Help needed on installation of Oracle 9i EE on Sun Solaris 8. The problem I met was: we followed the installation guide from the documentation. And we selected the choice "install software only". After it was done successfully, we run Database Configuration Assistant utility to create a database instance. But finally it always tried to create the instance at the root directory ( / ) which doesn't have enough space and then failed. The case was that we have set the enviroment parameters: $ORACLE_BASE = /export/mydata, $ORACLE_HOME = /export/apps/oracle9i. That means it should be installed at /export/mydata, but it didn't. Any help or advice are welcome. Thanks.
SimonI have downloaded Oracle 11G R2 version from Windows and extracted it in Windows and copied it into DVD after extraction in two folders. Now I am mounting that DVD in Solaris 10 installed in my VMware . I made a new directory named as 'installation ' under /export/home/oracle and copied the folders from DVD to 'installation' folder. Now I am entering installation folder and try to do ./runInstaller as 'oracle ' user and getting the error mentioned before.
Edited by: 916438 on Mar 31, 2012 5:55 PM -
Help needed on installation of Oracle 9i EE on Sun Solaris 8
Hey,
Help needed on installation of Oracle 9i EE on Sun Solaris 8. The problem I met was: we followed the installation guide from the documentation. And we selected the choice "install software only". After it was done successfully, we run Database Configuration Assistant utility to create a database instance. But finally it always tried to create the instance at the root directory ( / ) which doesn't have enough space and then failed. The case was that we have set the enviroment parameters: $ORACLE_BASE = /export/mydata, $ORACLE_HOME = /export/apps/oracle9i. That means it should be installed at /export/mydata, but it didn't. Any help or advice are welcome. Thanks.
SimonI have downloaded Oracle 11G R2 version from Windows and extracted it in Windows and copied it into DVD after extraction in two folders. Now I am mounting that DVD in Solaris 10 installed in my VMware . I made a new directory named as 'installation ' under /export/home/oracle and copied the folders from DVD to 'installation' folder. Now I am entering installation folder and try to do ./runInstaller as 'oracle ' user and getting the error mentioned before.
Edited by: 916438 on Mar 31, 2012 5:55 PM -
hello anyone
i install oracle7.3.4 server
in Sun Sparcstation20 Solaris2.6 Japanese
everything is ok,
and i want to install ORACLE
WEB appliation server 3.0too
the installer is ok too,
i startup the serivce
>owsctl start wrb
>owsctl start admin
but when i open the netscape and
CRAETE and START a new LISTENER
there is something wrong.
**************************error message*******
OWS-05721: The Web Listener www failed to start:
Oracle Web Listener 3.0.1 Production (Export), Version 2.14FC1
Copyright 1997 Oracle Corp. All Rights Reserved.
Error: A failure occurred ( Permission denied ) when assigning a port ( domain: INTERNET01, address: 0.0.0.0, port: 80 ).
Error: Failed to start the server.
Error: The server could not initialize
Information: The server is exiting
OWS-08811: Unable to startup Oracle Web Listener `www'.
Oracle Web Listener Home Page
From here, you can do the following:
Create a new Oracle Web Listener to run on your machine by clicking the Create Listener... button.
Modify existing Oracle Web Listeners by selecting the Configure link below.
Start, Stop or Delete existing Oracle Web Listeners by selecting the appropriate link below.
can anyone help me , it is too difficult for me.
the startup file of Solaris is here
# @(#)cshrc 1.11 89/11/29 SMI
umask 022
set path=(/bin /usr/bin /usr/ucb /etc .)
if ( $?prompt ) then
set history=32
endif
setenv ORACLE_BASE /oracle/app/oracle
setenv ORACLE_HOME /oracle/app/oracle/product/7.3.4
setenv ORACLE_SID hlp3
setenv ORAWEB_HOME $ORACLE_HOME/ows/3.0
setenv ORAWEB_SITE www
setenv ORAWEB_BASE $ORACLE_HOME/ows
setenv ORAWEB_ADMIN $ORACLE_BASE/admin
setenv ORAWEB_CARTX $ORACLE_HOME/ows/cartx
setenv DEF_INSTALL TRUE
setenv ORA_CSM_MODE line
setenv LD_LIBRARY_PATH $ORACLE_HOME/lib:/usr/openwin/lib:/usr/dt/lib:
setenv ORACLE_TERM xsun5
setenv TMPDIR /var/tmp
setenv PATH .:$ORACLE_HOME/bin:$ORACLE_HOME/obackup/bin:/opt/bin:/usr/local/bin:/bin:/usr/bin:/usr/css/bin:/usr/openwin/bin:/usr/sbin:/usr/ucb:$ORAWEB_HOME/bin
setenv ORA_NLS32 $ORACLE_HOME/ocommon/nls/admin/data
setenv DEF_INSTALL TRUE
setenv MANPATH /opt/SUNWspro/man:/opt/SUNWste/licence_tools/man
# setenv LANG
# setenv TWO_TASK
set ORAENV_ASK = NO
source /opt/bin/coraenv
unset ORAENV_ASK
source /oracle/app/oracle/product/7.3.4/ows/3.0/install/owsenv_csh.sh
# @(#)local.login 1.3 93/09/15 SMI
stty -istrip
# setenv TERM `tset -Q -`
# if possible, start the windows system. Give user a chance to bail out
if ( `tty` == "/dev/console" ) then
if ( $TERM == "sun" | | $TERM == "AT386" ) then
if ( ${?OPENWINHOME} == 0 ) then
setenv OPENWINHOME /usr/openwin
endif
echo ""
echo -n "Starting OpenWindows in 5 seconds (type Control-C to interrupt)"
sleep 5
echo ""
$OPENWINHOME/bin/openwin
clear # get rid of annoying cursor rectangle
logout # logout after leaving windows system
endif
endif
setenv ORACLE_HOME /oracle/app/oracle/product/7.3.4
setenv PATH /bin:/usr/bin:/etc:/usr/etc:/usr/openwin/bin:/usr/ucb:/oracle/app/oracle/product/734/bin:$ORAWEB_HOME/bin
setenv NLS_LANG japanese_japan.ja16euc
setenv LANG japanese
setenv ORACLE_TERM xsun5
setenv ORAWEB_HOME $ORACLE_HOME/ows/3.0
setenv ORAWEB_SITE www
setenv TNS_ADMIN /oracle/app/oracle/product/7.3.4/network/admin
can anyone help me and tell me how to solve it or any aother way book doc to do it,
thank you
i am very nervious
my email address:
[email protected]
[email protected]see http://www.oracle.com/support/products/oas/sparc30/html/ows08811.html
-
I'm new to Solaris 10 and need help to setup ftp server
hello!
I just installed Solaris 10 and I'm trying to setup an ftp server (with ftpd) but I don't know how to do that
my server doesn't need any security or authentication
I'm looking for the default shared files directory
Also wondering what to change in what configuration file...
This OS looks quite similar to some linux I used before but the differencies are big enough to drive me crazy
anyway thanks for your help.
Any advice is welcome :-)cd /etc/ftpd
vi ftpusers
put a # in front of root and any other users that you wish to be able to ftp
then svcadm restart ftp
If you want to set up an anonymous ftp server, there is a little more involvement -
New to Solaris question help please
Just successfully installed Solaris 10 on VMWare ESXi and assigned it 50GB of HDD space. When I type df -h I see that 79% of my disk is used and the rest of the storage is nowhere to be found.
I'm new to Solaris is this because the rest of the drive hasn't been partitioned? Some help would be greatly appreciate so that I can take advantage of the rest of my volume...
Thanks!
Filesystem size used avail capacity Mounted on
/dev/dsk/c0d0s0 7.9G 6.1G 1.7G 79% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 1.5G 880K 1.5G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/usr/lib/libc/libc_hwcap1.so.1
7.9G 6.1G 1.7G 79% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
swap 1.5G 2.2M 1.5G 1% /tmp
swap 1.6G 84M 1.5G 6% /var/run
/dev/dsk/c0d0s7 7.9G 8.0M 7.8G 1% /export/home
/dev/dsk/c0d0s6 6.8G 7.0M 6.8G 1% /export/software
/hgfs 16G 4.0M 16G 1% /hgfs
/tmp/VMwareDnD 0K 0K 0K 0% /var/run/vmblockI don't recall allocating anything during installation.Which means that you did a default installation with no customization. Looking over your file system layout confirms this.
I have an update df -h listing as well (I installed on a different system)
# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 4.6G 4.0G 596M 88% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 1.7G 868K 1.7G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/usr/lib/libc/libc_hwcap1.so.1
4.6G 4.0G 596M 88% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
swap 1.7G 120K 1.7G 1% /tmp
swap 1.7G 24K 1.7G 1% /var/run
/dev/dsk/c1t0d0s7 44G 245M 43G 1% /export/home
From this, I understand that /dev/dsk/c1t0d0s0 has a size 4.6GB (assuming the OS is installed here) when I download items to the desktop, it appears they are placed in this "disk"?Depends on where you told Firefox to place them by default. You could just as easily configure it, Edit, Preferences, Main, Downloads, tell it to place the downloads somewhere else.
> Also, /dev/dsk/c1t0d0s7 is where 44GB of free storage resides, I believe this is located in /export/home (as a folder with 44GB of space available) as far as my knowledge of Solaris is concerned.
Correct. Solaris is a multi-user system that leaves plenty of space for user home directories which default to /export/home. IMNSHO the space that is leaves behind for / is usually small enough to make the system unusable after applying only a few patches. If you switch to OpenSolaris 2008.11 you can ZFS which will mitigate most of these problems.
Just a little confusing to a newbie, coming from a Microsoft background (forgive me!) I am used to seeing volumes as icons in My Computer.The Windows tool for managing disks is nice and graphical.
What's your advice for managing volumes, formating to ZFS, maybe some visual method of understanding volumes?If you haven't done much with the system then you might consider switching to OpenSolaris with the caveat that some parts of Solaris are not available in OpenSolaris because of licensing issues. However, for someone who's just starting out you won't miss them.
For understanding, http://www.docs.sun.com / Solaris / Administration and then look for the two books on Disk Management. One is for ZFS and the other is for UFS. ZFS and Volume Manager Administration
alan -
New to Solaris 9 - Needs some help, if some could answer my question plz !!
Hello!
During the installation when I set that the computer is not networked, everything (SMC) seems to work absolutely fine.
But when I set the option that the computer is networked, The SMC (Solaris management Console) doesn;t startup. it says again and again that the server couldn't be found. Although I tried to stop and again start the SMC server process, but it didn;t work.,
Please help me out !!!!I'll give this a shot:
Does other network traffic work? Assuming that you are new to Solaris 9, and not just UNIX in general, you may want to make sure that your network settings are correct (ip addy, netmask, default route, and so on) SMC usually starts up a network service on port 898 (IIRC), and then starts up the client (the actual GUI) and connects to itself. -
New to Solaris 9 - Need some help, if some one could answer my question plz
Hello!
During the installation when I set that the computer is not networked, everything (SMC) seems to work absolutely fine.
But when I set the option that the computer is networked, The SMC (Solaris management Console) doesn;t startup. it says again and again that the server couldn't be found. Although I tried to stop and again start the SMC server process, but it didn;t work.,
Please help me out !!!!I had the same problem and I installed the system not networked and then configured the network.
-
New to Solaris administration - Need some help with some issues
Hello all,
I am a new to Solaris administration and need some assistance with a few things. I was going to make separate posts but decided it would be easy to keep track of in one. I really do not know much about the OS but I do have a little Linux background so that might help me out. I am going to number my problems to keep them sorted, so here we go.
The machine:
Sunfire V880
4x 73GB HDs
PCI dual fiber channel host adapter
Attached RAID array:
Sun StorEdge T3 Array with 9x 73GB HDs
Sun DDS4 Tape Drive in a Unipack
OS: Solaris 5.10
Updates: Updated everything except 2 patches (Updating is a real pain isn't it? At least it seems that way to me.)
1. So I might as well start with the update issues! These 2 updates will not install:
-PostgreSQL 8.2 source code, (137004-02)
Utility used to install the update failed with exit code {0}.
-Patch for mediaLib in solaris, (121620-03)
Install of update failed. Utility used to install the update is not able to save files. Utility used to install the update failed with exit code 4.
No idea why the PostgreSQL update is not working, but the medialib patch seems to not have enough hard drive space.
2. Where are all the drives? I don't know how to find the RAID box or the other 3 internal hard drives. When I installed the OS, I think I installed it on only one hard drive and that might be part of the reason why the medialibe update above says that I don't have enough space.
3. I probably need more space for the OS and updates, is there a way to "add" space onto the hard drive that currently is running the OS?
3. Once I see the other hard drives I wish to combine them to make a RAID 0 and RAID 5 array, how do I go about doing that?
4. How can I find/see the tape drive?
5. Does my swap space really need to be 64GB? I know the book I have read suggests it, but I only made it 5GB because it didn't seem to make sense to make it 64GB.
Thank you in advance for the help. I know these are a lot of questions to ask but please go easy on me :)
rjbanker
Edited by: rjbanker on Mar 7, 2008 8:21 AMSolarisSAinPA*
1.
-PostgreSQL 8.2 source code, (137004-02)
Utility used to install the update failed with exit code {0}.
Exit code 0 means there were no errors. When you run showrev -p 137004-02, does your system show that the patch is installed? You can check the log for a particular patch add attempt in /var/sadm/patch/+patch_num_rev+1- A bunch of stuff shows up, here is a portion (I am not entirely sure what it means, there must be a least a page of stuff like this):
Patch: 121081-08 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWc cccrr, SUNWccccr, SUNWccfw, SUNWccsign, SUNWcctpx, SUNWccinv, SUNWccccfg, SUNWcc fwctrl
Patch: 122231-01 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWc ctpx
Patch: 120932-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcctpx
Patch: 123123-02 Obsoletes: Requires: Incompatibles: Packages: SUNWccinv
Patch: 121118-12 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWc smauth, SUNWppror, SUNWpprou, SUNWupdatemgru, SUNWupdatemgrr, SUNWppro-plugin-su nos-base
2.
Where are all the drives? I don't know how to find the RAID box or the other 3 internal hard drives. When I >installed the OS, I think I installed it on only one hard drive and that might be part of the reason why the >medialibe update above says that I don't have enough space.
When you run format command, how many drives are listed? Identify your root drive (compare with output of df command you ran earlier) Please post here.2. Output of df-hk, looks like I ran out of room. Should I just go ahead and reinstall the OS?
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 5.9G 5.4G 378M 94% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 42G 1.3M 42G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
5.9G 5.4G 378M 94% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
5.9G 5.4G 378M 94% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
swap 42G 1.1M 42G 1% /tmp
swap 42G 32K 42G 1% /var/run
/dev/dsk/c1t0d0s7 46G 47M 46G 1% /export/home
3. So I guess the general consensus is to reinstall the OS, is that correct?
4. There is nothing in \dev\rmt, and unfortunately I don't have a tape to test it with!
5. I guess 5GB will be ok for what we do.
Alan.pae*
1. I think the above text might explain why it failed, although I don't know how to correct it.
2. Output of format:
# mount
/ on /dev/dsk/c1t0d0s0 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1d80008 on Mon Mar 10 10:56:51 2008
/devices on /devices read/write/setuid/devices/dev=4dc0000 on Mon Mar 10 10:56:19 2008
/system/contract on ctfs read/write/setuid/devices/dev=4e00001 on Mon Mar 10 10:56:19 2008
/proc on proc read/write/setuid/devices/dev=4e40000 on Mon Mar 10 10:56:19 2008
/etc/mnttab on mnttab read/write/setuid/devices/dev=4e80001 on Mon Mar 10 10:56:19 2008
/etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=4ec0001 on Mon Mar 10 10:56:19 2008
/system/object on objfs read/write/setuid/devices/dev=4f00001 on Mon Mar 10 10:56:19 2008
/platform/sun4u-us3/lib/libc_psr.so.1 on /platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1 read/write/setuid/devices/dev=1d80008 on Mon Mar 10 10:56:50 2008
/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1 on /platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1 read/write/setuid/devices/dev=1d80008 on Mon Mar 10 10:56:50 2008
/dev/fd on fd read/write/setuid/devices/dev=50c0001 on Mon Mar 10 10:56:51 2008
/tmp on swap read/write/setuid/devices/xattr/dev=4ec0002 on Mon Mar 10 10:56:52 2008
/var/run on swap read/write/setuid/devices/xattr/dev=4ec0003 on Mon Mar 10 10:56:52 2008
/export/home on /dev/dsk/c1t0d0s7 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1d8000f on Mon Mar 10 10:56:57 2008
3. Judging by the above text I will be doing a reinstall huh?
4. Actually I am not familiar with tape backups let alone solaris backup apps! Any suggestions? (Preferably free, have to cut down on costs.)
5. No comment
Thanks for the help, hope to hear from you again!
rjbanker
Maybe you are looking for
-
Say me error bank account in data transfer business partner
I need to load the data of master data business partner, but it to say me a error...that it bank account is missing application defined or object definer or object-defined error obj. My error is account bank, but i don't know what the field is... I u
-
I had to do a restore on my computer and lost mozzilla beta 7 how do I get it back
I noticed that I had a new link for beta 8 I clicked on it and it crashed my whole computer after alot of research I finally had to do a restore. When I did that everytime I tried to open any of my shortcuts I kept getting the crash reporter so I wou
-
How to go to OnSuccessful Submission in MD form?
Hi, In a MD form, I have some logic in the OnSuccessful Submission. But I noticed that, after I pressed the Save button (which triggers "doSave", it doesn't go to OnSuccessful submission). What should I do to make sure that after "doSave" , it will g
-
How long does it take for your billing address to be changed on your developer account
So I contacted developer support yesterday to change my billing address so I could enroll into the ios development program. it's been nearly 24 hours and it still hasn't changed, how long does it usually take?
-
Ipad 2 turned off with 18% power left, won't come back on
Our Ipad 2 turned off last week with 18% power left. To help narrow the solution down, I will try my best to give you the various things we have tried to get it back up. First, Itunes will not show the device unless you put it into DFU mode. It has b