Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 227 of 796  Not logged in ELOG logo
IDup Date Icon Author Author Email Category OS ELOG Version Subject
  1862   Fri Jun 23 13:43:03 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.1Re: restrict access

Gerald Ebberink wrote:
As you can see, I have implemented a temporary fix in the way of allowing only certain hosts access. But where does this Internal error come from.


I only can identify this error if you send me your current ("de-sensified") elogd.cfg.
  1863   Fri Jun 23 14:57:02 2006 Reply Gerald Ebberinkg.h.p.ebberink@nclr.nlQuestionLinux2.6.1Re: restrict access
I only can identify this error if you send me your current ("de-sensified") elogd.cfg.


Here you are..
Attachment 1: elog.conf
; Simple ELOG configuration for demonstration.

[global]

;Setup Logbook groups Universe
Group Universe = Maintenance, World
Group Maintenance = Hostel, System
Group World = Differ, Refer, Windows

;Setup Logbook groups Work
Group Work = Company1, Company2
Group Company2 = precer
Group precer = Acoustic, Bond

;general logbook settings
logbook tabs = 1
port = 80
Logbook dir = /srv/elog/logbooks/
URL = http://hostname/
Suppress default = 3

;Security
Password file = /srv/elog/passwords/main.passwd
Self register = 0
Admin user = gerald
Protect selection page = 0
Resolve host names = 1
Hosts allow = List of hosts
Hosts deny = ALL

;Suppres the autoquote
Quote on reply = 0

[Hostel]
Theme = default
Comment = General Procedures for use with
Attributes = Author, Category, Subject
Options Category = Emergency, Scheduled
Required Attributes = Author, Category
Subdir = hostel
Preset Author = $long_name from $remote_host
Display mode = threaded

[System]
Theme = default
Comment = General Procedures for use with Eureka
Attributes = Author, Category, Subject
Options Category = Emergency, Scheduled
Required Attributes = Author, Category
Subdir = System
Preset Author = $long_name from $remote_host
Display mode = threaded

[Company1]
Theme = default
Comment = P&W project Page
Attributes = Author, Category, Subject, Laser
Options Category = Scheduling, During Progress, During measuring, After
Options Laser = Sirius, Eureka
Required Attributes = Author
Subdir = Work/Company1
Preset Author = $long_name from $remote_host
Display mode = threaded

[Acoustic]
Theme = default
Attributes = Author, Category, Subject, Laser
Options Category = Scheduling, During Progress, During measuring, After
Options Laser = Sirius, Eureka
Required Attributes = Author
Subdir = Hostel/Company2/precert/Acoustic
Expand default = 2
Preset Author = $long_name from $remote_host
Display mode = threaded

[Bonded]
Theme = default
Attributes = Author, Category, Subject, Laser
Options Category = Scheduling, During Progress, During measuring, After
Options Laser = Sirius, Eureka
Required Attributes = Author, Subject
Subdir = Hostel/Company2/precert/Bond
Preset Author = $long_name from $remote_host
Display mode = threaded

[Refer]
Theme = default
Attributes = Author, Category, Status, Subject
Options Category = arrived, installed, removed, disposed, general
Options Status = usable, unusable
Required Attributes = Author, Subject
Subdir = some/dir
Preset Author = $long_name from $remote_host

[Differ]
Theme = default
Attributes = Author, Category, Status, Name, Ident, Pattern, Pitch X, Pitch Y, Beams X, Beams Y, Length X, Length Y, Alfa X, Alfa Y, Homogeneity, Diff. Efficiency, AR-Coated, Efficiency, Subject

Options Category = arrived, installed, removed, disposed, general
Options Status = usable, unusable
Options Pattern = hexagonal, square
Options AR-coated = boolean

Required Attributes = Author, Subject
Subdir = some/dir
Preset Author = $long_name from $remote_host
Thread display = $Name, $Ident, $Pattern, $Status, $Category, $Subject
List display =  $Name, $Ident, $Pattern, $Status, $Category, Edit, $Subject
Display mode = threaded


