【大数据开发运维解决方案】记一次同事不慎用root起动weblogic以及启动日志卡在The server started in RUNNING mode 问题解决过程

简介: 最近因为单位换了新版本HD集群,有一些业务数据存在于hive数据库中。而有一些Smartbi的报表数据源是连接的华为HD Hive,因为变更了集群,需要将SmartBi的数据源改为新集群的。我将Kerberos认证凭据和新版本Hive jdbc驱动以及新的jdbc连接串给了同事,也将实施文档给了同事,但是同事在操作完成后,Smarbi节点无法正常起来(后台日志卡在:The server started in RUNNING mode,Server state changed to RUNNING),要么起来了就是无法联通Hive。

项目背景

最近因为单位换了新版本HD集群,有一些业务数据存在于hive数据库中。而有一些Smartbi的报表数据源是连接的华为HD Hive,因为变更了集群,需要将SmartBi的数据源改为新集群的。我将Kerberos认证凭据和新版本Hive jdbc驱动以及新的jdbc连接串给了同事,也将实施文档给了同事,但是同事在操作完成后,Smarbi节点无法正常起来(后台日志卡在:The server started in RUNNING mode,Server state changed to RUNNING),要么起来了就是无法联通Hive。


问题现象及分析

问题现象

上面项目背景说了两个现象,接下来看一下具体表现:

  • SmartBi启动后测试连接无法联通Hive:

点击测试连接后经过长时间卡住等待,然后报:未知错误:WinInet error occurred.0,从后台看启动日志提示登录成功。

  • Smarbi启动后,日志卡在下面步骤:
<2023-02-10 16:03:53> <Notice> <Log Management> <BEA-170027> <The server has successfully established a connection with the Domain level Diagnostic Service.>
<2023-02-10 16:03:54> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN.>
<2023-02-10 16:03:54> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING.>
<2023-02-10 16:03:54> <Notice> <JMX> <BEA-149535> <JMX Resiliency Activity Server=All Servers : Resolving connection list DomainRuntimeServiceMBean>
<2023-02-10 16:03:54> <Warning> <Server> <BEA-002611> <The hostname "localhost", maps to multiple IP addresses: 127.0.0.1, 0:0:0:0:0:0:0:1.>
<2023-02-10 16:03:54> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
<2023-02-10 16:03:54> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on **********:7001 for protocols iiop, t3, ldap, snmp, http.>
<2023-02-10 16:03:54> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 0:0:0:0:0:0:0:1%lo:7001 for protocols iiop, t3, ldap, snmp, http.>
<2023-02-10 16:03:54> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on **************:7001 for protocols iiop, t3, ldap, snmp, http.>
<2023-02-10 16:03:54> <Notice> <WebLogicServer> <BEA-000329> <Started the WebLogic Server Administration Server "AdminServer" for domain "base_domain" runningin production mode.>
<2023-02-10 16:03:54> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
<2023-02-10 16:03:54> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on ********:7001 for protocols iiop, t3, ldap, snmp, http.>
<2023-02-10 16:03:54> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 0:0:0:0:0:0:0:1%lo:7001 for protocols iiop, t3, ldap, snmp, http.>
<2023-02-10 16:03:54> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on ************:7001 for protocols iiop, t3, ldap, snmp, http.>
<2023-02-10 16:03:54> <Notice> <WebLogicServer> <BEA-000360> <The server started in RUNNING mode.>
<2023-02-10 16:03:54> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.>

问题分析

经过分析,第一个报错是因为同事没有按照我的实施文档一步步操作,而是跳跃式捡重点做导致的,后来按照我的实施文档重新操作后没有再出现页面测试连接卡住的问题,而是报连接异常了。
再后来同事检查连接异常时候,重启SmartBi后,发现日志卡在第二个问题日志那里了,感觉很懵逼,于是找到了我。经过我的分析,weblogic本来一直是而且应该是Oracle用户运维,但是经过我检查weblog已经启动的进程,发现是root用户起来的!!!
也就是说他来回的用oracle&root来回切,切混了,用root起了weblogic然后又用oracle运维了一会的,那咋整?怎么进行恢复???
下面是我记录的恢复过程,供大家参考,毕竟是生产环境,小心为妙:


