Giter Site home page Giter Site logo

java_oci_manage's People

Contributors

semicons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

java_oci_manage's Issues

程序无反应

问一下各位大佬,我是新人
试了很多遍了,程序就卡死在这,log_r_client.log里也是空的,权限都给了,端口已开放
image

tmux中启动机器人后,实时日志过零点不刷新

大佬,23日我在tmux中启动后机器人开始刷机后,实时刷新日志中在23日23时59分之后就不会再刷新了。日志文件log_r_client.log记录正常,一直有数据写入,但是是从24日0时1分开始的记录的。不知是否为bug,请大佬斟情处理。

选择启动盘后,无法再修改系统

因为本来的启动盘系统与需要开机系统不一致导致无法开机,在网页开机时可以选择映像,但是在bot开机选择启动盘后选择系统是无效的,无法覆盖原系统,期望能帮助改进

启动失败~

启动失败,错误信息,java.net.SocketTimeoutException: Read timed out

应该怎么办?

安装出现这个问题

UBUNTU

2023-11-09 02:03:02.849 - request error:com.dtflys.forest.exceptions.ForestConvertException: [Forest] auto converter: 'DefaultAutoConverter' error: [Forest] xml converter: 'ForestJakartaXmlConverter' error: unexpected element (uri:"", local:"html"). Expected elements are (none)

启动出错

你好,按照网上教程试了下,提示错误:
2024-01-25 10:21:55.522 - 启动失败,错误信息:com.dtflys.forest.exceptions.ForestConvertException: [Forest] auto converter: 'DefaultAutoConverter' error: [Forest] xml converter: 'ForestJaxbConverter' error: unexpected element (uri:"", local:"html"). Expected elements are (none)
我也查看了一下之前的issue,有一条应该是一样的,之前的回答是重新配置一下账号和密码,然后在启动。
只是不明白这个账号密码指的是?如果说R探长小助手中的账号密码么,我也重新获取了之后又试了两次程序,还是这个错误。
所以又开了issue问了一下,不好意思。

更新3.7.0后启动失败

两台机子都是从上一版更新,更新后启动提示:
端口检测结果:未开放
检测到您没有打开端口,正在尝试打开本机端口。。。
端口打开失败!请确认云面板防火墙是否放开并尝试是否可以操作bot。

启动服务提示“当前配置获取可用域报错,疑似被封或密钥错误请检查”

即将查看日志,请稍后(按【ctrl+c】可退出日志)
2022-07-05 00:29:53 服务正在启动,请稍后...
2022-07-05 00:29:56 配置获取中...
2022-07-05 00:29:56 当前profile为:DEFAULT,地区为:us-sanjose-1
2022-07-05 00:30:00 code verification passed
2022-07-05 00:30:02 成功,但当前配置获取可用域报错,疑似被封或密钥错误请检查:Error returned by ListAvailabilityDomains operation in Identity service.(401, NotAuthenticated, false) The required information to complete authentication was not provided or was incorrect. (opc-request-id: F947FAAE248A43819175D944CCEA9D/6E6EDFD55DE0A5AC70D19076E8CD/232946B0A2B97D038DD6C4BA2E2E45AD)
Timestamp: 2022-07-05T04:30:02.577Z

打开启动失败

