newbie installation

Matt.Wilkie Matt.Wilkie at gov.yk.ca
Wed Oct 18 18:33:33 EDT 2000


Hi,

I've installed Mapserver 3.3.011 (I think successfully) on a 
DEC Alpha running Tru64 v5. I'm having trouble with getting
ms_demo to work and can't find any docs for setting it up.
Thanks in advance for your assistance; Please bear with me - 
I'm not a developer though I consider myself a power user for
most things computing.

Mapserver configure string:
	CC=gcc ./configure --with-proj
configure found proj,ttf and gd ok but couldn't find libjpeg 
even though that is installed (/usr/local/lib/libjpeg.a)

No errors on make though there were warnings (the log is 
available).

Pointing at http://host/cgi-bin/mapserv yields:
	No query information to decode. QUERY_STRING is set, 
	but empty.
as the Installation guide (http://mapserver.gis.umn.edu/install.html) 
said it should.

I untarred ms_demo.tar.gz to /var/www/htdocs/ms_demo,
The only change I made to ms_demo/demo.map:
	IMAGEPATH "/var/www/htdocs/tmp/"
(htdocs/tmp exists)
	LOG "/var/www/logs/ms_demo.log"
(which doesn't seem to log anything)

Pointing a browser at http://host/ms_demo/demo_init.html
and slapping the 'initialize' button yields:
	msLoadMap(): Unable to access file. (/ms_demo/demo.map)
Apache doesn't log this error though I do get a bunch of
"File does not exist" if I load demo.html:
	[Wed Oct 18 14:55:21 2000] [error] [client 199.247.173.70] \
	File does not exist:/var/www/htdocs/ms_demo/[ref]

Mailing list archive messages seem to indicate the 'unable to
access file' message is a problem with paths or permissions.
Unfortunately there was no elaboration on just what constitutes
the correct permissions. The path is correct and the permissions 
are the same as other pages on my site which are accessible:

	drwxr-xr-x   2 apache  nobody  8192 Oct 18 12:21 data
	-rwxr-xr-x   1 apache  nobody  2353 Oct 18 12:21 demo.html
	-rwxr-xr-x   1 apache  nobody  4299 Oct 18 15:00 demo.map

The tmp directory is group & user writable:
	drwxrwxr-x   2 apache   nobody      8192 Oct 18 12:27 tmp

So, can anybody tell me (or provide docs which will) what
I'm doing wrong?

thanks in advance and will sum,

-matt
========================================
Matt Wilkie * GIS Technician * Yukon Renewable Resources GIS
http://renres.gov.yk.ca/pubs/rrgis/


-- System Specs --
Digital UNIX V5.0 (Rev. 910); Fri May 12 13:28:30 PDT 2000 
Digital UNIX V5.0 Worksystem Software (Rev. 910) 
System Type: AlphaServer 4000 5/300 2MB DEC4100 
Number of CPUs: 1 Type: EV5 (21164) Speed: 299 Mhz 
Cache: 2.0 MB Memory size: 128 MB 

Web: Apache 1.3.12
Scripting: PHP 3.0.16, perl 5.6.0
Mapserver 3.3.011



More information about the mapserver-users mailing list