Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > 123 Flash Chat Server Software > 123 Flash Chat Support

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 11-17-2003, 09:48 PM
Junior Member
 
Join Date: Nov 2003
Posts: 12
Default Re:Mac OS X install

Got it to work ....

Now to figure out how to integrate it into PostNuke!!

thanks
Reply With Quote
  #12 (permalink)  
Old 11-18-2003, 03:28 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,000
Default Re:Mac OS X install

Integrate it into PostNuke:

1. open <installed_server_dir>/etc/fcserver.xml , and edit it:
find:
<integrated-other-database>None</integrated-other-database>

change to:
<integrated-other-database>Mysql</integrated-other-database>

2. open <installed_server_dir>/etc/Mysql.xml
edit it:
<?xml version="1.0" encoding="UTF-8"?>
<Mysql>
<database-host>your_db_host</database-host>
<database-name>your_nuke_db_name</database-name>
<database-user>your_db_user</database-user>
<database-password>your_db_password</database-password>
<user-table>nuke_users</user-table>
<username-field>username</username-field>
<password-field>user_password</password-field>
<enable-md5>On</enable-md5>
</Mysql>

3. restart 123 flash chat server


good luck,
Reply With Quote
  #13 (permalink)  
Old 11-18-2003, 11:00 AM
Junior Member
 
Join Date: Nov 2003
Posts: 12
Default Re:Mac OS X install

Hi

I made the changes and this occurred

Starting the server ...
You database setting error , please check your user-table, username-field, password-field :Column not found, message from server: "Unknown column 'user_password' in 'field list'"
[cvhs2:Apache2/htdocs/123flashchat] lelchuck% java -cp lib/fcserver.jar:lib/log4j.jar:lib/jdom.jar:lib/xerces.jar:lib/mysql.jar:.* com.topcmm.jchat.MainServer

====

The proper username/password combo is pn_uname/pn_pass

I made these changes and re-started the server

thanks
larry

=====

----== ->->->-> www.123flashchat.com <-<-<-< ==-----
Welcome to try 123 Flash Chat Server software!
This is a demo version of 123 Flash Chat Server 1.2
Demo version will disconnect the user after logging in for 10 minutes!
Get the full version: http://www.123flashchat.com/buy.html
----== ->->->-> www.123flashchat.com <-<-<-< ==-----


Starting the server ...
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: logs/access.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:174)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:102)
at org.apache.log4j.FileAppender.setFile(FileAppender .java:272)
at org.apache.log4j.FileAppender.activateOptions(File Appender.java:151)
at org.apache.log4j.DailyRollingFileAppender.activate Options(DailyRollingFileAppender.java:206)
at org.apache.log4j.config.PropertySetter.activate(Pr opertySetter.java:247)
at org.apache.log4j.config.PropertySetter.setProperti es(PropertySetter.java:123)
at org.apache.log4j.config.PropertySetter.setProperti es(PropertySetter.java:87)
at org.apache.log4j.PropertyConfigurator.parseAppende r(PropertyConfigurator.java:645)
at org.apache.log4j.PropertyConfigurator.parseCategor y(PropertyConfigurator.java:603)
at org.apache.log4j.PropertyConfigurator.configureRoo tCategory(PropertyConfigurator.java:500)
at org.apache.log4j.PropertyConfigurator.doConfigure( PropertyConfigurator.java:406)
at org.apache.log4j.PropertyConfigurator.configure(Pr opertyConfigurator.java:340)
at aa.b(Unknown Source)
at W.a(Unknown Source)
at W.<init>(Unknown Source)
at com.topcmm.jchat.MainServer.<init>(Unknown Source)
at com.topcmm.jchat.MainServer.main(Unknown Source)
log4j:ERROR Either File or DatePattern options are not set for appender [AInfo].
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: logs/error.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:174)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:102)
at org.apache.log4j.FileAppender.setFile(FileAppender .java:272)
at org.apache.log4j.FileAppender.activateOptions(File Appender.java:151)
at org.apache.log4j.DailyRollingFileAppender.activate Options(DailyRollingFileAppender.java:206)
at org.apache.log4j.config.PropertySetter.activate(Pr opertySetter.java:247)
at org.apache.log4j.config.PropertySetter.setProperti es(PropertySetter.java:123)
at org.apache.log4j.config.PropertySetter.setProperti es(PropertySetter.java:87)
at org.apache.log4j.PropertyConfigurator.parseAppende r(PropertyConfigurator.java:645)
at org.apache.log4j.PropertyConfigurator.parseCategor y(PropertyConfigurator.java:603)
at org.apache.log4j.PropertyConfigurator.configureRoo tCategory(PropertyConfigurator.java:500)
at org.apache.log4j.PropertyConfigurator.doConfigure( PropertyConfigurator.java:406)
at org.apache.log4j.PropertyConfigurator.configure(Pr opertyConfigurator.java:340)
at aa.b(Unknown Source)
at W.a(Unknown Source)
at W.<init>(Unknown Source)
at com.topcmm.jchat.MainServer.<init>(Unknown Source)
at com.topcmm.jchat.MainServer.main(Unknown Source)
log4j:ERROR Either File or DatePattern options are not set for appender [AError].
Init File System error, Server started failed!
Reply With Quote
  #14 (permalink)  
