Date: Wed, 11 Apr 2001 12:19:52 +0100 From: David Groves <david.groves@imagination.com> To: freebsd-emulation@freebsd.org Subject: CorporateTime using Linux Emulation of 4.2-Release Message-ID: <3AD43DD8.4FB3CA58@imagination.com>
next in thread | raw e-mail | index | archive | help
We are trying quite hard to get CorporateTime from steltor (www.steltor.ca) to run under FreeBSD. We have contacted a person from the mailing list archives on Freebsd.org that has got further on this one than we have, so we know some of this is possible. Currently we are running FreeBSD 4.2-Release, with the generic kernel. CorporateTime specifies it requires Redhat Linux 6.1 (among other things, none of which are realistic options for us). This clearly is good, with the FreeBSD linux emulation being based on the same linux distribution (and so lib set etc ...), but we are running into some problems. I will try and give you as much information as possible :- *** WHAT I DID *** Starting from a FreeBSD system with linux binary support added (from the install process) :- The basic install procedure is to grab the tarball, extract it to a temp directory, then use the installer utility to setup corptime in its real location. 1.) Make a directory for the temp installation files [mkdir /tmp/ct] 2.) Fetch the corptime .tar.gz into the temp install directory [ftp / scp / whatever] 3.) Uncompress corptime [tar xvfz <file>.tar.gz] 4.) Make the users directory in compat [mkdir /compat/linux/users] 5.) Link /users to the compat /users [ln -s /compat/linux/users /users] 6.) Run a linux shell [/compat/linux/bin/bash] 7.) Follow corptime instructions below ******** CORPTIME README ********** [www.steltor.com/notes/corptime-server/5_1/readme.htm] UNIX SYSTEMS. 1. Login as root or as a user with root privileges. [su -] 2. Create a UNIX group account called dxoffice. [pw groupadd dxoffice] 3. Create a UNIX user account called unison in the group dxoffice. [pw useradd unison -g dxoffice] 4. Edit /etc/services to include the following entries: [vi /etc/services] unieng 5730/tcp unisnc 5731/tcp NOTE: If using a centralized information service such as NIS, please refer to the operating system documentation for instructions on adding these services. [we aren't] 5. Run installation script: [./unisetup] 6. If you are upgrading from a previous version of CorporateTime Server, the presence of a /users/unison directory will be detected. Your old configuration settings (those in /users/unison/misc/unison.ini) will be merged with the new unison.ini and /users/unison/db archived and restored upon installation of the new server. Obsolete parameters will be removed. Other rarely used parameters may also be removed if their values have been left unchanged. This is done in order to simplify the unison.ini file and make it easier to maintain by displaying only those parameters you may need to tune. 7. For a fresh install you will be prompted to: + enter a new license or accept the default [check our pack for license information, accept default in test installs] + select a time zone [Corptime big admin guide, page 197 :: UK is GMT0BST] + set the maximum number of concurrent users [Set this to 10 on test installs, 500 on real installs] + enable or disable mail notification [Disable on test installs, enable on real installs] + select a node-ID and alias for the creation of a calendar node [Use 6 and test for a test install, see our admin pack for real install details] 8. Consult the release notes for any additional patches or enhancement packs that may be required. [None at time of writing (11/04/2001)] 9. Refer to the Administrator's Guide for more information concerning the configuration of the calendar server (time zone, logged-on user limit, mail notification etc). See the on-line Administrator's Guide for full configuration, use and maintenance instructions. ****** END OF CORPTIME README ********* In addition to this I have tried branding all the linux binaries in /users/unison/bin to Linux instead of SVR4 with no luck. I have attached the complete contents of the unison/log directory. I have a core produced by unilckd on request (around 180k). The output of GDB on it is :- Program Terminated with signal 11, Segmentation fault #0 getenv (name=0x80987c9 <Address 0x80987c9 out of bounds>) at ../sysdeps/generic/getenv.c:88 88 ../sysdeps/generic/getenv.c: No such file or directory. Any advice ? -- David Groves (david.groves@imagination.co.uk) ____________________________________________________________________ Imagination 25 Store Street South Crescent London WC1E 7BL England | Tel +44 20 7323 3300 Fax +44 20 7323 5801 | _______________________________________________________| ******** LOGS ******* ** script.log Wed Apr 11 11:01:18 /etc/localtime 2001 || PID = 17583 || uniclean: cleanup completed Wed Apr 11 11:01:24 /etc/localtime 2001 || PID = 17527 || unistart: CorporateTime Server Wed Apr 11 11:01:24 /etc/localtime 2001 || PID = 17527 || unistart: Copyright (C) 1993-2000 Corporate Software & Technologies Int Inc. Wed Apr 11 11:01:24 /etc/localtime 2001 || PID = 17527 || unistart: All Rights Reserved. uniclr_ipc: working, please wait ... uniclr_ipc: ipc resources cleared Wed Apr 11 11:01:24 /etc/localtime 2001 || PID = 17527 || unistart: unilckd Wed Apr 11 11:01:26 /etc/localtime 2001 || PID = 17527 || unistart: uniengd Wed Apr 11 11:01:31 /etc/localtime 2001 || PID = 17527 || unistart: unilckd failed Wed Apr 11 11:01:31 /etc/localtime 2001 || PID = 17527 || unistart: uniengd failed Wed Apr 11 11:01:31 /etc/localtime 2001 || PID = 17527 || unistart: aborted ** end of script.log ** lck.log ------------------------------------------------------------------------------- DATE = Wed Apr 11 11:01:24 2001 PID = 18749 unilckd version: A.05.01 ** end of script.log ** eng.log ------------------------------------------------------------------------------- DATE = Wed Apr 11 11:01:26 2001 PID = 18753 uniengd version: A.05.02 ------------------------------------------------------------------------------- DATE = Wed Apr 11 11:01:26 2001 PID = 18753 LICENSE: "25.06.01.090/CS&T DEMO LICENSE/E8F9C753" ------------------------------------------------------------------------------- DATE = Wed Apr 11 11:01:26 2001 PID = 18756 uniengd: taf_limit = 9 taf_max_retry = 100 taf_limit_retry = 5 ------------------------------------------------------------------------------- DATE = Wed Apr 11 11:01:27 2001 PID = 18756 uniengd: database OKAY, node-id [6] database name is "N0" database version is "A.02.62" database timezone is "GMT0BST" ------------------------------------------------------------------------------- DATE = Wed Apr 11 11:01:27 2001 PID = 18756 UNAME: system = Linux version = FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000 jkh@ben release = 2.2.12 machine = i386 node = corptimetest.imagination.co.uk ------------------------------------------------------------------------------- DATE = Wed Apr 11 11:01:27 2001 PID = 18756 SYSTEM errno = 98 -> Address already in use DEXOTEK ERRCODE Ox1190C -> TrnDescBindAndListen: bind ------------------------------------------------------------------------------- DATE = Wed Apr 11 11:01:27 2001 PID = 18756 DEXOTEK ERRCODE Ox1190C -> OpenDaemonSockets: TrnDescBindAndListen(AF_UNIX) ------------------------------------------------------------------------------- DATE = Wed Apr 11 11:01:27 2001 PID = 18756 DEXOTEK ERRCODE Ox1190C -> TrSysDaemon: OpenDaemonSockets ------------------------------------------------------------------------------- DATE = Wed Apr 11 11:01:27 2001 PID = 18756 DEXOTEK ERRCODE Ox1190C -> uniengd: TrSysDaemon ** end of script.log To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AD43DD8.4FB3CA58>