Win box dont let me startup/shutdown.
This is a 8i database, How to find out who is the owner of the oracle software?? I mean here is the problem. This is on window's box. I try log into sqlplus as SYS and also tried SYSTEM. And try to do startup or shutdown immediate; it thows an error sayings insufficient privileges??? And i have been said NOT to play around with the Services.msc to stop and start the oracledb service. This is bein done as we need to increase the shared pool size(so need a database restart) So how in the world an i suppose to start or stop the database???? Any idea. This is 8i on window's box. i thougth if i knew who the oracle software owner is, i can try it with that user and see if that works.... any ideas??? thanks
right click on the folder and check in security
You would get.
--Girish
Similar Messages
-
I am triying to manually add files to my iphone and dont let me. When I check mark on manually manage box on itunes and then apply, itunes said that I already synced my iphone in other computer. I never had use another itunes to synced my iphone.
How can I solve these stupid restrictions?Where are iTunes files located?
No, I do not mean just the music. Copying just the media/music files or the media folder creates problems. -
Oracle 8i Automatic Startup/shutdown on NT
After installing Oracle 8.1.6 on Win NT/2000 and creating a database a new service is created too (OracleServiceSID). My problem is that this new service (which works like oradim starting srvc,inst) does not startup the db when rebooting the machine. I need always manual startup/shutdown with a script that uses svrmgrl while in Oracle guides it seems that would be enough to start the service. Every parameter in the registry is set according to these guides to permit automatic startup/shutdown but only the service, not the db, starts and stops automatically. Where is my error?
Thanks
Alex
nullDear Alexdelarg,
First launch the "Services" applet from the Windows NT Control Panel. Double-click on the "OracleService<SID>" service and verify that "Startup Type" is set to "Automatic", "Log On As" is set to "System Account", and that the "Allow Service to Interact with Desktop" check box is disabled.
Then launch REGEDIT and check that the Value String ORA_<SID>AUTOSTART within the key My Computer\HKEYLOCAL_MACHINE\SOFTWARE\ORACLE is set to "TRUE".
If the above does not rectify your startup problem, try issuing the following command from the Command Prompt:
<ORACLE_HOME>\bin\oradim -edit -sid <SID> -startmode auto
where <ORACLE_HOME> is the full path of your Oracle8i Server software and <SID> is the Service Identifier of your database.
Hope this helps! -
HOWTO: Startup/Shutdown Sounds in Openbox
In this tutorial, I will show you how to add startup and shutdown sounds with Openbox, a light-weight window manager. In theory, this should work with any window manager that uses a startup script (or, if you use the startx command, .xinitrc could be used for the same effect); however, I will be focusing on Openbox, so you will have to adapt these instructions for use with other window managers.
We'll start with a quick background story: I was in a "tweaking" mood a few days ago, and I figured I'd try to set up some startup and shutdown noises for use with Openbox. After a few minutes of messing around, I got it working. I searched to see if there were any tutorials like this, and since there weren't, I figured I would share my knowledge--that's what tutorials are for, right?
NOTE: I originally posted this on ubuntuforums.org; therefore, there may be some differences (I tried to fix most of them). Even though I did this on Arch originally, I wrote it targeted toward Ubuntu users. I didn't get much of a response--there must not have been too many Ubuntu/Openbox users looking for that. Please point out any inconsistencies, and I'll fix them as soon as possible.
Now that we have that out of the way, let's get started.
Step 1: Installing the necessary application(s).
First off, we will be using a commandline program called play. It is part of the sox package, so let's install that first (you likely have most of its dependancies already).
# pacman -S sox
If you'd like, you can cd to a directory with music in it and type play name-of-sound-file.extension to test that it is working. If you don't have any files to try it on, you can do this later after downloading your desired sound files in step 3.
I also have sudo set up; you will need to set this up to run the shutdown commands from a script as I have them. There is a section in the ArchWiki that will help in setting it up if you want. As for the commands with sudo in them, you can just run them in a root terminal.
In addition to that, I will be working with obmenu, a program for editing Openbox's menu from a GUI; however, it will work just as well to edit the menu by hand. I assume you already have a preferred method of editing your menu, but if you want to try obmenu, it's only a pacman command away:
# pacman -S obmenu
Step 2: Setting up shutdown privileges.
For this section, I will be adapting a section from a great guide written by urukrama here. We're going to be running a shutdown command from a script, so we need to have it set up to work without any interaction--in this case, that means removing the need for a password for the shutdown command.
To do this, type in the following command into the terminal:
sudo visudo
This will open up the sudoers file, which is used to specifiy user permissions for actions that require root priveleges. For those of you unfamiliar with Vim (I'm with you ), just press i on your keyboard to enter interactive mode, which allows you to edit the file. Then, enter the following line at the end of the file:
%wheel ALL=NOPASSWD:/sbin/shutdown
Then press escape to exit interactive mode. Lastly, type in :wq followed by pressing enter to save and exit. Now you can use the sudo shutdown command without entering a password.
Step 3: Getting the desired sound files.
Now we come to the fun part of the guide--finding the sounds that we want.
There are plenty of startup and shutdown noises floating around the web; I went to gnome- and kde-look to check out theirs (the same are available at both sites). Here's a link to the System Sounds section at gnome-look. You can look through and download the ones that interest you; once you have listened to a few and found one that you like, go on. Just for reference, I chose the Dream pack. It fits very nicely with my current setup and theme.
Step 4: Setting up the shutdown/startup scripts.
If you haven't already (in the last step), extract the sound files from the package that they downloaded in. Then, look through the files and find the startup and shutdown noises. For me, they were titled Dream Intro.ogg and shutdown.ogg, respectively. Move these files into their own folder. I chose ~/.startup--on my Arch install, it was empty. You may want to put it into a different folder/sub-folder, preferably somewhere in your home folder. You can now remove all the other sound files--hypothetically speaking, it probably wouldn't be too hard to get other sounds (such as minimize, maximize, etc., if provided in the sounds package you chose) working with Openbox, but that is beyond the scope of this tutorial. Now, go to the folder in which you placed the startup and shutdown noises. For simplicity's sake, we're going to place the scripts in this same folder.
We're going to be making two scripts here--one for reboot and one for shutdown. Open up your text editor of choice here and enter the following line (replacing the "/path/to/file.extension" with the path to your shutdown sound):
play /path/to/file.extension && sudo shutdown -r now
For me, it looked like this:
play ~/.startup/shutdown.ogg && sudo shutdown -r now
What this does is play the sound file specified and, once that is done, moves on to the reboot process (that's what && does). Save this as reboot.sh. Now make a new file, this time for the actual shutdown. It will be the same as the first except the shutdown command will now be sudo shutdown -h now. Here's what mine looks like:
play ~/.startup/shutdown.ogg && sudo shutdown -h now
Save that one as shutdown.sh. At this point, we have completed the scripts for both shutdown commands. Next, open up your Openbox autostart script (should be in /home/<user>/.config/openbox/autostart.sh, where <user> is your username) with the text editor of your choice. You probably already have a few different things in here; if not, it doesn't really matter. Just add the following line to your autostart file (as you can see, I used quotes around this one because this file had a space in its name--you'll want to do the same. You can also use a backslash before the space):
play "/home/<user>/.startup/Dream Intro.ogg"&
Make sure you keep the ampersand (&) in tact; otherwise, the script will wait until the sound is done playing before completing the rest of the processes. I recommend that you place the sound file at the beginning of the script so that it starts first--the way I have it set up, everything is ready to go by the time the login sound ends (sooner, actually). Now that we've come this far, we're almost done.
Step 5: Adding the shutdown options to the Openbox menu.
At this point, the login sound will be working; however, we still need to set up the shutdown sounds. To do this, we will add a section to the Openbox menu that runs the two scripts we made in the last step.
Either open up obmenu or use your preferred text editor and open up menu.xml (should be in ~/.config/openbox/menu.xml). As I said, we will be adding two items: one for rebooting and another for shutting down. In obmenu, you can add a new submenu wherever you want (I chose the bottom of the menu) and name it Power (or whatever else you'd like). The first we'll add is named Restart. For the execute line, add the following:
bash /path/to/reboot.sh
For me, this path is ~/.startup/reboot.sh. As for the second, name it Shut Down and for the execute command put the following:
bash /path/to/shutdown.sh
Again, for me this is ~/.startup/shutdown.sh. Here is what the section in my obmenu looks like:
As for the pure XML, here it is (I replaced my name with <user> ):
<item label="Restart">
<action name="Execute">
<execute>bash /home/<user>/.startup/reboot.sh</execute>
</action>
</item>
<item label="Shut Down">
<action name="Execute">
<execute>bash /home/<user>/.startup/shutdown.sh</execute>
</action>
</item>
With obmenu, just save it, and your menu will be refreshed. When hand-editing the menu.xml file, you have to remember to Reconfigure Openbox (it will be in your menu unless you've removed it).
And with that, you should have working startup and shutdown sounds. You can test it by right clicking on your desktop and selecting one of your new shutdown options. You should have a sound play followed by the normal shutdown routine. Then when your computer starts back up, you will have a pleasant noise after logging on.
I hope that helped you! Please point out any errors that you see, and I'll correct them as soon as possible.Nice tutorial. I was wondering, I noticed you have a games tab. Do you know how to properly execute games. I am trying to get steam games working also Call of duty 4 as tabs under obmenu. Could you help me out?
Thanks! -
Crash report aplication what is that ? When shut the computer this Message appeared The application crash repórter Dont Let shut down the computer
Command-Option-Escape does the same as
Apple Menu > Force Quit...
It opens a floating box that lists current major Applications and their status (e.g., Not responding) and allows you to force quit any single Application or re-launch the Finder. -
== Issue
==
I have a problem with my bookmarks, cookies, history or settings
== Description
==
Using Firefox 3.6.8 I no longer see the box that lets me accept/reject cookies before they are sent by a website. How do I restore this feature?
== Troubleshooting information
==
Application Basics
Name Firefox
Version 3.6.8
Profile Directory
Open Containing Folder
Installed Plugins
about:plugins
Build Configuration
about:buildconfig
Extensions
Name
Version
Enabled
ID
CinemaNow Plugin for Firefox 1.4.0.5 true {3112ca9c-de6d-4884-a869-9855de680400}
DictionarySearch 3.6.5 true
fluxDVD Download Manager 0.5 false {400F0BDB-6C49-43A4-BE1F-76D7327A604D}
ForceField Toolbar 1.5.152.10 true
Java Console 6.0.02 false
Microsoft .NET Framework Assistant 1.2.1 true {20a82645-c095-46ed-80e3-08825760534b}
Pronto 0.9.8 false {6aec4bf7-c16a-4e5c-a65a-114a57157969}
Amazon Wish List 1.1 true [email protected]
Java Console 6.0.20 true
TV-Fox 1.5.6 true {2f17f610-5e97-4fed-828f-9940b7b577a4}
CookieSafe 3.0.5 true {9D23D0AA-D8F5-11DA-B3FC-0928ABF316DD}
BetterPrivacy 1.48.3 true
Modified Preferences
Name
Value
accessibility.blockautorefresh true
accessibility.typeaheadfind true
accessibility.typeaheadfind.flashBar 0
browser.history_expire_days.mirror 180
browser.history_expire_days_min 5
browser.places.smartBookmarksVersion 2
browser.startup.homepage http://www.google.com/
browser.startup.homepage_override.mstone rv:1.9.2.8
extensions.lastAppVersion 3.6.8
general.useragent.extra.microsoftdotnet ( .NET CLR 3.5.30729)
network.cookie.cookieBehavior 2
network.cookie.lifetimePolicy 2
network.cookie.prefsMigrated true
places.last_vacuum 1280804078
privacy.sanitize.migrateFx3Prefs true
security.warn_viewing_mixed false
== Firefox version
==
3.6.8
== Operating system
==
Windows Vista
== User Agent
==
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729)
== Plugins installed
==
*-6.0.12.1739
*np-mswmp
*MPDRM License Acquisition Plugin
*1.9.0009.1
*The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
*Adobe PDF Plug-In For Firefox and Netscape "9.3.3"
*Default Plug-in
*Shockwave Flash 10.1 r53
*4.0.50524.0Are you talking about CookieSafe, which you have installed? See: https://addons.mozilla.org/de/firefox/addon/2497/
If so, Is your Status Bar displayed? Click View, if no check mark next to Status Bar, click on Status Bar to place a check mark. Does it show now? -
ORACLE DATABASE의 AUTOMATIC STARTUP/SHUTDOWN
제품 : ORACLE SERVER
작성날짜 : 1995-11-21
오라클 database의 AUTOMATIC STARTUP/SHUTDOWN
============================================
시스템이 startup 하면서 오라클도 함께 startup하거나 시스템을 shutdown
할 때 오라클도 같이 shutdown 하는 것이 가능하다. 그 방법은 OS마다 차이가
있는데 여기서는 UNIX 에 기반한 여러 플랫폼에 대해서 알아보기로 한다.
본 내용에서 가장 많이 사용되는 화일은 다음과 같다.
$ORACLE_HOME/bin/dbstart
$ORACLE_HOME/bin/dbshut
/etc/oratab 또는 /var/opt/oracle/oratab
dbstart 와 dbshut 은 오라클을 startup/shutdown 시키는 스크립트인데
이것은 automatic startup/shutdown 시에만 사용하도록 하고 평상 시의
경우에는 사용하지 않도록 한다.
oratab 화일은 일반 텍스트 화일로서 시스템에 설치된 오라클 인스턴스에
대한 정보를 가지고 있는데 보통 3개의 필드로 이루어져 있으며 첫번재
필드는 ORACLE_SID, 두번째 필드는 ORACLE_HOME, 세번째 필드는 Y 또는 N
으로 구성되어 있다. 해당 인스턴스를 autostartup 시키려면 꼭 Y로
세팅되어 있어야 한다.
SYSTEM V
System V 에 기반한 시스템은 /etc/rc<n>.d 디렉토리에 초기화 스크립트를
가지고 있다. 여기서 <n> 은 해당 스크립트의 run-level 을 의미한다.
일반적으로 run-level 0은 power shutdown mode 이고 run-level 2는 multi-user
mode 이다. 각각의 디렉토리에 들어있는 초기화 스크립트는 다음과 같은 형태의
이름을 갖고 있다.
K{two-digit number][descriptive filename]
예를 들면 S75cron, K30tcp 등이 있을 수 있다.
S로 시작되는 스크립트는 startup 시에 실행되는 것이고 K 로 시작하는 것은
shutdown 시에 실행된다.
two-digit number가 의미하는 것은 스크립트가 실행되는 순서인데 숫자가 작은
것부터 먼저 실행된다. 따라서 오라클 스크립트는 보통 다음과 같은 이름을 갖게 된다.
S99oracle, K01oracle
이와 같이 설정하면 시스템이 startup 될 때 모든 초기화가 끝난 후 마지막으로
오라클이 startup 되며 시스템을 shutdown 할 때에는 오라클을 가장 먼저 shutdown
하게 된다.
BSD UNIX
BSD 에 기반한 시스템은 시스템이 startup 될 때 초기화 화일로
/etc/rc*(예를 들면, /etc/rc, /etc/rc.local) 를 사용한다.
시스템을 shutdown 할 때에는 보통은 /etc/shutdown 만 실행하게 되므로
특별히 실행되는 스크립트가 없지만 /etc/rc.shutdown 이 실행되는
플랫폼도 있다.
이제 각 플랫폼별로 자세히 알아보기로 한다.
주의 : <oracle_owner> 는 oracle owner id 로 대체
<$ORACLE_HOME> 은 oracle home directory 명으로 대체
(1)SunOS 4.1.3
SunOS 4.1.3 에서는 /etc/rc.local 을 startup 스크립트로 사용한다. 즉
시스템이 startup 되면서 /etc/rc.local 이 실행된다. 따라서 이 화일의 끝에
다음과 같은 라인을 추가하면 된다.
su <oracle_owner> -c <$ORACLE_HOME>/bin/dbstart
예를 들어 oracle owner 가 oracle7 이고 $ORACLE_HOME 이 /home/oracle
이라면 다음과 같이 해주면 된다.
su oracle7 -c /home/oracle/bin/dbstart
여기서 /home/oracle 대신에 $ORACLE_HOME 과 같은 환경변수를 이용하여
세팅하면 안된다.
SunOS 에서는 시스템이 shutdown 될 때 실행되는 스크립트는 따로 없다.
따라서 dbshut 을 실행시키는 방법은 다음과 같은 스크립트를 만들어서
시스템을 shutdown 시킬 때 /etc/shutdown 을 실행시키지 말고 대신
이것을 실행시켜야 한다.
#!/bin/csh
su <oracle_owner> -c <$ORACLE_HOME>/bin/dbshut
/etc/shutdown $*
만약 오라클을 shutdown 하지 않고 시스템을 shutdown 하면 다음에
오라클을 startup 하려고 할 때 startup이 되지 않는다. 이 경우에는
$ORACLE_HOME/dbs/sgadef<SID>.dbf 화일을 지우고 startup 시키면 된다.
(2)OSF/1(DIGITAL UNIX)
/etc/inittab : 초기화 과정을 콘트롤
/sbin/rc3 : run-level 3 에서 사용되는 script
/sbin/rc0 : run-level 0 에서 사용되는 script
/sbin/rc3.d/S99oracle : /sbin/init.d/oracle 로 link
/sbin/rc0.d/K01oracle : /sbin/init.d/oracle 로 link
/etc/initab 화일에는 초기화 과정에 대한 정보가 들어 있다.
예를 들면 다음과 같다.
s3:3:wait:/sbin/rc3 < /dev/console > /dev/console 2>&1
이렇게 설정하면 run-level 3 일 경우 /sbin/rc3 스크립트가 실행된다.
/sbin/rc3 은 /sbin/rc3.d 디렉토리에 들어있는 스크립트를 실행한다. 만약
스크립트 이름이 K 로 시작하면 이것은 stop 파라미터를 갖고 실행되어서 이
스크립트에 지정된 프로세스를 정지시킨다. 한편, 스크립트가 S 로 시작하면
/sbin/rc3 는 이 스크립트에 startup 파라미터를 부여하고 여기서 지정된
프로세스를 실행시킨다. 따라서 /sbin/rc3.d/S99oracle 을 사용하여
dbstart를 실행한다.
shutdown 과정도 거의 비슷하다. /etc/inittab 에 다음과 같은 라인을 추가
한다.
s0:0:wait:/sbin/rc0 off < /dev/console > /dev/console 2>&1
이것은 /sbin/rc0 를 실행시키는데 /sbin/rc0 는 /sbin/rc0.d 디렉토리에
들어있는 스크립트를 실행시킨다. 스크립트의 이름이 S 로 시작하면 run
time parameter 로 start 를 사용하게 되고 K 로 시작하면 stop 을
사용한다.
따라서 /sbin/rc0.d/K01oracle 스크립트는 stop 파라미터를 갖고
실행되며 이 스크립트는 $ORACLE_HOME/bin/dbshut 스크립트를 실행시켜서
오라클을 shutdown 시킨다.
/sbin/rc3.d/S99oracle과 /sbin/rc0.d/K01oracle은 모두 /sbin/init.d/oracle
에 대한 symbolic link 이다. /sbin/init.d/oracle 에 대한 symbolic link 는
이들 외에 더 있을 수 있다.
(3)Solaris 2.3 & SCO UNIX
/etc/inittab : 초기화 과정을 콘트롤
/etc/rc2 : run-level 2 에서 사용되는 스크립트
/etc/rc0 : run-level 0 에서 사용되는 스크립트
/etc/rc2.d/S99dbstart : /etc/init.d/dbstart 에 대한 link
/etc/rc0.d/K01dbshut : /etc/init.d/dbshut 에 대한 link
/var/opt/oracle/oratab
Solaris 의 경우는 OSF/1 과 매우 유사하다. 차이점이라고 한다면 /sbin
디렉토리 대신에 /etc 디렉토리에 필요한 스크립트가 들어있다는 것이다.
rc0.d, rc2.d 같은 디렉토리는 실제로 /etc 디렉토리에 위치하고 있으며
rc0, rc2 와 같은 스크립트는 /etc/init.d 에 존재하는 같은 이름의 스크립트에
대한 symbolic link이다.
/etc/init.d/dbstart 와 /etc/init.d/dbshut 스크립트의 내용은 각각 다음과
같이 한줄로 구성되어 있다.
su - <oracle_owner> -c <$ORACLE_HOME>/bin/dbstart
su - <oracle_owner> -c <$ORACLE_HOME>/bin/dbshut
Solaris 에서는 start, stop 같은 파라미터는 /etc/init.d/dbstart,
/etc/init.d/dbshut 에서는 무시된다.
/etc/init.d/dbstart, /etc/init.d/dbshut 화일은 owner가 oracle owner id
이여야 한다.
/etc/init.d/README 를 읽어보면 좀 더 자세한 내용이 설명되어 있으니 참조하기
바란다.
(4)AIX
/etc/inittab : 시스템 초기화 화일
/etc/rc : 시스템 초기화 스크립트
/etc/mkitab : /etc/inittab 을 수정하는 유틸리티
/etc/shutdown : 시스템 shutdown 스크립트
AIX 에서는 오라클 autostartup 방법은 여러가지가 가능하지만 shutdown 은
한가지만 가능하다. 우선 autostartup 은 다음과 같은 방법 가운데 하나를
사용하면 된다.
a)/etc/mkitab 를 사용하여 /etc/inittab 에 entry 를 추가한다. 즉,
/etc/mkitab "<oracle_owner>:2:wait:/bin/su <oracle_owner> -c
<$ORACLE_HOME>/bin/dbstart > /dev/console 2>&1"
이렇게 하면 /etc/inittab 화일에 dbstart 기능이 추가된다. 이렇게 하면
시스템이 뜨면서 run-level 2일 경우 오라클이 자동으로 startup 된다.
b)다음과 같은 방법도 가능하다.
/etc/mkitab "rcoracle:2:wait:/etc/rc.oracle > /dev/console 2>&1"
그리고, root 소유의 /etc/rc.oracle 스크립트를 다음과 같이 작성한다.
su <oracle_owner> <<EOF
<$ORACLE_HOME>/bin/dbstart
EOF
c)/etc/rc 스크립트의 마지막에 다음을 추가한다.
/bin/su <oracle_owner> - c <$ORACLE_HOME>/bin/dbstart
AIX 에서 시스템 shutdown 은 /etc/shutdown 에 의한다. 시스템을 내릴 때
오라클을 shutdown 하려면 별도의 시스템 shutdown 스크립트(root 소유로)를
다음과 같이 만들어서 /etc/shutdown 을 사용하지 말고 이것을 사용해야 한다.
#!/bin/sh
/bin/su <oracle_owner> -c <$ORACLE_HOME>/bin/dbshut
/etc/shutdown $*
(5)HP/UX
/etc/rc : 시스템 startup 화일
/etc/shutdown : 시스템 shutdown 실행 화일
/etc/shutdown.d : 시스템 shutdown 디렉토리
HP/UX 에서는 시스템 startup 시에 /etc/rc 가 실행된다. 따라서 다음 라인을
/etc/rc 스크립트의 마지막에 추가하면 auto startup 이 가능해진다.
su <oracle_owner> -c <$ORACLE_HOME>/bin/dbstart
시스템의 shutdown 은 /etc/shutdown 화일을 실행하여 수행된다. 이 프로그램은
/etc/shutdown.d 디렉토리에 들어있는 스크립트를 실행시키는데 다음과 같은
세 가지 방법 가운데 하나로 auto shutdown 을 세팅할 수 있다.
a)$ORACLE_HOME/bin/dbshut 화일을 /etc/shutdown.d 디렉토리 아래에 copy
b)/etc/shutdown.d/dbshut 을 $ORACLE_HOME/bin/dbshut 으로 symbolic link 지정
c)다음과 같은 스크립트 작성
#!/bin/sh
su <oracle_owner> -c <$ORACLE_HOME>/bin/dbshut
단,이 스크립트는 root의 소유이고 root에 의해서만 실행 가능해야 한다.
만약 V6 와 V7 을 동시에 사용하는 경우라면 V7 에서 제공하는 dbshut을
사용하도록 한다.Dear Alexdelarg,
First launch the "Services" applet from the Windows NT Control Panel. Double-click on the "OracleService<SID>" service and verify that "Startup Type" is set to "Automatic", "Log On As" is set to "System Account", and that the "Allow Service to Interact with Desktop" check box is disabled.
Then launch REGEDIT and check that the Value String ORA_<SID>AUTOSTART within the key My Computer\HKEYLOCAL_MACHINE\SOFTWARE\ORACLE is set to "TRUE".
If the above does not rectify your startup problem, try issuing the following command from the Command Prompt:
<ORACLE_HOME>\bin\oradim -edit -sid <SID> -startmode auto
where <ORACLE_HOME> is the full path of your Oracle8i Server software and <SID> is the Service Identifier of your database.
Hope this helps! -
Grepping for startup/shutdown in the logs
Hello,
I've been asked to provide a script that parses the oracle logs and can determine if there were some errors. So far I can find the numerical errors in my script (like ORA-00600) but I also need to be able to tell when a db has been shut down, started or restarted. What can I look for in the logs that would determine that?
Thanks
TimEdStevens wrote:
918944 wrote:
sb92075 wrote:
918944 wrote:
Hello,
I've been asked to provide a script that parses the oracle logs and can determine if there were some errors. So far I can find the numerical errors in my script (like ORA-00600) but I also need to be able to tell when a db has been shut down, started or restarted. What can I look for in the logs that would determine that?
Realize that a shutdown may not precede a startup; since the cleaning lady could just unplug the box
Also you can treat the alert_SID.log file as EXTERNAL TABLE; eliminating the need for grep & similar OS utilities by doing everything in SQL or PL/SQL.Very interesting idea. However we're trying to be alerted to such events using nagios without logging into the box. The idea it if a startup/shutdown occors, or a numerical event such as an ORA-00600 occurs, nagios will detect that via a perl script and shoot off an email to the team and send a page to a pager. So I still need to know what in the logs would indicate a startup or shutdown. We are using oracle 10g by the way.
That shouldn't be hard at all to do. All I would need to know is what in the logs indicates a startup or a shutdown. I've tried grepping for the terms in the ${SID}_alert.log(s) but found nothing as of yet.
ThanksWell, as said earlier, a 'shutdown' could be a hard shutdown (the cleaning lady plugged a vacuum cleaner into the ups and blew the circuit, killing the server .... yes, I've seen it happen) so the db does not get an opportunity to log it.
But for the more common ones, what are you currently grepping for? Looking at one of my alert logs I see likely strings "Shutting down instance" and "Starting ORACLE instance".Thanks found it! Fixed grep.. we're now monitoring for this. Appreciate the advice! -
Startsap & stopsap on Linux startup & shutdown
Hy everyone!
I have a simple question: does anyone use startsap/stopsap scripts on Linux startup/shutdown run levels? I mean, when Linux starts up (init 5 run level) it must start SAP using startsap and stopsap on init 0 as well.
It seems to be no problem at all to do that but once that is not set up by default on Linux systems (not in mine for sure) I have decided to ask for a second opinion.
Thanx in advance for any help.
PauloEric,
my goal is a little bit different that that: I'm looking for a way to quick shutdown or startup SAP system with the mininum possible effort during an emergency situation.
Let me explain the situation: we are constantly affected by power down issues, especially in summer time. When such situations occur, we have to quickly shut down as many servers as possible before the power turns completely off (by nobreak).
We are currently working on power infrastructure to avoid those "downs" issues, but until we have fully reached that, we need to get some safe systems shutdowns (at least for production servers).
So I was considering to include at least the stopsap script in init 0 run level on Linux.
What do you think about that?
Thanx for your help until now. It's good to have someone to discuss something like that and exchange experiences/ideas.
Paulo -
Services Startup/Shutdown order for system 9.2
Hi,
Can anybody provide me with the startup/shutdown sequence for the entire Hyperion Products of system 9.2.
I could find for system 9.3 in this document: hsys9_install_start_here.pdf(page 127)
But couldnt find it for system 9.2.
Regards,
JamesHi,
As you have already sequence for 9.3 on specified page, i think sequence of service start will be remain the same.
even at the time of installation you can check the service box and it will automatically start all services in correct order
Thanks
Focusthread Hyperion Trainer
[http://focusthread.com/training] -
Automatic startup/shutdown script - 3 Oracle Home
Hi All,
We have a server which has 3 Oracle Home - 8i/9i/10g.
So i am confused about configuring automatic startup/shutdown scripts.
Can you guys please let me know how to setup automatic startup/shutdown for these multiple Oracle Homes.
Thanks,
Kumar.Bellow is a HP-UX script that can help. Create three scripts like oracle8, oracle9, oracle10 with correct path values. and than decide the runlevels and create soft links for the scripts you created, for example;
Under /sbin/rc3.d
ln -s /sbin/init.d/oracle10 S999oracle10
Under /sbin/rc1.d and /sbin/rc2.d
ln -s /sbin/init.d/oracle10 C9oracle10
AUTOMATIC STARTUP/SHUTDOWN SCRIPT
$vi /sbin/init.d/oracle10
#!/sbin/sh
# NOTE: This script is not configurable! Any changes made to this
# scipt will be overwritten when you upgrade to the next
# release of HP-UX.
# WARNING: Changing this script in any way may lead to a system that
# is unbootable. Do not modify this script.
# NOTE:
# For ORACLE:
PATH=/usr/sbin:/usr/bin:/sbin
export PATH
ORA_HOME="/oracle/app/oracle/product/10.2.0"
ORA_OWNR="oracle"
rval=0
set_return() {
x=$?
if [ $x -ne 0 ]; then
echo "EXIT CODE: $x"
rval=1
fi
case $1 in
start)
# Oracle listener and instance startup
echo -n "Starting Oracle: "
su - $ORA_OWNR -c "$ORA_HOME/bin/dbstart /oracle/app/oracle/product/10.2.0"
echo "OK DB started"
stop)
# Oracle listener and instance shutdown
echo -n "Shutdown Oracle: "
su - $ORA_OWNR -c "$ORA_HOME/bin/dbshut /oracle/app/oracle/product/10.2.0"
echo "OK DB shutdown"
reload|restart)
$0 stop
$0 start
echo "usage: $0 {start|stop}"
esac
exit $rval -
i need help please help me on itunes i try to change my name for the ipod shuffle and it dont let me it dont do anything also when i try to delete the music on it it dont show me if i want to delete or not the font is just gray and dont show any opitions also when i go on my iphone it lets me do all the stuff that it dont let me do i connect my iphone and it lets me delete music and change the name but the shuffle doesnt
What happens when you try to change the Shuffle's name from under the Devices section in the left hand pane of iTunes?
Is your iPod set up to manually manage its contents. For more information, see your iPod's User Guide.
http://support.apple.com/manuals/#ipodshuffle
B-rock -
"you shut down due to a problem" info box after boot from normal shutdown
After a normal shut down, (eject external drive, Click Shut Down from Apple menue).
Normal start up routine (push power button on back) results in Info Box telling me that I shfut down due to a problem ( i did not) and if I want to open windows open at time of shut down I should selct the check box and let it start up.
Where do you suppose this came from? and what do I do about troubleshooting ??
Thanks RogerNow ere talking. no user Diogs (notl ogged in), but system reports going back to mid NOV.
This is the latest: this morn at 0530. Only copied down thru the thtread that crashed:
Process: xpcd [195]
Path: /usr/libexec/xpcd
Identifier: xpcd
Version: 300.1.17
Code Type: X86-64 (Native)
Parent Process: launchd [1]
Responsible: xpcd [195]
User ID: 502
Date/Time: 2013-12-26 05:57:47.528 -0700
OS Version: Mac OS X 10.9.1 (13B42)
Report Version: 11
Anonymous UUID:
Crashed Thread: 5 Dispatch queue: com.apple.xpcd.connection.267
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT
Application Specific Information:
objc_msgSend() selector name: retain
Thread 0:: Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylib 0x00007fff89464caa __sigsuspend_nocancel + 10
1 libdispatch.dylib 0x00007fff8a9d67e4 _dispatch_sigsuspend + 21
2 libdispatch.dylib 0x00007fff8a9d67cf _dispatch_sig_thread + 45
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff89465662 kevent64 + 10
1 libdispatch.dylib 0x00007fff8a9ce43d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff8a9ce152 _dispatch_mgr_thread + 52
Thread 2:: Dispatch queue: com.apple.xpcd.connection.260
0 libsystem_kernel.dylib 0x00007fff894646b6 __process_policy + 10
1 libsystem_kernel.dylib 0x00007fff89461983 proc_importance_assertion_complete + 76
2 libxpc.dylib 0x00007fff910b5f79 _xpc_importance_assertion_end + 9
3 libxpc.dylib 0x00007fff910af198 _xpc_serializer_clear_sent_descriptors + 65
4 libxpc.dylib 0x00007fff910b1a85 _xpc_connection_mach_event + 430
5 libdispatch.dylib 0x00007fff8a9cfafe _dispatch_client_callout4 + 9
6 libdispatch.dylib 0x00007fff8a9d03b8 _dispatch_mach_msg_invoke + 143
7 libdispatch.dylib 0x00007fff8a9ce633 _dispatch_queue_drain + 359
8 libdispatch.dylib 0x00007fff8a9cf69e _dispatch_mach_invoke + 154
9 libdispatch.dylib 0x00007fff8a9ce633 _dispatch_queue_drain + 359
10 libdispatch.dylib 0x00007fff8a9cf9dd _dispatch_queue_invoke + 110
11 libdispatch.dylib 0x00007fff8a9cdfa3 _dispatch_root_queue_drain + 75
12 libdispatch.dylib 0x00007fff8a9cf193 _dispatch_worker_thread2 + 40
13 libsystem_pthread.dylib 0x00007fff8fb1def8 _pthread_wqthread + 314
14 libsystem_pthread.dylib 0x00007fff8fb20fb9 start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff89464e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8fb1df08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8fb20fb9 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff89464e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8fb1df08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8fb20fb9 start_wqthread + 13
Thread 5 Crashed:: Dispatch queue: com.apple.xpcd.connection.267
0 libobjc.A.dylib 0x00007fff89e7a097 objc_msgSend + 23
1 com.apple.CoreFoundation 0x00007fff8cbe3339 -[__NSDictionaryM setObject:forKey:] + 345
2 com.apple.AppSandbox 0x00007fff912f5178 -[AppSandboxRequest compileSandboxProfileAndReturnError:] + 946
3 com.apple.xpc.support 0x00000001047b3562 xpc_support_do_appsandbox + 1740
4 xpcd 0x000000010462304e 0x104620000 + 12366
5 libxpc.dylib 0x00007fff910b3501 _xpc_connection_call_event_handler + 43
6 libxpc.dylib 0x00007fff910b2123 _xpc_connection_mach_event + 2124
7 libdispatch.dylib 0x00007fff8a9cfafe _dispatch_client_callout4 + 9
8 libdispatch.dylib 0x00007fff8a9d03b8 _dispatch_mach_msg_invoke + 143
9 libdispatch.dylib 0x00007fff8a9ce633 _dispatch_queue_drain + 359
10 libdispatch.dylib 0x00007fff8a9cf69e _dispatch_mach_invoke + 154
11 libdispatch.dylib 0x00007fff8a9ce633 _dispatch_queue_drain + 359
12 libdispatch.dylib 0x00007fff8a9cf9dd _dispatch_queue_invoke + 110
13 libdispatch.dylib 0x00007fff8a9cdfa3 _dispatch_root_queue_drain + 75
14 libdispatch.dylib 0x00007fff8a9cf193 _dispatch_worker_thread2 + 40
15 libsystem_pthread.dylib 0x00007fff8fb1def8 _pthread_wqthread + 314
16 libsystem_pthread.dylib 0x00007fff8fb20fb9 start_wqthread + 13 -
I need to reinstall ADOBE®ACROBAT® PRO 9 WIN, I dont have the money to upgrade to X and I have already paid for ADOBE®ACROBAT® PRO 9 WIN. Please help I really need the version of ADOBE®ACROBAT® PRO 9 WIN. I can not do my school work without it.
I have paid for this and when I moved I lost my disk, I have all the codes I need and I only want ADOBE®ACROBAT® PRO 9 WIN I really need this for school Please helpTo download Acrobat 9 Professional :
Go to the web page : http://www.adobe.com/cfusion/tdrc/index.cfm?product=acrobat_pro&loc=en
Login with your Adobe ID and Password. Now instead of clicking on the download button copy and paste the following link on the address bar and hit enter :http://trials2.adobe.com/Applications/Acrobat/APRO/9/trials/AcroPro90_ efg.exe
This is the direct download link for Acrobat 9.
Note : This link would only work from the downloads page of Acrobat 10. -
HELP! TextField "NUMERIC" dont let me enter more than 9 digits
Hi there,
Firstly: I 've search for this question, and I ve found an old post very similar to it.
(here is it: [http://forums.sun.com/thread.jspa?messageID=10706126] )
But, unfortunately, the aswerings did not satisfy me...
The problem is:
I have a TextField that should receive a Credit Card number, meaning, it has to have 15 or 16 numbers.
If I set it as "NUMERIC", when I run the app on my real cellphone (a SonyEricsson w810i), it dont let me enter more than 9 digits. Stringe thing here is: but on emulator, I could...
txtCardNo = new TextField("Card Number", null, 16, TextField.NUMERIC);Instead, if I set it as "ANY", user can type up to 16 numbers, but the problem is that field will accept ANY character, and I dont want that way: I want that this field input acts accepting only numbers.
How could I fix it?
Shall I use a function to mask this field? If yes, how?
Or this could be a problem of JVM implementation on this particular cell phone?
Please, send me any examples and/or links.
Thanks very much.
=Marcello=
PS1: I am quite newbie on Java things...
PS2: I am working on this using NetBeans 6.5.1 and Sun Java(TM) Wireless Toolkit 2.5.2 for CLDCYuo can set an ItemStateListener to the Form containing the TextField, and validate the user input in itemStateChanged(...). In case of invalid input, I would show an Alert with an appropriate message, and blank out the content of the TextField (or set it to a default value, as appropriate).
db
Maybe you are looking for
-
Report not working if scheduled in background as a job
Dear friends please help me in this. We are having a z report. This report works fine in foreground and wont work ( means it will be in active state for more than 5 days but no result will come) when we schedule it in background as a job. In this rep
-
Help on purchasing IdeaPad laptop
Hi everybody, I wanna get a new laptop and so far Lenovo IdeaPad seams the right choice, especially for the cool aluminum design. I'll use it mostly for web/software dev and little bit of design (I'll do this on my desktop but just in case) on both,
-
How to download Adobe Flash Player Lite 2.1 for Symbian Belle?
Greetings. I would Like to ask if someone would be so kind and tell me where or how couls I download Adobe Flash Player ite 2.1 for Symbian Belle? I registered on Adobe and gone to downloading page clicked to link : Download the free Flash Lite 2.1 p
-
How do I delete words I spoke into Google translate app?
I just downloaded google translate into my iphone. How do I erase any phrases or words I spoke into the translator. They all seem to just be adding up
-
Error When Attempting to Create a Password File
hi all, i recevied the following error when attempting to create a password file via the ORAPWD utility. can anyone offer any insight into what is causing this problem? $ ./orapwd file=/appl/oracle/product/9.2.0-64bit/dbs/orapwLEAF password=XXXXXX Un