<div>Stuart,</div>
<div> </div>
<div>What does the master error file say? On Linux I just installed OMERO4 over the weekend and had the same error message for a while. When I looked into the "master.err" file (not sure where it is on Windows, but on Linux it's in /omero-Beta4.0.0/var/log/), it said that the icegrid registry was already running and listening at port 4061. I had to restart the OS and then it was fine. Apparently, with admin stop, you are not stopping the ice server. I hope I'm correct here and that it helps you a bit.<br>
</div>
<div> </div>
<div>Zoltan<br><br><br></div>
<div class="gmail_quote">On Tue, Apr 14, 2009 at 2:33 PM, Smith, Stuart C <span dir="ltr"><<a href="mailto:Stuart.C.Smith@pfizer.com">Stuart.C.Smith@pfizer.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Colin, no worries as if everything ran smoothly, we wouldn't learn<br>anything :o)<br><br>find the requested info...<br>
<div class="im"><br> C:\omero-Beta4.0.0>bin\omero config get<br></div> omero.data.dir='D:\\OMERO'<br> <a href="http://omero.db.name/" target="_blank">omero.db.name</a>=omero<br> omero.db.pass=omero<br>
omero.db.user=omero<br><br> C:\omero-Beta4.0.0>bin\omero config set omero.data.dir<br>'C:\OMERO'<br>
<div class="im"><br> C:\omero-Beta4.0.0>bin\omero config get<br></div> omero.data.dir='C:\OMERO'<br> <a href="http://omero.db.name/" target="_blank">omero.db.name</a>=omero<br> omero.db.pass=omero<br>
omero.db.user=omero<br><br>I noticed the data.dir was pointing to a non-existant D:\ Drive,<br>although I'm sure I changed it (but can't have) and therefore configured<br>to C:\<br><br>I then stopped & restarted the server with "bin\omero admin start"<br>
<div class="im"><br> C:\omero-Beta4.0.0>bin\omero admin stop<br><br> SERVICE_NAME: OMERO.master<br> TYPE : 10 WIN32_OWN_PROCESS<br> STATE : 4 RUNNING<br><br></div>
(STOPPABLE,NOT_PAUSABLE,ACCEPTS_SHUTDOWN)<br>
<div class="im"> WIN32_EXIT_CODE : 0 (0x0)<br> SERVICE_EXIT_CODE : 0 (0x0)<br> CHECKPOINT : 0x0<br></div>
<div class="im"> WAIT_HINT : 0x0<br><br> [SC] DeleteService SUCCESS<br><br> Waiting on shutdown. Use CTRL-C to exit<br> icegridadmin: could not contact the default locator:<br> Network.cpp:1218: Ice::ConnectionRefusedException:<br>
connection refused: WSAECONNREFUSED<br><br><br><br></div>
<div class="im"> C:\omero-Beta4.0.0>bin\omero admin start<br> No descriptor given. Using etc/grid/default.xml<br> [SC] CreateService SUCCESS<br><br> SERVICE_NAME: OMERO.master<br> TYPE : 10 WIN32_OWN_PROCESS<br>
STATE : 2 START_PENDING<br><br>(NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)<br> WIN32_EXIT_CODE : 0 (0x0)<br> SERVICE_EXIT_CODE : 0 (0x0)<br> CHECKPOINT : 0x0<br>
WAIT_HINT : 0x7d0<br></div> PID : 1004<br>
<div class="im"> FLAGS :<br><br> Waiting on startup. Use CTRL-C to exit<br> icegridadmin: could not contact the default locator:<br> Network.cpp:1218: Ice::ConnectionRefusedException:<br>
connection refused: WSAECONNREFUSED<br> .<br> C:\omero-Beta4.0.0><br><br><br></div><font color="#888888">Stuart<br></font>
<div class="im"><br><br>-----Original Message-----<br>From: Colin Blackburn [mailto:<a href="mailto:c.blackburn@dundee.ac.uk">c.blackburn@dundee.ac.uk</a>]<br>Sent: 14 April 2009 14:15<br>To: Smith, Stuart C<br>Cc: <a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>
</div>
<div>
<div></div>
<div class="h5">Subject: Re: [ome-users] Initialize the OMERO database<br><br>Hi Stuart,<br><br>sorry to hear you are having problems with Windows, it seems to throw up<br><br>a few interesting issues on some machines and not on others.<br>
<br>Can you let me know what the response is to:<br><br>C:\omero-Beta4.0.0>bin\omero config get<br><br>And, what your omero data directory actually is?<br><br>Cheers,<br><br>Colin<br><br><br>Smith, Stuart C wrote:<br>
> Hi, for "stop" I get...<br>
><br>> C:\omero-Beta4.0.0>bin\omero admin stop<br>><br>> SERVICE_NAME: OMERO.master<br>> TYPE : 10 WIN32_OWN_PROCESS<br>> STATE : 4 RUNNING<br>> (STOPPABLE,NOT_PAUSABLE,ACCEPTS_SHUTDO<br>
> WIN32_EXIT_CODE : 0 (0x0)<br>> SERVICE_EXIT_CODE : 0 (0x0)<br>> CHECKPOINT : 0x0<br>> WAIT_HINT : 0x0<br>><br>> [SC] DeleteService SUCCESS<br>><br>
> Waiting on shutdown. Use CTRL-C to exit<br>> icegridadmin: could not contact the default locator:<br>> Network.cpp:1218: Ice::ConnectionRefusedException:<br>> connection refused: WSAECONNREFUSED<br>
><br>> and when I restart, I get...<br>><br>> C:\omero-Beta4.0.0>bin\omero admin start<br>> No descriptor given. Using etc/grid/default.xml<br>> [SC] CreateService SUCCESS<br>><br>
><br>> SERVICE_NAME: OMERO.master<br>> TYPE : 10 WIN32_OWN_PROCESS<br>> STATE : 2 START_PENDING<br>><br>> (NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)<br>
> WIN32_EXIT_CODE : 0 (0x0)<br>
> SERVICE_EXIT_CODE : 0 (0x0)<br>> CHECKPOINT : 0x0<br>> WAIT_HINT : 0x7d0<br>> PID : 3412<br>> FLAGS :<br>><br>> Waiting on startup. Use CTRL-C to exit<br>
> icegridadmin: could not contact the default locator:<br>> Network.cpp:1218: Ice::ConnectionRefusedException:<br>> connection refused: WSAECONNREFUSED<br>> .<br>> C:\omero-Beta4.0.0><br>
><br>> Thanks in advance,<br>><br>> Stu<br>><br>><br>> -----Original Message-----<br>> From: <a href="mailto:ome-users-bounces@lists.openmicroscopy.org.uk">ome-users-bounces@lists.openmicroscopy.org.uk</a><br>
> [mailto:<a href="mailto:ome-users-bounces@lists.openmicroscopy.org.uk">ome-users-bounces@lists.openmicroscopy.org.uk</a>] On Behalf Of<br>> Paulo Almeida<br>> Sent: 14 April 2009 13:31<br>> To: <a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>
> Subject: Re: [ome-users] Initialize the OMERO database<br>><br>> Hi Stuart,<br>><br>> If you haven't done that yet, I would try:<br>><br>> bin\omero admin stop<br>><br>> and then:<br>><br>
> bin\omero admin start<br>><br>> Good luck,<br>> Paulo<br>><br>> On Tuesday 14 April 2009 12:24:26 Smith, Stuart C wrote:<br>>> Hi Josh, thanks for that. I have now downgraded to ICE 3.3.0 and<br>
upon<br>>> running the "start sever" command I get...<br>>><br>>> C:\omero-Beta4.0.0>bin\omero admin start<br>>> No descriptor given. Using etc/grid/default.xml<br>>> [SC] StartService FAILED 1056:<br>
>><br>>> An instance of the service is already running.<br>>><br>>> Waiting on startup. Use CTRL-C to exit<br>>><br>>> C:\omero-Beta4.0.0><br>>><br>>> I guess, trying not to state the obvious, that the required services<br>
> are<br>>> already running. Of which, I have checked & the "postgreSQ" & "OMERO<br>>> Master" services are both running.<br>>><br>>> But when I try to view the webadmin page, it cannot be displayed.<br>
Any<br>>> idea's?<br>>><br>>> Stuart<br>>><br>>><br>>> p.s. I will be installing 4.0.1 upon release, but by trying to get<br>> 4.0.0<br>>> working its helping me understand the app :o)<br>
>><br>>><br>>> -----Original Message-----<br>>> From: <a href="mailto:josh.moore@gmx.de">josh.moore@gmx.de</a> [mailto:<a href="mailto:josh.moore@gmx.de">josh.moore@gmx.de</a>]<br>>> Sent: 09 April 2009 15:23<br>
>> To: Smith, Stuart C; <a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>>> Subject: Re: [ome-users] Initialize the OMERO database<br>>><br>>> Smith, Stuart C writes:<br>
>> > Hi Josh,<br>>><br>>> Hi Stuart,<br>>><br>>> > Anyway, with your help I sorted that that. I know you mentioned<br>>><br>>> that<br>>><br>>> > 4.0.1 will be released soon, but i decided to carry on with 4.0 as<br>
> a<br>>> > test installation until 4.0.1 in available. Everything else went<br>> ok,<br>>> > until i tried to start the server and got the below error...<br>>> ><br>>> > ...<br>
>> > No descriptor given. Using etc/grid/default.xml<br>>> > [SC] StartService FAILED 3:<br>>> ><br>>> > The system cannot find the path specified.<br>>> ><br>>> > Waiting on startup. Use CTRL-C to exit<br>
>> > icegridadmin: could not contact the default locator:<br>>> > Network.cpp:1220: Ice::ConnectionRefusedException:<br>>> > connection refused: WSAECONNREFUSED<br>>> ><br>>> > Any ideas?<br>
>><br>>> This is one of the errors fixed in 4.0.1. Though your best bet is to<br>>> wait for the release, I can give you a quick tip and you can go from<br>>> there: if you've installed Ice-3.3.1 which you probably have, move it<br>
>> to C:\Ice-3.3.0 since the path is hard-coded. In the upcoming<br>release,<br>>> it's not hard-coded, but after install it requires a reboot. Those<br>are<br>>> the types of trade-offs in this business. :)<br>
>><br>>> Best wishes,<br>>> ~Josh.<br>>><br>>> > Thanks,<br>>> ><br>>> > Stuart<br>>> ><br>>> ><br>>> > -----Original Message-----<br>>> > From: <a href="mailto:josh.moore@gmx.de">josh.moore@gmx.de</a> [mailto:<a href="mailto:josh.moore@gmx.de">josh.moore@gmx.de</a>]<br>
>> > Sent: 08 April 2009 19:09<br>>> > To: Smith, Stuart C<br>>> > Cc: <a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>>> > Subject: [ome-users] Initialize the OMERO database<br>
>> ><br>>> ><br>>> > Hi Stuart,<br>>> ><br>>> > before I begin a minor warning, we'll be releasing 4.0.1 in the<br>> next<br>>> > day or two with improved Windows support. So, though it doesn't<br>
>><br>>> change<br>>><br>>> > any of the instructions for getting your database setup, it may<br>> make<br>>> > sense to wait for the final installation until then.<br>>> ><br>
>> > But first, your db...<br>>> ><br>>> > Smith, Stuart C writes:<br>>> > > Hi, I'm sure this will be a very basic question to most of you<br>> but<br>>> > > I have been asked to set up a PC running the OMERO server<br>
>> > > installation and have followed the Windows installation<br>document<br>>> > > upto the point where you are asked to "Initialize the OMERO<br>>> > > database" with the script...<br>
>> > ><br>>> > > $ cd C:\omero-Beta4.0.0\<br>>> > > $ bin\omero db script<br>>> > > Please enter omero.db.version [OMERO4]:<br>>> > > Please enter omero.db.patch [0]:<br>
>> > > Please enter password for new OMERO root user:<br>>> > > Please re-enter password for new OMERO root user:<br>>> > > Saving to C:\omero-Beta4.0.0\OMERO4__0.sql<br>>> > > $<br>
>> > ><br>>> > > But have tried pasting into a cmd window, but it doesn't like<br>> it.<br>>> I<br>>><br>>> > > therefore tried the first line & realised that it wasn't even<br>
>> ><br>>> > changing<br>>> ><br>>> > > directories, therefore removed the 1st "$" char & that worked,<br>> but<br>>> ><br>>> > then<br>>> ><br>
>> > > got stuck on the 2nd line. Can someone please help me<br>> initialize<br>>> the<br>>><br>>> > > DB.<br>>> ><br>>> > The dollar signs are a copy-n-paste issue from the non-Windows<br>
>> > instructions. Sorry about that. I've fixed them in the<br>> documentation<br>>> > for the coming release.<br>>> ><br>>> > > Also, as I was unsure if it had worked, although I wasn't<br>
> prompted<br>>> ><br>>> > for<br>>> ><br>>> > > the password as I added it to the script manually so I tried<br>the<br>>><br>>> next<br>>><br>>> > > step of populating the database by copying the script in the<br>
>> > > installation document into "SQL Shell (psql)" and this errored,<br>>><br>>> but<br>>><br>>> > was<br>>> ><br>>> > > this because I hadn't initialized the db?<br>
>> > ><br>>> > > Any help you guys can offer would be great as I have been asked<br>> to<br>>> ><br>>> > set<br>>> ><br>>> > > this up to see if the software is useful to us.<br>
>> ><br>>> > Alright. I'm a bit lost in what you tried, and what did and didn't<br>>> > work. What you should use to create your database script is:<br>>> ><br>>> > cd C:\omero-Beta4.0.0\<br>
>> > bin\omero db script<br>>> ><br>>> > Then you should be asked the questions about version and<br>>> > password. You said you weren't asked for a password. That seems<br>>> > odd. How did you go about adding that manually?<br>
>> ><br>>> > Once you've done that, then opening the SQL Shell as mentioned in<br>> the<br>>> > docs is certainly correct. The statement "\i ... OMERO4__0.sql" is<br>>><br>
>> the<br>>><br>>> > process of initializing your db, so that can't be why it errored.<br>> Can<br>>> > you send us the error that it produced?<br>>> ><br>>> > > Thanks in advance,<br>
>> > > Stuart<br>>> ><br>>> > Hope that helps somewhat.<br>>> > Best wishes,<br>>> > ~Josh.<br>>><br>>> _______________________________________________<br>
>> ome-users mailing list<br>>> <a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>>> <a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
><br>><br>> _______________________________________________<br>> ome-users mailing list<br>> <a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>> <a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
> _______________________________________________<br>> ome-users mailing list<br>> <a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>> <a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
<br>_______________________________________________<br>ome-users mailing list<br><a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br><a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br>Zoltan Cseresnyes<br>Facility manager, Imaging Suite<br>