一、修改tmp和logs目录属主

[root-smartbi-newliwh bin]# cd /oracle/weblogic/user_projects/domains/base_domain/servers/AdminServer
[root-smartbi-newliwh AdminServer]# ll
total 4
drwxr-xr-x. 3 oracle oracle   25 Mar 30  2021 cache
drwxr-xr-x. 6 oracle oracle   58 Mar 30  2021 data
drwxr-xr-x. 3 oracle oracle 4096 Feb 10 12:00 logs
drwxrwxr-x. 2 oracle oracle   29 Mar 30  2021 security
drwxr-xr-x. 5 root   root     82 Feb 10 10:02 tmp

[root-smartbi-newliwh AdminServer]# chown -R oracle:oracle tmp
[root-smartbi-newliwh AdminServer]# cd logs/
[root-smartbi-newliwh logs]# ll
total 1265980
-rw-r--r--. 1 root   root     3057869 Feb 10 15:55 access.log
-rw-r--r--. 1 oracle oracle   5167276 Feb  7 23:59 access.log01303
-rw-r--r--. 1 oracle oracle   5020625 Feb  8 12:00 access.log01304
-rw-r--r--. 1 oracle oracle   5974375 Feb  8 23:59 access.log01305
-rw-r--r--. 1 oracle oracle   5816061 Feb  9 12:00 access.log01306
-rw-r--r--. 1 oracle oracle   3987454 Feb 10 00:00 access.log01307
-rw-r--r--. 1 root   root     4632038 Feb 10 12:00 access.log01308
-rw-r--r--. 1 root   root      619726 Feb 10 15:54 AdminServer.log
-rw-r--r--. 1 oracle oracle   1220805 Feb  8 11:58 AdminServer.log01327
-rw-r--r--. 1 oracle oracle   1400153 Feb  8 23:58 AdminServer.log01328
-rw-r--r--. 1 oracle oracle   7049410 Feb  9 11:58 AdminServer.log01329
-rw-r--r--. 1 oracle oracle   7514330 Feb  9 23:58 AdminServer.log01330
-rw-r--r--. 1 root   root   524288149 Feb 10 09:59 AdminServer.log01331
-rw-r--r--. 1 root   root    96098034 Feb 10 11:58 AdminServer.log01332
-rw-r--r--. 1 root   root      558574 Feb 10 15:49 base_domain.log
-rw-r--r--. 1 oracle oracle   1059795 Feb  8 11:24 base_domain.log01068
-rw-r--r--. 1 oracle oracle   1236267 Feb  8 19:40 base_domain.log01069
-rw-r--r--. 1 oracle oracle   2423907 Feb  9 11:27 base_domain.log01070
-rw-r--r--. 1 oracle oracle   1679914 Feb  9 20:19 base_domain.log01071
-rw-r--r--. 1 root   root   524288258 Feb 10 09:59 base_domain.log01072
-rw-r--r--. 1 root   root    93195017 Feb 10 11:27 base_domain.log01073
drwxr-xr-x. 2 oracle oracle         6 Mar 30  2021 diagnostic_images
[root-smartbi-newliwh logs]#  cd ..
[root-smartbi-newliwh AdminServer]# chown -R oracle:oracle logs

二、修改ldapfiles