[Windows]
Theme = default
Attributes = Author, Category, Status, Subject
Options Category = arrived, installed, removed, disposed, general
Options Status = usable, unusable
Required Attributes = Author, Subject
Subdir = some/dir
Preset Author = $long_name from $remote_host
Display mode = threaded

  1864   Fri Jun 23 19:24:12 2006 Agree Steve Jonessteve.jones@freescale.comBug reportAll2.6.1-1681Re: Losing field 'focus' when using Conditional Attributes

Stefan Ritt wrote:

Steve Jones wrote:
It appears to only be applicable when one defines conditional Options - when javascript updates the conditional lists the input focus appears to shift to the HTML edit area. I am still running ELOG V2.6.1-1681 and this is under Windows (my test system).


It was some new code used for inline images. If you upload an inline image, an extra window opens which lets you select the image file. After that operation, you want to have the focus back at the text box. Unfortunately this also happened now after the JavaScript update of conditional attributes. I fixed that in the new version 2.6.1-6.



Quote:
Just compiled and tested on Solaris 8 -- works great!!
  1865   Fri Jun 30 13:35:03 2006 Question Mats McLundmats.lund@nassjotryckeriet.seQuestionMac OSX2.6.1Canīt run command "make" in OSX
Hello.

I think to test Elog in Mac G5 with OSX 10.4.6.

In the manual is following installationtext:

"Installation from the tarball:
Download the latest elog-x.x.x.tar.gz package.
Expand the compressed TAR file with tar -xzvf elog-x.x.x.tar.gz. This creates a subdirectory elog-x.x.x where x.x.x is the version number. In that directory execute make, which creates the executables elogd, elog and elconv."

The problem is when i try to run the command "make" in ~/elog-2.6.1 subdirectory. I get following message:
-bash: make: command not found

Now, Im not an "UNIX-hacker" so I will be glad if anyone maybe can help me?



Best regardīs
Mats McLund
  1866   Tue Jul 4 07:04:19 2006 Reply Steve Jonessteve.jones@freescale.comQuestionMac OSX2.6.1Re: Canīt run command "make" in OSX

Mats McLund wrote:
Hello.

I think to test Elog in Mac G5 with OSX 10.4.6.

In the manual is following installationtext:

"Installation from the tarball:
Download the latest elog-x.x.x.tar.gz package.
Expand the compressed TAR file with tar -xzvf elog-x.x.x.tar.gz. This creates a subdirectory elog-x.x.x where x.x.x is the version number. In that directory execute make, which creates the executables elogd, elog and elconv."

The problem is when i try to run the command "make" in ~/elog-2.6.1 subdirectory. I get following message:
-bash: make: command not found

Now, Im not an "UNIX-hacker" so I will be glad if anyone maybe can help me?



Best regardīs
Mats McLund



Quote:
Typically one would install the Gnu compiler series and with that come 'gmake'. Barring that, and not knowing anything about OSx, if OSx comes with its own compiler series then make might be somewhere on the system but not in your path. Go to http://gcc.gnu.org/ and see if you an find a pre-built version of gcc -- all I found mentioned "darwin". Perhaps Apple has something in the way of a development colleciton?
  1867   Tue Jul 4 08:46:15 2006 Reply Mats McLundmats.lund@nassjotryckeriet.seQuestionMac OSX2.6.1Re: Canīt run command "make" in OSX

Steve Jones wrote:

Mats McLund wrote:
Hello.

I think to test Elog in Mac G5 with OSX 10.4.6.

In the manual is following installationtext:

"Installation from the tarball:
Download the latest elog-x.x.x.tar.gz package.
Expand the compressed TAR file with tar -xzvf elog-x.x.x.tar.gz. This creates a subdirectory elog-x.x.x where x.x.x is the version number. In that directory execute make, which creates the executables elogd, elog and elconv."

The problem is when i try to run the command "make" in ~/elog-2.6.1 subdirectory. I get following message:
-bash: make: command not found

Now, Im not an "UNIX-hacker" so I will be glad if anyone maybe can help me?

Best regardīs
Mats McLund



Quote:
Typically one would install the Gnu compiler series and with that come 'gmake'. Barring that, and not knowing anything about OSx, if OSx comes with its own compiler series then make might be somewhere on the system but not in your path. Go to http://gcc.gnu.org/ and see if you an find a pre-built version of gcc -- all I found mentioned "darwin". Perhaps Apple has something in the way of a development colleciton?

