Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8367553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:11:20+00:00 2026-06-09T13:11:20+00:00

I am trying to follow the yapp intro and having some basic difficulties. Preliminaries:

  • 0

I am trying to follow the yapp intro and having some basic difficulties.

Preliminaries: Version of yaws is 1.9, yapp has been installed (with docs). Yaws and Yapp installed manually, Erlang installed using Homebrew on MacOS X 10.6.

Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:8:8] [rq:8] [async-threads:0] [hipe] [kernel-poll:true]

Configuration is exactly what we see on the yapp intro:

<server localhost>
    port = 8000
    listen = 0.0.0.0
    docroot = /usr/local/var/yaws/www
    arg_rewrite_mod = yapp
    <opaque>
       yapp_server_id = edo
    </opaque>
</server>

<server localhost>
    port = 8001
    listen = 0.0.0.0
    docroot = /usr/local/var/yaws/www
    arg_rewrite_mod = yapp
    <opaque>
        yapp_server_id = ido
        bootstrap_yapps = yapp
    </opaque>
</server>

I also have the following as part of the setup (before the server blocks):

ebin_dir = /usr/local/lib/yaws/examples/ebin
ebin_dir = /usr/local/var/yaws/ebin
ebin_dir = /usr/local/lib/yapp/ebin

…

runmod = yapp

Mnesia set up as per the directions on the yapp intro as well and yaws is being launched with the correct nodename, generating the following output:

Eshell V5.8.4  (abort with ^G)
(dclements@server)1> 
=INFO REPORT==== 11-Jul-2011::13:10:58 ===
Yaws: Using config file /usr/local/etc/yaws/yaws.conf

=INFO REPORT==== 11-Jul-2011::13:10:58 ===
Ctlfile : /Users/dclements/.yaws/yaws/default/CTL

=INFO REPORT==== 11-Jul-2011::13:10:58 ===
Yaws: Listening to 0.0.0.0:8001 for <1> virtual servers:
 - http://localhost:8001 under /usr/local/var/yaws/www

=INFO REPORT==== 11-Jul-2011::13:10:58 ===
Yaws: Listening to 0.0.0.0:8000 for <1> virtual servers:
 - http://localhost:8000 under /usr/local/var/yaws/www

=INFO REPORT==== 11-Jul-2011::13:10:58 ===
Yapp starting but Yaws not ready - waiting 500 ms
=INFO REPORT==== 11-Jul-2011::13:10:59 ===
Starting yapp

(dclements@server)1>

Seeing the yawn creator’s page on yapp I see some additional output after the “Starting yapp” where it looks like things are registered. This does not show no matter how long I wait.

After this, attempting to visit the websites does not produce the desired result (http://localhost:8001/yapp/ brings me to a “not found” page). I do, however, see the following:

(dclements@server)1> yapp:get_yapps().
[]
(dclements@server)2> yapp:get_bootstrap_yapps().
[{"ido",[{"/yapp",yapp}]}]

Changing the listen to 127.0.0.1 has not changed any of the results. Changing the server names so that they are different similarly does not have an effect.

I feel like there is something basic but fundamental that I am missing, and searching around has not provided any good answers. Any help is appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T13:11:21+00:00Added an answer on June 9, 2026 at 1:11 pm

    Despite the fact that a year has passed since the question was asked, and probably the author have already found solution himself, I hope that my answer would be useful for erlang-newbies like me who faced the problem and first googled to this page.

    So I have discovered that the problem is not with yapp, but with initial Mnesia setup configuration. I just simply tried to carefully repeat all steps that were described in the wiki and it resulted me to successful result. To be more precisely firstly I have specified mnesia dir in the yaws.conf file:

    mnesia_dir = ~/.mnesia

    then I have restarted Mnesia(mnesia:stop/0, mnesia:start/0) and deleted the schema(mnesia:delete_schema/1). And finally I have repeated steps from http://yaws.hyber.org/yapp_intro.yaws.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to follow some basic examples and getting stuck by this code that is
I trying to follow one of rails basic rules DRY (don't repeat yourself) I
Trying to follow this tutorial Walkthrough: Part 1 - Creating a Basic Project System
I'm trying to follow a very basic example. Using the starter page and the
I have been trying to follow mgwt and gwt-phonegap through code.google.com. It feels like
Im trying to follow some online tutorial on annotating my models in rails. However,
I'm trying to follow the instructions at https://developers.google.com/accounts/docs/OAuth2UserAgent in order to log in with
trying to follow example in the expert f# book, and having an issue with
Im trying to follow this article for having simultaneous pan and pinch gesture recognizers
I'm trying to follow a tutorial for the Diagrams library for haskell. I've installed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.