service smb status
pidof: invalid options on command line!
pidof: invalid options on command line!
-l 已停
的确有问题,启动不了。 service smb status
smbd 已停
nmbd 已停
service smb start
Starting SMB services: [确定]
Starting NMB services: [确定]
service smb restart
Shutting down SMB services: [确定]
Shutting down NMB services: [确定]
Starting SMB services: [确定]
Starting NMB services: [确定] 是否因为系统里某些部件是用旧版本GCC编译的?
本座从2.5.16的基础上把okular和poppler相关的包升级了。之后okular打不开PDF。然后本座重新编译了poppler和okular,就又可以打开PDF了。
原帖由 haulm 于 2012-12-9 09:26 发表 http://forum.linuxfans.org/images/common/back.gif
换 2.6.0 测试版吧, gcc glibc 是不能从线上正常更新的,虚拟机还是用 VBOX 吧。
Some kind of successfully upgrade glibc and gcc online
For your infomation.I tried upgrade glibc and gcc online.
After upgrading these two softwares,I reboot and got error "/etc/sysconfig/i18n: line 2: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF8)". That prevented wicd from working properly. And I got no network connection.
I tried to figure out what is wrong. The command "localedef --list-archive" told me that the only availabe locale is "aa_DJ.iso88591" .
I then wondered around and found that thefile "/usr/lib/locale/locale-archive" is rather small,just 340.6KB. And at the same time,there is a file "/usr/lib/locale/locale-archive.tmpl" , that is rather big, about 99.9MB. By the name, it maight mean "temporary file". So I tried renaming it to be "/usr/lib/locale/locale-archive" , then , wonderful , I can start wicd and connect to the internet. This message is written right after I made the connection.
So far , so good . The only thing not good is that my locale falled back into English.I can't type chinese now.But I'm too excited to type this message later.
So, I'm wondering . The cause of not able to upgrade glic and gcc online may be that "some script does not handle locale-arcive.tmpl properly"?
原帖由 hxcan 于 2012-12-22 09:03 发表 http://forum.linuxfans.org/images/common/back.gif
是否因为系统里某些部件是用旧版本GCC编译的?
本座从2.5.16的基础上把okular和poppler相关的包升级了。之后okular打不开PDF。然后本座重新编译了poppler和okular,就又可以打开PDF了。
... /usr/lib/locale/locale-archive 有可能在更新后丢失了吧,系统初装 /usr/lib/locale/locale-archive 是 99.9M。那个脚本应该是放在 glibc-common,需要单独再安装一次或者执行它的 post 脚本。 又重启了一次,语言也恢复正常了。
也就是说升级了glibc之后别忘记手动执行一次build-locale-archive就可以了吗?
原帖由 haulm 于 2013-1-10 12:44 发表 http://forum.linuxfans.org/images/common/back.gif
/usr/lib/locale/locale-archive 有可能在更新后丢失了吧,系统初装 /usr/lib/locale/locale-archive 是 99.9M。那个脚本应该是放在 glibc-common,需要单独再安装一次或者执行它的 post 脚本。 ... 原帖由 hxcan 于 2013-1-10 13:20 发表 http://forum.linuxfans.org/images/common/back.gif
又重启了一次,语言也恢复正常了。
也就是说升级了glibc之后别忘记手动执行一次build-locale-archive就可以了吗?
今天翻新系统时又遇到这个问题,原有印象但是找了半天这个帖子。。。
天,locale-archive 这个文件 glibc 2.16 不知道为什么没有正确生成,就连 en_US 都认不到,我最后只能找到旧版的 glibc-common 把 locale-archive 强行安装到新版本中。
页:
1
[2]