Linux Server为什么无法启动NaviAgent

当我们在Linux Server中启动NaviAgent的时候出现报错的情况是怎么回事呢?
你知道Linux Server为什么无法启动NaviAgent吗?
下面我们就针对这个问题一起去看看解决方法吧。

 

1. 修改/etc/Navisphere/agent.config,添加如下两行。
    system@xxx.xxx.xxx.xxx                                 #SPA IP Address
    system@xxx.xxx.xxx.xxx                                 #SPB IP Address
2. 启动NaviAgent服务时,显示失败。
    [root@chais Navisphere]# /etc/init.d/naviagent start
    Starting Navisphere agent:                                 [FAILED]
3. 修改/etc/hosts如下。
    [root@chais Navisphere]# vi /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    #127.0.0.1          localhost.localdomain       localhost
    xxx.xxx.xxx.xxx    testchs.corp.com      testchs
3. 重新启动Naviagent,成功。
    [root@chais Navisphere]# /etc/init.d/naviagent start
    Starting Navisphere agent:                                 [  OK  ]
又一篇:
今天遇到一个小问题,一台linux主机修改hostname后就无法启动naviagent服务了
[root@server3]# service naviagent start
Starting Navisphere agent: [FAILED]
查看/var/log/messages,看到如下信息:
Sep  3 13:29:45 server3 Navisphere Agent[12662]: Agent Main -- Net or File event. Err: Local hostname/address mapping unknown; see installation notes
Sep  3 13:32:49 server3 Navisphere Agent[12782]: Agent Main -- Net or File event. Err: Local hostname/address mapping unknown; see installation notes
Sep  3 13:34:25 server3 Navisphere Agent[12858]: Agent Main -- Net or File event. Err: Local hostname/address mapping unknown; see installation notes
查看/etc/sysconfig/network:
[root@server3]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=server3
查看/etc/hosts:
[root@server3]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               server1 localhost.localdomain localhost
原来是系统管理员只改了/etc/sysconfig/network而没有修改/etc/hosts造成的
修改/etc/hosts之后,再启动服务:
[root@server3]# service naviagent start
Starting Navisphere agent: [  OK  ]
这样就好了
看完后你知道Linux Server为什么无法启动NaviAgent了吗?
如果你也遇到这个情况的话不妨试试小编为大家介绍的方法吧。


我司美国精美的ip:
104.233.194.14
104.233.194.15
104.233.194.16
104.233.194.17
104.233.194.18
104.233.194.19
104.233.194.20
104.233.194.21
104.233.194.22
104.233.194.23
104.233.194.24
104.233.194.25
104.233.194.26
104.233.194.27
104.233.194.28
104.233.194.29
104.233.194.30
104.233.194.31
104.233.194.32
104.233.194.33
104.233.194.34
104.233.194.35
104.233.194.36
104.233.194.37
104.233.194.38
104.233.194.39
104.233.194.40
104.233.194.41
104.233.194.42
104.233.194.43
104.233.194.44
104.233.194.45
104.233.194.46
104.233.194.47
104.233.194.48
104.233.194.49
104.233.194.50
104.233.194.51
104.233.194.52
104.233.194.53
104.233.194.54
104.233.194.55
104.233.194.56
104.233.194.57
104.233.194.58
104.233.194.59
104.233.194.60
104.233.194.61
104.233.194.62
104.233.194.63
104.233.194.64
104.233.194.65
104.233.194.66
104.233.194.67
104.233.194.68
104.233.194.69
104.233.194.70
104.233.194.71
104.233.194.72
104.233.194.73
104.233.194.74
104.233.194.75
104.233.194.76
104.233.194.77
104.233.194.78
104.233.194.79
104.233.194.80
104.233.194.81
104.233.194.82
104.233.194.83
104.233.194.84
104.233.194.85
104.233.194.86
104.233.194.87
104.233.194.88
104.233.194.89
104.233.194.90
104.233.194.91
104.233.194.92
104.233.194.93
104.233.194.94
104.233.194.95
104.233.194.96
104.233.194.97
104.233.194.98
104.233.194.99
104.233.194.100
104.233.194.101
104.233.194.102
104.233.194.103
104.233.194.104
104.233.194.105
104.233.194.106
104.233.194.107
104.233.194.108
104.233.194.109
104.233.194.110
104.233.194.111
104.233.194.112
104.233.194.113
104.233.194.114
104.233.194.115
104.233.194.116
104.233.194.117
104.233.194.118
104.233.194.119
104.233.194.120
104.233.194.121
104.233.194.122
104.233.194.123
104.233.194.124
104.233.194.125
104.233.194.126
104.233.194.127
104.233.194.128
104.233.194.129
104.233.194.130
104.233.194.131
104.233.194.132
104.233.194.133
104.233.194.134
104.233.194.135
104.233.194.136
104.233.194.137
104.233.194.138
104.233.194.139
104.233.194.140
104.233.194.141
104.233.194.142
104.233.194.143
104.233.194.144
104.233.194.145
104.233.194.146
104.233.194.147
104.233.194.148
104.233.194.149
104.233.194.150
104.233.194.151
104.233.194.152
104.233.194.153
104.233.194.154
104.233.194.155
104.233.194.156
104.233.194.157
104.233.194.158
104.233.194.159
104.233.194.160
104.233.194.161
104.233.194.162
104.233.194.163
104.233.194.164
104.233.194.165
104.233.194.166
104.233.194.167
104.233.194.168
104.233.194.169
104.233.194.170
104.233.194.171
104.233.194.172
104.233.194.173
104.233.194.174
104.233.194.175
104.233.194.176
104.233.194.177
104.233.194.178
104.233.194.179
104.233.194.180
104.233.194.181
104.233.194.182
104.233.194.183
104.233.194.184
104.233.194.185
104.233.194.186
104.233.194.187
104.233.194.188
104.233.194.189
104.233.194.190
104.233.194.191
104.233.194.192
104.233.194.193
104.233.194.194
104.233.194.195
104.233.194.196
104.233.194.197
104.233.194.198
104.233.194.199
104.233.194.200
104.233.194.201
104.233.194.202
104.233.194.203
104.233.194.204
104.233.194.205
104.233.194.206
104.233.194.207
104.233.194.208
104.233.194.209
104.233.194.210
104.233.194.211
104.233.194.212
104.233.194.213
104.233.194.214
104.233.194.215
104.233.194.216
104.233.194.217
104.233.194.218
104.233.194.219
104.233.194.220
104.233.194.221
104.233.194.222
104.233.194.223
104.233.194.224
104.233.194.225
104.233.194.226
104.233.194.227
104.233.194.228
104.233.194.229
104.233.194.230
104.233.194.231
104.233.194.232
104.233.194.233
104.233.194.234
104.233.194.235
104.233.194.236
104.233.194.237
104.233.194.238
104.233.194.239
104.233.194.240
104.233.194.241
104.233.194.242
104.233.194.243
104.233.194.244
104.233.194.245
104.233.194.246
104.233.194.247
104.233.194.248
104.233.194.249
104.233.194.250
104.233.194.251
104.233.194.252
104.233.194.253
104.233.194.254
104.233.194.255

Linux Server为什么无法启动NaviAgent

上一篇:进程管理


下一篇:sql 指令