startup

Oracle基础 shutdown和startup

寵の児 提交于 2020-01-08 21:33:27
一、shutdown命令:SHUTDOWN有四个参数:NORMAL、TRANSACTIONAL、IMMEDIATE、ABORT。缺省不带任何参数时表示是NORMAL。 SHUTDOWN NORMAL:不允许新的连接、等待会话结束、等待事务结束、做一个检查点并关闭数据文件。启动时不需要实例恢复。 SHUTDOWN TRANSACTIONAL:不允许新的连接、不等待会话结束、等待事务结束、做一个检查点并关闭数据文件。启动时不需要实例恢复。 SHUTDOWN IMMEDIATE:不允许新的连接、不等待会话结束、不等待事务结束、做一个检查点并关闭数据文件。没有结束的事务是自动rollback的。启动时不需要实例恢复。 SHUTDOWN ABORT:不允许新的连接、不等待会话结束、不等待事务结束、不做检查点且没有关闭数据文件。启动时自动进行实例恢复。二、startup命令:STARTUP OPEN:STARTUP缺省的参数就是OPEN,打开数据库,允许数据库的访问。当前实例的控制文件中所描述的所有文件都已经打开。 STARTUP MOUNT:MOUNT数据库,仅仅给DBA进行管理操作,不允许数据库的用户访问。仅仅只是当前实例的控制文件被打开,数据文件未打开。 STARTUP NOMOUNT:仅仅通过初始化文件,分配出SGA区,启动数据库后台进程,没有打开控制文件和数据文件。不能任何访问数据库

Ubuntu 配置Tomcat环境

◇◆丶佛笑我妖孽 提交于 2020-01-08 13:08:02
1、下载Tomcat http://tomcat.apache.org/,下载Tomcat 8(由于目前最新eclipse不支持tomcat 9) 将下载的apache-tomcat-8.0.35.tar.gz解压到任意文件夹,再将解压得到的文件夹apache-tomcat-8.0.35,拷贝到目录/opt下 sudo cp -r apache-tomcat-8.0.35 /opt ###(注意先打开到所解压的文件夹) 2、配置环境变量 编辑apache-tomcat-8.0.35/bin/startup.sh sudo gedit /opt/apache-tomcat-8.0.35/bin/startup.sh 把下面内容,放到startup.sh的 exec "$PRGDIR"/"$EXECUTABLE" start "$@" 上面 JAVA_HOME=/usr/lib/jdk1.8.0_91 JRE_HOME=${JAVA_HOME}/jre PATH=$JAVA_HOME/bin:$PATH CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar TOMCAT_HOME=/opt/apache-tomcat-8.0.35 注意修改自己的jdk目录和tomcat文件夹 同样把这个内容放到目录的shutdown.sh

CentOS 7部署Oracle 12c企业版数据库

