[mapserver-users] Internal Server Error - newbie
Hi all, I am using mapserver 5.0.3 on fedora 9. i installed it very recently in my box , to acknowledge my installation of mapserver in my box , i got the message when i call the browser http://localhost/cgi-bin/mapserv No query information to decode. QUERY_STRING is set, but empty. Then i played with the mapserver demo gmap.. its works fine... Thenafter i tried to play with the examples given in the mapserver tutorial , with the very first example i get error when i call the link http://localhost/cgi-bin/mapserv?map=/ms4w/apps/tutorial/htdocs/example1-1.maplayer=statesmode=map i get the following errorInternal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, r...@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log. Apache/2.2.9 (Fedora) Server at localhost Port 80 From the above error i understand that something wrong with apache , i checked the error log file , ita abig one page error. i couldn't probe that error, i have attached the error log file for your perusal could anybody please help me out? help will be appreciated... many thanks, zizu error-log Description: Binary data ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Internal Server Error - newbie
Hi all, I am using mapserver 5.0.3 on fedora 9. i installed it very recently in my box , to acknowledge my installation of mapserver in my box , i got the message when i call the browser http://localhost/cgi-bin/mapserv No query information to decode. QUERY_STRING is set, but empty. Then i played with the mapserver demo gmap.. its works fine... Thenafter i tried to play with the examples given in the mapserver tutorial , with the very first example i get error when i call the link http://localhost/cgi-bin/mapserv?map=/ms4w/apps/tutorial/htdocs/example1-1.maplayer=statesmode=map i get the following errorInternal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, r...@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log. Apache/2.2.9 (Fedora) Server at localhost Port 80 From the above error i understand that something wrong with apache , i checked the error log file , ita abig one page error. i couldn't probe that error, i have attached the error log file for your perusal could anybody please help me out? help will be appreciated... many thanks, zizu error-log Description: Binary data ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Internal Server Error - newbie
Hi all, I am using mapserver 5.0.3 on fedora 9. i installed it very recently in my box , to acknowledge my installation of mapserver in my box , i got the message when i call the browser http://localhost/cgi-bin/mapserv No query information to decode. QUERY_STRING is set, but empty. Then i played with the mapserver demo gmap.. its works fine... Thenafter i tried to play with the examples given in the mapserver tutorial , with the very first example i get error when i call the link http://localhost/cgi-bin/mapserv?map=/ms4w/apps/tutorial/htdocs/example1-1.maplayer=statesmode=map i get the following errorInternal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, r...@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log. Apache/2.2.9 (Fedora) Server at localhost Port 80 From the above error i understand that something wrong with apache , i checked the error log file , ita abig one page error. i couldn't probe that error, i have attached the error log file for your perusal could anybody please help me out? help will be appreciated... many thanks, zizu ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] mapserver compiling error - newuser
Hi everyone, I am a newuser , i wish to stick to open source. i have problem compiling mapserver 5. 0.3 on fedora 9. i used the following configure statements: [ka...@localhost mapserver-5.0.3]$ ./configure --with-ogr=/usr/bin/gdal-config \--with-gdal=/usr/bin/gdal-config \--with-httpd=/usr/sbin/httpd \--with-wfsclient \--with-wmsclient \--with-wfs \--with-wms \--with-wcs \--enable-debug \--with-curl-config=/usr/bin/curl-config \--with-proj \--with-tiff \--with-geotiff \--with-png \--with-jpeg \--with-gd \--with-freetype=/usr/ \--with-threads \--with-libiconv=/usr/ \--with-geos=/usr/bin/geos-config \--with-xml2-config=/usr/bin/xml2-config \--with-sos \--with-agg \--with-postgis=/usr/bin/pg_config \--with-php=/usr/include/php \--with-postgresql \--with-mysql After the succesful completion of configuration i got the output: MapServer is now configured for -- Compiler Info - C compiler:gcc -g -O2 -fPIC -Wall C++ compiler: g++ -g -O2 -fPIC -Wall Debug: -g -DNEED_NONBLOCKING_STDERR Generic NINT: Threading support: -DUSE_THREAD -- Renderer Settings - zlib support: -DUSE_ZLIB png support: jpeg support: iconv support: -DUSE_ICONV AGG support: -DUSE_AGG AGG Freetype support: -laggfontfreetype Ming(flash) support: PDFLib support:-DUSE_PDF -- Data Format Drivers --- native tiff support: -DUSE_TIFF PostGIS support: -DUSE_POSTGIS Proj.4 support:-DUSE_PROJ EPPL7 support: -DUSE_EPPL ArcSDE support: OGR support: -DUSE_OGR GDAL support: -DUSE_GDAL GEOS support: -DUSE_GEOS Oracle Spatial support: FastCGI support: -- OGC Services -- WMS Server:-DUSE_WMS_SVR WMS Client:-DUSE_WMS_LYR WFS Server:-DUSE_WFS_SVR WFS Client:-DUSE_WMS_LYR WCS Server:-DUSE_WCS_SVR SOS Server:-DUSE_SOS_SVR -- MapScript - PHP MapScript: yes Then i procceded to the next step called make process. Here come the real problem arose , during the make process i got the error below: g++ -g -O2 -fPIC -Wall -DNEED_NONBLOCKING_STDERR -DHAVE_VSNPRINTF -DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_SOS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_AGG -DUSE_PDF -DUSE_OGR -DUSE_GDAL -DUSE_GEOS -DUSE_ICONV -DUSE_POSTGIS -DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/include/agg2 -I/usr/include/freetype2 -I/usr/include/gdal/ -I/usr/include -I/usr/include -I/usr//include -I/usr/include/libxml2 shp2img.o -L. -lmapserver -lgd -L/usr/lib -lgd -ljpeg -lfreetype -lpng -lz -lXpm -lX11 -L/usr/lib -lagg -laggfontfreetype -lpdf -ltiff -ljpeg -lfreetype -lpng -lz -lXpm -lX11 -lproj -ljpeg -lgdal -L/usr/lib -lgeos_c -I/usr/include -lsqlite3 -lodbc -lodbcinst -L/usr/lib -lexpat -L/usr/lib -lxerces-c -lpthread -ljasper -lhdf5 -L/usr/lib/hdf -lmfhdf -ldf -logdi -lgif -ljpeg -lgeotiff -ltiff -lpng -lnetcdf -lcfitsio -lgrass_vect -lgrass_dig2 -lgrass_dgl -lgrass_rtree -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -lgrass_I -lgrass_gproj -lgrass_vask -lgrass_gmath -lgrass_gis -lgrass_datetime -lpq -L/usr/lib -lpq -lz -lpthread -lm -lrt -ldl -ldap -ldapclient -ldapserver -lpthread -lrx -lcurl -lxml2 -lz -lm -lcurl -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto -L/usr/lib -lpq -lcurl-L/usr/lib -lgeos_c -lpthread -L/usr//lib -lc -lz -lxml2 -lz -lm -lm -lstdc++ -o shp2img */usr/bin/ld: cannot find -lexpat collect2: ld returned 1 exit status make: *** [shp2img] Error 1* I gone through many threads having similar error which are have been posted in mapserver forum, but i was not satisfied with the solution given in threads. Any idea how to fix this? please someone help me out gcc/g++ --version -4.3.0 many thanks zizu ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] PHP - configuring error with mapserver- 5.0.3
hi all, i am a new user , i am using mapserver 5.0.3 on fedora 9... i am struggling in installation as well as configuration part of mapserver in my box. well, come to the point i am trying to configure php with mapserver , but configuration error occured while configuring. I have installed php-5.2.6 through *yum install* in my system. The following is the configuration error ug 458 or Apache bug 22030). Compiling with fast MS_NINT checking compiler warnings... basic configure: checking whether we should enable debug features... Enabling debug features: -g in CFLAGS. *configure: checking for PHP/MapScript module options...* *configure: error: Missing or invalid PHP source directory in --with-php=DIR.* From the error message it is clearly evident that i gave invalid source directory, but the following are the php source directories found in my system /etc/php.d /etc/php.ini /etc/httpd/conf.d/php.conf /etc/php.d/dbase.ini /etc/php.d/error_log /etc/php.d/gd.ini /etc/php.d/json.ini /etc/php.d/mapserver.ini /etc/php.d/mysql.ini /etc/php.d/mysqli.ini /etc/php.d/pdo.ini /etc/php.d/pdo_mysql.ini /etc/php.d/pdo_pgsql.ini /etc/php.d/pdo_sqlite.ini /etc/php.d/pgsql.ini /etc/php.d/zip.ini */usr/bin/php* /usr/bin/php-cgi */usr/lib/php* /usr/lib/httpd/modules/libphp5.so /usr/lib/php/modules /usr/lib/php/pear /usr/lib/php/modules/dbase.so /usr/lib/php/modules/gd.so /usr/lib/php/modules/json.so /usr/lib/php/modules/mysql.so /usr/lib/php/modules/mysqli.so /usr/lib/php/modules/pdo.so /usr/lib/php/modules/pdo_mysql.so /usr/lib/php/modules/pdo_pgsql.so /usr/lib/php/modules/pdo_sqlite.so /usr/lib/php/modules/pgsql.so /usr/lib/php/modules/php_mapscript.so /usr/lib/php/modules/phpcups.so /usr/lib/php/modules/zip.so */usr/share/php* /usr/share/doc/php-cli-5.2.6 /usr/share/doc/php-common-5.2.6 /usr/share/doc/php-mapserver-5.0.3 /usr/share/doc/php-cli-5.2.6/README /usr/share/doc/php-cli-5.2.6/README.FastCGI /usr/share/doc/php-common-5.2.6/CODING_STANDARDS /usr/share/doc/php-common-5.2.6/CREDITS /usr/share/doc/php-common-5.2.6/EXTENSIONS /usr/share/doc/php-common-5.2.6/INSTALL /usr/share/doc/php-common-5.2.6/LICENSE /usr/share/doc/php-common-5.2.6/NEWS /usr/share/doc/php-common-5.2.6/README.EXTENSIONS /usr/share/doc/php-common-5.2.6/README.EXT_SKEL /usr/share/doc/php-common-5.2.6/README.PARAMETER_PARSING_API /usr/share/doc/php-common-5.2.6/README.PHP4-TO-PHP5-THIN-CHANGES /usr/share/doc/php-common-5.2.6/README.SELF-CONTAINED-EXTENSIONS /usr/share/doc/php-common-5.2.6/README.STREAMS /usr/share/doc/php-common-5.2.6/README.SUBMITTING_PATCH /usr/share/doc/php-common-5.2.6/README.TESTING /usr/share/doc/php-common-5.2.6/README.TESTING2 /usr/share/doc/php-common-5.2.6/README.UNIX-BUILD-SYSTEM /usr/share/doc/php-common-5.2.6/README.UPDATE_5_2 /usr/share/doc/php-common-5.2.6/README.WIN32-BUILD-SYSTEM /usr/share/doc/php-common-5.2.6/README.input_filter /usr/share/doc/php-common-5.2.6/TSRM_LICENSE /usr/share/doc/php-common-5.2.6/ZEND_CHANGES /usr/share/doc/php-common-5.2.6/ZEND_LICENSE /usr/share/doc/php-common-5.2.6/gd_README /usr/share/doc/php-common-5.2.6/regex_COPYRIGHT */var/lib/php* /var/lib/php/session I tested with all the source directories that i have in my system, but the error still remains. i have installed php through YUM INSTALL way , that is a precompiled binaries not an source package.. May be that could be a reason to cause this error.. i am not sure so what could be a problem please somebody help me... regards zizu ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users