problem with using O_DIRECT

Поиск
Список
Период
Сортировка
Искать

problem with using O_DIRECT

От:
"Ye Qin" <brian.qin@gmail.com>
Дата:
I tried to use O_DIRECT on Linux (SuSe) Kernel 2.6, but failed to make it run.
For example, if I added the option in the "open" of BasicOpenFile(),
I got the following error after typing "psql -l",

psql: could not connect to server: Connection refused
       Is the server running locally and accepting
       connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

Any advice?

Thanks,

Brian

Re: problem with using O_DIRECT

От:
Andrew Sullivan <ajs@crankycanuck.ca>
Дата:
On Thu, Oct 12, 2006 at 12:13:02AM -0400, Ye Qin wrote:
> psql: could not connect to server: Connection refused
>       Is the server running locally and accepting
>       connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> 
> Any advice?

Presumably, the server doesn't start?  What does your logfile say? 
(Not every method works on every platform, and you might have run
into an incompatible combination.)

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
Unfortunately reformatting the Internet is a little more painful 
than reformatting your hard drive when it gets out of whack.
		--Scott Morris
FAQ