cat /etc/hosts
127.0.0.1 localhost
173.255.235.47 viasco

cat /etc/hostname
viasco

That was one of the problems I had before, you're right.  It's not the
problem now it would seem since I still get the error.

Thanks.


On Jan 14, 12:05 am, Christopher Steel <[email protected]> wrote:
> On Jan 13, 11:15 am, Chase Lee <[email protected]> wrote:
>
>
>
>
>
>
>
> > I believe this script sets the config elsewhere.  Looking at the
> > script, it's here:  > /etc/apache2/sites-available/default (line 152
> > athttp://code.google.com/p/web2py/source/browse/scripts/setup-web2py-ub...)
>
> > I checked the httpd.conf file and it was empty.  Should I then be
> > setting the ServerName in the file referenced above?
>
> > On Jan 13, 1:13 am, Kenneth Lundström <[email protected]>
> > wrote:
>
> > > To fix the "Could not realiably determine....." you have to add a
> > > ServerName line to your Apaches httpd.conf file. Without that Apache
> > > does not know what name to use.
>
> > > Kenneth
>
> > > > Any post in particular you're pointing to?  I looked at several, and
> > > > they didn't work.
>
> > > > At the end of the install script are these lines:
> > > > /etc/init.d/apache2 restart
> > > > cd /home/www-data/web2py
> > > > sudo -u www-data python -c "from gluon.widget import console;
> > > > console();"
> > > > sudo -u www-data python -c "from gluon.main import save_password;
> > > > save_password(raw_input('admin password: '),443)"
>
> > > > Running line 1 reproduces this error:
> > > > * Restarting web server
> > > > apache2
> > > > apache2: Could not reliably determine the server's fully qualified
> > > > domain name, using 173.255.235.47 for ServerName
> > > > [Thu Jan 13 04:55:25 2011] [warn] NameVirtualHost *:80 has no
> > > > VirtualHosts
> > > >   ... waiting .apache2: Could not reliably determine the server's fully
> > > > qualified domain name, using 173.255.235.47 for ServerName
> > > > [Thu Jan 13 04:55:27 2011] [warn] NameVirtualHost *:80 has no
> > > > VirtualHosts
>
> > > > I fixed something in my etc/hosts file so that when I now ran lines
> > > > 2-4, I was prompted to enter an admin password.  The admin interface
> > > > now works.
>
> > > > So while the admin interface works, I'm left with this other error
> > > > caused by restarting Apache.
>
> > > > On Jan 12, 11:01 pm, Felixdm || Augusto F�lix Dal Mas
> > > > <[email protected]>  wrote:
> > > >> On Thu, Jan 13, 2011 at 12:40 AM, Chase Lee<[email protected]>  
> > > >> wrote:
> > > >>> When I access the domain/admin over https, I get this message: admin
> > > >>> disabled because unable to access password file  =/
> > > >>> That'd be nice if I didn't have to worry about the error....
> > > >>> On Jan 12, 10:04 pm, pbreit<[email protected]>  wrote:
> > > >>>> There's a chance that this is just a warning that you don't 
> > > >>>> necessarily need
> > > >>>> to worry about.
> > > >>>> How are you accessing admin? Make sure you access it either with 
> > > >>>> "https" or
> > > >>>> "localhost".
> > > >>http://groups.google.com/group/web2py/search?group=web2py&q=unable+to...
>
> It sounds like you need to configure you VPS.
>
> What output do you get from the following commands?
>
> cat /etc/hosts
>
> cat /etc/hostname

Reply via email to