Discussion:
[l-linux] Error en Ubuntu con el 'Setting locale'
xsaettone
2006-10-26 13:14:21 UTC
Permalink
Saludos,

utilizo Ubuntu 6.06, y les comento que al tratar de instalar, actualizar
cualquier paquete, o al tratar de crear base de datos en Postgre, el
sistema me da el siguiente error:


perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "es_VE:es",
LC_ALL = (unset),
LANG = "es_VE.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?


Les agradezco cualquier ayuda que me puedan prestar, pues preferiria no
tener que reinstalar.
--
Atentamente,

Xiomara Saettone
Jose Gonzalez
2006-10-26 13:27:58 UTC
Permalink
Primero en el menu de aplicaciones ve a sistema/administracion/soporte
de idioma y mira si tienes el soporte en espa?ol cierra y abre la sesion
y deberia estar resuelto si eo falla prueba hacer un aptitude install
locales luego dpkg-reconfigure locales si eso falla prueba con localedef
-i es_VE -f ISO-8859-1 es_VE
Post by xsaettone
Saludos,
utilizo Ubuntu 6.06, y les comento que al tratar de instalar, actualizar
cualquier paquete, o al tratar de crear base de datos en Postgre, el
perl: warning: Setting locale failed.
LANGUAGE = "es_VE:es",
LC_ALL = (unset),
LANG = "es_VE.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
Les agradezco cualquier ayuda que me puedan prestar, pues preferiria no
tener que reinstalar.
Jose Gonzalez AKA acidduster GNU/Linux User #355979 On Debian
Testing/Unstable Kernel 2.6.16-1-k7 APTITUDE Power! Jabber ID:
acidduster at jabberes.org http://bolivar.velug.org.ve irc: #linux-bolivar
blog: http://freesoft.homelinux.net
------------------------------------------------------------------------------------ Un experto es cualquiera que no sea de la compa??a. -- Regla de Mars. ------------------------------------------------------------------------------------
José Parrella
2006-10-26 13:30:51 UTC
Permalink
Post by xsaettone
perl: warning: Setting locale failed.
Quiz?s ``dpkg-reconfigure locales'' y generar las locales es_VE con
codificaci?n UTF-8 sirva. Adem?s puedes seleccionar es_VE.UTF-8 como
locale por defecto. Ubuntu y Debian (a partir de 4.0) lo usan por defecto.
Post by xsaettone
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
El error, sin embargo, es este. Me parece que PostgreSQL no est? bien
configurado. ?Quiz?s tocaste algo a mano?. Prueba con ``dpkg-reconfigure
postgresql-7.4''.

Jose
--
Jos? M. Parrella -> Debian Sid, k2.6.17.13
Escuela de Ingenieria Electrica
Universidad Central de Venezuela -> ucvlug.info
Ernesto Hernández-Novich
2006-10-26 14:09:40 UTC
Permalink
Post by xsaettone
utilizo Ubuntu 6.06, y les comento que al tratar de instalar, actualizar
cualquier paquete, o al tratar de crear base de datos en Postgre, el
perl: warning: Setting locale failed.
LANGUAGE = "es_VE:es",
LC_ALL = (unset),
LANG = "es_VE.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
dpkg-reconfigure locales

Genera es_VE.UTF-8 y as?gnalo como locale por defecto del sistema. Tambi?n es
recomendable que generes en_US.UTF-8 y en_US.ISO-8859-1.
Post by xsaettone
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
Pareciera que el servidor PostgreSQL (postmaster) no est? corriendo. Verifica
tener instalado postgresql-7.4 o postgresql-8.1 (seg?n tu necesidad) y luego
inicia el servicio con /etc/init.d/postgresql-{version} start
--
Ernesto Hern?ndez-Novich - On Linux 2.6.16 i686 - Unix: Live free or die!
Geek by nature, Linux by choice, Debian of course.
If you can't aptitude it, it isn't useful or doesn't exist.
GPG Key Fingerprint = 438C 49A2 A8C7 E7D7 1500 C507 96D6 A3D6 2F4C 85E3
Loading...