[root-smartbi-newliwh AdminServer]# cd /oracle/weblogic/user_projects/domains/base_domain/servers/AdminServer/data/ldap/ldapfiles
[root-smartbi-newliwh ldapfiles]# ll
total 316
-rw-r--r--. 1 oracle oracle 225769 Feb 10 10:04 EmbeddedLDAP.data
-rw-r--r--. 1 oracle oracle    360 Nov  9  2021 EmbeddedLDAP.delete
-rw-r--r--. 1 oracle oracle   1044 Nov  9  2021 EmbeddedLDAP.index
-rw-r--r--. 1 oracle oracle      0 Feb 10 10:02 EmbeddedLDAP.lok
-rw-r--r--. 1 root   root    76197 Feb 10 10:04 EmbeddedLDAP.tran
-rw-r--r--. 1 oracle oracle      8 Feb 10 10:04 EmbeddedLDAP.trpos
-rw-r--r--. 1 oracle oracle      8 Feb 10 10:04 EmbeddedLDAP.twpos

[root-smartbi-newliwh ldapfiles]# chown -R oracle:oracle EmbeddedLDAP.lok
[root-smartbi-newliwh ldapfiles]# chown -R oracle:oracle EmbeddedLDAP.tran
[root-smartbi-newliwh ldapfiles]# ll
total 316
-rw-r--r--. 1 oracle oracle 225769 Feb 10 10:04 EmbeddedLDAP.data
-rw-r--r--. 1 oracle oracle    360 Nov  9  2021 EmbeddedLDAP.delete
-rw-r--r--. 1 oracle oracle   1044 Nov  9  2021 EmbeddedLDAP.index
-rw-r--r--. 1 oracle oracle      0 Feb 10 10:02 EmbeddedLDAP.lok
-rw-r--r--. 1 oracle oracle  76197 Feb 10 10:04 EmbeddedLDAP.tran
-rw-r--r--. 1 oracle oracle      8 Feb 10 10:04 EmbeddedLDAP.trpos
-rw-r--r--. 1 oracle oracle      8 Feb 10 10:04 EmbeddedLDAP.twpos

三、修改ldap/log

[root-smartbi-newliwh ldapfiles]#  cd /oracle/weblogic/user_projects/domains/base_domain/servers/AdminServer/data/ldap/log
[root-smartbi-newliwh log]# ll
total 0
-rw-r--r--. 1 root   root   0 Feb 10 00:10 EmbeddedLDAPAccess.log
-rw-r--r--. 1 oracle oracle 0 Feb  9 00:10 EmbeddedLDAPAccess.log.0
-rw-r--r--. 1 oracle oracle 0 Feb  8 00:10 EmbeddedLDAPAccess.log.1
-rw-r--r--. 1 oracle oracle 0 Feb  7 00:10 EmbeddedLDAPAccess.log.2
-rw-r--r--. 1 oracle oracle 0 Feb  6 00:10 EmbeddedLDAPAccess.log.3
-rw-r--r--. 1 oracle oracle 0 Feb  5 00:10 EmbeddedLDAPAccess.log.4
-rw-r--r--. 1 oracle oracle 0 Feb  4 00:10 EmbeddedLDAPAccess.log.5
-rw-r--r--. 1 oracle oracle 0 Feb  3 00:10 EmbeddedLDAPAccess.log.6
-rw-r--r--. 1 root   root   0 Feb 10 00:10 EmbeddedLDAP.log
-rw-r--r--. 1 oracle oracle 0 Feb  9 00:10 EmbeddedLDAP.log.0
-rw-r--r--. 1 oracle oracle 0 Feb  8 00:10 EmbeddedLDAP.log.1
-rw-r--r--. 1 oracle oracle 0 Feb  7 00:10 EmbeddedLDAP.log.2
-rw-r--r--. 1 oracle oracle 0 Feb  6 00:10 EmbeddedLDAP.log.3
-rw-r--r--. 1 oracle oracle 0 Feb  5 00:10 EmbeddedLDAP.log.4
-rw-r--r--. 1 oracle oracle 0 Feb  4 00:10 EmbeddedLDAP.log.5
-rw-r--r--. 1 oracle oracle 0 Feb  3 00:10 EmbeddedLDAP.log.6
[root-smartbi-newliwh log]#  chown  oracle:oracle EmbeddedLDAPAccess.log
[root-smartbi-newliwh log]#  chown  oracle:oracle EmbeddedLDAP.log
[root-smartbi-newliwh log]# ll
total 0
-rw-r--r--. 1 oracle oracle 0 Feb 10 00:10 EmbeddedLDAPAccess.log
-rw-r--r--. 1 oracle oracle 0 Feb  9 00:10 EmbeddedLDAPAccess.log.0
-rw-r--r--. 1 oracle oracle 0 Feb  8 00:10 EmbeddedLDAPAccess.log.1
-rw-r--r--. 1 oracle oracle 0 Feb  7 00:10 EmbeddedLDAPAccess.log.2
-rw-r--r--. 1 oracle oracle 0 Feb  6 00:10 EmbeddedLDAPAccess.log.3
-rw-r--r--. 1 oracle oracle 0 Feb  5 00:10 EmbeddedLDAPAccess.log.4
-rw-r--r--. 1 oracle oracle 0 Feb  4 00:10 EmbeddedLDAPAccess.log.5
-rw-r--r--. 1 oracle oracle 0 Feb  3 00:10 EmbeddedLDAPAccess.log.6
-rw-r--r--. 1 oracle oracle 0 Feb 10 00:10 EmbeddedLDAP.log
-rw-r--r--. 1 oracle oracle 0 Feb  9 00:10 EmbeddedLDAP.log.0
-rw-r--r--. 1 oracle oracle 0 Feb  8 00:10 EmbeddedLDAP.log.1
-rw-r--r--. 1 oracle oracle 0 Feb  7 00:10 EmbeddedLDAP.log.2
-rw-r--r--. 1 oracle oracle 0 Feb  6 00:10 EmbeddedLDAP.log.3
-rw-r--r--. 1 oracle oracle 0 Feb  5 00:10 EmbeddedLDAP.log.4
-rw-r--r--. 1 oracle oracle 0 Feb  4 00:10 EmbeddedLDAP.log.5
-rw-r--r--. 1 oracle oracle 0 Feb  3 00:10 EmbeddedLDAP.log.6

