Command to be executed in solaris machine to know the existing heap size
Hi,
I want to know the command to get the existing heap size of JVM. Java version is 1.5 and runs in solaris machine.
Thanks
Regards,
Nanda
Hi,
one way to do this would be to run "jstat -gc <pid>" where <pid> is the PID of your JVM. jstat is part of the JDK >= 1.5, located in the bin directory. This will give you several columns with the current sizes of all generations of the JVM. The last character "U" always indicates the current usage, "C" the capacity. The current "heap capacity" (which can be adjusted with -Xms and -Xmx) is the sum of S0C, S1C, EC and OC.
Nick.
Similar Messages
-
Any way to increase the default Heap size for all Java VMs in Solaris 8
Hello,
I have a java product that deals with large databases under Solaris 8. It is a jar file, started by a cron job every night. Some nights it will fail because it runs out of Heap memory depending on the amount of records it has to deal with. I know that I could increase the java VM heap size with "java -jar -mx YY JARFILE" command but I have other java products that are showing the same behavior, and I would like to correct them all in one shot if possible.
What I would like to do is find a system or configuration parameter that forces all Java VMs to use a larger MAX Heap size than the default 16M specified in the Man page for Java. Is there a way to accomplish that?
TIA
MaizoYou could always download the source and modify it.
-
Knowing the Total Swap size in solaris
Dear all
can anyone help me finding out Total Swap size(constant) value in solaris 10
I tried swap -s and used (Used+available as TOTAL swap)
its keep changing, as its is a current swap size at that time.
actually My intention is to used this forumula in the script,as I found that solaris uses memory as physical+SWAP
(Physcial Memory +swap size)
Total physical+Total swap
what is the best way to find out Actual Total Swap size in solaris ??I tried swap -s and used (Used+available as TOTAL swap)
its keep changing, as its is a current swap size at that time.
That's to be expected. See "How does Solaris Operating System calculate available swap? (Doc ID 1010585.1)"
actually My intention is to used this forumula in the script,as I found that solaris uses memory as physical+SWAP
(Physcial Memory +swap size)
Total physical+Total swap
what is the best way to find out Actual Total Swap size in solaris ??
If you want to know the size of the swap device, then look at the device(s) being used for swap and check the size of the slice or zvol. That'll tell you the starting value. The available will fluctuate with system usage. See Doc ID 1010585.1
What exactly are you trying to achieve with your script? -
"Could not create the Java virtual machine." when max-heap-size is 926Mb
We received "Could not create the Java virtual machine." when the max-heap-size provided exceeded 926 Mb in XP PC. We found the below mentioned link which confirms that this is a bug
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6945136
But the problem is that the issue does not get recreated in all the XP PCs. Increasing the max heap size to greater than 926 works fine in some XP PCs.
Could there be any configuration related issues for this problem...If you can't find any difference in your java versions or overall runtime configurations, it's quite possible that the bug doesn't have the complete picture--it might be more subtle than the conditions described. Maybe it works with certain versions of certain lower level DLLs. Maybe it has some dependency on which services are running. Maybe the order in which certain components got installed put one version of something vs. another further ahead in a CLASSPATH, LD_LIBRARY_PATH, etc. variable.
Or maybe it's as simple as you're not running the version of Java you think you are on all those boxes, as jschell suggests.
Regardless of the reason why it happens to work on some configurations, you found that it fails on some, and that failure is in fact a known bug. So it shouldn't surprise you that it fails at least sometimes, and the fact that it works sometimes has been rendered irrelevant. Unless you're doing research into the specific cause of this issue. -
10g forms developed using windows machine is not working in Solaris machine
I have developed a form using the following version of Oracle Developer suit 10g Fomrs using WINDOWS machine.
My Application server is in a SOLARIS machine. All the .fmx are copied in the same SOLARIS machine in a directory.
I have copied the form (.fmx) in the same directories where the other forms are, in the SOLARIS machine.
Now i click on the menu item (menu item was already present there before developing the form in the menu. I did not have to create a new menu item in the Menu) in the windows machine.
The form doesnt appear.
Could you please tell me wheather i have to compile the form that i have developed in WINDOWS machine in some format of SOLARIS machine, or I have to do something else so that on the click of Menu item in Windows machine that form appears. Or Ihave to develop the form using SOLARIS machine?
Please help me.
I am working on the following version of Oracle Developer suit 10g Fomrs
orms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Productionhi
still its not working
Please I need help
bash-2.05$
bash-2.05$ /u02/oradata/data/PROJ/APPS/bin/frmcmp userid=xxx/xxx@xxx batch=yes module=AB.fmb module_type=form compile_all=yes window_state=minimize
FRM-91500: Unable to start/complete the build.
bash-2.05$
I have set the following environment variables.
LD_LIBRARY_PATH=/u02/oradata/data/PROJ/APPS/lib32:/u02/oradata/data/PROJ/APPS/jdk/jre/lib/sparc:/u02/oradata/data/PROJ/APPS/jdk/jre/lib/sparc/native_threads:/tmp/OraInstall2008-07-11_03-00-49PM/jre/1.4.2/lib/sparc/client:/tmp/OraInstall2008-07-11_03-00-49PM/jre/1.4.2/lib/sparc:/tmp/OraInstall2008-07-11_03-00-49PM/jre/1.4.2/../lib/sparc:/usr/lib:/usr/ccs/lib:/u01/oracle/product/10.2.0/lib:/usr/lib
ORA_NLS10=/u01/oracle/product/10.2.0/nls/data
JAVA_HOME=/u02/oradata/data/PROJ/APPS/jdk
ORACLE_HOME=/u02/oradata/data/PROJ/APPS
ORACLE_TERM=vt100
FORMS_PATH=/u02/oradata/data/PROJ/APPS/forms
TERM=vt100
PATH=/usr/bin:/usr/ccs/bin:/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/boapp/oracle/product/9.2.0/bin:/usr/lib
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
TNS_ADMIN=/u02/oradata/data/PROJ/APPS/network/admin
OSTYPE=solaris5.9
regards -
Error: Couldn't open solaris/machines/conf003.rc
Hi:
Installing Solaris 8 Intel is a total nighmare. What a great difference with Red Hat 6.1 (which is practically plug&play)
After following all the installation steps over a complatible hardware intel platform (AMD k6, Samsung Ultra Ata 10gb, no network card), the configuration assistant stops in the first boot showing the following:
Running Configuration Assistant
error: Couldn't open solaris/machines/conf003.rc
The root filesystem is not mounted and the configuration assistant has exited prematurely. Booting is unlikely to succeed. CTL-ALT-DEL may be used to reset the machine.
Well, can anyone tell me what is going on? I can see the blue screen at the begining and i have 2 partitions (boot and solaris). I boot from the boot partition of course. AARRRGHHHHHH����� I NEED SOME HELP GUYS, i know i am a newby :-)The missing file solaris/machines/conf003.rc seems to hint at a
corrupted saved configuration on the diskette. (You should find
three files conf003.{nam,rc,rf} in the solaris/machines subdirectory
on the DCA diskette). Using a fresh DCA
diskette might indeed help.
Another option is to try to install directly from cdrom - ignoring the
DCA floppy. If your
system can boot from the cdrom drive, try to boot using the
"Software 1 of 2" CD (or the "Installation" CD). -
Invalid initial heap size in JVM 1.4.2_04 on Solaris 9 machine
Hi,
While running this command.
# java -Xms8096m -Xmx8096m newserver.sh
I am getting the following error:
Invalid initial heap size: -Xms5000m
Could not create the Java virtual machine
I tried with - server option also. But same error. Can any one tell me what is the limit of heap size allowed in Solaris 9? Plz tell me work around for this.
Thanks,
Vasanth.cvringer wrote:
I really hate this responses. If you bother others with your problems, at least take the trouble of informing others about the solution. You made this whole post worthless.Reply #2 answers the question. You need a 64-bit VM.
I'm locking this zombie thread.
Kaj -
When trying to compile forms in solaris machine, frmcmp.sh not found error
Hi
I want to compile my forms using frmcmp.sh in a solaris machine
When I try to execute
/u15/10gAs/bin/frmcmp.sh /u15/10gAs/forms/form1.fmb user/pass@database
it throws me error that frmcmp.sh is not found
it is searching in the whatever path set in ORACLE_HOME
could you please tell me what should I do now?
regardsThe following is just a SAMPLE and you may not need all of them and you will have to modify the paths to match your system.
########## Oracle Variables ##########
echo " Welcome to oracle";
ORACLE_BASE=/u01/app/oracle
ORACLE_OWNER=oracle; export ORACLE_OWNER
ORACLE_TERM=xterm; export ORACLE_TERM
ORACLE_HOME=/u01/app/oracle/product/9.2.0.1.0
ORACLE_SID=ORTD
LD_PRELOAD=$HOME/libcwait.so
export DISPLAY=172.28.66.39:0.0
PATH=$PATH:$ORACLE_HOME/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$ORACLE_HOME/network/lib
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
export CLASSPATH
LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL
THREADS_FLAG=native; export THREADS_FLAG
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
export PATH ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH LD_PRELOAD
########## End of Oracle variables ##########I recommend you dig through the installation manual for the version of Oracle you have installed and setup your profile settings based on your installation. If you still need help after that, you might want to post your question in the Database Installation forum. Once you have your environment setup, you should be able to compile your form(s).
Hope this helps,
Craig
If a response is helpful or correct, please mark it accordingly.
Edited by: CraigB on Apr 27, 2010 8:11 AM
Edited by: CraigB on Apr 27, 2010 8:14 AM -
SAPInst could not be executed on Solaris 9
Hi,
I have a problem running SAPInst tool on Solaris 9 and would like to get some suggestions from you.
When run SAPInst -v either from the cdrom or from a local mount point, I am not getting any response back. The cursor is blinking but nothing registered on the host after SAPInst executed.
Any suggestions?
We have checked the followings without success:
1. Environment settings
2. Shared Memories
3. File Systems
4. Patch level for the OS
5. Tried running it with a different version of SAPInst without success
6. working with the Unix team to figure this out and yet find a solution for it.
7. when ran the command>find / . -name <file>
Nothing came back. The cursor keeps on blinking away .
8. when tried to run ./sapinst, same thing happened.
9. while both of the above commands running. We could not see any registered on the host when ran another session and do command >prstat |more
10. we tried to run it both from the CDROM mount point and from the local mount, no success there either.
Any idea is greatly appreciate it.
Thanks in advance for your help.
Steve T.Hi Steve,
Are you installing NW04SR1 on Solaris x86 64 or 32 bit? if so, consider checking the hardware compatibility Matrix.
I have tried installing NW04SR1 on solaris x86 and sapinst fails.
Damien. -
Wrong output when executed in UNIX machine
Hi All,
We have created a java class which takes a file name as command line arguments and trying to test whether that file which has taken from command-line is accessible if it is already in use (like copying from/to other path). For this we are passing filename as argument to FileInputStream Class .
This java class when executed in windows machine is giving expected output i.e. throwing Exception if the file is already in use. But the same code when ran from UNIX machine, there it is not giving expected result as mentioned above. Can anyone please help us in resolving this problem?
Thanks in AdvanceNot sure if this has anything to do with it, but did ftp the text file up to the UNIX machine? If you did, were you using ascii mode?
Windows:
file in use.becomes
file in use.^Min unix when I transfer the file using the binary mode.
-J -
"error: command failed to execute correctly" on several packages
Last night, when I updated before shutting down, I got a few errors, as in the subject. As it was very late, I thought I'd pick it up today.
Unfortunately, the pacman log only lists one of the ones that failed as libgpg-error. The other one that I remember erroring was gawk. There were a few others, maybe four or five, but I couln't reliably recall them all, so won't guess.
Here's a new attempt to reinstall gawk with --debug. I did the same with libgpg-error and the error occurred at the same place, with very similar output, so I think the issue is the same for all failures.
debug: pacman v4.2.1 - libalpm v9.0.1
debug: parseconfig: options pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: usedelta (default 0.7)
debug: config: arch: x86_64
debug: config: verbosepkglists
debug: config: chomp
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: SigLevel: TrustedOnly
debug: config: LocalFileSigLevel: Optional
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: config: new section 'xyne-x86_64'
debug: config: finish section 'xyne-x86_64'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 91: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 100: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'multilib'
debug: config: new section 'infinality-bundle'
debug: config: finish section 'infinality-bundle'
debug: config: new section 'infinality-bundle-multilib'
debug: config: finish section 'infinality-bundle-multilib'
debug: config: new section 'infinality-bundle-fonts'
debug: config: finish section 'infinality-bundle-fonts'
debug: config: new section '(null)'
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: parseconfig: repo pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for core repoistory
debug: adding new server URL to database 'core': http://arch.tamcore.eu/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.one.com/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.gnomus.de/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.js-webcoding.de/pub/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.polymorf.fr/core/os/x86_64
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for extra repoistory
debug: adding new server URL to database 'extra': http://arch.tamcore.eu/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.one.com/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.gnomus.de/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.js-webcoding.de/pub/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.polymorf.fr/extra/os/x86_64
debug: config: new section 'xyne-x86_64'
debug: config: SigLevel: Required
debug: config: finish section 'xyne-x86_64'
debug: registering sync database 'xyne-x86_64'
debug: database path for tree xyne-x86_64 set to /var/lib/pacman/sync/xyne-x86_64.db
debug: GPGME version: 1.5.4
debug: GPGME engine info: file=/usr/bin/gpg2, home=/etc/pacman.d/gnupg/
debug: checking signature for /var/lib/pacman/sync/xyne-x86_64.db
debug: 1 signatures returned
debug: fingerprint: EC3CBE7F607D11E663149E811D1F0DC78F173680
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1430676813
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: EC3CBE7F607D11E663149E811D1F0DC78F173680, Xyne. (key #3) <[email protected]>, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
debug: setting usage of 15 for xyne-x86_64 repoistory
debug: adding new server URL to database 'xyne-x86_64': http://xyne.archlinux.ca/repos/xyne
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 91: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for community repoistory
debug: adding new server URL to database 'community': http://arch.tamcore.eu/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.one.com/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.gnomus.de/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.js-webcoding.de/pub/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.polymorf.fr/community/os/x86_64
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 100: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'multilib'
debug: registering sync database 'multilib'
debug: database path for tree multilib set to /var/lib/pacman/sync/multilib.db
debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for multilib repoistory
debug: adding new server URL to database 'multilib': http://arch.tamcore.eu/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://mirror.one.com/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://mirror.gnomus.de/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://mirror.js-webcoding.de/pub/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://archlinux.polymorf.fr/multilib/os/x86_64
debug: config: new section 'infinality-bundle'
debug: config: finish section 'infinality-bundle'
debug: registering sync database 'infinality-bundle'
debug: database path for tree infinality-bundle set to /var/lib/pacman/sync/infinality-bundle.db
debug: checking signature for /var/lib/pacman/sync/infinality-bundle.db
debug: 1 signatures returned
debug: fingerprint: A9244FB5E93F11F0E975337FAE6866C7962DDE58
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1430276639
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: A9244FB5E93F11F0E975337FAE6866C7962DDE58, bohoomil (dev key) <[email protected]>, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
debug: setting usage of 15 for infinality-bundle repoistory
debug: adding new server URL to database 'infinality-bundle': http://bohoomil.com/repo/x86_64
debug: config: new section 'infinality-bundle-multilib'
debug: config: finish section 'infinality-bundle-multilib'
debug: registering sync database 'infinality-bundle-multilib'
debug: database path for tree infinality-bundle-multilib set to /var/lib/pacman/sync/infinality-bundle-multilib.db
debug: checking signature for /var/lib/pacman/sync/infinality-bundle-multilib.db
debug: 1 signatures returned
debug: fingerprint: A9244FB5E93F11F0E975337FAE6866C7962DDE58
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1430087321
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: A9244FB5E93F11F0E975337FAE6866C7962DDE58, bohoomil (dev key) <[email protected]>, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
debug: setting usage of 15 for infinality-bundle-multilib repoistory
debug: adding new server URL to database 'infinality-bundle-multilib': http://bohoomil.com/repo/multilib/x86_64
debug: config: new section 'infinality-bundle-fonts'
debug: config: finish section 'infinality-bundle-fonts'
debug: registering sync database 'infinality-bundle-fonts'
debug: database path for tree infinality-bundle-fonts set to /var/lib/pacman/sync/infinality-bundle-fonts.db
debug: checking signature for /var/lib/pacman/sync/infinality-bundle-fonts.db
debug: 1 signatures returned
debug: fingerprint: A9244FB5E93F11F0E975337FAE6866C7962DDE58
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1430276566
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: A9244FB5E93F11F0E975337FAE6866C7962DDE58, bohoomil (dev key) <[email protected]>, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
debug: setting usage of 15 for infinality-bundle-fonts repoistory
debug: adding new server URL to database 'infinality-bundle-fonts': http://bohoomil.com/repo/fonts
debug: config: new section '(null)'
debug: config: finished parsing /etc/pacman.conf
debug: loading package cache for repository 'core'
debug: opening archive /var/lib/pacman/sync/core.db
debug: added 208 packages to package cache for db 'core'
debug: adding package 'gawk'
debug: loading package cache for repository 'local'
debug: added 1122 packages to package cache for db 'local'
warning: gawk-4.1.2-1 is up to date -- reinstalling
debug: adding package gawk-4.1.2-1 to the transaction add list
resolving dependencies...
debug: resolving target's dependencies
debug: started resolving dependencies
debug: checkdeps: package gawk-4.1.2-1
debug: finished resolving dependencies
looking for conflicting packages...
debug: looking for conflicts
debug: check targets vs targets
debug: check targets vs targets
debug: check targets vs db and db vs targets
debug: check targets vs db
debug: check db vs targets
debug: checking dependencies
debug: checkdeps: package gawk-4.1.2-1
debug: found cached pkg: /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
debug: setting download size 0 for pkg gawk
debug: sorting by dependencies
debug: started sorting dependencies
debug: sorting dependencies finished
Package (1) Old Version New Version Net Change
core/gawk 4.1.2-1 4.1.2-1 0.00 MiB
Total Installed Size: 2.19 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
debug: using cachedir: /var/cache/pacman/pkg/
debug: using cachedir: /var/cache/pacman/pkg/
checking keyring...
debug: looking up key 771DF6627EDF681F locally
debug: key lookup success, key exists
checking package integrity...
debug: found cached pkg: /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
debug: sig data: iQEcBAABCAAGBQJVQNc+AAoJEHcd9mJ+32gfQZgH/jkRiirmPTb4nE0xgcFGKc8wrxw3k9ooGyMFoeqAthTICB/5dBzNfEQ8b4X74gi8KiYQVYm4WE8kWIidUj5ekJhGwngO6Gk+lwyBq+Uh8rUHDJKw557fImM2bBah2lxNUxqZzxYTA1FByq2lptLB5EPJgAPemyUXACMXITDfqtWMpuHIEPLZi5WW9+cB0eMKz5IeEEfZi4lO2fyfRqxNkRDNSmC5NEDkfhm+XVXBEd4gugSOmYpKzlA67mjw2HP+oOyNheL8st4SjgFr/qVDdbfiBbaTTujC4mF1n73z5qp4K5/xgHqk42ftoo003XFQYVOAg3bDWMvUF5d63D4+HKg=
debug: checking signature for /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
debug: 1 signatures returned
debug: fingerprint: 5B7E3FB71B7F10329A1C03AB771DF6627EDF681F
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1430312766
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: 5B7E3FB71B7F10329A1C03AB771DF6627EDF681F, Tobias Powalowski <[email protected]>, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
loading package files...
debug: found cached pkg: /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
debug: replacing pkgcache entry with package file for target gawk
debug: opening archive /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
debug: starting package load for /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
debug: found mtree for package /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz, getting file list
debug: finished mtree reading for /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
debug: sorting package filelist for /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
checking for file conflicts...
debug: looking for file conflicts
debug: searching for file conflicts: gawk
debug: searching for filesystem conflicts: gawk
checking available disk space...
debug: checking available disk space
debug: discovered mountpoint: /tmp
debug: discovered mountpoint: /sys/kernel/security
debug: discovered mountpoint: /sys/kernel/debug
debug: discovered mountpoint: /sys/kernel/config
debug: discovered mountpoint: /sys/fs/pstore
debug: discovered mountpoint: /sys/fs/cgroup/systemd
debug: discovered mountpoint: /sys/fs/cgroup/net_cls
debug: discovered mountpoint: /sys/fs/cgroup/memory
debug: discovered mountpoint: /sys/fs/cgroup/freezer
debug: discovered mountpoint: /sys/fs/cgroup/devices
debug: discovered mountpoint: /sys/fs/cgroup/cpuset
debug: discovered mountpoint: /sys/fs/cgroup/cpu,cpuacct
debug: discovered mountpoint: /sys/fs/cgroup/blkio
debug: discovered mountpoint: /sys/fs/cgroup
debug: discovered mountpoint: /sys
debug: discovered mountpoint: /run/user/1000
debug: discovered mountpoint: /run
debug: discovered mountpoint: /proc/sys/fs/binfmt_misc
debug: discovered mountpoint: /proc
debug: discovered mountpoint: /home/skanky/personal
debug: discovered mountpoint: /home
debug: discovered mountpoint: /dev/shm
debug: discovered mountpoint: /dev/pts
debug: discovered mountpoint: /dev/mqueue
debug: discovered mountpoint: /dev/hugepages
debug: discovered mountpoint: /dev
debug: discovered mountpoint: /
debug: loading fsinfo for /
debug: partition /, needed 0, cushion 5121, free 1174711
debug: installing packages
reinstalling gawk...
debug: reinstalling package gawk-4.1.2-1
debug: opening archive /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
debug: extracting: .INSTALL
debug: removing old package first (gawk-4.1.2-1)
debug: removing 110 files
debug: unlinking /usr/share/man/man3/time.3am.gz
debug: unlinking /usr/share/man/man3/rwarray.3am.gz
debug: unlinking /usr/share/man/man3/revtwoway.3am.gz
debug: unlinking /usr/share/man/man3/revoutput.3am.gz
debug: unlinking /usr/share/man/man3/readfile.3am.gz
debug: unlinking /usr/share/man/man3/readdir.3am.gz
debug: unlinking /usr/share/man/man3/ordchr.3am.gz
debug: unlinking /usr/share/man/man3/inplace.3am.gz
debug: unlinking /usr/share/man/man3/fork.3am.gz
debug: unlinking /usr/share/man/man3/fnmatch.3am.gz
debug: unlinking /usr/share/man/man3/filefuncs.3am.gz
debug: keeping directory /usr/share/man/man3/ (contains files)
debug: unlinking /usr/share/man/man1/igawk.1.gz
debug: unlinking /usr/share/man/man1/gawk.1.gz
debug: keeping directory /usr/share/man/man1/ (contains files)
debug: keeping directory /usr/share/man/ (contains files)
debug: unlinking /usr/share/locale/vi/LC_MESSAGES/gawk.mo
debug: keeping directory /usr/share/locale/vi/LC_MESSAGES/ (contains files)
debug: keeping directory /usr/share/locale/vi/ (contains files)
debug: unlinking /usr/share/locale/sv/LC_MESSAGES/gawk.mo
debug: keeping directory /usr/share/locale/sv/LC_MESSAGES/ (contains files)
debug: keeping directory /usr/share/locale/sv/ (contains files)
debug: unlinking /usr/share/locale/pl/LC_MESSAGES/gawk.mo
debug: keeping directory /usr/share/locale/pl/LC_MESSAGES/ (contains files)
debug: keeping directory /usr/share/locale/pl/ (contains files)
debug: unlinking /usr/share/locale/nl/LC_MESSAGES/gawk.mo
debug: keeping directory /usr/share/locale/nl/LC_MESSAGES/ (contains files)
debug: keeping directory /usr/share/locale/nl/ (contains files)
debug: unlinking /usr/share/locale/ms/LC_MESSAGES/gawk.mo
debug: keeping directory /usr/share/locale/ms/LC_MESSAGES/ (contains files)
debug: keeping directory /usr/share/locale/ms/ (contains files)
debug: unlinking /usr/share/locale/ja/LC_MESSAGES/gawk.mo
debug: keeping directory /usr/share/locale/ja/LC_MESSAGES/ (contains files)
debug: keeping directory /usr/share/locale/ja/ (contains files)
debug: unlinking /usr/share/locale/it/LC_MESSAGES/gawk.mo
debug: keeping directory /usr/share/locale/it/LC_MESSAGES/ (contains files)
debug: keeping directory /usr/share/locale/it/ (contains files)
debug: unlinking /usr/share/locale/fr/LC_MESSAGES/gawk.mo
debug: keeping directory /usr/share/locale/fr/LC_MESSAGES/ (contains files)
debug: keeping directory /usr/share/locale/fr/ (contains files)
debug: unlinking /usr/share/locale/fi/LC_MESSAGES/gawk.mo
debug: keeping directory /usr/share/locale/fi/LC_MESSAGES/ (contains files)
debug: keeping directory /usr/share/locale/fi/ (contains files)
debug: unlinking /usr/share/locale/es/LC_MESSAGES/gawk.mo
debug: keeping directory /usr/share/locale/es/LC_MESSAGES/ (contains files)
debug: keeping directory /usr/share/locale/es/ (contains files)
debug: unlinking /usr/share/locale/de/LC_MESSAGES/gawk.mo
debug: keeping directory /usr/share/locale/de/LC_MESSAGES/ (contains files)
debug: keeping directory /usr/share/locale/de/ (contains files)
debug: unlinking /usr/share/locale/da/LC_MESSAGES/gawk.mo
debug: keeping directory /usr/share/locale/da/LC_MESSAGES/ (contains files)
debug: keeping directory /usr/share/locale/da/ (contains files)
debug: unlinking /usr/share/locale/ca/LC_MESSAGES/gawk.mo
debug: keeping directory /usr/share/locale/ca/LC_MESSAGES/ (contains files)
debug: keeping directory /usr/share/locale/ca/ (contains files)
debug: keeping directory /usr/share/locale/ (contains files)
debug: unlinking /usr/share/info/gawkinet.info.gz
debug: unlinking /usr/share/info/gawk.info.gz
debug: keeping directory /usr/share/info/ (contains files)
debug: unlinking /usr/share/awk/zerofile.awk
debug: unlinking /usr/share/awk/walkarray.awk
debug: unlinking /usr/share/awk/strtonum.awk
debug: unlinking /usr/share/awk/shellquote.awk
debug: unlinking /usr/share/awk/round.awk
debug: unlinking /usr/share/awk/rewind.awk
debug: unlinking /usr/share/awk/readfile.awk
debug: unlinking /usr/share/awk/readable.awk
debug: unlinking /usr/share/awk/quicksort.awk
debug: unlinking /usr/share/awk/processarray.awk
debug: unlinking /usr/share/awk/passwd.awk
debug: unlinking /usr/share/awk/ord.awk
debug: unlinking /usr/share/awk/noassign.awk
debug: unlinking /usr/share/awk/libintl.awk
debug: unlinking /usr/share/awk/join.awk
debug: unlinking /usr/share/awk/inplace.awk
debug: unlinking /usr/share/awk/group.awk
debug: unlinking /usr/share/awk/gettime.awk
debug: unlinking /usr/share/awk/getopt.awk
debug: unlinking /usr/share/awk/ftrans.awk
debug: unlinking /usr/share/awk/ctime.awk
debug: unlinking /usr/share/awk/cliff_rand.awk
debug: unlinking /usr/share/awk/bits2str.awk
debug: unlinking /usr/share/awk/assert.awk
debug: keeping directory /usr/share/awk/ (in new package)
debug: keeping directory /usr/share/ (contains files)
debug: unlinking /usr/lib/gawk/time.so
debug: unlinking /usr/lib/gawk/testext.so
debug: unlinking /usr/lib/gawk/rwarray.so
debug: unlinking /usr/lib/gawk/revtwoway.so
debug: unlinking /usr/lib/gawk/revoutput.so
debug: unlinking /usr/lib/gawk/readfile.so
debug: unlinking /usr/lib/gawk/readdir.so
debug: unlinking /usr/lib/gawk/ordchr.so
debug: unlinking /usr/lib/gawk/inplace.so
debug: unlinking /usr/lib/gawk/fork.so
debug: unlinking /usr/lib/gawk/fnmatch.so
debug: unlinking /usr/lib/gawk/filefuncs.so
debug: keeping directory /usr/lib/gawk/ (in new package)
debug: unlinking /usr/lib/awk/pwcat
debug: unlinking /usr/lib/awk/grcat
debug: keeping directory /usr/lib/awk/ (in new package)
debug: keeping directory /usr/lib/ (contains files)
debug: unlinking /usr/include/gawkapi.h
debug: keeping directory /usr/include/ (contains files)
debug: unlinking /usr/bin/igawk
debug: unlinking /usr/bin/gawk-4.1.2
debug: unlinking /usr/bin/gawk
debug: unlinking /usr/bin/awk
debug: keeping directory /usr/bin/ (contains files)
debug: keeping directory /usr/ (contains files)
debug: removing database entry 'gawk'
debug: removing entry 'gawk' from 'local' cache
debug: extracting files
debug: opening archive /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
debug: skipping extraction of '.PKGINFO'
debug: extracting /var/lib/pacman/local/gawk-4.1.2-1/install
debug: extracting /var/lib/pacman/local/gawk-4.1.2-1/mtree
debug: extract: skipping dir extraction of /usr/
debug: extract: skipping dir extraction of /usr/lib/
debug: extract: skipping dir extraction of /usr/share/
debug: extract: skipping dir extraction of /usr/include/
debug: extract: skipping dir extraction of /usr/bin/
debug: extracting /usr/bin/igawk
debug: extracting /usr/bin/awk
debug: extracting /usr/bin/gawk-4.1.2
debug: extracting /usr/bin/gawk
debug: extracting /usr/include/gawkapi.h
debug: extract: skipping dir extraction of /usr/share/locale/
debug: extract: skipping dir extraction of /usr/share/awk/
debug: extract: skipping dir extraction of /usr/share/info/
debug: extract: skipping dir extraction of /usr/share/man/
debug: extract: skipping dir extraction of /usr/share/man/man3/
debug: extract: skipping dir extraction of /usr/share/man/man1/
debug: extracting /usr/share/man/man1/gawk.1.gz
debug: extracting /usr/share/man/man1/igawk.1.gz
debug: extracting /usr/share/man/man3/filefuncs.3am.gz
debug: extracting /usr/share/man/man3/fnmatch.3am.gz
debug: extracting /usr/share/man/man3/fork.3am.gz
debug: extracting /usr/share/man/man3/inplace.3am.gz
debug: extracting /usr/share/man/man3/ordchr.3am.gz
debug: extracting /usr/share/man/man3/readdir.3am.gz
debug: extracting /usr/share/man/man3/readfile.3am.gz
debug: extracting /usr/share/man/man3/revoutput.3am.gz
debug: extracting /usr/share/man/man3/revtwoway.3am.gz
debug: extracting /usr/share/man/man3/rwarray.3am.gz
debug: extracting /usr/share/man/man3/time.3am.gz
debug: extracting /usr/share/info/gawk.info.gz
debug: extracting /usr/share/info/gawkinet.info.gz
debug: extracting /usr/share/awk/zerofile.awk
debug: extracting /usr/share/awk/walkarray.awk
debug: extracting /usr/share/awk/strtonum.awk
debug: extracting /usr/share/awk/shellquote.awk
debug: extracting /usr/share/awk/round.awk
debug: extracting /usr/share/awk/rewind.awk
debug: extracting /usr/share/awk/readfile.awk
debug: extracting /usr/share/awk/readable.awk
debug: extracting /usr/share/awk/quicksort.awk
debug: extracting /usr/share/awk/processarray.awk
debug: extracting /usr/share/awk/ord.awk
debug: extracting /usr/share/awk/noassign.awk
debug: extracting /usr/share/awk/libintl.awk
debug: extracting /usr/share/awk/join.awk
debug: extracting /usr/share/awk/inplace.awk
debug: extracting /usr/share/awk/gettime.awk
debug: extracting /usr/share/awk/getopt.awk
debug: extracting /usr/share/awk/ftrans.awk
debug: extracting /usr/share/awk/ctime.awk
debug: extracting /usr/share/awk/cliff_rand.awk
debug: extracting /usr/share/awk/bits2str.awk
debug: extracting /usr/share/awk/assert.awk
debug: extracting /usr/share/awk/group.awk
debug: extracting /usr/share/awk/passwd.awk
debug: extract: skipping dir extraction of /usr/share/locale/vi/
debug: extract: skipping dir extraction of /usr/share/locale/sv/
debug: extract: skipping dir extraction of /usr/share/locale/pl/
debug: extract: skipping dir extraction of /usr/share/locale/nl/
debug: extract: skipping dir extraction of /usr/share/locale/ms/
debug: extract: skipping dir extraction of /usr/share/locale/ja/
debug: extract: skipping dir extraction of /usr/share/locale/it/
debug: extract: skipping dir extraction of /usr/share/locale/fr/
debug: extract: skipping dir extraction of /usr/share/locale/fi/
debug: extract: skipping dir extraction of /usr/share/locale/es/
debug: extract: skipping dir extraction of /usr/share/locale/de/
debug: extract: skipping dir extraction of /usr/share/locale/da/
debug: extract: skipping dir extraction of /usr/share/locale/ca/
debug: extract: skipping dir extraction of /usr/share/locale/ca/LC_MESSAGES/
debug: extracting /usr/share/locale/ca/LC_MESSAGES/gawk.mo
debug: extract: skipping dir extraction of /usr/share/locale/da/LC_MESSAGES/
debug: extracting /usr/share/locale/da/LC_MESSAGES/gawk.mo
debug: extract: skipping dir extraction of /usr/share/locale/de/LC_MESSAGES/
debug: extracting /usr/share/locale/de/LC_MESSAGES/gawk.mo
debug: extract: skipping dir extraction of /usr/share/locale/es/LC_MESSAGES/
debug: extracting /usr/share/locale/es/LC_MESSAGES/gawk.mo
debug: extract: skipping dir extraction of /usr/share/locale/fi/LC_MESSAGES/
debug: extracting /usr/share/locale/fi/LC_MESSAGES/gawk.mo
debug: extract: skipping dir extraction of /usr/share/locale/fr/LC_MESSAGES/
debug: extracting /usr/share/locale/fr/LC_MESSAGES/gawk.mo
debug: extract: skipping dir extraction of /usr/share/locale/it/LC_MESSAGES/
debug: extracting /usr/share/locale/it/LC_MESSAGES/gawk.mo
debug: extract: skipping dir extraction of /usr/share/locale/ja/LC_MESSAGES/
debug: extracting /usr/share/locale/ja/LC_MESSAGES/gawk.mo
debug: extract: skipping dir extraction of /usr/share/locale/ms/LC_MESSAGES/
debug: extracting /usr/share/locale/ms/LC_MESSAGES/gawk.mo
debug: extract: skipping dir extraction of /usr/share/locale/nl/LC_MESSAGES/
debug: extracting /usr/share/locale/nl/LC_MESSAGES/gawk.mo
debug: extract: skipping dir extraction of /usr/share/locale/pl/LC_MESSAGES/
debug: extracting /usr/share/locale/pl/LC_MESSAGES/gawk.mo
debug: extract: skipping dir extraction of /usr/share/locale/sv/LC_MESSAGES/
debug: extracting /usr/share/locale/sv/LC_MESSAGES/gawk.mo
debug: extract: skipping dir extraction of /usr/share/locale/vi/LC_MESSAGES/
debug: extracting /usr/share/locale/vi/LC_MESSAGES/gawk.mo
debug: extract: skipping dir extraction of /usr/lib/gawk/
debug: extract: skipping dir extraction of /usr/lib/awk/
debug: extracting /usr/lib/awk/pwcat
debug: extracting /usr/lib/awk/grcat
debug: extracting /usr/lib/gawk/filefuncs.so
debug: extracting /usr/lib/gawk/fnmatch.so
debug: extracting /usr/lib/gawk/fork.so
debug: extracting /usr/lib/gawk/inplace.so
debug: extracting /usr/lib/gawk/ordchr.so
debug: extracting /usr/lib/gawk/readdir.so
debug: extracting /usr/lib/gawk/readfile.so
debug: extracting /usr/lib/gawk/revoutput.so
debug: extracting /usr/lib/gawk/revtwoway.so
debug: extracting /usr/lib/gawk/rwarray.so
debug: extracting /usr/lib/gawk/testext.so
debug: extracting /usr/lib/gawk/time.so
debug: updating database
debug: adding database entry 'gawk'
debug: writing gawk-4.1.2-1 DESC information back to db
debug: writing gawk-4.1.2-1 FILES information back to db
debug: adding entry 'gawk' in 'local' cache
debug: executing ". /tmp/alpm_r21DA5/.INSTALL; post_upgrade 4.1.2-1 4.1.2-1"
debug: executing "/usr/bin/bash" under chroot "/"
debug: call to waitpid succeeded
error: command failed to execute correctly
debug: running ldconfig
debug: executing "/usr/bin/ldconfig" under chroot "/"
debug: call to waitpid succeeded
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: unregistering database 'xyne-x86_64'
debug: unregistering database 'community'
debug: unregistering database 'multilib'
debug: unregistering database 'infinality-bundle'
debug: unregistering database 'infinality-bundle-multilib'
debug: unregistering database 'infinality-bundle-fonts'
pacman thinks the upgrade/reinstall was successful in that the latest version is installed.
I did a search on the forums and the only other issue that I thought was connected might be microcode not up to date, but I had followed the update instructions some time back and as far as I can tell, the microcode is up to date.
I have two main questions:
1) How do I work out what's causing the error, from above?
2) Is there a way I can work out which packages gave the error, so I can make sure they're installed properly?
Thanks.The following packages also had problems
( 2/17) upgrading glibc
error: command failed to execute correctly
( 3/17) upgrading binutils
error: command failed to execute correctly
( 4/17) upgrading coreutils
error: command failed to execute correctly
( 8/17) upgrading gcc
error: command failed to execute correctly
( 9/17) upgrading gcc-fortran
error: command failed to execute correctly
(10/17) upgrading gcc-libs
error: command failed to execute correctly
Does anybody have a clue?
Thanks, -
How can i copy a dbx executable to other machine to run without installion
How can i copy a dbx executable to other machine to run without installion whole workshop
packet??? how to generate a configuration for dbx alone???
thanksHi, thanks for you help.
actually, I have once copied dbx to other machine. certainlly, it needs a license. But when I copied
a license file from the directory /opt/SUNWspro/license-dir/ of machine that installed Workshop
to another machine that i want to run dbx. dbx starts correctly. but when i type
$ dbx ipCentrex
it prints following message:
dbx: warning: cannot find global initialization file: dbxrc
/opt/wacos/./.dbxrc[1]: syntax error
dbx: installation problem, can't find help file: ./SUNW_SPRO_Dbx_help.info
_find_executable: not found
To suppress this message, add the following line to your .dbxrc file:
dbxenv suppress_startup_message 6.2
Reading ipCentrex
dbx: warning: setuid program exec()ed. Reattaching
There might be too many LWP's in this process.
See `help dbxenv' under mt_scalable.
dbx: Cannot open lwpstatus.
dbx: warning: process initialization failed
dbx: warning: can't find file "/opt/wacos/server/feature_server/bin/obj/ipCentre
x/ipcentrex_main.o"
dbx: warning: see `help finding-files'
when it says that has errors in .dbxrc file, I can remove this file. But the critical error is why it says
too mamy LWP's in this process? when I debug it at a machine that installed workshop, this error not occurs.
anyone have answer? -
Problem with Linux executable in solaris
Hello
I have a problem. We have sunblade workstation with OS solaris 2.8 version. I have downloaded a program which is developed under RedHat 5.1 and complied with Egcs-1.0.2. when i execute this program i am getting the message like bash: ./Al: cannot execute binary file
I would be thankfull if someone tell me how to solve the problem.
Thanks RajiYou need lxrun do be able to run Linux binaries on Solaris x86. You can get it at
http://soldc.sun.com/freeware/details/detail_lxrun_0.9.6.1_8_Intel.html
I've never used it, so please post your results here. -
How to start Oracle database in solaris Machine
I installed Oracle database in my solaris machine. Everything went fine .. I was able to install it and test the database if it's working or not.
Something happened that made me shut down and restart the solaris machine, the problem is that Oracle is not running, so I have to start it manually, and I'm not sure how to do that ... Is there a way to start Oracle automatically once the solaris machine is started ...
I'm using the SSH Secure Shell Client to configure and install everything into the solaris machine ..Here is the work around for starting oracle instance automatically.
1) logon the system as root user.
2) under /etc/init.d/ directory, create a file name oraclestart(name the file to what you feel comfortable). eg: /etc/init.d/oraclestart.
with the following content:
#!/bin/sh
# Created by Henry Nguyen
# Date 10/11/2005
# Script to automatic start and stop oracle instances on server
ORACLE_HOME=/export/home/oracle/product/9.2.0.1.0 (diffrent on your system)
if [ ! -f $ORACLE_HOME/bin/dbstart || ! -f $ORACLE_HOME/bin/dbshut ]; then
echo missing oracle start/stop script
exit 1
fi
case "$1" in
'start')
su - oracle -c '$ORACLE_HOME/bin/dbstart'
su - oracle -c '$ORACLE_HOME/bin/lsnrctl start'
'stop')
su - oracle -c '$ORACLE_HOME/bin/lsnrctl stop'
su - oracle -c '$ORACLE_HOME/bin/dbshut'
esac
3) create 2 soft link as following:
ln -s /etc/init.d/oraclestart /etc/rc2.d/S99oraclestart
ln -s /etc/init.d/oraclestart /etc/rc0.d/K10oraclestart
Note the S99 and K10: that are Solaris priorities to when start and stop an oracle instance and those letter must be capitalized.
Hope this will help you -
Taking Backup of OIM/Solaris machines
hi,
I would be working on Solaris machines and need to take regular backups of OIM. What approach should i follow for the same?
i) can we just take the backups of the database and export all the configurations(this seems a bit tricky, as might get some problems or human error importing the configurations again.
ii)Or is there a way to take backup/image of the Solaris , so that we can restore it later, if something goes wrong.
Kindly guide me on this.
Thanks,
AJ.Hi,
In my sight, it should be a combination of both approach.
(1) is sufficient. However, there is a possibility of corruption of the installation itself. In that case (2) restoration of image would help.
The frequency of (2) could be low. You could take image backups on major milestones of changes. However, regular changes could be managed using OIM & DB backups.
Hope this helps,
Regards,
Maybe you are looking for
-
Z68A-GD80(G3) Can no longer read external hd dock after flashing beta bios
I flashed E7672IMS.J31 Beta Bios because I was on a very old bios that was not compatible with my GTX 970 card I just bought. Flashing the bios fixed my 970 compatibility but in the process made it so my 2 external hd docks no longer worked (at this
-
Yet another CD burn error (4280)
It seems that the 4280 problem is fairly common. In my case, ever since Itunes was updated, I've had problems with trying to burn CDs. It would always stop and then say "unknown error-4280". I tried solutions that others have used, but it doesn't see
-
When I add or delete a contact on my iPhone it happens on my daughters iPhone at the same time and if she adds or deletes a contact on her iPhone it happens on my iPhone too !!! Help
-
All Youtube videos give error message when trying to play
I've had this problem for a little over a week now. All YouTube videos, whether they are embedded on another site or on YouTube itself, do not play. Instead, I get an error message that says "An error occurred. Please try again later." Videos from ot
-
How do I keep older emails from being in the cloud, taking up my space?
How do I keep older e-mails out of the cloud, taking up my space?