top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

character set problem on centos

0 votes
273 views

I installed a new CentOS server (6.4 x86_64), and when I try to log into phpmyadmin, there's an ERROR:
Can't initialize character set utf-8 (path: /usr/local/mysql/share/charsets/)

BTW: Everytime I logged into system, I got:
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
and I cannot find locale-gen on my system, the latest version of glibc is installed.

# rpm -qa | grep glibc
glibc-devel-2.12-1.107.el6.x86_64
glibc-2.12-1.107.el6.x86_64
glibc-headers-2.12-1.107.el6.x86_64
glibc-common-2.12-1.107.el6.x86_64

and here's the output of locale command:

# locale
LANG=en_US
LC_CTYPE="en_US.utf-8"
LC_NUMERIC="en_US.utf-8"
LC_TIME="en_US.utf-8"
LC_COLLATE="en_US.utf-8"
LC_MONETARY="en_US.utf-8"
LC_MESSAGES="en_US.utf-8"
LC_PAPER="en_US.utf-8"
LC_NAME="en_US.utf-8"
LC_ADDRESS="en_US.utf-8"
LC_TELEPHONE="en_US.utf-8"
LC_MEASUREMENT="en_US.utf-8"
LC_IDENTIFICATION="en_US.utf-8"
LC_ALL=en_US.utf-8

How to resolve those two problems?(or maybe they are the same problem?)

posted Jun 11, 2013 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
0 votes

I have a problem with unix-samba password sync. It just doesnt work, when i use smbpasswd it changes only samba password, and not the unix password. In logs i cant find any error about passwd. Samba ver is 3.6.9-151.

Here is [global] in my smb.conf

[global]
workgroup = WORKGROUP
security = user
encrypt passwords = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New password* %nn *new password* %nn *success*
debug level = 100
passwd chat debug = yes
+1 vote

We can permanently set hostname using hostnamectl set-hostname. How can we permanently set domain name in CentOS 7?
I found an article (http://unix.stackexchange.com/questions/239920/how-to-set-the-fully-qualified-hostname-on-centos-7-0 ) that recommended setting FQDN using hostnamectl. Is that the right way to set hostname and domainname at the same time using hostnamectl set-hostname command?

Running hostnamectl set-hostname will set the hostname in /etc/hostname but it doesn't change /etc/hosts. What's the proper way of adding hostname and FQDN to /etc/hosts in CentOS 7?

+1 vote

When I use multi-home function to setup link between 2 fedora 18 hosts, I can not use sctp_sendmsg to send any message and return error "Invalid Parameters" . but the same program runs well in Centos 6.

And the most wired thing is when I run Server side in centos and run Client side in fedora, I have the problem, but everything is fine when I run client side in centos but run server side on fedora.

Does anyone has the same problem?

0 votes

I've installed CentOS 7 in a KVM powered VM on my CentOS 6 desktop. I'm not getting any sound.
Google seams to have no clue what to do. How about you?

...