即将查看日志,请稍后(按【ctrl+c】可退出日志)
2024-03-25 01:26:54.361 - Application run failed
java.lang.IllegalStateException: java.lang.IllegalStateException: Could not initialize Log4J2 logging from classpath:logback-spring.xml
at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:347) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:298) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:246) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:223) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:174) ~[spring-context-6.0.15.jar!/:6.0.15]
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:167) ~[spring-context-6.0.15.jar!/:6.0.15]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:145) ~[spring-context-6.0.15.jar!/:6.0.15]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:133) ~[spring-context-6.0.15.jar!/:6.0.15]
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:81) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:64) ~[spring-boot-3.1.7.jar!/:3.1.7]
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:112) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:63) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:368) [spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:319) [spring-boot-3.1.7.jar!/:3.1.7]
at com.semicons.github.OBApplication.main(d:24) [classes!/:0.0.1-SNAPSHOT]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [r_client.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:95) [r_client.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [r_client.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65) [r_client.jar:0.0.1-SNAPSHOT]
Caused by: java.lang.IllegalStateException: Could not initialize Log4J2 logging from classpath:logback-spring.xml
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.loadConfiguration(Log4J2LoggingSystem.java:297) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.loadConfiguration(Log4J2LoggingSystem.java:272) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithSpecificConfig(AbstractLoggingSystem.java:66) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:57) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.initialize(Log4J2LoggingSystem.java:246) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:335) ~[spring-boot-3.1.7.jar!/:3.1.7]
... 25 more
Caused by: java.io.FileNotFoundException: class path resource [logback-spring.xml] cannot be resolved to URL because it does not exist
at org.springframework.util.ResourceUtils.getURL(ResourceUtils.java:137) ~[spring-core-6.0.15.jar!/:6.0.15]
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.load(Log4J2LoggingSystem.java:302) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.loadConfiguration(Log4J2LoggingSystem.java:288) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.loadConfiguration(Log4J2LoggingSystem.java:272) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithSpecificConfig(AbstractLoggingSystem.java:66) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:57) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.initialize(Log4J2LoggingSystem.java:246) ~[spring-boot-3.1.7.jar!/:3.1.7]
at org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:335) ~[spring-boot-3.1.7.jar!/:3.1.7]
... 25 more

Sent from PPHub

关于 云账户管理 等功能请教

云账户管理(修改租户名、修改邮箱、添加管理员用户、删除用户、重置密码)

其中有一个是重置密码,是不是可以直接重置一个新密码给我登录呢?我之前绑定的域名邮箱,域名过期了,密码也丢了,现在只有OCI的API信息,账号完全登录不上去。。。。。

部署在小内存vps会出现oom报错

2023-02-19 23:57:03.228 - Unexpected exception occurred invoking async method: public void com.semicons.github.web.M.timingCheckUpdateIp()
java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
at java.lang.Thread.start0(Native Method) ~[?:?]
at java.lang.Thread.start(Thread.java:798) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:937) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1583) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:346) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:562) ~[?:?]
at com.semicons.github.web.M.timingCheckUpdateIp(k:2389) ~[classes!/:0.0.1-SNAPSHOT]
at com.semicons.github.web.M$$FastClassBySpringCGLIB$$7878cfaa.invoke() ~[classes!/:0.0.1-SNAPSHOT]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.24.jar!/:5.3.24]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) ~[spring-aop-5.3.24.jar!/:5.3.24]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.24.jar!/:5.3.24]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) ~[spring-aop-5.3.24.jar!/:5.3.24]
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115) ~[spring-aop-5.3.24.jar!/:5.3.24]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
at java.lang.Thread.run(Thread.java:829) ~[?:?]
2023-02-19 23:58:33.228 - Unexpected exception occurred invoking async method: public void com.semicons.github.web.M.timingCheckUpdateIp()
java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
at java.lang.Thread.start0(Native Method) ~[?:?]
at java.lang.Thread.start(Thread.java:798) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:937) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1583) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:346) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:562) ~[?:?]
at com.semicons.github.web.M.timingCheckUpdateIp(k:2389) ~[classes!/:0.0.1-SNAPSHOT]
at com.semicons.github.web.M$$FastClassBySpringCGLIB$$7878cfaa.invoke() ~[classes!/:0.0.1-SNAPSHOT]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.24.jar!/:5.3.24]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) ~[spring-aop-5.3.24.jar!/:5.3.24]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.24.jar!/:5.3.24]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) ~[spring-aop-5.3.24.jar!/:5.3.24]
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115) ~[spring-aop-5.3.24.jar!/:5.3.24]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
at java.lang.Thread.run(Thread.java:829) ~[?:?]

大佬我之前的机子删鸡我重新开了个搭建好了也连接了但是里面的数据还是之前机子的无法使用

弄好了有个这个 非闪电用户只能使用1个,请删除其他客户端 然后我再R探长打开里面提示的无配置,我随便点一个里面报错是之前机子的IP 请问应该怎么解决呢。org.apache.http.conn.ConnectTimeoutException: Connect to 152.67.198.228:9527 [/152.67.198.228] failed: connect timed out
重置用户信息我重置过了两次还是以旧是这个问题

给实例附加IPv6报错