四、修改dynamicLibraryPath_temp/smartbiDynamicLib

cd /oracle/weblogic/user_projects/domains/base_domain/SmartBI/dynamicLibraryPath_temp/smartbiDynamicLib
chown -R oracle:oracle smartbiDynamicLib/

五、修改exts-smartbi及smartbi.log*

[root-smartbi-newliwh smartbiDynamicLib]# cd /oracle/weblogic/user_projects/domains/base_domain
[root-smartbi-newliwh base_domain]# ll
total 33095908
drwxr-x---.  2 oracle oracle          24 Dec 21  2017 autodeploy
drwxr-x---.  2 oracle oracle          31 Feb  3  2021 backup_config
drwxr-x---.  7 oracle oracle        4096 Feb 10 15:28 bin
drwxr-xr-x.  3 oracle oracle          16 Dec 21  2017 common
drwxr-x---.  9 oracle oracle         173 Feb 10 16:03 config
drwxr-xr-x.  2 oracle oracle          37 Feb  6 10:36 connpool-smartbi
drwxr-x---.  2 oracle oracle          24 Dec 21  2017 console-ext
-rw-r--r--.  1 oracle oracle         279 Dec 21  2017 derby.log
-rw-r--r--.  1 oracle oracle          84 Dec 21  2017 derbyShutdown.log
drwxr-xr-x.  4 oracle oracle          47 Sep  6  2021 dynamicLibraryPath
drwxrwxr-x.  2 oracle oracle           6 Apr 19  2021 dynamicLibraryPath1
-rw-r--r--.  1 oracle oracle         145 Feb 10 16:03 edit.lok
drwxr-xr-x. 33 root   root          4096 Feb 10 10:04 exts-smartbi
drwxr-xr-x. 24 oracle oracle        4096 Apr  9  2021 exts-smartbi2
-rw-r-----.  1 oracle oracle         327 Jul 19  2017 fileRealm.properties
drwxr-xr-x.  2 oracle oracle       12288 Jul  2  2021 Font-smartbi
drwxr-xr-x.  3 oracle oracle        4096 Feb 10 13:59 Index-smartbi
drwxr-x---.  3 oracle oracle        4096 Feb  3  2021 init-info
-rw-------.  1 oracle oracle 33793779559 Jan 11 09:26 java_pid52762.hprof
drwxr-x---.  2 oracle oracle          88 Sep  6  2018 lib
-rw-r--r--.  1 oracle oracle     3997271 Feb 10 10:04 MaskRule.log
drwxr-xr-x.  7 oracle oracle          81 Sep 27  2021 mlogs-smartbi
drwxr-x---.  2 oracle oracle          63 Dec 21  2017 nodemanager
drwxr-xr-x.  3 oracle oracle          22 Dec 21  2017 orchestration
drwxr-xr-x.  2 oracle oracle           6 Jan 23  2018 original
drwxr-xr-x.  2 oracle oracle           6 Jan 23  2018 pending
drwxr-x---.  2 oracle oracle           6 Jul 19  2017 resources
drwxr-x---.  2 oracle oracle         167 Mar 30  2021 security
drwxrwxr-x.  3 oracle oracle          25 Mar 30  2021 servers
-rw-r-----.  1 oracle oracle         236 Mar 30  2021 shutdown-AdminServer.py
drwxr-xr-x. 11 oracle oracle        4096 Feb 10 09:35 SmartBI
drwxr-xr-x.  4 oracle oracle         160 Mar 30  2021 SmartBI.bak
-rw-rw-r--.  1 oracle oracle        3519 Dec 20  2021 smartbi-config.xml
drwxr-xr-x.  2 oracle oracle        4096 Mar  3  2022 smartbi_extBackup
drwxr-xr-x.  2 oracle oracle           6 Feb 10 10:04 smartbi-ExtractData
-rw-r--r--.  1 oracle oracle       32534 Mar 31  2021 Smartbi-License.0331.xml
lrwxrwxrwx.  1 oracle oracle          78 Sep  6  2021 Smartbi-License.xml -> /oracle/weblogic/user_projects/domains/base_domain/SmartBI/Smartbi-License.xml
-rw-rw-r--.  1 oracle oracle       31368 Aug 30  2021 Smartbi-License.xml.bak
-rw-r--r--.  1 root   root      10108334 Feb 10 15:50 smartbi.log
-rw-r--r--.  1 root   root      10485851 Feb 10 09:58 smartbi.log.1
-rw-r--r--.  1 root   root      10485868 Feb 10 09:59 smartbi.log.2
-rw-r--r--.  1 root   root      10485849 Feb 10 09:59 smartbi.log.3
-rw-r--r--.  1 root   root      10485851 Feb 10 10:00 smartbi.log.4
-rw-r--r--.  1 root   root      10485798 Feb 10 10:01 smartbi.log.5
lrwxrwxrwx.  1 oracle oracle          77 Feb  3  2021 smartbi.properties -> /oracle/weblogic/user_projects/domains/base_domain/SmartBI/smartbi.properties
drwxr-xr-x.  2 oracle oracle        4096 Mar  3  2022 smartbi_repoBackup
drwxr-xr-x.  2 oracle oracle        4096 Feb 10 05:00 SmartBI_repoBackup
-rw-r--r--.  1 oracle oracle       51104 Aug 24 10:59 Smartbi-security.patches
drwxr-xr-x.  2 oracle oracle        4096 Mar  3  2022 smartbi_warBackup
-rw-r--r--.  1 oracle oracle    10500466 Sep 28  2021 smartbix.1.log
-rw-r--r--.  1 oracle oracle    10497773 Nov 10  2021 smartbix.2.log
-rw-r--r--.  1 oracle oracle     8640504 Aug 19 14:19 smartbix.log
-rwxr-x---.  1 oracle oracle         266 Dec 21  2017 startWebLogic.sh
drwxr-xr-x.  2 oracle oracle          35 Jun  5  2019 tmp
-rw-r--r--.  1 oracle oracle        2540 Feb 10 10:03 tmp_ehcache.xml
[root-smartbi-newliwh base_domain]# chown -R oracle:oracle exts-smartbi
[root-smartbi-newliwh base_domain]# chown oracle:oracle smartbi.log
[root-smartbi-newliwh base_domain]# chown oracle:oracle smartbi.log.1
[root-smartbi-newliwh base_domain]# chown oracle:oracle smartbi.log.2
[root-smartbi-newliwh base_domain]# chown oracle:oracle smartbi.log.3
[root-smartbi-newliwh base_domain]# chown oracle:oracle smartbi.log.4
[root-smartbi-newliwh base_domain]# chown oracle:oracle smartbi.log.5
[root-smartbi-newliwh base_domain]# ll
total 33095904
drwxr-x---.  2 oracle oracle          24 Dec 21  2017 autodeploy
drwxr-x---.  2 oracle oracle          31 Feb  3  2021 backup_config
drwxr-x---.  7 oracle oracle        4096 Feb 10 15:28 bin
drwxr-xr-x.  3 oracle oracle          16 Dec 21  2017 common
drwxr-x---.  9 oracle oracle         173 Feb 10 16:06 config
drwxr-xr-x.  2 oracle oracle          37 Feb  6 10:36 connpool-smartbi
drwxr-x---.  2 oracle oracle          24 Dec 21  2017 console-ext
-rw-r--r--.  1 oracle oracle         279 Dec 21  2017 derby.log
-rw-r--r--.  1 oracle oracle          84 Dec 21  2017 derbyShutdown.log
drwxr-xr-x.  4 oracle oracle          47 Sep  6  2021 dynamicLibraryPath
drwxrwxr-x.  2 oracle oracle           6 Apr 19  2021 dynamicLibraryPath1
-rw-r--r--.  1 oracle oracle         145 Feb 10 16:06 edit.lok
drwxr-xr-x. 24 oracle oracle        4096 Apr  9  2021 exts-smartbi2
-rw-r-----.  1 oracle oracle         327 Jul 19  2017 fileRealm.properties
drwxr-xr-x.  2 oracle oracle       12288 Jul  2  2021 Font-smartbi
drwxr-xr-x.  3 oracle oracle        4096 Feb 10 13:59 Index-smartbi
drwxr-x---.  3 oracle oracle        4096 Feb  3  2021 init-info
-rw-------.  1 oracle oracle 33793779559 Jan 11 09:26 java_pid52762.hprof
drwxr-x---.  2 oracle oracle          88 Sep  6  2018 lib
-rw-r--r--.  1 oracle oracle     3997271 Feb 10 10:04 MaskRule.log
drwxr-xr-x.  7 oracle oracle          81 Sep 27  2021 mlogs-smartbi
drwxr-x---.  2 oracle oracle          63 Dec 21  2017 nodemanager
drwxr-xr-x.  3 oracle oracle          22 Dec 21  2017 orchestration
drwxr-xr-x.  2 oracle oracle           6 Jan 23  2018 original
drwxr-xr-x.  2 oracle oracle           6 Jan 23  2018 pending
drwxr-x---.  2 oracle oracle           6 Jul 19  2017 resources
drwxr-x---.  2 oracle oracle         167 Mar 30  2021 security
drwxrwxr-x.  3 oracle oracle          25 Mar 30  2021 servers
-rw-r-----.  1 oracle oracle         236 Mar 30  2021 shutdown-AdminServer.py
drwxr-xr-x. 11 oracle oracle        4096 Feb 10 09:35 SmartBI
drwxr-xr-x.  4 oracle oracle         160 Mar 30  2021 SmartBI.bak
-rw-rw-r--.  1 oracle oracle        3519 Dec 20  2021 smartbi-config.xml
drwxr-xr-x.  2 oracle oracle        4096 Mar  3  2022 smartbi_extBackup
drwxr-xr-x.  2 oracle oracle           6 Feb 10 10:04 smartbi-ExtractData
-rw-r--r--.  1 oracle oracle       32534 Mar 31  2021 Smartbi-License.0331.xml
lrwxrwxrwx.  1 oracle oracle          78 Sep  6  2021 Smartbi-License.xml -> /oracle/weblogic/user_projects/domains/base_domain/SmartBI/Smartbi-License.xml
-rw-rw-r--.  1 oracle oracle       31368 Aug 30  2021 Smartbi-License.xml.bak
-rw-r--r--.  1 oracle oracle    10108334 Feb 10 15:50 smartbi.log
-rw-r--r--.  1 oracle oracle    10485851 Feb 10 09:58 smartbi.log.1
-rw-r--r--.  1 oracle oracle    10485868 Feb 10 09:59 smartbi.log.2
-rw-r--r--.  1 oracle oracle    10485849 Feb 10 09:59 smartbi.log.3
-rw-r--r--.  1 oracle oracle    10485851 Feb 10 10:00 smartbi.log.4
-rw-r--r--.  1 oracle oracle    10485798 Feb 10 10:01 smartbi.log.5
lrwxrwxrwx.  1 oracle oracle          77 Feb  3  2021 smartbi.properties -> /oracle/weblogic/user_projects/domains/base_domain/SmartBI/smartbi.properties
drwxr-xr-x.  2 oracle oracle        4096 Mar  3  2022 smartbi_repoBackup
drwxr-xr-x.  2 oracle oracle        4096 Feb 10 05:00 SmartBI_repoBackup
-rw-r--r--.  1 oracle oracle       51104 Aug 24 10:59 Smartbi-security.patches
drwxr-xr-x.  2 oracle oracle        4096 Mar  3  2022 smartbi_warBackup
-rw-r--r--.  1 oracle oracle    10500466 Sep 28  2021 smartbix.1.log
-rw-r--r--.  1 oracle oracle    10497773 Nov 10  2021 smartbix.2.log
-rw-r--r--.  1 oracle oracle     8640504 Aug 19 14:19 smartbix.log
-rwxr-x---.  1 oracle oracle         266 Dec 21  2017 startWebLogic.sh
drwxr-xr-x.  2 oracle oracle          35 Jun  5  2019 tmp
-rw-r--r--.  1 oracle oracle        2540 Feb 10 10:03 tmp_ehcache.xml