自闭症网瘾萝莉.ら 提交于 2020-01-07 13:52:15
一、安装Oracle 12c 1、安装CentOS 7操作系统的注意事项 由于本次安装Oracle 12c软件是在CentOS 7系统上实现的,那么首先安装CentOS 7操作系统,安装要求如下: 防火墙的配置选项设置为禁用; SELinux设置为禁用; 默认安装设置为软件开发; 内核选择3.10.0-862.el7.x86_64及以上版本; 2、前置条件的准备 Oracle数据库是一个相对庞大的应用软件,对服务器的系统类型、内存和交换分区、硬盘空阿金、内核参数、软件环境、用户环境等都有相应的要求。只要满足了这些必备的条件,才能确保Oracle 12c安装成功、稳定运行。 1)系统及配置要求 Oracle 12c明确支持的Linux操作系统包括Oracle Linux 7、Oracle Linux 6、Oracle Linux 5、Red Hat Enterprise Linux 7、Red Hat Enterprise Linux 6、Red Hat Enterprise Linux 5等,因为Red Hat Enterprise 和CentOS属于同步并行的操作系统,所以Oracle 12 c同样支持CentOS 7、CentOS 6、CentOS 5操作系统。在其他Linux系统中安装时,个别软件或配置文件可能需要进行适当的调整。通过以下命令查看系统版本: [root

Trace files/modules loaded when launching python

好久不见. 提交于 2020-01-07 05:23:14
问题 I am using Paraview 4.0.1 under Ubuntu 14.04 LTS. But I guess the answer to this question does not necessarily requires knowledge specific to Paraview python. When I load a python prompt at the command line everything "works well": $ pvpython Python 2.7.6 (default, Oct 26 2016, 20:33:43) [GCC 4.8.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from paraview.simple import * paraview version 4.0.1 >>> But when I load the python shell within the GUI, from

How to create a Splash Screen (or such) in XNA (VB.NET)

﹥>﹥吖頭↗ 提交于 2020-01-06 08:19:07
问题 The loading time for my game in XNA is insane (up to 1 minute), and the screen while loading before the first draw is all white, triggering people to believe it's a bug and close the application. I need help creating some kind of message for them (such as a Splash Screen) so they know that the white screen is a loading screen, or better yet, exchange the whitescreen for a picture. The game project is made in XNA, using VB.NET. The answers i found thus far either applies to something else, or

Run terminal command on startup of netbeans in mac osx

扶醉桌前 提交于 2020-01-06 07:20:33
问题 Hey, does anybody know of a good way to run a command in the terminal when you startup netbeans in mac osx? Either as an option in netbeans or as a feature of mac osx? I'd like automatically sync my local files with a remote folder on startup of netbeans, so I'd like to run an rsync command when netbeans starts up. Otherwise I forget and I wind up with conflicts. 回答1: Why not just rename the original "netbeans" in your path to something else, and write a sciprt named "netbeans", which first

How can I use the J2EE Timer Service API in the Servlet startup code?

馋奶兔 提交于 2020-01-06 05:27:27
问题 For a background job which I would like to run in a J2EE container, I found the suggestion to create a startup servlet and use the Timer Service API to create a managed Timer (in the answers for What tools are there for timed batch processes in J2EE?). To create a timer, I need a context which implements the timer API. (Example) In the Servlet class, I override the init method, but it has only access to a ServletContext, but not to a SessionContext. A ServletContext does not have methods to

Ubuntu 配置Tomcat环境

倖福魔咒の 提交于 2020-01-06 02:24:57
1、下载Tomcat http://tomcat.apache.org/,下载Tomcat 8(由于目前最新eclipse不支持tomcat 9) 将下载的apache-tomcat-8.0.35.tar.gz解压到任意文件夹,再将解压得到的文件夹apache-tomcat-8.0.35,拷贝到目录/opt下 sudo cp -r apache-tomcat-8.0.35 /opt ###(注意先打开到所解压的文件夹) 2、配置环境变量 编辑apache-tomcat-8.0.35/bin/startup.sh sudo gedit /opt/apache-tomcat-8.0.35/bin/startup.sh 把下面内容,放到startup.sh的 exec "$PRGDIR"/"$EXECUTABLE" start "$@" 上面 JAVA_HOME=/usr/lib/jdk1.8.0_91 JRE_HOME=${JAVA_HOME}/jre PATH=$JAVA_HOME/bin:$PATH CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar TOMCAT_HOME=/opt/apache-tomcat-8.0.35 注意修改自己的jdk目录和tomcat文件夹 同样把这个内容放到目录的shutdown.sh

C functions before mainCRTStartup on Mingw?

女生的网名这么多〃 提交于 2020-01-05 12:16:22
问题 void start() { stuff(); //code before mainCRTStartup mainCRTStartup(); } int main() { //other code } In Visual C++,it compiles fine and function "stuff()" gets called before main. How would call "stuff()" before "mainCRTStartup()"? on Mingw(OS:Windows NT)? it seems to ignore "void start()". 回答1: You could use the -e argument to ld (the linker) to specify start as your entry point. I'm not sure how to feed arguments to ld using mingw; perhaps someone can edit my answer to provide that. 回答2:

PostgreSQL error: could not receive data from client: An operation was attempted on something that is not a socket

旧巷老猫 提交于 2020-01-05 04:39:12
问题 PostgreSQL version 9.1.3. OS is Windows XP. Anti-virus is F-Secure. Six instances of postgres.exe are running. Here's what's in the pg_log: 2012-04-08 14:58:23 PDT LOG: incomplete startup packet 2012-04-08 14:58:24 PDT LOG: database system is ready to accept connections 2012-04-08 14:58:24 PDT LOG: autovacuum launcher started 2012-04-08 14:58:25 PDT LOG: could not receive data from client: An operation was attempted on something that is not a socket. 2012-04-08 14:58:25 PDT LOG: incomplete