Harry,

I'm back on track now. All my screens look as you say they should. Hooray! I've installed Jing, as you recommended, for help with future issues.

I think where I had gone wrong was in going to Admin MarkLogic Server immediately after the install, instead of going online the ML site. Of course, I am documents my errors as well as triumphs for the text component of my project.

Thanks for all your support.

Stay tuned ...
Mary

On 11/22/10, Harry Bakken <[email protected]> wrote:
Mary,

With a fresh install, when you login to the admin tools (port 8001) you should see this for your applications: http://screencast.com/t/xXKxeLQU7bN

When you click in there are the Docs 8000 link, you'll see the application configuration: http://screencast.com/t/de22i0sd5Mn

Here's what the MarkLogic install directory looks like: http://screencast.com/t/jtjqX8cJAYIJ

Here's the default "Docs" content: http://screencast.com/t/PVMHU6EkRx 

Here's what you see when you go to http://localhost:8000 and login: http://screencast.com/t/8vH2d2fG5eHO

Hope this helps a bit...



On Mon, Nov 22, 2010 at 9:21 PM, Harry Bakken <[email protected] <[email protected]>> wrote:
I am sorry I haven't pitched in today.  It's been busy.  I do carry a bias, but I think you've chosen a FANTASTIC technology to learn. Don't fret.  The administration stuff on any server technology can be confusing to the newbie, but the MarkLogic community is very helpful and there are plenty of folks who can help you get back on course.  It's great that you have the server reinstalled and functioning.

