Re: [Fwd: PostgreSQL 8.0.0-beta4 Windows 2000

Reini Urban <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
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 <[email protected]>
> 
>>X-Account-Key: account1
>>Delivery-date: Mon, 08 Nov 2004 02:16:50 +0100
>>Envelope-to: [email protected]
>>Date: 1 Nov 2004 19:54:41 -0000
>>Reply-To: yuvaraj duraisamy <[email protected]>
>>To: [email protected]
>>Subject: [CYGWIN] PostgreSQL 8.0.0-beta4 Windows 2000 Installation
>>X-Inode-Forwarded: [email protected]
>>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 creating a database in the console; I could connect the database once with the php. After that no log nothing. After reinstallation also I got the same result. After wasting about 10 hours I got a clue and reinstalled after uninstalling the Norton Antivirus I am running successfully.
>>Providing such a silly information will encourage help new users.
>>Thanks for the OSS community

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.