AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题

问题[aix](server)

Martin Hope
Michael
Asked: 2020-07-04 01:17:41 +0800 CST

使用 rpm 应用程序(不是 yum)使用 Ansible 安装 rpm 包

  • 0

我想使用 Ansible 和已安装的 rpm 包管理器安装一些 RPM 包。yum 没有安装。

如果软件包已经安装,使用commandmodule with会导致任务失败。rpm -i {{package}}我正在寻找一种惯用的方式来安装像 yum 或 apt 模块这样的软件包。

aix rpm ansible
  • 4 个回答
  • 5876 Views
Martin Hope
user485903
Asked: 2019-11-19 12:39:09 +0800 CST

获取适配器类型的命令

  • 2

您是否知道 AIX 服务器是否有命令来检查它们的适配器类型?我正在尝试查找我的 AIX 服务器是 NPIV 还是 vSCSI

提前致谢

aix
  • 1 个回答
  • 47 Views
Martin Hope
ARGStackOvaFlo
Asked: 2017-02-11 05:08:02 +0800 CST

IBM AIX 中如何检查分配给两台服务器的内存是否为共享内存?

  • 0

我在IBM AIX 5.3 OS上运行了两台数据库服务器和两台应用程序服务器

我正在使用Oracle DB 10.2.0.4环境RAC,EBS 应用程序是R12.1.3.

在我的数据库服务器中,我可以找到我32 GB的数据库服务器和32 GB应用程序服务器中的每一个。

如何检查数据库和应用程序服务器节点中的内存是共享内存还是仅添加到一台服务器。

也就是说,如果我32 GB在数据库服务器的节点 1 和数据库服务器32 GB的节点 2 中有我如何检查32GB内存是否在两台服务器之间共享?

我正在使用TOPAS命令来检查内存。

请给我一个命令来检查这个。

central-processing-unit memory aix ibm
  • 1 个回答
  • 75 Views
Martin Hope
Jarrod L. J. Gibson
Asked: 2016-12-09 13:31:36 +0800 CST

使用 Veeam 在 AIX 中备份 Informix 数据库

  • 2

我的生产数据库当前位于带有 AIX 的 IBM 服务器上。我们使用 Informix 作为我们的数据库软件。我们已将大部分物理资产迁移到 vSphere,并使用 Veeam 备份所有内容。我们仍然有一些 Windows 物理机(需要专用处理器),我们使用 Veeam Endpoint Backup 到 Veeam 存储库,然后将其复制到 DR 站点和云。

我想对 Veeam 做同样的事情,但他们的 Linux 版本是 beta 版,不能在 AIX 上运行。架构也不同。我正在考虑将备份导出到代理上的共享。

我想知道是否可以让 Veeam 将存储库文件夹中的非 Veeam 备份文件上传到云端?

backup aix veeam
  • 1 个回答
  • 1529 Views
Martin Hope
MadBoomy
Asked: 2016-11-05 00:48:08 +0800 CST

Weblogic 不会关闭文件(但会关闭连接)

  • 0

亲爱的,

我们遇到了“打开的文件太多”的问题。

我们已经取得了一些进展,但问题仍然存在......

我们在 aix 上的 weblogic 上使用 cxf。

相关的 cxf 配置:

<http-conf:conduit name="*.http-conduit">
    <http-conf:client Connection="close" />
</http-conf:conduit>

执行此代码时:

        for(int i=0;i<1300;i++){
            response = callService(request).call();
        }

(我们不打算在生产中使用此代码,但它是为了解决问题)

-> 第一次运行成功;

-> 第二次运行暴露了问题

输出:

   netstat| wc -l

首先表明有太多的套接字仍然打开(因此 cxf 配置更改)

现在打开的套接字保持稳定 +- 400 行,在配置更改之前 >1000

但...

lsof 2> /dev/null|grep TCP|wc -l

暴露了我们目前遇到的问题

打开的套接字的数量是稳定的(所以套接字被关闭)但打开的文件的数量不是......

从托管服务器启动后的 319 到引发以下异常时的 +-1688:

