Forum LAMS for Tech-Heads - General Forum: Re: Re: Re: Requested resource not available


 
Search: 

4: Re: Re: Re: Requested resource not available
In response to 3 03/15/07 04:27 PM
[ Reply | Forward ]
Anders,

Fiona has set up a Changing Server Ports page on the wiki page that might be helpful to make sure what your you are using.

Thanks,

Ernie

Posted by Ernie Ghiglione

5: Re: Re: Re: Re: Requested resource not available
In response to 4 03/15/07 04:46 PM
[ Reply | Forward ]
Anders,

Can you try accessing the server without the "lams/" bit on the end?

e.g., if you were normally to enter "http://server:8080/lams" then just put in "http://server/lams"

Do you get page with an Apache heading or a JBoss heading?

If you get an Apache heading, then apache is using that port, and you will need to use the instructions on the page Ernie has suggested to move LAMS to another port.

But I don't understand why this would have changed between you running 2.0 and 2.0.1? Unless you configured LAMS to run on a different port for 2.0?

Waiting for LAMS 2.0.2 won't fix this - it will just default to port 8080 just the same as LAMS 2.0.1.

Fiona

Posted by Fiona Malikoff

6: Re: Re: Re: Re: Re: Requested resource not available
In response to 5 03/16/07 03:38 AM
[ Reply | Forward ]
http://server/lams leads to a page that
can't be viewed.

Changing the port to 8180 gave the
same result - "resource not available"
It is still an Apache heading.

No, I haven't configured LAMS to run
on any other port than 8080.

Anders

Posted by Anders Berggren

7: Re: Re: Re: Re: Re: Re: Requested resource not available
In response to 6 03/16/07 04:28 AM
[ Reply | Forward ]
Anders,

I just realised I had a typing mistake in my previous message.

What I meant to say was could you try

http://<yourservernamehere>:8080/

replacing <yourservernamehere> with the name of your server.

What does that give you?

Fiona

Posted by Fiona Malikoff

8: Re: Re: Re: Re: Re: Re: Re: Requested resource not available
In response to 7 03/16/07 07:46 AM
[ Reply | Forward ]
Tried "http://localhost:8080/
Response:
"Page can not be viewed - connection to server failed"

Posted by Anders Berggren

9: Re: Re: Re: Re: Re: Re: Re: Requested resource not available
In response to 7 03/17/07 04:34 AM
[ Reply | Forward ]
Hi Fiona,

I just had a hunch
that Tomcat is not
a part of the XAMPP
package.

The number of lams2 database tables
vary with each re-installation. For
the moment there are 7 tables.

Now I get no ants-directory. ?!?

Most of the rest of the things on
this testing computer seem to work
properly.

I hope I am not causing too much
inconvenience...

Cheers, Anders

Posted by Anders Berggren

10: Re: Re: Re: Re: Re: Re: Re: Re: Requested resource not available
In response to 9 03/19/07 12:16 AM
[ Reply | Forward ]
Anders,

First up, an apology. I missed the word "Tomcat" in your first post and went off on a tangent there. The "Tomcat" bit indicates you probably are getting through to JBoss - Tomcat is the webserver that is bundled as part of JBoss.

So that leaves us with a problem with the install again. 7 tables is just plain weird.

Luke is just sending me the 2.0.2 installer for testing, so its is on schedule for release later this week. So either give the 2.0.1 another go or wait till Thursday and fingers crossed the next installer will be ready, with some critical bugs fixed relating to non-Roman characters.

If you do give 2.0.1 another go, can you display the details when you are on the main install screen, copy them to the clipboard and attach them here? See the screendump for the screen I refer to.

Fiona

Posted by Fiona Malikoff

Attachments:
11: Re: Re: Re: Re: Re: Re: Re: Re: Re: Requested resource not available
In response to 10 03/19/07 02:02 PM
[ Reply | Forward ]
Hi Fiona,
I don't know if there should be
a slash after the path to 'mysql'
or not. We added that when installing
2.0.

I've attached the installation log.
Seems OK to me.

Anders

Posted by Anders Berggren

Attachments:
12: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Requested resource not available
In response to 11 03/22/07 08:36 PM
[ Reply | Forward ]
Anders,

The error is this bit:

import-db:
      [sql] Executing file: C:\DOCUME~1\ANDERS~1\LOKALA~1\Temp\dump.sql
      [sql] Failed to execute:    /*!40000 ALTER TABLE `lams_auth_method_type` DISABLE KEYS */

BUILD FAILED
C:\DOCUME~1\ANDERS~1\LOKALA~1\Temp\build.xml:95: java.sql.SQLException: Table 'lams_auth_method_type' is read only

But why mysql thinks this table is read only I have no idea.

I assume you are trying to do a fresh install - not upgrade from a previous version. If you are trying to do a fresh install, can you MySQL client and delete the lams2 database manually before running the install.

We are still finalising the 2.0.2 installer so wait till that one is ready (real soon now!)

I'm not sure how you can drop a database in WinMySQLadmin - I've never managed to get it working properly since I reinstalled XAMPP on my PC.

To do it via the command line version you should be able to go to the command line and do the following, replacing "c:\Program Files\xampp\mysql" with your path to mysql:

C:\Documents and Settings\Administrator>"c:\Program Files\xampp\mysql\bin\mysql" -ulams2 -p
Enter password: ********
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 234
Server version: 5.0.33 Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> drop database lams2;
Query OK, 139 rows affected (5.00 sec)

mysql> exit
Bye



The number of rows bit will be different if you have only 7 tables!

Fiona

Posted by Fiona Malikoff

13: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Requested resource not available
In response to 12 03/23/07 04:29 PM
[ Reply | Forward ]
Hi Fiona,
I upgraded to both JDK 1.6.0 and LAMS 2.0.2.
Then I finally got the URL to user info right
in 'Maintain integrated servers' after changing it to:

"http://localhost/moodle/mod/lamstwo/userinfo.php?un=%username%&ts=%timestamp%&hs=%hash%"

by adding 'moodle' according to instructions you had
given to another user in another discussion.

For the moment everything that I have done
seems to function even if some mysterious
stuff interferes temporarily.

:-) Anders

Posted by Anders Berggren

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum