[FGS] base installer errors

Guillaume Dallaire gdallaire at dmsolutions.ca
Fri Oct 14 11:14:52 EDT 2005


Hi Matt,

On Thu, 2005-10-13 at 15:19 -0700, Matt Wilkie wrote:
> Hi there, I ran the fgs base installer[0] on my ubuntu system which 
> already has apache2 installed. I got the following errors:
> 
> [0] fgs-mapserver_phpmapscript_4.4.1-0.2.2-linux-i386.bin
> 
> 
> (1)
> * Selecting TCP port.... Example: 80, 8080, 8000
> ? What TCP port do you want to use[80] : 81
> ! Below 1024 you should only use port 80.
> ? What TCP port do you want to use[80] : 8080
> ! Below 1024 you should only use port 80.
> ? What TCP port do you want to use[80] : 8181
> ! Below 1024 you should only use port 80.
> ...etc
> 
> so of course I used 80 :)
> then:
> 

> (2)
> + Starting FGS's demon:
> ! Cannot create user 'apache', could not start apache as root.

You may be the first to install FGS on ubuntu system. 

When installing FGS as root, apache has to be run as another user as
root for security reason (httpd won't start without it). The apache's
start script ($FGS_HOME/www/bin/apache.init) tries then to add an
'apache' user using:

/usr/sbin/adduser apache -s /sbin/nologin -d $FGS_HOME/www -c 'Apache -
FGS'

And it checks just after to see if the user has been created. Maybe
there is an error with 'adduser' on your system. Can you run this
command "manually" (as root) and report the output you get ?


> (3)
> the example command given to start fgs at boot uses the wrong path 
> (/etc/rc.d/ does not exist)
> 

Does your system have a rc.local file "equivalent" ? I've no access to
an ubuntu machine, so I can't tell where you should put it... :(

Guillaume


-- 
------------------------------------------------------------
  Guillaume Dallaire               gdallaire at dmsolutions.ca
  DM Solutions Group             http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the Foss-gis-suite mailing list