It sounds to me that you are getting the "Forbidden" page because you don't have any files in your root modules database of your site.  I am assuming you are trying your application on :8005  If that is not where you're getting that, can you tell us which port and what exactly you see?  Perhaps use Jing to get a screen cap and post the link in this thread or something (http://jingproject.com)

What I always do with a new install is focus on :8000 and :8001 at the outset.  :8000 is the default web application that ML creates on install.  It uses the filesystem as the modules database and the directory is under C:\your-path-to-marklogic\Docs.  By default, when you go to http://localhost:8000, you'll get a "use cases" tool that has code samples, etc.  If you replace the default.xqy file with something else, you'll see that change. 

If you are getting the forbidden error on an application server you created, like on port 8005, you need to look at where the application is set to look for the modules database and put some content there.  It could be as simple as making a text file that you look for by http://localhost:8005/foo.txt or you could place an html or xqy page there and get it to do something besides reporting forbidden.  That modules database setting is found by logging into the admin application on http://localhost:8001 under the application servers.  You should see an application server running on that port and the details will show where the modules database is.

Something that could help us better understand what you've set up would be screen captures of your admin page with the listings of applications or just explaining what ports have what happening when you try to get there.  Another common issue is that if you're using Microsoft Internet Exploder, you need the http:// when using localhost.  Just using localhost:8000 will give an error.

Hope this helps a bit.  Keep at it.  The more info you can post about what you've tried/are trying, the better.


 

On Mon, Nov 22, 2010 at 8:56 PM, Mary Astarita <[email protected] <[email protected]>> wrote:

Thanks for the suggestions. After several attempts, I was able to start fresh. Now I'm having a problem with authentication ("Forbidden" error), which was not an issue the first time around. Now that I know how to get a fresh start, I'll try again tomorrow.

To give you a bit of background, I am a Drexel University grad student in the college of information science and technology. For the term project, we are to learn a new technology. I chose MarkLogic. Hmmm ...

More tomorrow.
Mary




On 11/22/10, DJaun Maclin <[email protected] <[email protected]>> wrote:

Danny is right! That's the last step to uninstalling to reinstall with a clean start.

Dj

Sent via DROID on Verizon Wireless


-----Original message-----
From: Danny Sokolsky <[email protected] <[email protected]>>
To:
General MarkLogic Developer Discussion <[email protected] <[email protected]>>
Sent:
Mon, Nov 22, 2010 22:19:40 GMT+00:00
Subject:
Re: [MarkLogic Dev General] Help request

Hi Mary,

If what you are trying to do is start from scratch, you need to do one other thing after uninstalling but before reinstalling:

Delete the c:/Program Files/MarkLogic directory

What you did was an upgrade, which kept all of your data and configuration (including the stuff that was not working).

Give that a try and let us know what happens.

-Danny

From: [email protected] <[email protected]> [mailto:[email protected] <[email protected]>] On Behalf Of Mary Astarita
Sent: Monday, November 22, 2010 2:08 PM
To: General MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Help request

Thanks for the feedback, Geert and DJaun. Ok, I followed the MarkLogic instructions for uninstalling (1. Start -> Programs -> MarkLogic SErver -> Stop MarkLogic SErver. 2. Use Add/REmove Program Control Panel to uninstall).

That didn't do it. I'm getting the same results ("Trouble loading page" for 8001, and "500 Internal Error" for 8005. Apparently, I'm missing the step "remove all remainders," as suggested by Geert.

What does that step entail, please?

Thanks,
Mary



On 11/22/10, Geert Josten wrote:
Hi Mary,

Yep, /error-switch.xqy seems to indicate you accidentily updated the Admin App server. The easiest way out is to do as Dj suggested: uninstall, remove all remainders, and reinstall.

There are other ways of fixing this, but you either have to remember where you made the Admin App server point to (you likely entered some filesystem path as 'root' for the app server), and copy the contents of the Admin folder from the MarkLogic Server installation folder to that one. Or use another http app server location mounted on the filesystem for that. Or otherwise happen to have some other working app server through which you could try to ingest admin configuration updates to fix the situation. A bit awkward alltogether.. :-P

Kind regards,
Geert

>


drs. G.P.H. (Geert) Josten
Consultant

Daidalos BV
Hoekeindsehof 1-4
2665 JZ Bleiswijk

T +31 (0)10 850 1200
F +31 (0)10 850 1199

mailto:[email protected] <[email protected]>
http://www.daidalos.nl/

KvK 27164984


De informatie - verzonden in of met dit e-mailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.

> From: [email protected] <[email protected]>
> [mailto:[email protected] <[email protected]>] On Behalf Of
> Mary Astarita
> Sent: maandag 22 november 2010 14:52
> To: General MarkLogic Developer Discussion
> Subject: Re: [MarkLogic Dev General] Help request
>
> Hi, Harry,
>
> Thanks for jumping in to help.
>
> This is what I see at http://localhost:8005/: 500 Internal
> Server Error: XDMP-MODNOTFOUND: (err:XQST0059) Module
> /error-switch.xqy not found [0.9-ml] Old Error.
>
> These are the instructions I am now following:
> http://developer.marklogic.com/learn/2009-01-get-started-apps.
>
> It is possible that I inadvertently changed the admin pages
> to 8005, when I was attempting to follow the instructions at:
> http://developer.marklogic.com/pubs/4.2/books/gs.pdf (Section
> 3.2, Step 10), but I can't seem to find my way back in to
> make any corrections.
>
> So how do I get back to default or somehow make this work?
>
> Mary
>
>
>
>
>
>
>
> What do you see at http://localhost:8005/ ? I am wondering
> what you are changing to port 8005? A default install will
> put the "Docs" app server on port 8000, the admin app on
> 8001, the application builder on 8002. Did you change the
> admin pages to 8005?
>
> What instructions are you following? Can you send a link or
> e-mail with them?
>
>
>
>
> On Sun, Nov 21, 2010 at 8:22 PM, Mary Astarita
> wrote:
>
>
> Hi, All,
>
> I'm new to MarkLogic and given that my issue is more
> basic than any I've seen discussed on this list, I'm not sure
> this is the right place to ask. So please redirect me if necessary.
>
> I've hit a roadblock pretty early in the process of
> using MarkLogic. Since I followed the startup instructions to
> change the port to 8005, I have not been able to get into the
> appropriate page (http://localhost:8001/). I get an error
> message (Unable to connect: Firefox can't establish a
> connection ... ). When I try http://localhost:8002/, it takes
> me to the Application Services page.
>
>
>
> I tried uninstalling and reinstalling, but I get the
> same results.
>
>
>
> I tried closing out of Mozilla and opening the link in
> Internet Explorer, but when I started "Use MarkLogic,"
> Mozilla Firefox automatically opened up.
>
>
>
> When I tried to start a new database, I found that the
> one I had originally named (but had not yet added content to)
> was still registered, so apparently, my computer "remembered"
> my naming of that file despite the fact that I had
> uninstalled the program.
>
>
>
>
> Can anybody tell me how to get past this impasse and
> move forward in the tutorials?
>
>
>
>
> Thanks,
>
> Mary A.
>
>
>
>
>
>
>
> ____________________________________________
> General mailing list
> [email protected] <[email protected]>
> http://developer.marklogic.com/mailman/listinfo/general
>
>
>
>
>
_______________________________________________
General mailing list
[email protected] <[email protected]>
http://developer.marklogic.com/mailman/listinfo/general


_______________________________________________


_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to