javax.xml.ws.soap.SOAPFaultException: NullPointerException invoking https://tst-cjcsr.just.fgov.be/cjcs-cg-ws/1.0-rc2/: null
    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:158)
    at com.sun.proxy.$Proxy302.requestCriminalRecord(Unknown Source)
    at be.fgov.just.cjr.application.dossier.DossierBean$1.call(DossierBean.java:226)
    at be.fgov.just.cjr.application.dossier.DossierBean$1.call(DossierBean.java:222)
    at be.fgov.just.cjr.application.dossier.DossierBean.callService(DossierBean.java:153)
    at be.fgov.just.cjr.application.dossier.DossierBean.search(DossierBean.java:99)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
    at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:342)
    at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
    at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
    at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
    at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
    at javax.faces.component.UICommand.broadcast(UICommand.java:315)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:409)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    at be.fgov.just.cjr.application.authentication.UserbeanEnforceFilter.doFilter(UserbeanEnforceFilter.java:64)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    at be.fgov.just.cjr.application.authentication.openam.OpenAmPingFilter.doFilter(OpenAmPingFilter.java:88)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    at be.fgov.just.cjr.application.authentication.openam.OpenAmReverifyFilter.doFilter(OpenAmReverifyFilter.java:94)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    at be.fgov.just.cjr.application.authentication.openam.OpenAmSessionFilter.doFilter(OpenAmSessionFilter.java:166)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3748)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3714)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:263)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: java.lang.NullPointerException: NullPointerException invoking https://tst-cjcsr.just.fgov.be/cjcs-cg-ws/1.0-rc2/: null
    at sun.reflect.GeneratedConstructorAccessor108.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:527)
    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1346)
    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1335)
    at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
    at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:632)
    at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
    at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:572)
    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:481)
    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:382)
    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:335)
    at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:136)
    ... 56 more
Caused by: java.lang.NullPointerException
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:459)
    at weblogic.net.http.SOAPHttpsURLConnection.getInputStream(SOAPHttpsURLConnection.java:37)
    at weblogic.net.http.HttpURLConnection.getResponseCode(HttpURLConnection.java:1038)
    at org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.getResponseCode(URLConnectionHTTPConduit.java:266)
    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doProcessResponseCode(HTTPConduit.java:1550)
    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1579)
    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1520)
    at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1317)
    ... 66 more

如果要提供更多信息,请询问,

非常感谢您对解决此问题的任何帮助,

重新启动托管服务器“解决”了问题,但这不是生产中的选项......

TIME_WAIT 设置为 1(15 秒),所以没有解决方案......

S。

java aix socket weblogic
  • 1 个回答
  • 485 Views
Martin Hope
ivicaa
Asked: 2016-10-13 12:22:26 +0800 CST

AIX 6.1 上的 Apache 2.4,具有 Proxy/BalancerMember 的多个虚拟主机 -> 共享内存 (shm) slotmem 文件的问题

  • 0

我有一个启用了 mod_proxy/mod_proxy_balancer/mod_slotmem_shm/mod_lbmethod_byrequests 的 Apache 2.4.23 配置。

此外,我有多个 VirtualHost 使用这样的设置在不同的端口上侦听(PORT 和 COMPONENT 是唯一的):

Listen PORT

<VirtualHost *:PORT>
    Include "eib/conf/default-proxy-params"

    ErrorLog "logs/PORT-COMPONENT-error.log"
    CustomLog "logs/PORT-COMPONENT-access.log" common

    <Proxy balancer://COMPONENT/>
            BalancerMember https://HOST1:PORT
            BalancerMember https://HOST2:PORT
            ProxySet lbmethod=byrequests
    </Proxy>

    ProxyPass / balancer://COMPONENT/ lbmethod=byrequests nofailover=Off maxattempts=3
    ProxyPassReverse / balancer://COMPONENT/
</VirtualHost>

当我的配置中只有一个 VirtualHost 条目时,一切正常。一旦我添加另一个 VirtualHost,Apache 就会崩溃并出现配置失败错误:

[Wed Oct 12 21:59:38.211829 2016] [slotmem_shm:error] [pid 4129010:tid 1] (24)Too many open files: AH02611: create: apr_shm_create(/apache/logs/slotmem-shm-pf3f0916c.shm) failed
[Wed Oct 12 21:59:38.211927 2016] [:emerg] [pid 4129010:tid 1] AH00020: Configuration Failed, exiting

