标签:sage tar directory hang example change start.s libc red
(1)到/conf目录下,找到kairosdb.properties,修改datastore为cassandra
(3) 设置用户名密码
一、安装glibc-2.14
1
2
3
4
5
6
7
8
9
10
|
[root@jrgc130 ~] # wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz [root@jrgc130 ~] # mv glibc-2.14.tar.gz /opt/software [root@jrgc130 ~] # cd /opt/software [root@jrgc130 software] # tar xf glibc-2.14.tar.gz [root@jrgc130 software] # cd glibc-2.14 [root@jrgc130 glibc-2.14] # mkdir build [root@jrgc130 glibc-2.14] # cd build [root@jrgc130 build] # ../configure --prefix=/usr/local/glibc-2.14 [root@jrgc130 build] # make -j4 [root@jrgc130 build] # make install |
二、拷贝链接库
三、创建链接
此后会报如下错误:
1
|
ls : error while loading shared libraries: libc.so.6: cannot open shared object file : No such file or directory |
解决方法:
四、查看支持的版本
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
[root@jrgc130 lib64] # strings /lib64/libc.so.6 |grep GLIBC GLIBC_2.2.5 GLIBC_2.2.6 GLIBC_2.3 GLIBC_2.3.2 GLIBC_2.3.3 GLIBC_2.3.4 GLIBC_2.4 GLIBC_2.5 GLIBC_2.6 GLIBC_2.7 GLIBC_2.8 GLIBC_2.9 GLIBC_2.10 GLIBC_2.11 GLIBC_2.12 GLIBC_2.13 GLIBC_2.14 GLIBC_PRIVATE |
通过ssh连接会报如下错误:
1
2
3
4
5
|
- bash : warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory - bash : warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): No such file or directory - bash : warning: setlocale: LC_MESSAGES: cannot change locale (en_US.UTF-8): No such file or directory - bash : warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8): No such file or directory - bash : warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8): No such file or directory |
解决方法:
1
2
3
4
5
|
[root@example ~] # vim /etc/environment LANG=en_US.utf-8 LC_ALL= [root@example ~] # source /etc/environment [root@example ~] # localedef -v -c -i en_US -f UTF-8 en_US.UTF-8 |
cassandra中
vi cassandra.yaml
vi cassandra-topology.properties
vi cassandra-rackdc.properties
kairosdb中kairosdb.datastore.cassandra.host_list改成多ip形式
vi kairosdb.properties
Cassandra连接
./cqlsh -u cassandra -p cassandra 172.16.103.127
标签:sage tar directory hang example change start.s libc red
原文地址:http://www.cnblogs.com/chenjiazhu/p/7424975.html