I now tried several things...
- made the installation of the database as user root.....same reaction
- rpm -e sapdb-srv...; rpm -e sapdb-ind... and reinstalled in with rpm -i ...
o invoked /etc/init.d/sapdb start
o tried to create the database with the same command "dbmcli -s db_create db1 dbm,dbm"
o "dbmcli -d db1 -u dbm,dbm -i scriptname" ...
....same reaction
- erased the whole installation again and installed the server using the .tgz files and SDBINST as described in the attached log-file
o started the x_server as sapdb
o tried to create the database as user sapdb with the previous used commands below
... same reaction
what am I doing wrong, thanx for help
Greetings
Georg
Mensing, Joerg wrote:
[EMAIL PROTECTED]">how can i set the setuid root flagHi,
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
[EMAIL PROTECTED]">
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
--
Georg Thomé
Diplom Informatiker(FH)
Process Informatics
IEE Luxembourg
zone industrielle
L-6468 Echternach
phone 00352/728989-6810
fax 00352/728989-6109
email [EMAIL PROTECTED]
web www.iee.lu
CALL: INSAPDB
STDOUT:
Installation of SAP DB Server 7.3.0.21
STDOUT: **************************************
STDOUT: start installation Fr, Apr 26, 2002 at 11:39:27
STDOUT: operating system: linux
STDOUT: callers working directory: /space/sapdb
MSG: no frame script in package "SAPDBIND.TGZ"
STDOUT:
start package for release independent database software
STDOUT: -------------------------------------------------------
ACTION: append "sql6" to /etc/services
ACTION: append "sql30" to /etc/services
STDOUT: please enter independent program path [/usr/sapdb/indep_prog]:
STDIN: /space/sapdb/indep_prog
STDOUT: directory "/space/sapdb/indep_prog" does not exist, create? (y/n)
STDIN: y
STDOUT: please enter independent data path [/usr/sapdb/indep_data]:
STDIN: /space/sapdb/indep_data
STDOUT: directory "/space/sapdb/indep_data" does not exist, create? (y/n)
STDIN: y
STDERR: WRN: history path "/space/sapdb/indep_data/config/install" not found
STDOUT: please enter group name for database programs [sapdb]: sapdb
STDIN:
STDOUT: please enter owner name for database programs [sapdb]: sapdb
STDIN:
STDOUT:
collecting data finished...
STDOUT: independent program path: /space/sapdb/indep_prog
STDOUT: independent data path: /space/sapdb/indep_data
STDOUT: owner: sapdb
STDOUT: group: sapdb
STDOUT: node: daco_101
STDOUT: are these values correct? (y/n)
STDIN: y
ACTION: make directory "/space/sapdb/indep_data" mode "509"
ACTION: make directory "/space/sapdb/indep_data/config" mode "509"
ACTION: make directory "/space/sapdb/indep_prog" mode "509"
STDOUT: start dry extraction of "SAPDBIND.TGZ"
STDOUT: start real extraction of some files in "SAPDBIND.TGZ"
...
SYS: /space/sapdb/indep_prog/bin/dbmcli -s dbm_setpath IndepDataPath
/space/sapdb/indep_data: Warning! Can't find Installation!
SYS: /space/sapdb/indep_prog/bin/dbmcli -s dbm_setpath IndepDataPath
/space/sapdb/indep_data: (use "/space/sapdb/indep_prog/bin/dbmcli -s -R <instroot> i
SYS: /space/sapdb/indep_prog/bin/dbmcli -s dbm_setpath IndepDataPath
/space/sapdb/indep_data: OK
SYS: /space/sapdb/indep_prog/bin/dbmcli -s dbm_setpath IndepProgPath
/space/sapdb/indep_prog: Warning! Can't find Installation!
SYS: /space/sapdb/indep_prog/bin/dbmcli -s dbm_setpath IndepProgPath
/space/sapdb/indep_prog: (use "/space/sapdb/indep_prog/bin/dbmcli -s -R <instroot> i
SYS: /space/sapdb/indep_prog/bin/dbmcli -s dbm_setpath IndepProgPath
/space/sapdb/indep_prog: OK
...
MSG: service "sql6" in "/etc/services" found
MSG: service "sql30" in "/etc/services" found
STDOUT: new installation
STDOUT: please enter dependent path [/usr/sapdb/depend]:
STDIN: /space/sapdb/depend
STDOUT: directory "/space/sapdb/depend" does not exist, create? (y/n)
STDIN: y
STDOUT: please enter group name for database programs [sapdb]:
STDIN:
STDOUT: please enter owner name for database programs [sapdb]:
STDIN:
STDOUT:
collecting data finished...
STDOUT: dependent path: /space/sapdb/depend
STDOUT: owner: sapdb
STDOUT: group: sapdb
STDOUT: node: daco_101
STDOUT: are these values correct? (y/n)
STDIN: y
ACTION: make directory "/space/sapdb/depend" mode "509"
STDOUT: start dry extraction of "SAPDBDEP.TGZ"
STDOUT: start real extraction of some files in "SAPDBDEP.TGZ"
STDOUT: extracting: -rw-rw-r-- 1452 2002-03-01 15:26:22 CAR.LISTE.IND
STDOUT: extracting: -rwxrwxr-x 350951 2002-02-20 19:40:45 bin/backint
...
MSG: file "/space/sapdb/depend/misc/create_demo_db.sh" modified by installer
MSG: file "/space/sapdb/depend/misc/drop_demo_db.sh" modified by installer
MSG: to modify file "/space/sapdb/depend/doc/FirstSteps/index.html" not installed
MSG: to modify file "/space/sapdb/depend/doc/FirstSteps/sapdbenv.sh" not installed
MSG: to modify file "/space/sapdb/depend/doc/FirstSteps/Perl/HowToPerl.html" not
installed
MSG: to modify file "/space/sapdb/depend/doc/FirstSteps/Python/HowToPython.html" not
installed
MSG: to modify file "/space/sapdb/depend/doc/FirstSteps/ODBC/HowToODBC.html" not
installed
MSG: to modify file "/space/sapdb/depend/doc/FirstSteps/Java/HowToJava.html" not
installed
MSG: checksum for file "/space/sapdb/depend/misc/create_demo_db.sh" updated
MSG: checksum for file "/space/sapdb/depend/misc/drop_demo_db.sh" updated
ACTION: make directory "/space/sapdb/depend/wrk" mode "509"
MSG: switch effective uid successfully
MSG: test user switch:
SYS: id: uid=69(sapdb) gid=61(sapdb) groups=61(sapdb)
SYS: /space/sapdb/depend/bin/dbmcli -s -R /space/sapdb/depend inst_reg -k
/space/sapdb/depend: OK
SYS: /space/sapdb/depend/bin/xregcomp -c /space/sapdb/depend/lib/dbpinstall:
Registration done
MSG: switch back effective uid successfully
MSG: test switch back to root:
SYS: id: uid=0(root) gid=0(root)
groups=0(root),1(bin),14(uucp),15(shadow),16(dialout),17(audio),65534(nogroup),65534(nogroup)
STDOUT: installation of SAP DB Server finished successfully Fr, Apr 26, 2002 at
11:47:58
