Grokbase
Topics Posts Groups | in
x
[ help ]

" (i...@poczta.fm)

Profile | Posts (1)

User Information

Display Name:"
Partial Email Address:i...@poczta.fm
Posts:
1 total
1 in PostgreSQL - Bugs

2 Most Recent

1) " [BUGS] BUG #3530: Can't start as service if sb created 'c:\program' file
| +1 vote
The following bug has been logged online: Bug reference: 3530 Logged by: Email address:...
PostgreSQL - Bugs
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
The following bug has been logged online:

Bug reference:      3530
Logged by:          
Email address:      [email protected: i...@poczta.fm]
PostgreSQL version: 8.1
Operating system:   Windows XP
Description:        Can't start as service if sb created 'c:\program' file
Details:

I've installed PostgreSQL in 'c:\program files'. Some buggy program created
file named 'c:\program', and what? PostgreSQL doesn't start!
This error is due to Windows's stupid rules of resolving executable names.
You've added registry entry ImagePath=c:\program files\Postgre
SQL\bin\pg_ctl.exe ...
Now Windows tries to execute c:\program, if not found - c:\program
files\Postgre, and so on, until reaches the end of string.
pg_ctl.exe when registering the service should quote this name:
ImagePath="c:\program files\Postgre SQL\bin\pg_ctl.exe".
But even this doesn't solve the problem, pg_ctl.exe starts postgres.exe, and
probably you haven't used quotations again in CreateProcess invocation. So
there are at least two bugs with lack of "..." in pg_ctl.exe.

If the server started not using net start, but manually (using postgres.exe
-D "..."), everything works ok, so postgres.exe probably doesn't have this
bug.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster
2) " Can't register Tomcat as Windows service on some computers
| +1 vote
=0AWhen I use Java 1.6.0:=0ATomcat started using startup.bat works fine.=0A= When started using...
Tomcat
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
=0AWhen I use Java 1.6.0:=0ATomcat started using startup.bat works fine.=0A=
When started using tomcat5.exe does nothing, and exits.=0AWhen registered a=
s a Windows service, and started using:=0A=0Anet start tomcat5=0A=0AThere i=
s a meaningless error message on the console, but in=0Ajakarta_service.log =
I find:=0A=0A[2006-12-21 16:59:48] [173  javajni.c] [error] Can't create th=
e specified=0Amodule.=0A[2006-12-21 16:59:48] [764  prunsrv.c] [error] Fail=
ed creating java=0AD:\Programs\Java\jdk1.6.0\jre\bin\server\jvm.dll=0A[2006=
-12-21 16:59:48] [982  prunsrv.c] [error] ServiceStart returned 1=0A=0AThis=
problem occurs on Tomcat 5.0.28, and Tomcat 6.=0A=0AWhen I use Java 1.5.0 =
everything works fine. =0AWhat's more strange: This problem occurs on Celer=
on 3000. On other computers with Intel Core 2 Duo E6300 or Pentium 4 3000 e=
verything works fine. All the computers have the same OS (Windows XP SP2). =
Is this a problem with Tomcat or Java?=0A=0AHow to solve this problem?=0A

----------------------------------------------------------------------
Jestes kierowca? To poczytaj! >>> http://link.interia.pl/f199e


---------------------------------------------------------------------
To start a new topic, e-mail: [email protected: u...@tomcat.apache.org]
To unsubscribe, e-mail: [email protected: users-unsubs...@tomcat.apache.org]
For additional commands, e-mail: [email protected: users...@tomcat.apache.org]

spacer
Profile | Posts (1)
Home > People > "