Re: [Fwd: PostgreSQL 8.0.0-beta4 Windows 2000

Поиск
Список
Период
Сортировка
От Reini Urban
Тема Re: [Fwd: PostgreSQL 8.0.0-beta4 Windows 2000
Дата
Msg-id 418F078D.2030007@x-ray.at
обсуждение исходный текст
Ответ на Re: [Fwd: PostgreSQL 8.0.0-beta4 Windows 2000  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers-win32
Bruce Momjian schrieb:
> Magnus is working on something that will print a better failure message
> when the virus protection blocks PostgreSQL.

Ah, good.
Note that cygwin setup.exe blocks McAfee Shield "AvSynMgr" also to be
able to download our packages after an UI dialog.
I don't know yet if just changing some settings might help.
Blocking is kinda unfriendly but the only solution.

That's the detection routine: (from our setup AntiVirus.cc)

     SCM = OpenSCManager (NULL, NULL, SC_MANAGER_ALL_ACCESS);
     McAfeeService = OpenService (SCM, "AvSynMgr",
    SERVICE_QUERY_STATUS| SERVICE_STOP| SERVICE_START);

     if (!McAfeeService) {
    log (LOG_PLAIN, String("Could not open service McShield for query,
start and stop. McAfee may not be installed, or we don't have access.\n"));
    CloseServiceHandle(SCM);
    return;
     }
     SERVICE_STATUS status;
     if (!QueryServiceStatus (McAfeeService, &status))
       {
    CloseServiceHandle(SCM);
    CloseServiceHandle(McAfeeService);
    log (LOG_PLAIN, String("Couldn't determine status of McAfee service.\n"));
    return;
       }
       if (status.dwCurrentState == SERVICE_STOPPED ||
    status.dwCurrentState == SERVICE_STOP_PENDING)
       {
    CloseServiceHandle(SCM);
    CloseServiceHandle(McAfeeService);
    log (LOG_PLAIN, "Mcafee is already stopped, nothing to see here\n");
       }

... and so on


> ---------------------------------------------------------------------------
>
> Reini Urban wrote:
>
>>forwarding a doc request from cygwin.
>>
>>(Note: You might have to disable Norton Antivirus of you experience
>>problems.)

>
> -- Start of included mail From: yuvaraj duraisamy <durai_yuvaraj@rediffmail.com>
>
>>X-Account-Key: account1
>>Delivery-date: Mon, 08 Nov 2004 02:16:50 +0100
>>Envelope-to: ru@x-ray.at
>>Date: 1 Nov 2004 19:54:41 -0000
>>Reply-To: yuvaraj duraisamy <durai_yuvaraj@rediffmail.com>
>>To: pgsql-cygwin@postgresql.org
>>Subject: [CYGWIN] PostgreSQL 8.0.0-beta4 Windows 2000 Installation
>>X-Inode-Forwarded: rurban@x-ray.at
>>X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *1CQy9I-00031T-00*oVU2FDtWBJ.*
>>X-Inode-SpamScore: 1.7
>
>> ?Hi
>>I am new Postgresql. I downloaded and installed postgresql-8.0.0-beta4 on windows 2000 everything went smooth, after
creatinga database in the console; I could connect the database once with the php. After that no log nothing. After
reinstallationalso I got the same result. After wasting about 10 hours I got a clue and reinstalled after uninstalling
theNorton Antivirus I am running successfully. 
>>Providing such a silly information will encourage help new users.
>>Thanks for the OSS community

В списке pgsql-hackers-win32 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [Fwd: PostgreSQL 8.0.0-beta4 Windows 2000
Следующее
От: Joerg Hessdoerfer
Дата:
Сообщение: Log messages of the server?