[Geoserver-users] GeoServer Will Not Start

A few days ago I installed GeoServer 2.2.4 on a Windows server as a service.
I have been reading through some of the documentation and went through the
basic configuration. I worked through one of the shapefile examples, and
then published one of my own shapefiles. All of this was done using the web
admin page. I was having problems getting my data to display properly, so I
was doing some research on the web. I ran across a post that suggested
having the data_dir in a different location than the program files. So, I
moved it to another location on the same drive and changed the
GEOSERVER_DATA_DIR system variable to the new location. I could not get the
web admin page to open, so I manually stopped the service. When I tried to
restart the service, I got "Error 1053: The service did not respond to the
start or control request in a timely fashion". I tried moving the data_dir
to the old location and changing the system variable back, but it still did
not work. So, I uninstalled the GeoServer program completely. I
reinstalled the GeoServer program again as a service and used the default
data_dir, which is under the program installation folder. The service will
not start. I have tried to start it manually several times and each time I
get the Error 1053.

Any suggestions that you may have are GREATLY appreciated.

Thanks,

Jerome A. Wendell

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GeoServer-Will-Not-Start-tp5034090.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

What version is your .NET framework at on your server? In older versions,
there was an error 1053.

http://support.microsoft.com/kb/839174

You could try reinstalling that.

You could also trying reinstalling Geoserver in a different directory. It
could be a registry issue and changing directories would be easier than
digging in the registry.

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GeoServer-Will-Not-Start-tp5034090p5034099.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Andy,

Thanks. I actually saw a previous post that commented on that, but since our server was just setup a week or so ago, I presumed all of that would be up to date. But, my presumption may be incorrect. I will check that issue. If the .Net framework is up to date, I will try reinstalling in another directory.

Thanks for your quick reply.

Jerome

From: Andy Akins [via OSGeo.org] [mailto:[hidden email]]
Sent: Wednesday, February 13, 2013 4:49 PM
To: jawendell
Subject: Re: GeoServer Will Not Start

What version is your .NET framework at on your server? In older versions, there was an error 1053.

click here.
NAML


View this message in context: RE: GeoServer Will Not Start
Sent from the GeoServer - User mailing list archive at Nabble.com.

I checked and made sure the .Net framework is up to date. I tried
reinstalling GeoServer in another directory, and that did not solve the
problem either.

Thanks.

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GeoServer-Will-Not-Start-tp5034090p5034411.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

1053 is a generic message that will pop up if let's say a database connection
could not be made in a timely fashion.

Please use the sc tool/command to clean up every geoserver service you have
installed so far.

http://support.microsoft.com/kb/251192

Make sure everything is gone in the registry.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

and then start from scratch.
Firstly leave the standard data directory where it is, second step change it
in web.xml and copy it to this destination on the disk still using the
default data directory start again and check logs, third step 'supplant' it
with your own data directory. I guess how things are left after several
installations Baby steps are the right way.

Cheers

Christian

-----
____________________________

Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002

Telephone: +61-3-8636 2325
Telefax: +61-3-8636 2813
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GeoServer-Will-Not-Start-tp5034090p5034808.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Dr. Maul,

Thank you very much for your reply. Since my last post I was able to
install geoserver for manual start/stop, so that I could continue working
with it. I do want to get it installed as a service before we go into
production, so I appreciate the information. I will try the steps that you
have recommended, and report back on my results.

Thanks again,

Jerome A. Wendell

-----Original Message-----
From: cmaul [mailto:Christian.Maul@anonymised.com]
Sent: Sunday, February 17, 2013 7:38 PM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoServer Will Not Start

1053 is a generic message that will pop up if let's say a database
connection could not be made in a timely fashion.

Please use the sc tool/command to clean up every geoserver service you have
installed so far.

http://support.microsoft.com/kb/251192

Make sure everything is gone in the registry.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

and then start from scratch.
Firstly leave the standard data directory where it is, second step change it
in web.xml and copy it to this destination on the disk still using the
default data directory start again and check logs, third step 'supplant' it
with your own data directory. I guess how things are left after several
installations Baby steps are the right way.

Cheers

Christian

-----
____________________________

Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment Level13, Marland House, 570
Bourke Street Melbourne 3000

PO Box 500, East Melbourne Vic 3002

Telephone: +61-3-8636 2325
Telefax: +61-3-8636 2813
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/GeoServer-Will-Not-Start-tp5034090p50348
08.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly
thought leadership blogs to news, videos, case studies, tutorials, tech
docs, whitepapers, evaluation guides, and opinion stories. Check out the
most recent posts - join the conversation now.
http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Dr. Maul,

I made sure the geoserver service was cleaned up using the sc tool/command.
I also verified in the registry that everything pertaining to geoserver was
gone.

I reinstalled geoserver as a service using the default location of the data
directory. That is as far as I was able to go because the service did not
start. When I try to start the service manually, I get the same Error 1053.

Just to provide the rest of the information on the server, it is a 64 bit
cloud server running Windows Server 2008 R2 SP1. The Java Runtime
Environment (32 bit) Version 6 Update 39 is installed.

Thanks,

Jerome A. Wendell

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GeoServer-Will-Not-Start-tp5034090p5034978.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

By doing a little bit more digging, and the assistance of the server support
team, it was determined that the problem was being logged in the wrapper.log
file. There was a problem with the PYTHONPATH environment variable. I had
set it up as documented, or at least I thought that I had. I revised the
PYTHONPATH, and now I am able to start the service.

I appreciate the feedback. As you can probably tell, I am new to a lot of
the concepts and applications that I am working with. But, I guess the
problems encountered provide opportunities to learn.

Thanks,

Jerome A. Wendell

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GeoServer-Will-Not-Start-tp5034090p5034983.html
Sent from the GeoServer - User mailing list archive at Nabble.com.