2023-05-02 07:43:03.555 - error:
java.lang.NullPointerException: null
at com.semicons.github.web.M.ALLATORIxDEMO(o:3325) ~[classes!/:0.0.1-SNAPSHOT]
at com.semicons.github.web.M.ALLATORIxDEMO(o:4397) ~[classes!/:0.0.1-SNAPSHOT]
at java.lang.Thread.run(Thread.java:829) ~[?:?]

请教个问题~

ubuntu20.04安装oci-cli报错,大佬知道怎么解决吗?

===> Currently supported optional packages are: ['db (will install cx_Oracle)']
What optional CLI packages would you like to be installed (comma separated names; press enter if you don't need any optional packages)?:
-- The optional packages installed will be ''.
-- Executing: ['', 'apt-get', 'update']
-- System was unable to use venv, is going to download and create virtualenv.
-- Downloading virtualenv package from https://github.com/pypa/get-virtualenv/blob/20.6.0/public/virtualenv.pyz?raw=true.
-- Downloaded virtualenv package to /tmp/tmpjj_a73ll/virtualenv-20.6.0.pyz.
-- Checksum of /tmp/tmpjj_a73ll/virtualenv-20.6.0.pyz OK.
-- Executing: ['/usr/bin/python3', 'virtualenv-20.6.0.pyz', '/root/lib/oracle-cli']
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "virtualenv-20.6.0.pyz/main.py", line 168, in
File "virtualenv-20.6.0.pyz/main.py", line 164, in run
File "virtualenv-20.6.0.pyz/virtualenv/main.py", line 18, in run
File "virtualenv-20.6.0.pyz/virtualenv/run/init.py", line 32, in cli_run
File "virtualenv-20.6.0.pyz/virtualenv/run/session.py", line 46, in run
File "virtualenv-20.6.0.pyz/virtualenv/run/session.py", line 53, in _create
File "virtualenv-20.6.0.pyz/virtualenv/create/creator.py", line 171, in run
File "virtualenv-20.6.0.pyz/virtualenv/create/via_global_ref/builtin/via_global_self_do.py", line 79, in create
File "virtualenv-20.6.0.pyz/virtualenv/create/via_global_ref/builtin/via_global_self_do.py", line 104, in ensure_directories
File "virtualenv-20.6.0.pyz/virtualenv/create/describe.py", line 29, in bin_dir
File "virtualenv-20.6.0.pyz/virtualenv/create/describe.py", line 33, in script_dir
File "virtualenv-20.6.0.pyz/virtualenv/discovery/py_info.py", line 125, in install_path
File "virtualenv-20.6.0.pyz/virtualenv/discovery/py_info.py", line 125, in
ValueError: too many values to unpack (expected 2)
Traceback (most recent call last):
File "/tmp/oci_cli_install_tmp_s6rB", line 257, in create_virtualenv
install_python3_venv()
File "/tmp/oci_cli_install_tmp_s6rB", line 204, in install_python3_venv
exec_command(cmd)
File "/tmp/oci_cli_install_tmp_s6rB", line 141, in exec_command
subprocess.check_call(command_list, cwd=cwd, env=env)
File "/usr/lib/python3.8/subprocess.py", line 359, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/lib/python3.8/subprocess.py", line 340, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: ''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/tmp/oci_cli_install_tmp_s6rB", line 722, in
main()
File "/tmp/oci_cli_install_tmp_s6rB", line 668, in main
create_virtualenv(tmp_dir, install_dir)
File "/tmp/oci_cli_install_tmp_s6rB", line 271, in create_virtualenv
download_and_create_virtualenv(tmp_dir, install_dir)
File "/tmp/oci_cli_install_tmp_s6rB", line 196, in download_and_create_virtualenv
exec_command(cmd, cwd=working_dir)
File "/tmp/oci_cli_install_tmp_s6rB", line 141, in exec_command
subprocess.check_call(command_list, cwd=cwd, env=env)
File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', 'virtualenv-20.6.0.pyz', '/root/lib/oracle-cli']' returned non-zero exit status 1.

希望能够增加端口配置选项

我想用云服务器(容器)启动r探长,但是启动后,云主机会把我内网配置的9527映射到外网变成一个新的端口。这种情况下,虽然服务启动了,但是机器人使用默认的9527链接服务,就链接不上了。如果能够手动配置一个端口,让机器人连接,就完美了。

如果能同时配置URL和端口,那阿里云IDE都可以上了。非常完美。不止作者是否方便添加对应功能。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.