我已经检查了 ulimit 是否设置为无限的文件数,所以这不是问题。为 BalancerMemebers 创建的 slotmem 文件之间似乎存在冲突。

当我仅从一个 VirtualHost 开始时,一切都会按预期工作,并且我会创建以下 slotmem 文件:

slotmem-shm-p99964586.shm
slotmem-shm-p99964586_COMPONENT.shm

一个对于虚拟主机来说似乎是唯一的 (_COMPONENT),但第二个看起来可能会导致名称冲突。

有人知道如何解决这个问题吗?

load-balancing virtualhost aix apache-2.4
  • 2 个回答
  • 1401 Views
Martin Hope
Debianuser
Asked: 2016-07-21 06:09:40 +0800 CST

没有 date -d 的 AIX 上的时间戳比较

  • 1

我在 AIX 7 上有一个运行数据库查询的 bash 脚本,我得到的输出是以下格式的时间戳:201607130319.

现在我想将时间戳与当前时间(date +%Y%m%d%H%M- 201607201802)进行比较,并检查以分钟为单位的差异。我基本上需要知道差异是否超过10分钟。

我知道我可以在 Linux 上使用date -d,但在 AIX 上不可用。我也不允许在服务器上安装任何东西,所以我在这里有什么选择?

unix bash aix date timestamp
  • 1 个回答
  • 1374 Views
Martin Hope
Rohit Srivastava
Asked: 2013-07-10 01:48:51 +0800 CST

用于确定 AIX 硬件类型的命令

  • 5

我想知道给定的 IBM -AIX 框是 peries 还是 iseries。如果有一个命令或一组命令可以为我提供相同的信息。

aix
  • 3 个回答
  • 51899 Views
Martin Hope
Zac
Asked: 2013-04-04 17:46:50 +0800 CST

AIX 6.1 - 打印时 CUPS“不支持的文档格式”

  • 0

我有一台 Zebra 打印机,我正在尝试将标签的 PDF 发送到该打印机。我在 Zebra 的网站上读到 CUPS 是一个可选的打印服务器/假脱机程序,可以完全满足我的需要。因此,我通过访问此处完成了在我的 AIX 6.1 系统上安装 CUPS 的过程:http ://www.perzl.org/aix/index.php?n= Main.Cups 并下载了 CUPS rpm 及其依赖项。我能够启动并运行服务器,并且可以很好地添加新打印机并将它们设置为使用内置的 Zebra ZPL 驱动程序。当我尝试通过 Web 界面发送测试打印作业或使用lp -d <printer-name> <pdf-file>. 每当我尝试向打印机发送任何内容时,我只会返回“不支持的文档格式”异常。

对于网络界面,它是: unsupported format: "application/vnd.cups-banner"

对于pdf文件,它是: unsupported document-format: "application/pdf"

我不确定此时该做什么。我已经安装了 GhostScript 和 Foomatic 的过滤器 (foomatic-rip),但我不确定它们是否完全与 CUPS 绑定。我在这里找到了这个:http ://www.linuxfromscratch.org/blfs/view/svn/pst/cups-filters.html这是苹果在接管这个项目时显然删除的所有 CUPS 过滤器的源代码,但我在尝试其他任何事情之前,我宁愿先获得更多反馈。

有什么想法吗?

注意:我确认 CUPS 确实可以工作,因为我有一个单独的 RedHat 盒子,它已经预装了 CUPS。我能够很好地添加打印机并打印 PDF 文件。我知道它可以工作,但我们的生产服务器在 AIX 上,所以我更希望它在 AIX 上。

aix
  • 1 个回答
  • 3374 Views
Martin Hope
ibykov
Asked: 2013-03-08 01:37:53 +0800 CST

AIX 7.1 .kshrc 被忽略

  • 2

我在我的主目录中创建了 .kshrc 文件,但我的所有自定义设置都被忽略了。未设置 ENV 变量。我如何强制 ksh 读取 .kshrc?

这是我的 .kshrc:

设置-o emacs

导出 PATH=$PATH:/home/ibykov/bin:/usr/vacpp/bin

PS1="ibykov@host:${PWD##*/}\$"

aix
  • 1 个回答
  • 928 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve