SUSE执行shutdown-rnow时触发脚本关闭sybase失败

脚本中关闭sybase语句

. /opt/sybase/SYBASE.sh
cd /opt/sybase/OCS*/bin
/opt/sybase/OCS-15_0/bin/isql -SDBSVR -Usa -P${pwdpwd} -zus_english -o/opt/oss/engr/tools/stopNMS_DB.sh_log/isqllog<<EOF
shutdown SYB_BACKUP
go
shutdown
go
exit
EOF

不关机时执行脚本,可以正常关闭sybase

但是shutdown -r now时触发脚本关闭sybase却失败

isql语句执行结果报错:An error occurred when attempting to allocate localization-related structures.

下面是sybase数据库日志:
00:0002:00000:00000:2017/02/22 14:51:11.42 kernel ueshutdown: exiting
00:0002:00000:00000:2017/02/22 14:51:11.43 kernel Abnormal exit detected - ASE process level execution bindings will be cleared on startup.
00:0000:00000:00000:2017/02/22 14:51:11.62 kernel SySAM: Checked in graced license for ASE_ASM (2015.1019).
00:0000:00000:00000:2017/02/22 14:51:11.65 kernel SySAM: Checked in license for 1 ASE_CORE (2018.06290/permanent/0885 9C31 2E30 FCE2).
00:0000:00000:00000:2017/02/22 14:51:55.83 kernel SySAM: Using licenses from: /opt/sybase/SYSAM-2_0/licenses/20160126173359_PARTITIONS.lic:/opt/sybase/SYSAM-2_0/licenses/ANY_20160126165305.lic
00:0000:00000:00000:2017/02/22 14:51:56.07 kernel SySAM: Checked out license for 1 ASE_CORE (2018.06290/permanent/0885 9C31 2E30 FCE2).
00:0000:00000:00000:2017/02/22 14:51:56.07 kernel This product is licensed to: Huawei Technologies Co., Ltd., an OEM license from Sybase, Inc.
00:0000:00000:00000:2017/02/22 14:51:56.07 kernel Checked out license ASE_CORE
00:0000:00000:00000:2017/02/22 14:51:56.07 kernel Adaptive Server Enterprise (Enterprise Edition)
00:0000:00000:00000:2017/02/22 14:51:56.11 kernel Using config area from primary master device.
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel SySAM: Checked out graced license for 1 ASE_ASM (2015.1019) will expire Thu 23 Mar 2017 12:56:03 AM CST.
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel SySAM: Failed to obtain license(s) for ASE_ASM feature from license file(s) or server(s).
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel SySAM: No such feature exists. Verify that a license containing the feature name ASE_ASM is available or generate and deploy the license from the Sybase Product Download Center.
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel SySAM: License feature name: ASE_ASM
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel SySAM: License search path: /opt/sybase/SYSAM-2_0/licenses/20160126173359_PARTITIONS.lic:/opt/sybase/SYSAM-2_0/licenses/ANY_20160126165305.lic:
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel SySAM: FLEXnet Licensing error:-5,357
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel SySAM: For further information, refer to the Sybase Software Asset Management website at http://www.sybase.com/sysam
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel Error: 131275, Severity: 17, State: 1
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel SySAM: WARNING: ASE functionality that requires the ASE_ASM license will be disabled on Thu 23 Mar 2017 12:56:03 AM CST, unless a suitable ASE_ASM license is obtained before that date.
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel Checked out license ASE_ASM
00:0000:00000:00000:2017/02/22 14:51:56.14 kernel Could not allocate memory using Huge Pages. Allocated using regular pages. For better performance, reboot the server after configuring enough Huge Pages.
00:0000:00000:00000:2017/02/22 14:51:56.14 kernel Internal run-time model set for Linux - Native
00:0000:00000:00000:2017/02/22 14:51:56.14 kernel Adaptive Server is using the process kernel mode.
00:0000:00000:00000:2017/02/22 14:51:56.14 kernel Using 4096 file descriptors.

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
ssh远程执行脚本返回值的问题
suse系统安全加固后,SSH远程成功执行脚本后,并exit 0 退出,但本地脚本无法获取成功的返回值;而非exit 0退出后可以获取到返回值,这个是什么情况?请大神给出解决方案哈!谢谢!
Frugal Search 代码的过程
Problem Description For this problem you will write a search engine that takes a query, searches a collection of words, and finds the lexicographically smallest word that matches the query (i.e., the matching word that would appear first in an English dictionary). A query is a sequence of one or more terms separated by single vertical bars ("|"). A term is one or more letters followed by zero or more signed letters. A signed letter is either +s ("positive" s) or -s ("negative" s), where s is a single letter. All letters are lowercase, and no letter will appear more than once within a term. A query will not contain spaces. A term matches a word if the word contains at least one of the unsigned letters, all of the positive letters, and none of the negative letters; a query matches a word if at least one of its terms matches the word. Input The input consists of one or more test cases followed by a line containing only "#" that signals the end of the input. Each test case consists of 1–100 words, each on a line by itself, followed by a line containing only "*" that marks the end of the word list, followed by one or more queries, each on a line by itself, followed by a line containing only "**" that marks the end of the test case. Each word will consist of 1–20 lowercase letters. All words within a test case will be unique. Each query will be as defined above and will be 1–79 characters long. Output For each query, output a single line containing the lexicographically smallest word within that test case that matches the query, or the word NONE if there is no matching word. At the end of each test case, output a dollar sign on a line by itself. Sample Input elk cow bat * ea acm+e nm+o|jk+l ** debian slackware gentoo ubuntu suse fedora mepis * yts cab-e+n r-e|zjq|i+t|vs-p+e-u-c ** # Sample Output bat NONE elk $ gentoo ubuntu NONE $
求助!!Linux tomcat部署war包 初始化bean失败 org.springframework.beans.factory.BeanCreationException: Error creating bean with name
日志如下: 环境:Linux suse 11 sp4 JDK 1.8 tomcat8.5 9.0 都报错 访问页面直接404 但是war包在Windows环境没问题 甚至在linux虚拟机上也没有问题 网上搜索过这类错误 说是 asm jar包和cjlib 版本冲突 让我换成 asm 3.3.1 和 cjlib 2.2.2 但是我用的就是 asm 3.3.1 cjlib 2.2.2 ......... 很无奈 是我war包打的有问题吗?配置不对?还是linux系统有问题 org.springframework.web.context.ContextLoader.initWebApplicationContext Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDao' defined in file [/data/tomcat/apache-tomcat-8.5.50/webapps//test/WEB-INF/classes/com/demo/dao/UserDao.class]: Initialization of bean failed; nested exception is java.lang.VerifyError: class net.sf.cglib.core.DebuggingClassWriter overrides final method visit.(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:607) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:388) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4699) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5165) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:970) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1841) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.VerifyError: class net.sf.cglib.core.DebuggingClassWriter overrides final method visit.(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2395) at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:855) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1327) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1180) at net.sf.cglib.core.AbstractClassGenerator.<init>(AbstractClassGenerator.java:38) at net.sf.cglib.core.KeyFactory$Generator.<init>(KeyFactory.java:127) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:112) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104) at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69) at org.springframework.aop.framework.Cglib2AopProxy.createEnhancer(Cglib2AopProxy.java:229) at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:171) at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:112) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.createProxy(AbstractAutoProxyCreator.java:477) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:362) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:322) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:407) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1461) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) ... 24 more
求大神帮忙解决SUSE11 SP2下安装grid问题
用suse11系统安装单机的grid,到最后执行 /opt/app/grid/product/11.2.0/grid/root.sh 这个脚本出错了,如图: ![图片说明](https://img-ask.csdn.net/upload/201906/05/1559727234_47170.png) 这是我安装的系统包:gcc gcc-c++ gcc-32bit glibc-develglibc-devel-32bit libaio libaio-devel libaio-devel-32bitlibstdc++43-devel-32bit libstdc++43-devel sysstat libstdc++-devel libcap1libcap1-32bit libcap2 libcap2-32bit compa 有没有大神帮忙看下,谢谢!
Frugal Search 是怎么写的
Problem Description For this problem you will write a search engine that takes a query, searches a collection of words, and finds the lexicographically smallest word that matches the query (i.e., the matching word that would appear first in an English dictionary). A query is a sequence of one or more terms separated by single vertical bars ("|"). A term is one or more letters followed by zero or more signed letters. A signed letter is either +s ("positive" s) or -s ("negative" s), where s is a single letter. All letters are lowercase, and no letter will appear more than once within a term. A query will not contain spaces. A term matches a word if the word contains at least one of the unsigned letters, all of the positive letters, and none of the negative letters; a query matches a word if at least one of its terms matches the word. Input The input consists of one or more test cases followed by a line containing only "#" that signals the end of the input. Each test case consists of 1–100 words, each on a line by itself, followed by a line containing only "*" that marks the end of the word list, followed by one or more queries, each on a line by itself, followed by a line containing only "**" that marks the end of the test case. Each word will consist of 1–20 lowercase letters. All words within a test case will be unique. Each query will be as defined above and will be 1–79 characters long. Output For each query, output a single line containing the lexicographically smallest word within that test case that matches the query, or the word NONE if there is no matching word. At the end of each test case, output a dollar sign on a line by itself. Sample Input elk cow bat * ea acm+e nm+o|jk+l ** debian slackware gentoo ubuntu suse fedora mepis * yts cab-e+n r-e|zjq|i+t|vs-p+e-u-c ** # Sample Output bat NONE elk $ gentoo ubuntu NONE $
Frugal Search 的一个的编程
Problem Description For this problem you will write a search engine that takes a query, searches a collection of words, and finds the lexicographically smallest word that matches the query (i.e., the matching word that would appear first in an English dictionary). A query is a sequence of one or more terms separated by single vertical bars ("|"). A term is one or more letters followed by zero or more signed letters. A signed letter is either +s ("positive" s) or -s ("negative" s), where s is a single letter. All letters are lowercase, and no letter will appear more than once within a term. A query will not contain spaces. A term matches a word if the word contains at least one of the unsigned letters, all of the positive letters, and none of the negative letters; a query matches a word if at least one of its terms matches the word. Input The input consists of one or more test cases followed by a line containing only "#" that signals the end of the input. Each test case consists of 1–100 words, each on a line by itself, followed by a line containing only "*" that marks the end of the word list, followed by one or more queries, each on a line by itself, followed by a line containing only "**" that marks the end of the test case. Each word will consist of 1–20 lowercase letters. All words within a test case will be unique. Each query will be as defined above and will be 1–79 characters long. Output For each query, output a single line containing the lexicographically smallest word within that test case that matches the query, or the word NONE if there is no matching word. At the end of each test case, output a dollar sign on a line by itself. Sample Input elk cow bat * ea acm+e nm+o|jk+l ** debian slackware gentoo ubuntu suse fedora mepis * yts cab-e+n r-e|zjq|i+t|vs-p+e-u-c ** # Sample Output bat NONE elk $ gentoo ubuntu NONE $
suse12sp2:如何安装docker-1.12.1?
各位大神好: 作为一个docker的小白,我想在一台suse:sles:12:sp2上安装docker-1.12.1。 OS信息如下: mo-887de210b:/data # cat /etc/os-release NAME="SLES" VERSION="12-SP2" VERSION_ID="12.2" PRETTY_NAME="SUSE Linux Enterprise Server 12 SP2" ID="sles" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:suse:sles:12:sp2" 安装的具体步骤如下: ============================= 好像没有现成的包,要自己去download下来装 install docker on suse 12.1 1.             download:  https://software.opensuse.org/package/docker  (containerd 0.2.3)   2.             zypper in containerd-0.2.3+git4f0a33a-25.1.x86_64.rpm   3.             zypper in docker-1.12.1-146.1.x86_64.rpm   4.          zypper runc-1.0_dev+git10da74a-23.1.x86_64.rpm   5.             systemctl start docker; systemctl status docker   6.             docker -v   7.             docker info  但是我却在第一步安装containerd-0.2.3时就遭遇了失败:( ==================== containerd-0.2.3+git4f0a33a-25.1.x86_64 (Plain RPM files cache): **Signature verification failed [4-Signatures public key is not available]** 哪位大神可以指导一二? 万分感谢!! 具体错误信息如下: ============= mo-887de210b:/data/docker # zypper in containerd-0.2.3+git4f0a33a-25.1.x86_64.rpm Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW package is going to be installed: containerd The following package is not supported by its vendor: containerd 1 new package to install. Overall download size: 2.4 MiB. Already cached: 0 B. After the operation, additional 12.2 MiB will be used. Continue? [y/n/...? shows all options] (y): y Retrieving package containerd-0.2.3+git4f0a33a-25.1.x86_64 (1/1), 2.4 MiB ( 12.2 MiB unpacked) containerd-0.2.3+git4f0a33a-25.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 72174fc2: NOKEY V3 RSA/SHA256 Signature, key ID 72174fc2: NOKEY containerd-0.2.3+git4f0a33a-25.1.x86_64 (Plain RPM files cache): **Signature verification failed [4-Signatures public key is not available]** Abort, retry, ignore? [a/r/i] (a): i Checking for file conflicts: .................................................................................................................................[done] (1/1) Installing: containerd-0.2.3+git4f0a33a-25.1.x86_64 ....................................................................................................[done] Additional rpm output: warning: /var/tmp/zypp.ZA7LFu/zypper/containerd-0.2.3+git4f0a33a-25.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 72174fc2: NOKEY Updating /etc/sysconfig/containerd… mo-887de210b:/data/docker # zypper in docker-1.12.1-146.1.x86_64.rpm Loading repository data... Reading installed packages... Resolving package dependencies...   Problem: **nothing provides containerd = 0.2.3 needed by docker-1.12.1**-146.1.x86_64  Solution 1: do not install docker-1.12.1-146.1.x86_64  Solution 2: break docker-1.12.1-146.1.x86_64 by ignoring some of its dependencies   Choose from above solutions by number or cancel [1/2/c] (c): c
VMware同时启动windows和suse的时候,suse11虚拟机里鼠标无法点击
前提条件: 1、软件版本:vmware10 2、windows2003 x86 3、suse11 x86 4、两个虚拟机的实体文件是放在同一个物理盘中,比如两个虚拟机文件都在e盘各自的文件夹下 问题描述: 1、使用VMware同时启动windows和suse的时候,suse11虚拟机里鼠标无法点击,键盘无法操作,windows 正常 2、同时,suse11网络是没有问题的,通过crt软件可以操控,并且能查询suse11的状态 需求: 怎么实现同时启动这两个虚拟机都可以实现键盘鼠标的操控,而不是通过crt来操控suse11。谢谢。
Linux suse11平台下进行SFTP报Received message too long 1114795883错误
suse11平台下进行SFTP时,报Received message too long 1114795883错误。拒绝SFTP连接。求解?
SUSE Linux 安装 Anaconda3 出错
我在学校曙光5000A集群上开了一个子账户,系统是64位 SUSE Linux,安装Anaconda3的时候报如下错误“Anaconda3-4.3.1-Linux-x86_64.sh: line 480: 4710 Floating point exception$PYTHON -E -V ERROR: cannot execute native linux-64 binary, output from 'uname -a' is: Linux node75 2.6.16.60-0.54.5-smp #1 SMP Fri Sep 4 01:28:03 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux ” 试过32位,64位的anaconda2与anaconda3,错误提示都一样,同样的文件在ubuntu系统上可以安装成功,求各位路过大神
Frugal Search 搜索的问题
Problem Description For this problem you will write a search engine that takes a query, searches a collection of words, and finds the lexicographically smallest word that matches the query (i.e., the matching word that would appear first in an English dictionary). A query is a sequence of one or more terms separated by single vertical bars ("|"). A term is one or more letters followed by zero or more signed letters. A signed letter is either +s ("positive" s) or -s ("negative" s), where s is a single letter. All letters are lowercase, and no letter will appear more than once within a term. A query will not contain spaces. A term matches a word if the word contains at least one of the unsigned letters, all of the positive letters, and none of the negative letters; a query matches a word if at least one of its terms matches the word. Input The input consists of one or more test cases followed by a line containing only "#" that signals the end of the input. Each test case consists of 1–100 words, each on a line by itself, followed by a line containing only "*" that marks the end of the word list, followed by one or more queries, each on a line by itself, followed by a line containing only "**" that marks the end of the test case. Each word will consist of 1–20 lowercase letters. All words within a test case will be unique. Each query will be as defined above and will be 1–79 characters long. Output For each query, output a single line containing the lexicographically smallest word within that test case that matches the query, or the word NONE if there is no matching word. At the end of each test case, output a dollar sign on a line by itself. Sample Input elk cow bat * ea acm+e nm+o|jk+l ** debian slackware gentoo ubuntu suse fedora mepis * yts cab-e+n r-e|zjq|i+t|vs-p+e-u-c ** # Sample Output bat NONE elk $ gentoo ubuntu NONE $
Linux Kernel Version 用代码的做法
Problem Description Samuel is fed up with Microsoft Windows system. Instead of xp he chose to install Linux Fedora 10 in his own desktop. But Linux has various distributions with different kernel versions. Some kernels are not stable. Of course,the unstable ones is not of Samuel's choice. Samuel is never tired of reinstalling Linux,because he always wants to try the latest release version on his computer. So Samuel needs to know the kernel's version before he downloads the distribution version. Here is an easy problem for you,tell Samuel which distribution he should choose to reinstall. To make the problem easier,suppose each Linux kernel version mark is made up by a string like the format:”r.x.y”Here r represents the major version number,x will be even(stable) or odd(beta version not stable,need to be developed),y represents the time the kernel has been corrected. For instance,the kernel whose number is 2.6.7 is a stable version. However,2.5.11 is not due to the number the letter x represents is odd. As for he problem which one is the latest kernel,you can also refer to version number. When compared two version,you should first compare the r1 and r2, if r1>r2 version 1 is the latest version. If r1=r2,you need to compare x1 and x2,if x1>x2 that means the version 1 is the latest. If x1=x2,then you need to compare y1 and y2,version 1 is the newest one only if y1>y2..Not clear about my English explanation,you can see the HDOJ 1976,it has a Chinese one. Input The input will consist 2 major parts: Test cases t. Each of test case is made up of 2 minor parts: 1.The number of available distributions 2.Name of the distribution(a string,no white blanks) 3.The kernel version(also a string in the format r.x.y without any blanks) I guarantee there is no test case has the same distribution name but with different kernel version nor the same kernel version but with the different distribution name. All the information in the same test cases is totally different. Output Your task is to tell the latest version apart,and output the name of the distribution,using “The latest distribution Samuel will choose is ****.” Sample Input 2 3 SUSE 2.6.5 Fedora 2.6.7 Ubuntu 2.6.6 4 RedFlag 2.4.5 CentOS 2.5.6 Fedora 2.4.3 Debian 2.5.7 (In reality,the kernel version may not be so. The numbers are made up by myself.) Sample Output The latest distribution Samuel will choose is Fedora. The latest distribution Samuel will choose is RedFlag.
SUSE安装oracle,orarun如何配置内核
一般Linux下内核参数文件是 /etc/sysctl.conf 文件,不过观察SUSE的这个文件只有几条关于IP设置的条目,像共享内存大小 shmmax这种配置是从哪里获取数值完成配置的。 在用SUSE装ORacle的时候遇到这个问题,因为SUSE自带的OraRun据说是来配置内核的,出现“out of memory”的错误但观察SUSE的共享内存太小,如果是OraRun配置的,怎么修改这个值,相关配置文件在哪。 多谢回答
Frugal Search 计算的实现
Problem Description For this problem you will write a search engine that takes a query, searches a collection of words, and finds the lexicographically smallest word that matches the query (i.e., the matching word that would appear first in an English dictionary). A query is a sequence of one or more terms separated by single vertical bars ("|"). A term is one or more letters followed by zero or more signed letters. A signed letter is either +s ("positive" s) or -s ("negative" s), where s is a single letter. All letters are lowercase, and no letter will appear more than once within a term. A query will not contain spaces. A term matches a word if the word contains at least one of the unsigned letters, all of the positive letters, and none of the negative letters; a query matches a word if at least one of its terms matches the word. Input The input consists of one or more test cases followed by a line containing only "#" that signals the end of the input. Each test case consists of 1–100 words, each on a line by itself, followed by a line containing only "*" that marks the end of the word list, followed by one or more queries, each on a line by itself, followed by a line containing only "**" that marks the end of the test case. Each word will consist of 1–20 lowercase letters. All words within a test case will be unique. Each query will be as defined above and will be 1–79 characters long. Output For each query, output a single line containing the lexicographically smallest word within that test case that matches the query, or the word NONE if there is no matching word. At the end of each test case, output a dollar sign on a line by itself. Sample Input elk cow bat * ea acm+e nm+o|jk+l ** debian slackware gentoo ubuntu suse fedora mepis * yts cab-e+n r-e|zjq|i+t|vs-p+e-u-c ** # Sample Output bat NONE elk $ gentoo ubuntu NONE $
为什么在虚拟机安装的suse linux界面那么小
![图片说明](https://img-ask.csdn.net/upload/201602/14/1455461638_683382.png)为什么在虚拟机安装的suse linux界面那么小,怎么样可以全屏,调节linux界面大小
suse linux 安装httpd 出现zlib library... not found
本人参照 [linux环境apache安装教程](http://blog.csdn.net/java_pengjin/article/details/6910335 "")安装 httpd执行命令: ./configure --prefix=/opt/web/apache --enable-proxy=shared --enable-proxy-balancer=shared --enable-proxy-http=shared --enable-proxy-connect=shared --enable-asis=shared --enable-isapi=shared --enable-mods-shared=all --enable-so -with-z=/usr/local/zlib/zlib1.2.8/lib 发生如下错误: checking whether to enable mod_deflate... checking dependencies adding "-I/usr/local/zlib/zlib1.2.8/lib/include" to INCLUDES adding "-L/usr/local/zlib/zlib1.2.8/lib/lib" to LDFLAGS adding "-lz" to LIBS checking for zlib library... not found removed "-lz" from LIBS checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures 求各位大神指教..
Linux Kernel Version 实现的方式
Problem Description Samuel is fed up with Microsoft Windows system. Instead of xp he chose to install Linux Fedora 10 in his own desktop. But Linux has various distributions with different kernel versions. Some kernels are not stable. Of course,the unstable ones is not of Samuel's choice. Samuel is never tired of reinstalling Linux,because he always wants to try the latest release version on his computer. So Samuel needs to know the kernel's version before he downloads the distribution version. Here is an easy problem for you,tell Samuel which distribution he should choose to reinstall. To make the problem easier,suppose each Linux kernel version mark is made up by a string like the format:”r.x.y”Here r represents the major version number,x will be even(stable) or odd(beta version not stable,need to be developed),y represents the time the kernel has been corrected. For instance,the kernel whose number is 2.6.7 is a stable version. However,2.5.11 is not due to the number the letter x represents is odd. As for he problem which one is the latest kernel,you can also refer to version number. When compared two version,you should first compare the r1 and r2, if r1>r2 version 1 is the latest version. If r1=r2,you need to compare x1 and x2,if x1>x2 that means the version 1 is the latest. If x1=x2,then you need to compare y1 and y2,version 1 is the newest one only if y1>y2..Not clear about my English explanation,you can see the HDOJ 1976,it has a Chinese one. Input The input will consist 2 major parts: Test cases t. Each of test case is made up of 2 minor parts: 1.The number of available distributions 2.Name of the distribution(a string,no white blanks) 3.The kernel version(also a string in the format r.x.y without any blanks) I guarantee there is no test case has the same distribution name but with different kernel version nor the same kernel version but with the different distribution name. All the information in the same test cases is totally different. Output Your task is to tell the latest version apart,and output the name of the distribution,using “The latest distribution Samuel will choose is ****.” Sample Input 2 3 SUSE 2.6.5 Fedora 2.6.7 Ubuntu 2.6.6 4 RedFlag 2.4.5 CentOS 2.5.6 Fedora 2.4.3 Debian 2.5.7 (In reality,the kernel version may not be so. The numbers are made up by myself.) Sample Output The latest distribution Samuel will choose is Fedora. The latest distribution Samuel will choose is RedFlag.
在win10 x64位环境下用VMware搭建SUSE Linux15,安装时失败
按照网络提供的安装教程安装后卡在了这里,不知道如何解决。 已尝试重新安装VMware与重新下载光盘映像,但没用。 ![图片说明](https://img-ask.csdn.net/upload/201901/22/1548123604_384309.png)
SSL negotiation failed
系统版本:suse 11 openssl版本:openssl-1.0.0a svn版本:subversion-1.6.16 我在机器上配了svn。已经可以成功执行命令 svn co http...,但在执行svn co https...时出现错误,错误信息如下: SSL negotiation failed: SSL error code -1/1/336032856
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它是一个过程,是一个不断累积、不断沉淀、不断总结、善于传达自己的个人见解以及乐于分享的过程。
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过...
有哪些让程序员受益终生的建议
从业五年多,辗转两个大厂,出过书,创过业,从技术小白成长为基层管理,联合几个业内大牛回答下这个问题,希望能帮到大家,记得帮我点赞哦。 敲黑板!!!读了这篇文章,你将知道如何才能进大厂,如何实现财务自由,如何在工作中游刃有余,这篇文章很长,但绝对是精品,记得帮我点赞哦!!!! 一腔肺腑之言,能看进去多少,就看你自己了!!! 目录: 在校生篇: 为什么要尽量进大厂? 如何选择语言及方...
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...
linux系列之常用运维命令整理笔录
本博客记录工作中需要的linux运维命令,大学时候开始接触linux,会一些基本操作,可是都没有整理起来,加上是做开发,不做运维,有些命令忘记了,所以现在整理成博客,当然vi,文件操作等就不介绍了,慢慢积累一些其它拓展的命令,博客不定时更新 free -m 其中:m表示兆,也可以用g,注意都要小写 Men:表示物理内存统计 total:表示物理内存总数(total=used+free) use...
比特币原理详解
一、什么是比特币 比特币是一种电子货币,是一种基于密码学的货币,在2008年11月1日由中本聪发表比特币白皮书,文中提出了一种去中心化的电子记账系统,我们平时的电子现金是银行来记账,因为银行的背后是国家信用。去中心化电子记账系统是参与者共同记账。比特币可以防止主权危机、信用风险。其好处不多做赘述,这一层面介绍的文章很多,本文主要从更深层的技术原理角度进行介绍。 二、问题引入 假设现有4个人...
程序员接私活怎样防止做完了不给钱?
首先跟大家说明一点,我们做 IT 类的外包开发,是非标品开发,所以很有可能在开发过程中会有这样那样的需求修改,而这种需求修改很容易造成扯皮,进而影响到费用支付,甚至出现做完了项目收不到钱的情况。 那么,怎么保证自己的薪酬安全呢? 我们在开工前,一定要做好一些证据方面的准备(也就是“讨薪”的理论依据),这其中最重要的就是需求文档和验收标准。一定要让需求方提供这两个文档资料作为开发的基础。之后开发...
网页实现一个简单的音乐播放器(大佬别看。(⊙﹏⊙))
今天闲着无事,就想写点东西。然后听了下歌,就打算写个播放器。 于是乎用h5 audio的加上js简单的播放器完工了。 演示地点演示 html代码如下` music 这个年纪 七月的风 音乐 ` 然后就是css`*{ margin: 0; padding: 0; text-decoration: none; list-...
Python十大装B语法
Python 是一种代表简单思想的语言,其语法相对简单,很容易上手。不过,如果就此小视 Python 语法的精妙和深邃,那就大错特错了。本文精心筛选了最能展现 Python 语法之精妙的十个知识点,并附上详细的实例代码。如能在实战中融会贯通、灵活使用,必将使代码更为精炼、高效,同时也会极大提升代码B格,使之看上去更老练,读起来更优雅。
数据库优化 - SQL优化
以实际SQL入手,带你一步一步走上SQL优化之路!
2019年11月中国大陆编程语言排行榜
2019年11月2日,我统计了某招聘网站,获得有效程序员招聘数据9万条。针对招聘信息,提取编程语言关键字,并统计如下: 编程语言比例 rank pl_ percentage 1 java 33.62% 2 cpp 16.42% 3 c_sharp 12.82% 4 javascript 12.31% 5 python 7.93% 6 go 7.25% 7 p...
通俗易懂地给女朋友讲:线程池的内部原理
餐盘在灯光的照耀下格外晶莹洁白,女朋友拿起红酒杯轻轻地抿了一小口,对我说:“经常听你说线程池,到底线程池到底是个什么原理?”
《奇巧淫技》系列-python!!每天早上八点自动发送天气预报邮件到QQ邮箱
将代码部署服务器,每日早上定时获取到天气数据,并发送到邮箱。 也可以说是一个小型人工智障。 知识可以运用在不同地方,不一定非是天气预报。
经典算法(5)杨辉三角
杨辉三角 是经典算法,这篇博客对它的算法思想进行了讲解,并有完整的代码实现。
英特尔不为人知的 B 面
从 PC 时代至今,众人只知在 CPU、GPU、XPU、制程、工艺等战场中,英特尔在与同行硬件芯片制造商们的竞争中杀出重围,且在不断的成长进化中,成为全球知名的半导体公司。殊不知,在「刚硬」的背后,英特尔「柔性」的软件早已经做到了全方位的支持与支撑,并持续发挥独特的生态价值,推动产业合作共赢。 而对于这一不知人知的 B 面,很多人将其称之为英特尔隐形的翅膀,虽低调,但是影响力却不容小觑。 那么,在...
腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹?
昨天,有网友私信我,说去阿里面试,彻底的被打击到了。问了为什么网上大量使用ThreadLocal的源码都会加上private static?他被难住了,因为他从来都没有考虑过这个问题。无独有偶,今天笔者又发现有网友吐槽了一道腾讯的面试题,我们一起来看看。 腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹? 在互联网职场论坛,一名程序员发帖求助到。二面腾讯,其中一个算法题:64匹...
面试官:你连RESTful都不知道我怎么敢要你?
干货,2019 RESTful最贱实践
为啥国人偏爱Mybatis,而老外喜欢Hibernate/JPA呢?
关于SQL和ORM的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行了一番讨论,感触还是有一些,于是就有了今天这篇文。 声明:本文不会下关于Mybatis和JPA两个持久层框架哪个更好这样的结论。只是摆事实,讲道理,所以,请各位看官勿喷。 一、事件起因 关于Mybatis和JPA孰优孰劣的问题,争论已经很多年了。一直也没有结论,毕竟每个人的喜好和习惯是大不相同的。我也看...
白话阿里巴巴Java开发手册高级篇
不久前,阿里巴巴发布了《阿里巴巴Java开发手册》,总结了阿里巴巴内部实际项目开发过程中开发人员应该遵守的研发流程规范,这些流程规范在一定程度上能够保证最终的项目交付质量,通过在时间中总结模式,并推广给广大开发人员,来避免研发人员在实践中容易犯的错误,确保最终在大规模协作的项目中达成既定目标。 无独有偶,笔者去年在公司里负责升级和制定研发流程、设计模板、设计标准、代码标准等规范,并在实际工作中进行...
SQL-小白最佳入门sql查询一
不要偷偷的查询我的个人资料,即使你再喜欢我,也不要这样,真的不好;
redis分布式锁,面试官请随便问,我都会
文章有点长并且绕,先来个图片缓冲下! 前言 现在的业务场景越来越复杂,使用的架构也就越来越复杂,分布式、高并发已经是业务要求的常态。像腾讯系的不少服务,还有CDN优化、异地多备份等处理。 说到分布式,就必然涉及到分布式锁的概念,如何保证不同机器不同线程的分布式锁同步呢? 实现要点 互斥性,同一时刻,智能有一个客户端持有锁。 防止死锁发生,如果持有锁的客户端崩溃没有主动释放锁,也要保证锁可以正常释...
项目中的if else太多了,该怎么重构?
介绍 最近跟着公司的大佬开发了一款IM系统,类似QQ和微信哈,就是聊天软件。我们有一部分业务逻辑是这样的 if (msgType = "文本") { // dosomething } else if(msgType = "图片") { // doshomething } else if(msgType = "视频") { // doshomething } else { // doshom...
Nginx 原理和架构
Nginx 是一个免费的,开源的,高性能的 HTTP 服务器和反向代理,以及 IMAP / POP3 代理服务器。Nginx 以其高性能,稳定性,丰富的功能,简单的配置和低资源消耗而闻名。 Nginx 的整体架构 Nginx 里有一个 master 进程和多个 worker 进程。master 进程并不处理网络请求,主要负责调度工作进程:加载配置、启动工作进程及非停升级。worker 进程负责处...
Python 编程开发 实用经验和技巧
Python是一门很灵活的语言,也有很多实用的方法,有时候实现一个功能可以用多种方法实现,我这里总结了一些常用的方法和技巧,包括小数保留指定位小数、判断变量的数据类型、类方法@classmethod、制表符中文对齐、遍历字典、datetime.timedelta的使用等,会持续更新......
YouTube排名第一的励志英文演讲《Dream(梦想)》
Idon’t know what that dream is that you have, I don't care how disappointing it might have been as you've been working toward that dream,but that dream that you’re holding in your mind, that it’s po...
“狗屁不通文章生成器”登顶GitHub热榜,分分钟写出万字形式主义大作
一、垃圾文字生成器介绍 最近在浏览GitHub的时候,发现了这样一个骨骼清奇的雷人项目,而且热度还特别高。 项目中文名:狗屁不通文章生成器 项目英文名:BullshitGenerator 根据作者的介绍,他是偶尔需要一些中文文字用于GUI开发时测试文本渲染,因此开发了这个废话生成器。但由于生成的废话实在是太过富于哲理,所以最近已经被小伙伴们给玩坏了。 他的文风可能是这样的: 你发现,...
程序员:我终于知道post和get的区别
是一个老生常谈的话题,然而随着不断的学习,对于以前的认识有很多误区,所以还是需要不断地总结的,学而时习之,不亦说乎
《程序人生》系列-这个程序员只用了20行代码就拿了冠军
你知道的越多,你不知道的越多 点赞再看,养成习惯GitHub上已经开源https://github.com/JavaFamily,有一线大厂面试点脑图,欢迎Star和完善 前言 这一期不算《吊打面试官》系列的,所有没前言我直接开始。 絮叨 本来应该是没有这期的,看过我上期的小伙伴应该是知道的嘛,双十一比较忙嘛,要值班又要去帮忙拍摄年会的视频素材,还得搞个程序员一天的Vlog,还要写BU...
加快推动区块链技术和产业创新发展,2019可信区块链峰会在京召开
11月8日,由中国信息通信研究院、中国通信标准化协会、中国互联网协会、可信区块链推进计划联合主办,科技行者协办的2019可信区块链峰会将在北京悠唐皇冠假日酒店开幕。   区块链技术被认为是继蒸汽机、电力、互联网之后,下一代颠覆性的核心技术。如果说蒸汽机释放了人类的生产力,电力解决了人类基本的生活需求,互联网彻底改变了信息传递的方式,区块链作为构造信任的技术有重要的价值。   1...
Java世界最常用的工具类库
Apache Commons Apache Commons有很多子项目 Google Guava 参考博客
相关热词 c# 输入ip c# 乱码 报表 c#选择结构应用基本算法 c# 收到udp包后回包 c#oracle 头文件 c# 序列化对象 自定义 c# tcp 心跳 c# ice连接服务端 c# md5 解密 c# 文字导航控件
立即提问