Hi Steve.

I have now found a compiler on Apples Developer Tools --- they came as a CD from Apple with my Mac G5.

Great thanks to mr Thomas R. Vilberg for that tips!

I have now the "make"-commands to work as you see.

McLunds-G5:~/elog-2.6.1 admin$ ls -al
total 3984
drwxr-xr-x 21 1093 110 714 Jun 30 14:55 .
drwxrwxr-x 45 admin staff 1530 Jun 30 14:52 ..
-rwxr-xr-x 1 1093 110 17982 Oct 7 2005 COPYING
-rw-r--r-- 1 1093 110 3702 Mar 6 20:32 Makefile
-rw-r--r-- 1 1093 110 327 Oct 7 2005 README
drwxr-xr-x 11 1093 110 374 Apr 1 15:29 contrib
drwxr-xr-x 19 1093 110 646 Apr 1 15:29 doc
-rwxr-xr-x 1 root 110 35020 Jun 30 14:55 elconv
-rwxr-xr-x 1 root 110 43152 Jun 30 14:53 elog
-rwxr-xr-x 1 root 110 1806608 Jun 30 14:54 elogd
-rwxr-xr-x 1 1093 110 412 Mar 28 17:19 elogd.cfg
-rwxr-xr-x 1 1093 110 1256 Jan 19 09:19 elogd.init_template
drwxr-xr-x 3 1093 110 102 Apr 1 15:29 logbooks
drwxr-xr-x 5 1093 110 170 Apr 1 15:29 man
-rw-r--r-- 1 root 110 56868 Jun 30 14:53 mxml.o
-rw-r--r-- 1 root 110 46844 Jun 30 14:53 regex.o
drwxr-xr-x 31 1093 110 1054 Apr 1 15:29 resources
drwxr-xr-x 3 1093 110 102 Apr 1 15:29 scripts
drwxr-xr-x 8 1093 110 272 Apr 1 15:29 src
-rw-r--r-- 1 root 110 1672 Jun 30 14:53 strlcpy.o
drwxr-xr-x 3 1093 110 102 Apr 1 15:29 themes

But....

When I try to run "elogd -p 8080" or just "elogd" after installation I get message "-bash: elogd: command not found" Frown

You maybe have some other trick to start elogd?

Best regards and thanks for all help.

Mats McLund
  1868   Tue Jul 4 08:52:47 2006 Reply Gerald Ebberinkg.h.p.ebberink@nclr.nlQuestionMac OSX2.6.1Re: Canīt run command "make" in OSX

Mats McLund wrote:


But....

When I try to run "elogd -p 8080" or just "elogd" after installation I get message "-bash: elogd: command not found" Frown

You maybe have some other trick to start elogd?

Best regards and thanks for all help.

Mats McLund


Mats,

What you might want to try is the following (it works for linux which has bash)

in the elog directory run "./elogd -p 8080" you see the dot slash in there that means it should run the file in the local directory.

of that works you could try run "make install" in which case it will be installed in the directory where it can be found as a command.

these are just my 2 cents.
  1869   Tue Jul 4 13:07:53 2006 Reply Mats McLundmats.lund@nassjotryckeriet.seQuestionMac OSX2.6.1Re: Canīt run command "make" in OSX

Gerald Ebberink wrote:

Mats McLund wrote:


But....

When I try to run "elogd -p 8080" or just "elogd" after installation I get message "-bash: elogd: command not found" Frown

You maybe have some other trick to start elogd?

Best regards and thanks for all help.

Mats McLund


Mats,

What you might want to try is the following (it works for linux which has bash)

in the elog directory run "./elogd -p 8080" you see the dot slash in there that means it should run the file in the local directory.

of that works you could try run "make install" in which case it will be installed in the directory where it can be found as a command.

these are just my 2 cents.


Hello Gerald.

Tank you for your help!

But..... Frown

When I run ./elogd -p 8080 I get "Bus error" message.

Best regards

Mats McLund
Goto page Previous  1, 2, 3 ... 226, 227, 228 ... 794, 795, 796   Next  
ELOG V3.1.5-2eba886