Old 11-18-2003, 12:46 PM
Senior Member
 
Join Date: Jan 2001
Posts: 413
Default Re:Mac OS X install

Quote:
java.io.FileNotFoundException: logs/access.log (Permission denied)
It seems that the current user you are when starting the server don't have permission to access the file you created before, like I said I have no much experience on MAC system, but if in the unix system, you can use some command like:
chmod 666 log/access.log
to allow other users to access the file, try some similar command in MAC, or just delete the log/access.log file, and try again!
Reply With Quote
  #15 (permalink)  
Old 11-18-2003, 02:40 PM
Junior Member
 
Join Date: Nov 2003
Posts: 12
Default Re:Mac OS X install

Thanks

Still the same error

Reply With Quote
  #16 (permalink)  
Old 11-19-2003, 04:41 AM
Senior Member
 
Join Date: Jan 2001
Posts: 413
Default Re:Mac OS X install

please undo the changes in <installed_server_dir>/etc/fcserver.xml
edit it, and change:
<integrated-other-database>Mysql</integrated-other-database>

to
<integrated-other-database>None</integrated-other-database>

then restart the chat server, is there same error ?

Reply With Quote
  #17 (permalink)  
Old 11-19-2003, 10:46 AM
Junior Member
 
Join Date: Nov 2003
Posts: 12
Default Re:Mac OS X install

I'll try in a couple of hours and report back .... thanks
Reply With Quote
  #18 (permalink)  
Old 11-19-2003, 03:47 PM
Junior Member
 
Join Date: Nov 2003
Posts: 12
Default Re:Mac OS X install

that does not work now either ... whatever happened!

cheers
Reply With Quote
  #19 (permalink)  
Old 11-20-2003, 02:12 AM
Senior Member
 
Join Date: Jan 2001
Posts: 413
Default Re:Mac OS X install

I think the reason is:the system user you started the server at the first time and the current system user you starting the server is not the same one, so the second user have not permissiton to write the file when the first user created.

just use the administrator user delete "logs" and "data" dir, and then login in with the common user, and start the server again!
Reply With Quote
  #20 (permalink)  
Old 11-20-2003, 09:05 AM
Junior Member
 
Join Date: Nov 2003
Posts: 12
Default Re:Mac OS X install

Thanks for your valuable time on this.

After getting it to work with the java command that you provided on the previous page, I created a user with a user/pass.

At the same time that I followed your directions to have it link to my Mysql database, I changed the admin/admin in the .xml file to the same user/pass I had created earlier. I think that this caused the conflict.

Once I deleted both folders as you suggested, it started ok using it's own database. Ditto for linking to my Mysql database.

A couple of questions:
1. Am I ok to change the admin user/pass (in the .xml file) to my preferred one (as long as I did not log in to 123flashchat using that username OR is there a way to do it from within the browser?

2. Is these a way to restrict access to user rooms and then to allow a room to have breakout rooms? Eg. Only Math student sget to enter the Math room, and they can then subdivide into group rooms.

3. I am excited about the possibilities of adding voice and video if this is not too much of a stretch. Is this a possibility and what are the timefrasmes?

thanks again.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:36 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.