Re: Variabili d'ambiente!
Aspetta, aspetta neanche in root funziona solo nel nuovo utente creato al
momento dell'installazione di postgres
è cioè postgres
postgres@debian:/usr/local/pgsql/bin$ ./psql test
Welcome to psql 8.1.5, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit
test=#
però devo sempre andare nella dir bin......
Salvator*eL*arosa wrote:
>
> Mi da questo errore:
> root@debian:~# psql
> psql: could not connect to server: No such file or directory
> Is the server running locally and accepting
> connections on Unix domain socket
> "/var/run/postgresql/.s.PGSQL.5432"?
> Invece se vado sotto la di /usr/local/pgsql/bin va bene.
>
> Salvator*eL*arosa wrote:
>>
>> Io vorrei che quel path sia valido per ogni shell indipendentemente da
>> quale sia il login.
>> Comunque sto provando come su.
>>
>> Luca Bruno-2 wrote:
>>>
>>> Salvator*eL*arosa scrisse:
>>>
>>>> Salve a tutti, ho impostato una var di ambiente in /etc/profile ma non
>>>> funziona.
>>>
>>> Non vorrei dire una belinata, ma mi pare che /etc/profile valga solo
>>> per le shell di login. Che shell stai usando? Hai provato con una shell
>>> di login se funziona?
>>> Potresti anche considerare /etc/bash.bashrc per quel che ti abbisogna.
>>>
>>> Ciao, Luca
>>>
>>> --
>>> .''`. ** Debian GNU/Linux ** | Luca Bruno
>>> : :' : The Universal O.S. | luca.br(AT)uno.it
>>> `. `'` | GPG Key ID: 3BFB9FB3
>>> `- http://www.debian.org | Proud Debian GNU/Linux User
>>>
>>>
>>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Variabili-d%27ambiente%21-tf2779450.html#a7755671
Sent from the debian-italian mailing list archive at Nabble.com.
Reply to: