Hi,
after installation 'dbmsrv' and 'lserver' are setuid root programs. With
'chmod 775' you removed the setuid bit.
The 'dbmcli' without '-s' connects to 'vserver', which forks a 'dbmsrv' to
execute the wanted commands. This 'dbmsrv' does a 'setuid' to the owner of
the user profile container created with 'dbmcli -s db_create ...', so
the uid of the user that created the database will be the one the dbmsrv
tries to change to. To do this it is started as setuid root. If you restrict
all database accesses to exactly that single user, you do not have to set
the setuid root flag. Otherwise you have to, since UNIX only allows
superuser to modify own uid...
CU
jrg

> -----Original Message-----
> From: Georg [mailto:[EMAIL PROTECTED]]
> Sent: Mittwoch, 24. April 2002 19:00
> To: [EMAIL PROTECTED]
> Subject: db installation (Kernel exited with '1' before reaching COLD
> state)
> 
> 
> Hi all,
> 
> I've installed the newest rpm- file on SuSE 7.3 as user root 
> and did following steps
> - then I changed the owner of the files in /opt/sapdb and 
> /var/spool/sql to sapdb.sapdb
> - tried to install a database using the commands
> 
>       dbmcli -s db_create db01 dbm,dbm
>         dbmcli -d db01 -u dbm,dbm -i scriptfile
>   the scriptfile contains
> 
>       param_startsession
>       param_init
>       param_put MAXUSERTASKS 15
>       param_checkall
>       param_commitsession
>       param_adddevspace 1 SYS sys001 F
>       param_adddevspace 2 LOG LOG001 F 500
>       param_adddevspace 3 DATA DAT001 F 655360
>       db_cold
>       util_connect
>       util_execute INIT CONFIG
>       util_activate dba,dba
>       load_systab -ud dba
>   during the first try the database got the error as 
> descriped in the mail of Axel Busch from 05.02.2002
> - I changed the several privileges and finally after "chmod 
> 775 -R /opt/sapdb/depend/pgm" it went on
> - after this I got the error "Kernel exited with '1' before 
> reaching COLD state" 
>   during the db_cold statement
> 
> Any ideas ?!
> 
> Greeting
> 
> Georg
> 
> 
> _______________________________________________
> sapdb.general mailing list
> [EMAIL PROTECTED]
> http://listserv.sap.com/mailman/listinfo/sapdb.general
> 
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to