Hi Jeff,

At this time, the prior Vyatta releases have 2 initialization scripts for the 
lighttpd daemon -- the default one that came with the lighttpd debian package 
which is '/etc/init.d/lighttpd', and the custom Vyatta lighttpd initialization 
script which is '/opt/vyatta/sbin/lighttpd.init'.

In order for the Vyatta webgui to work properly, it must be started with the 
Vyatta lighttpd initialization script rather than the one that comes with the 
lighttpd debian package, otherwise the problem that you're seeing now occurs.  
Proper operation of the Vyatta webgui involves synchronous operation of 2 
daemons, and for this reason the webgui should only be enabled from the router 
configuration, as there are special custom scripts invoked by the configuration 
system to handle the startup of the daemons.

So my question for you, did you try to start the GUI manually by invoking 
'/etc/init.d/lighttpd' from the root bash shell?  If so, then that's what 
caused the problem you're seeing now.

Do you have the webgui configured in the router configuration?  Please send 
your configuration file, and specify the Vyatta release you're using.

Thanks,
Marat
  ----- Original Message ----- 
  From: Jeff 
  To: Robyn Orosz ; [email protected] 
  Sent: Monday, October 08, 2007 10:30 AM
  Subject: Re: [Vyatta-users] Main Vyatta web Page mysteriously gone and no 
login prompt (FileSystem Included)


  Heres the output
  ---
  Welcome to Vyatta.
  This system is open-source software. The exact distribution terms for
  each module comprising the full system are described in the individual
  files in /usr/share/doc/*/copyright.
  vyatta:~# ps -ef | grep lighttpd
  www-data  8256     1  0 Oct07 ?        00:00:00 /usr/sbin/lighttpd -f 
/etc/lighttpd/lighttpd.conf
  root     10622 10617  0 18:26 pts/0    00:00:00 grep lighttpd
  vyatta:~# ls -l /etc/rc?.d |grep http
  vyatta:~#
  ----
  Jeff


----------------------------------------------------------------------------
    From: Robyn Orosz [mailto:[EMAIL PROTECTED]
    To: Jeff [mailto:[EMAIL PROTECTED]
    Cc: [email protected]
    Sent: Mon, 08 Oct 2007 12:16:25 -0400
    Subject: Re: [Vyatta-users] Main Vyatta web Page mysteriously gone and no 
login prompt (FileSystem Included)

    Hi Jeff,

    It looks like your system was installed properly (root on hde1 and 
    config on hde2). When you run:

    ps -ef | grep lighttpd

    What is the output? When the web-gui has been started properly, there 
    should be a process referencing the following:

    /opt/vyatta/etc/lighttpd.conf

    Can you also run:

    ls -l /etc/rc?.d |grep http

    and see if there are any symlinks pointing to the default lighttpd 
    location (/etc/init.d/lighttpd)?

    Thank you,

    Robyn

    Jeff wrote:
    > Heres a snip from the df command
    > Copy of file system 
    > 
    > <snip>
    >
    > Linux localhost 2.6.20 #1 Thu Aug 23 12:25:11 PDT 2007 i686
    > Welcome to Vyatta.
    > This system is open-source software. The exact distribution terms for
    > each module comprising the full system are described in the individual
    > files in /usr/share/doc/*/copyright.
    > vyatta:~# df
    > Filesystem 1K-blocks Used Available Use% Mounted on
    > rootfs 115339532 539040 108941592 1% /
    > udev 10240 48 10192 1% /dev
    > /dev/hde1 115339532 539040 108941592 1% /
    > /dev/hde1 115339532 539040 108941592 1% /dev/.static/dev
    > tmpfs 518184 0 518184 0% /lib/init/rw
    > tmpfs 518184 4 518180 1% /dev/shm
    > tmpfs 518184 48 518136 1% /opt/vyatta/config
    > /dev/hde2 9085 1501 7115 18% 
    > /opt/vyatta/etc/config
    > unionfs 518184 48 518136 1% 
    > /opt/vyatta/config/tmp/new_config_3608
    > vyatta:~#
    >
    >
    > <end snip>
    >
    > ------------------------------------------------------------------------
    > *From:* Robyn Orosz [mailto:[EMAIL PROTECTED]
    > *To:* Jeff [mailto:[EMAIL PROTECTED]
    > *Cc:* [email protected]
    > *Sent:* Mon, 08 Oct 2007 11:39:42 -0400
    > *Subject:* Re: [Vyatta-users] Main Vyatta web Page mysteriously
    > gone and no login prompt
    >
    > Hi Jeff,
    >
    > We've seen this issue on systems that were improperly installed
    > with the
    > root and config partitions pointing to the same disk partition
    > (ex. both
    > root and config installed on sda1). This causes a loop in the file
    > system that can result in the web-gui falling back to the default
    > lighttpd page.
    >
    > An issue was opened in Bugzilla:
    >
    > https://bugzilla.vyatta.com/show_bug.cgi?id=2291
    >
    > That describes the problem in more details.
    >
    > Is it possible that your system was installed this way? Running a
    > 'df'
    > from the bash shell will display the Vyatta directories and the
    > partitions they were installed on.
    >
    > Thank you,
    >
    > Robyn
    >
    > Jeff wrote:
    > > Mysteriously sometime between Thursday afternoon and Monday morning
    > >
    > > the vyatta main webpage is gone and I see the lighthttpd
    > placeholder page
    > >
    > > nor is it prompting to allow the connection as it did before
    > >
    > > and i do not know why..??? Things were all there Thursday
    > afternoon..
    > >
    > > I have not rebotted vyatta, and vyatta seems to be running ok
    > >
    > > Anyone with any ideas?????
    > >
    > > Jeff
    > >
    > >
    > >
    > ------------------------------------------------------------------------
    > >
    > > _______________________________________________
    > > Vyatta-users mailing list
    > > [email protected]
    > <mailto:[email protected]>
    > > http://mailman.vyatta.com/mailman/listinfo/vyatta-users
    > >
    >
    > 
    > 





------------------------------------------------------------------------------


  _______________________________________________
  Vyatta-users mailing list
  [email protected]
  http://mailman.vyatta.com/mailman/listinfo/vyatta-users
_______________________________________________
Vyatta-users mailing list
[email protected]
http://mailman.vyatta.com/mailman/listinfo/vyatta-users

Reply via email to