Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 3-Jul-2012 12:06:36

thoun
Member
Registered: 28-Apr-2012
Posts: 43

Installation scol_install_server_linux_4.0

Hello,

I have install scol_install_server_linux_4.0 and  encounter no problem (so no log exactly).

mysql was installed
unixodbc-2.3.0 was installed

But after reboot the system an error is screening all 5 minutes


/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file

INIT: Id "s1" respawning too fast: disabled for 5 minutes

acces to http://<ip>:1201/CC   ou ControlCenter not run

someone can help me ?
Where can i dowlnload some Doc about scol server 4?

thank you.

Last edited by thoun (3-Jul-2012 12:19:56)


Thierry

Offline

#2 3-Jul-2012 12:24:11

iri
Admin. / Scol language & Scol apps developer
From: France
Registered: 22-Feb-2009
Posts: 2,024
Website

Re: Installation scol_install_server_linux_4.0

Hello,

The full server documentation can be found here :

http://www.scolring.org/index.php/logic … info&id=28 (English version)
http://www.scolring.org/index.php/logic … info&id=29 (Version française)

What is your system ? (Quelle est ton système, ta distribution)

To start / stop the server from a bash script, you can make something like that (change the value of PATH_SCOL to your configuration) :

#!/bin/bash

PATH_SCOL=/home/loginl/scol/
PATH_CURRENT=$PWD

# action "start"
case "$1" in
'start')
	cd $PATH_SCOL
	nohup ./startscol.sh &
	#./scol &
	;;
'stop')
	if ps -d | grep usmunix; then
		killall -KILL usmunix
	fi
	;;
*)
	echo "Usage: $0 { start | stop }"
	;;
esac
cd $PATH_CURRENT
exit 0

Offline

#3 3-Jul-2012 12:27:29

iri
Admin. / Scol language & Scol apps developer
From: France
Registered: 22-Feb-2009
Posts: 2,024
Website

Re: Installation scol_install_server_linux_4.0

For the Control Center, try with a slash (/) at the end :
http://<ip>:1201/CC/

Offline

#4 3-Jul-2012 13:46:39

thoun
Member
Registered: 28-Apr-2012
Posts: 43

Re: Installation scol_install_server_linux_4.0

Thanx for u re answer,

My systeme is :

CentOS release 5.4 (Final)
Kernel 2.6.18-164.el5xen on an i686

And i found the error, i was install scol server in /root fo scol user...   :s

So i 've make a new install in /home/<user> and is ok now (no error). the service is runing


for the http acces, if i use http://<ip>,   the screen return this   "'s Scol Services", so i think it's done.
But with http://<ip>:1201/CC/   or /ControlCenter/   are not found


What's wrong? may be the DB odbc?

Thanx.


Thierry

Offline

#5 3-Jul-2012 14:55:56

iri
Admin. / Scol language & Scol apps developer
From: France
Registered: 22-Feb-2009
Posts: 2,024
Website

Re: Installation scol_install_server_linux_4.0

I think this is ok but check the Scol user in the usm.ini file (in the root Scol directory). The key is masteruser : he's the good system user ?

Check too the adminport key : this port should be 1201 by default. Check if this port is not already used by another process.
Check the log file :
- If the log are not already activated, in the usm.ini file, set to yes the log key and set to FFFF the echo key. Stop and restart the Scol server.
- If the log are already activated, you can find them in the log sub-directory.

In the data sub directory, you are a SQL script to create the DB. Did you use this script ?
In the UnixODBC sub directory, the content of the .odbc.ini file is it ok ? (warning, if you use a graphic files browser, this is an hidden file by default)

Your kernel is a bit old but Scol server is older than it, so it's ok.
Humm, are you JavaScript activated in your web browser ?

Offline

#6 3-Jul-2012 15:20:58

thoun
Member
Registered: 28-Apr-2012
Posts: 43

Re: Installation scol_install_server_linux_4.0

Yes all is ok,

Well done for javascript activation..., i was used IE... now all runing correctly

Thank a lot, now i'll be testing a site.


Thierry

Offline

#7 3-Jul-2012 17:29:29

iri
Admin. / Scol language & Scol apps developer
From: France
Registered: 22-Feb-2009
Posts: 2,024
Website

Re: Installation scol_install_server_linux_4.0

If you want to use the SQLite3 or (partial) Syspack support for your site, you must :
1- Download the library :
http://redmine.scolring.org/projects/scolserver/files (for the Scol server only, not for the client)
2- Edit your usm.ini file and add this line :
(SQLite3)

plugin ./plugins/libsqlite3.so ScolLoadPlugin

(Syspack)

plugin ./plugins/libsyspack.so ScolLoadPlugin ScolUnloadPlugin

You can get these SQLite3 modules :
- loginP4Sqlite3 (like loginP4 but without ODBC connexion, it uses a simple file in the Scol partition)
http://www.irizone.net/scs/loginp4sqlite3_1.0.tar.gz (md5 : 8d30c917618baabcc00ef010b0234389)
- Sqlite3
http://www.irizone.net/scs/sqlite3_scs_1.0.tar.gz (md5 : bc993f31885f75b5c0c150efbbe11199)

Offline

Board footer

Powered by FluxBB