[root-smartbi-newliwh base_domain]# cd /oracle/weblogic/user_projects/domains/base_domain/mlogs-smartbi/sql/
[root-smartbi-newliwh sql]# ll
total 88
-rw-r--r--. 1 root root 87982 Feb 10 15:12 sqls.log
[root-smartbi-newliwh sql]# chown oracle:oracle sqls.log
[root-smartbi-newliwh sql]# ll
total 88
-rw-r--r--. 1 oracle oracle 87982 Feb 10 15:12 sqls.log

修改完成后,重启weblogic,成功启动,Smartbi节点正常访问!!!


总结

本次博客记录的是一次同事不慎用root起了weblogic的生产事故解决过程。其实解决过程并不复杂,只需要将相关文件目录属主等改为oracle用户。因为是生产环境,我没有用chown -R oracle:oracle *的方式直接将整个安装目录赋予权限。毕竟是生产环境,小心为妙!!!

相关实践学习
基于MaxCompute的热门话题分析
Apsara Clouder大数据专项技能认证配套课程:基于MaxCompute的热门话题分析
相关文章
|
9月前
|
数据采集 存储 大数据
大数据之路:阿里巴巴大数据实践——日志采集与数据同步
本资料全面介绍大数据处理技术架构,涵盖数据采集、同步、计算与服务全流程。内容包括Web/App端日志采集方案、数据同步工具DataX与TimeTunnel、离线与实时数仓架构、OneData方法论及元数据管理等核心内容,适用于构建企业级数据平台体系。
857 1
|
10月前
|
人工智能 OLAP 数据处理
解锁数仓内AI流水线,AnalyticDB Ray基于多模ETL+ML提效开发与运维
AnalyticDB Ray 是AnalyticDB MySQL 推出的全托管Ray服务,基于开源 Ray 的丰富生态,经过多模态处理、具身智能、搜索推荐、金融风控等场景的锤炼,对Ray内核和服务能力进行了全栈增强。
|
9月前
|
数据采集 人工智能 大数据
10倍处理效率提升!阿里云大数据AI平台发布智能驾驶数据预处理解决方案
阿里云大数据AI平台推出智能驾驶数据预处理解决方案,助力车企构建高效稳定的数据处理流程。相比自建方案,数据包处理效率提升10倍以上,推理任务提速超1倍,产能翻番,显著提高自动驾驶模型产出效率。该方案已服务80%以上中国车企,支持多模态数据处理与百万级任务调度,全面赋能智驾技术落地。
1281 0
|
9月前
|
SQL 运维 自然语言处理
Dataphin智能化重磅升级!编码难题一扫光,开发运维更高效!
Dataphin重磅推出三大核心智能化能力:智能代码助手提升SQL开发效率;智能运维助手实现移动化任务管理;智能分析通过自然语言生成SQL,助力数据价值释放。未来将持续开放智能ETL、安全助手等能力,助力企业构建高效、稳定的数据资产体系。
660 0
|
6月前
|
数据采集 缓存 大数据
【赵渝强老师】大数据日志采集引擎Flume
Apache Flume 是一个分布式、可靠的数据采集系统,支持从多种数据源收集日志信息,并传输至指定目的地。其核心架构由Source、Channel、Sink三组件构成,通过Event封装数据,保障高效与可靠传输。
383 1
|
人工智能 运维 安全
AI大模型运维开发探索第四篇:智能体分阶段演进路线
本文探讨了智能体工程的演进历程,从最初的思维链(智能体1.0)到实例化智能体(智能体2.0),再到结构化智能体(智能体3.0),最终展望了自演进智能体(智能体4.0)。文章详细分析了各阶段遇到的问题及解决策略,如工具调用可靠性、推理能力提升等,并引入了大模型中间件的概念以优化业务平台与工具间的协调。此外,文中还提到了RunnableHub开源项目,为读者提供了实际落地的参考方案。通过不断迭代,智能体逐渐具备更强的适应性和解决问题的能力,展现了未来AI发展的潜力。
|
9月前
|
敏捷开发 运维 数据可视化
DevOps看板工具中的协作功能:如何打破开发、测试与运维之间的沟通壁垒
在DevOps实践中,看板工具通过可视化任务管理和自动化流程,提升开发与运维团队的协作效率。它支持敏捷开发、持续交付,助力团队高效应对需求变化,实现跨职能协作与流程优化。
|
9月前
|
人工智能 运维 自然语言处理
首个智能体模型实测:产品、开发、运维“全包了”
2025年,AI进入“动手”时代。智谱发布新一代大模型GLM-4.5,全球排名第三、国产第一,专为智能体设计,融合推理、编码与智能体能力,实现自主规划与执行任务。通过8个Demo展示其强大能力,涵盖网页设计、课件制作、小游戏开发等,展现其“带手的脑”特性,推动AI从实验室走向真实场景。
451 0
|
传感器 监控 大数据
指挥学校大数据系统解决方案
本系统集成九大核心平台,包括中心化指挥、数据处理、学生信息、反校园欺凌大数据、智慧课堂、学生行为综合、数据交换及其他外部系统云平台。通过这些平台,系统实现对学生行为、课堂表现、校园安全等多维度的实时监控与数据分析,为教育管理、执法机关、心理辅导等提供强有力的数据支持。特别地,反校园欺凌平台利用多种传感器和智能设备,确保及时发现并处理校园霸凌事件,保障学生权益。同时,系统还涵盖超市、食堂、图书馆、消防安全等辅助云平台,全面提升校园智能化管理水平。
下一篇
开通oss服务