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
    • 最新
    • 标签
主页 / user-547678

José Ángel Morena Simón's questions

Martin Hope
José Ángel Morena Simón
Asked: 2020-11-04 11:32:10 +0800 CST

OpenFire 重新启动一次又一次地运行设置过程

  • 0

我是 OpenFire 的新手,我使用的是 3.9.3 版本

问题是每次我重新启动 OpenFire 时,我都必须经过相同的设置过程。就我而言,我不想每次重新启动服务时都通过它。

这就是 openfire.xml 为我寻找的方式:

<?xml version="1.0" encoding="UTF-8"?>
  <autosetup>
        <run>true</run>
        <locale>en</locale>
        <xmpp>
            <domain>localhost</domain>
            <fqdn>localhost</fqdn>
            <auth>
                <anonymous>true</anonymous>
            </auth>
            <socket>
                <ssl>
                    <active>false</active>
                </ssl>
            </socket>
        </xmpp>
        <encryption>
            <algorithm>Blowfish</algorithm>
        </encryption>
        <database>
            <mode>standard</mode>
            <defaultProvider>
                <driver>com.mysql.jdbc.Driver</driver>
                <serverURL>jdbc:mysql://mysql:5432/openfire</serverURL>
                <username>openfire</username>
                <password>openfire</password>
                <minConnections>5<minConnections>
                <maxConnections>25<maxConnections>
                <connectionTimeout>1.0<connectionTimeout>
            </defaultProvider>
        </database>
        <admin>
            <email>[email protected]</email>
        <password>admin</password>
        </admin>
        <authprovider>
            <mode>default</mode>
        </authprovider>
        <users>
            <user1> <!-- Use incremental numbers for more users, eg: user2, user3 -->
                <username>jose</username> <!-- Required -->
                <password>jose</password> <!-- Required -->
                <name>jose</name>
                <email>[email protected]</email>
                <roster>
                    <item1> <!-- Use incremental numbers for more items, eg: item2, item3 -->
                        <jid>[email protected]</jid>
                        <nickname>John</nickname>
                    </item1>
                </roster>
            </user1>
        </users>
    </autosetup>

我的 openfire.xml 文件有什么问题吗?

欢迎任何帮助!提前致谢!

linux openfire rhel7
  • 2 个回答
  • 231 Views
Martin Hope
José Ángel Morena Simón
Asked: 2020-05-06 06:34:16 +0800 CST

OpenShift rsync 错误

  • 0

我正在开发一个 python3 脚本,它通过 rsync 从安装在 pod 中的 PersistentVolumeClaims 复制数据。该脚本在一个 pod 中执行,因此 rsync 连接是从一个 pod 到另一个远程 pod。

问题是,只要要复制的数据量有点大,rsync 就会失败并出现以下错误:

2020-05-05 16:14:06,330 - OCPRSYNCER - INFO - rsync -ahrvz --quiet --delete --progress=true --rsh='oc rsh -n test-rsyncer -c postgresql' postgresql-2-h8qjb:/var/lib/pgsql/data/ /opt/app-root/backup/PVCs/test-rsyncer/postgresql/

E0505 16:14:09.843986      26 v2.go:147] write /dev/stdout: resource temporarily unavailable

容器的用户是 root,这些是 pod 内的 ulimits 设置:

sh-4.2# whoami
root
sh-4.2# ulimit -a
core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 128597
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1048576
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 1048576
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
sh-4.2# 
linux rsync docker kubernetes openshift-origin
  • 1 个回答
  • 228 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