komische fehler..

mbk

New Member
hallo,

Ich habe mir hete einen v-server bei hosteurope gekauft und Debian ohne Plesk genomen.

Jetzt wenn ich z.b. den apche instalieren:

Code:
apt-get -y install libapache2-mod-php5 php5-cli php5-common php5-cgi

Dann kommt ganz viel mit fehler, das am meisten;
Code:
   are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously deselected package libxml2.

hier das ganze:

Code:
lvps87-230-25-86:~# apt-get -y install libapache2-mod-php5 php5-cli php5-common php5-cgi
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  libxml2
Suggested packages:
  php-pear
Recommended packages:
  xml-core
The following NEW packages will be installed:
  libapache2-mod-php5 libxml2 php5-cgi php5-cli php5-common
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.5MB of archives.
After unpacking 23.3MB of additional disk space will be used.
Get:1 ftp://ftp.hosteurope.de etch/updates/main libxml2 2.6.27.dfsg-2 [755kB]
Get:2 ftp://ftp.hosteurope.de etch/updates/main php5-common 5.2.0-8+etch10 [215kB]
Get:3 ftp://ftp.hosteurope.de etch/updates/main libapache2-mod-php5 5.2.0-8+etch10 [2413kB]
Get:4 ftp://ftp.hosteurope.de etch/updates/main php5-cgi 5.2.0-8+etch10 [4756kB]
Get:5 ftp://ftp.hosteurope.de etch/updates/main php5-cli 5.2.0-8+etch10 [2397kB]
Fetched 10.5MB in 1s (5721kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously deselected package libxml2.
(Reading database ... 22077 files and directories currently installed.)
Unpacking libxml2 (from .../libxml2_2.6.27.dfsg-2_i386.deb) ...
Selecting previously deselected package php5-common.
Unpacking php5-common (from .../php5-common_5.2.0-8+etch10_i386.deb) ...
Selecting previously deselected package libapache2-mod-php5.
Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.2.0-8+etch10_i386.deb) ...
Selecting previously deselected package php5-cgi.
Unpacking php5-cgi (from .../php5-cgi_5.2.0-8+etch10_i386.deb) ...
Selecting previously deselected package php5-cli.
Unpacking php5-cli (from .../php5-cli_5.2.0-8+etch10_i386.deb) ...
Setting up libxml2 (2.6.27.dfsg-2) ...

Setting up php5-common (5.2.0-8+etch10) ...
Setting up libapache2-mod-php5 (5.2.0-8+etch10) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Creating config file /etc/php5/apache2/php.ini with new version
Forcing reload of web server (apache2)....

Setting up php5-cgi (5.2.0-8+etch10) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Creating config file /etc/php5/cgi/php.ini with new version
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Setting up php5-cli (5.2.0-8+etch10) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Creating config file /etc/php5/cli/php.ini with new version
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

lvps87-230-25-86:~#

So der Apache2 läuft jetzt^^

Aber wenn ich jetzt den mysql-server instalieren:

apt-get install mysql-server

kommen auch solche fehler komme auch in den phpmyadmin aber wenn ich jetzt mit dem mysqldumper verbinden will keine verbindung..

MFG MbK
 
Hallo!
Was gibt dir locale -a aus? In den meisten Fällen schafft ein dpkg-reconfigure locales Abhilfe.

Erklärungen findest du unter [man]locale[/man].

mfG
Thorsten
 
das kommt wenn ich es eingebe:

Code:
lvps87-230-25-86:~# locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
de_DE
de_DE.iso88591
de_DE.iso885915@euro
de_DE@euro
deutsch
en_US
en_US.iso88591
en_US.iso885915
german
lvps87-230-25-86:~#
 
hallo,

Es geht soweit^^

Jetzt habe ich nurnoch das Problem ich habe einen mysql-server instaliert "apt-get install mysql-server" und ich komme auch in den phpmyadmin aber wenn ich die DB importieren möchte mit mysqldumper kann er nicht zum server verbinden dabei liegt der dumper local auf dem root.

Hier mal ein bild:
Mysqldumper : http://i26.tinypic.com/1z313xz.png
PhpMyadmin : http://i30.tinypic.com/2ccw3yp.png

Das komische ist der sql-server läuft und ich bin auch im phpmyadmin drinne...

MFG MbK
 
In #5 beschriebenes Problem: In solchen Fällen hilft es meist, localhost (bzw. den hostname) durch 127.0.0.1 zu ersetzen in der MySQL-Einstellung. Ich hatte solche Probleme auch manchmal
 
Wegen dem Locale Problem, probier doch mal ein einfaches "dpkg-reconfigure locales" und schau obs dann weg ist.

lg
Basti
 
Back
Top