Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 14.08.2006, 21:07   #1
lan15
Архивный участник
 
Join Date: Aug 2006
Posts: 9
Default PetitionD

Anybody know how install PetitionD (retail) ?
lan15 is offline  
Old 14.08.2006, 21:34   #2
Drag
Архивный участник
 
Join Date: Mar 2006
Posts: 241
Default

Yea... Start in right section...
Drag is offline  
Old 14.08.2006, 21:35   #3
empathon
Архивный участник
 
Join Date: Feb 2006
Posts: 136
Default

as a windows service has i know
empathon is offline  
Old 14.08.2006, 22:06   #4
Mayii
Архивный участник
 
Join Date: Aug 2005
Posts: 113
Default

that's correct, you have to register it as a service
Mayii is offline  
Old 14.08.2006, 22:21   #5
lan15
Архивный участник
 
Join Date: Aug 2006
Posts: 9
Default

Quote:
Originally Posted by Mayii
that's correct, you have to register it as a service
How it register? May be special utility use? Please help...
lan15 is offline  
Old 14.08.2006, 22:39   #6
xerogen
Архивный участник
 
Join Date: Nov 2005
Posts: 107
Default

Ive registed it as a service ran it, tried connecting to it, but... Nothing
xerogen is offline  
Old 14.08.2006, 22:52   #7
Mayii
Архивный участник
 
Join Date: Aug 2005
Posts: 113
Default

to register it as a service, search for InstallUtil.exe, should be in a directory like C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 or so.

then you just use this bat file:
(you have to change the SERVICE_HOME and the INSTALL_UTIL_HOME variables)

Code:
@echo off
set SERVICE_HOME=C:\PetitionD
set SERVICE_EXE=PetitionD.exe
REM the following directory is for .NET 1.1, your mileage may vary
set INSTALL_UTIL_HOME=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
REM Account credentials if the service uses a user account
set USER_NAME=
set PASSWORD=

set PATH=%PATH%;%INSTALL_UTIL_HOME%

cd %SERVICE_HOME%

echo Installing Service...
installutil /name=ScriptedServiceExample /account=user /user=%USER_NAME% /password=%PASSWORD% %SERVICE_EXE%

echo Done.
Mayii is offline  
Old 14.08.2006, 22:55   #8
lan15
Архивный участник
 
Join Date: Aug 2006
Posts: 9
Default

Quote:
Originally Posted by xerogen
Ive registed it as a service ran it, tried connecting to it, but... Nothing
I think that it need config file becouse it started then
"The petitiond service terminated unexpectedly. It has done this 2 time(s)."
lan15 is offline  
Old 14.08.2006, 23:04   #9
Mayii
Архивный участник
 
Join Date: Aug 2005
Posts: 113
Default

obviously. you have to change 'PetitionD.exe.config'.
Mayii is offline  
Old 14.08.2006, 23:10   #10
lan15
Архивный участник
 
Join Date: Aug 2006
Posts: 9
Default

I think that parametr need
Code:
<add key="DatabaseConnString" value="B6NJ2ab29wzbfvRzfTrkqivyUcqwfbkYaYEFjlaPPtVXD12fqtkm7s0UAPkvWQRK8AraQ0vMAkg8A5nOz4WL/l1/38gql/zW"></add>
lan15 is offline  
Old 14.08.2006, 23:39   #11
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

I have petition D service running.. but L2server can't connect.. L2 service dont open any ports
rodier is offline  
Old 15.08.2006, 00:03   #12
lan15
Архивный участник
 
Join Date: Aug 2006
Posts: 9
Default

Quote:
Originally Posted by rodier
I have petition D service running.. but L2server can't connect.. L2 service dont open any ports
do you change DatabaseConnString string ?
lan15 is offline  
Old 16.08.2006, 01:13   #13
Shawnmb
Архивный участник
 
Join Date: Feb 2005
Posts: 307
Default

Hmmm I can't seem to get it working for some reason...
Shawnmb is offline  
Old 16.08.2006, 03:09   #14
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

right.. i believe u guys will need this file

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
des_333.zip — 6063 байт
Digital is offline  
Old 16.08.2006, 03:09   #15
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

right.. i believe u guys will need this file
Digital is offline  
Old 16.08.2006, 03:11   #16
Shawnmb
Архивный участник
 
Join Date: Feb 2005
Posts: 307
Default

Password protected.
Shawnmb is offline  
Old 16.08.2006, 03:11   #17
Shawnmb
Архивный участник
 
Join Date: Feb 2005
Posts: 307
Default

Password protected.
Shawnmb is offline  
Old 16.08.2006, 03:26   #18
GMan
Архивный участник
 
Join Date: Sep 2005
Posts: 198
Default

hmm ill give it a try,

as for password, look closley at the post for anything thats not really right

took me 10 sec Thanks "digital"
GMan is offline  
Old 16.08.2006, 03:26   #19
GMan
Архивный участник
 
Join Date: Sep 2005
Posts: 198
Default

hmm ill give it a try,

as for password, look closley at the post for anything thats not really right

took me 10 sec Thanks "digital"
GMan is offline  
Old 16.08.2006, 03:28   #20
Shawnmb
Архивный участник
 
Join Date: Feb 2005
Posts: 307
Default

Ok, I admit to being retarded. lol, got it.
Shawnmb is offline  
Old 16.08.2006, 03:28   #21
Shawnmb
Архивный участник
 
Join Date: Feb 2005
Posts: 307
Default

Ok, I admit to being retarded. lol, got it.
Shawnmb is offline  
Old 17.08.2006, 11:48   #22
midnight
Архивный участник
 
Join Date: Jun 2005
Posts: 199
Default

when my petition service is running, they spend seconds and it is stopped
midnight is offline  
Old 17.08.2006, 15:29   #23
Ameron
Архивный участник
 
Join Date: May 2005
Posts: 85
Default

well. have Petition installed and run perfectly...
but server didn't see it.
Can some1 tell me more about petition cfg file ?
Ameron is offline  
Old 18.08.2006, 04:24   #24
paul
Архивный участник
 
Join Date: Feb 2005
Posts: 390
Default

Actually...even i'm stuck at this point heh >< I dunno if it's a datastring i dont have right but i would assume then the server wouldnt' even start at all.

Anyone else have any thoughts?
paul is offline  
Old 18.08.2006, 05:31   #25
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

Installing the service

First compile the application so you will have an executable (exe). For the Visual Studio users, go to Start -> Microsoft VS.NET -> VS.NET Tools -> VS.NET Command Prompt. You will see a command box (console) then go to the directory where the exe is. then in that directory type
InstallUtil MyFileService.exe This will install the service Once it correctly installed you can start the service by typing
NET START TWINXBASE Or you can go to Services in Configuration, look for the new service, start it. To Remove the service, stop the service and type
InstallUtil /u MyFileService.exe
Digital is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:33.