自动定时登陆oracle

搬瓦工机场JMS

加入了执行日志.??
—-
https://github.com/TestSmirk/oracleLogin
感谢各位大佬.
河南网友:什么二次验证啊
上海网友:楼主。有没详细的流程。。。
新疆网友:怎么用
四川网友:大佬,牛批
香港网友:大佬啊 甲骨文都被撸死了
黑龙江网友:大佬,支持一下二次认证
重庆网友:OTP,2FA,一次性密码,两步认证,动态安全码,这东西名字太多了。
内蒙古网友:Mark
重庆网友:怎么服用?
贵州网友:大佬牛逼(破音
黑龙江网友:大佬牛逼(破音
上海网友:感谢大佬
台湾网友:Error: Cannot find module ‘puppeteer’
贵州网友:安装chromium显示

npm WARN [email protected] No repository field.

npm install chromium

> [email protected] postinstall /root/oracleLogin/oracleLogin/node_modules/chromium
> node install.js

Step 1. Retrieving Chromium latest revision number
Step 2. Downloading Chromium (this might take a while)
Step 3. Setting up Chromium binaries
Process is successfully finished
npm WARN [email protected] No repository field.

+ [email protected]
updated 1 package and audited 48 packages in 9.49s
found 0 vulnerabilities

云南网友:为什么你这么优秀
湖南网友:怎么确认是否登录成功?
江苏网友:没报错就成功了啊.
云南网友:楼主可以稍稍改一下,登录成功后自动保存一张网站截图吧,,我就这么干的
台湾网友:执行完node oracle.js就没反映了,是成功了还是失败了
西藏网友:大佬太牛逼了
甘肃网友:大佬太牛逼了
宁夏网友:大佬,加个什么代码可以保存截图?

另外这个脚本的日志在哪看
江苏网友:可以随机时间登陆不,固定时间登陆我觉得不太好呀~
随机时间范围可以大一些~
甘肃网友:楼主。有没详细的流程。。。
上海网友:
下载完 刚要配置 看了下README 发现 好像有问题呀,没有各地区小鸡的配置啊 只有tetnet和账号密码

对不起 oracle.js里有 readme没写而已
新疆网友:楼主 出现这个问题咋办

  1. (node:11253) UnhandledPromiseRejectionWarning: Error: Failed to launch chrome!
  2. /root/oracleLogin/node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/chrome: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory
  3. TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
  4.     at onClose (/root/oracleLogin/node_modules/puppeteer/lib/Launcher.js:348:14)
  5.     at Interface.<anonymous> (/root/oracleLogin/node_modules/puppeteer/lib/Launcher.js:337:50)
  6.     at Interface.emit (events.js:215:7)
  7.     at Interface.close (readline.js:403:8)
  8.     at Socket.onend (readline.js:180:10)
  9.     at Socket.emit (events.js:215:7)
  10.     at endReadableNT (_stream_readable.js:1183:12)
  11.     at processTicksAndRejections (internal/process/task_queues.js:80:21)
  12. (node:11253) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
  13. (node:11253) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

复制代码
虽然感觉跟楼主代码没关系。。。
台湾网友:apt 或者 yum  install 一下 libXcomposite.x86_64
江西网友:
谢谢 大佬 我这样子装了好几个
直到

  1. /root/oracleLogin/node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/chrome: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

复制代码
yum 里面没有libXss…. 这都是什么组件…

我百度了下 yum install libXScrnSaver* 执行这个就全装完了好像
广西网友:大佬. 那我也不知道咋整了. 这个chrome 不支持 openvz
内蒙古网友:我用oracle机器装的 现在好用了 知道解决思路了 就好解决了   多谢楼主指点
台湾网友:我用oracle机器装的 现在好用了 知道解决思路了 就好解决了   多谢楼主指点
内蒙古网友:看我和楼主的历史回复啊 一步一步安装上来的  我都把安装的方法贴上去了
浙江网友:6666666666666
江苏网友:你这一个“知道解决思路了”get不到点啊
贵州网友:一个一个yum 然后 yum不上的时候 yum install libXScrnSaver*用这个

未经允许不得转载:美国VPS_搬瓦工CN2 GIA VPS » 自动定时登陆oracle

赞 (0) 打赏

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