baanspider
21st March 2008, 10:26
Hi experts

I am trying to install baan4c4 into my server.

Getting this error when type sh install6.1

Please see attached file.

regards,

Markus Schmitz
21st March 2008, 15:33
The unix error "1" mean "Not a superuser".

This could mean, that teh code is expected to be executed as user root, or that the file .../shm_param has wrong permissons.

As which ser are you executing the install? And what permissions does the shm_param file have?

baanspider
24th March 2008, 02:42
Hi

I am using user root when running sh install6.1
The permission of shm_param is 775.
What else is wrong as I still getting this error when running as root.

thanks n regards,

jclju1
25th March 2008, 14:49
What permissions has file /usr/cdrom/install/bse/bin/shmvalues6.1? Can you start /usr/cdrom/install/bse/bin/shmvalues6.1 -U? What happens if you manually start command /usr/cdrom/install/bse/bin/shmvalues6.1 -s 512?

baanspider
26th March 2008, 09:47
hi

I am getting this error when i type shmvalues6.1 -s 512

warning: this file is obsolete and has been replaced by shm_config file.
warning: this file is not used, unless shm_compat_mode resource has non_zero value
shm_param generated by shmvalues6.1
Preallocated memory for this setup is 16Mb
Maximum segment size 1920.0MB
Failed to attach any segment: invalid argument

Please advise

thanks n regards

jclju1
26th March 2008, 10:11
Read the Technical notes for your installation portingset. Maybe you have to change installation script or could be enough to add (or change) $BSE/lib/defaults/all file, I am not sure.

This is from Technical notes:
With porting set 6.1c.07.13 the allocation of a shared memory segment is
changed. The memory segments are allocated dynamically instead of based
on the predefined addresses in $BSE/lib/shm_param with a default fixed size.
Use previous shared memory manager behavior
It’s also possible to fall back to the previous shared memory behavior, thus
by using the binary shm_values6.2 and the parameter file
$BSE/lib/shm_param
Do so by adding the following line to $BSE/lib/defaults/all
shm_compat_mode:1