[FGS] Installation Problem

Normand Savard nsavard at mapgears.com
Fri Mar 20 06:57:02 EST 2009


Jeff McKenna wrote:
> chris carleton wrote:
>   
>> Hi All,
>>
>> I'm new to Ubuntu Server and webhosting in general. I've used Ubuntu 
>> desktop for a while though. I was trying to install FGS using the sh on 
>> the website, but encountered a problem with the Apache 
>> Installation/configure. Everything was installing fine and then the 
>> following...
>>
>>
>> ************************************************************************
>> general options:
>>   --quiet | -q      don't give process information to stdout
>>   --force-badname   allow usernames which do not match the
>>                     NAME_REGEX[_SYSTEM] configuration variable
>>   --help | -h       usage message
>>   --version | -v    version number and copyright
>>   --conf | -c FILE  use FILE as configuration file
>>
>> ! Cannot create user 'apache', could not start apache as root.
>>
>> ************************************************************************
>>
>> To start installed FGS's daemon at boot time, do (as root) :
>>
>> $ echo "su root -c \"( . /opt/fgs/setenv.sh ; fgs start )\"" >> 
>> /etc/rc.d/rc.local
>>
>> ************************************************************************
>>
>> Before using the FGS environment, you need to set some
>> environment variables (each time you login) :
>>
>> $ cd /opt/fgs
>> $ . setenv.sh
>>
>> OR you can do it automatically each time you log in by doing :
>>
>> echo ". /opt/fgs/setenv.sh" >> ~/.bashrc
>>
>> ************************************************************************
>>
>> I can't figure out where Apache is and I can't start/stop the service so 
>> I can't check to see if the rest installed because when I do:
>>
>> sudo w3m http://localhost/cgi-bin/mapserv/
>>
>> I get the following error;
>>
>> w3m: Can't load http://localhost/cgi-bin/mapserv/.
>>
>> I'm assuming that it means I don't have Apache2 running on the system so 
>> something went wrong with the install. Any help is appreciated.
>>
>> Chris
>>
>>     
>
> There will be other people on this list that are more geek savvy than 
> me, but in my experience the best way to install FGS is to run the 
> installer as a regular user (not as root) in that user's home directory. 
>     Give that a try.
>
> -jeff
>
>
>   
Chris,

Jeff is right.  There is  a patch to fgs if you want to install it as 
root but it is preferable to install it as a normal user.

Norm



More information about the Foss-gis-suite mailing list