database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
Oracle
Informix
ㆍSybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
Sybase Q&A 768 게시물 읽기
No. 768
리눅스에 ASE-12.5 설치시 master.dat 생성 안됩니다.
작성자
류광섭
작성일
2003-11-08 10:28
조회수
5,323

OS : wowlinux 7.3

asecfg 에서도 안되서  아래와 같이 했습니다.

sysbase.co.kr 에 글 올렸지만 답변이 없어.. 여기에.. 다시 부탁드려봅니다. 
# vi srvbuild.adaptive_server.rs
sybinit.release_directory: USE_DEFAULT
sybinit.product: sqlsrv
sqlsrv.server_name: TODDLINUX
sqlsrv.new_config: yes
sqlsrv.do_add_server: yes
sqlsrv.network_protocol_list: tcp
sqlsrv.network_hostname_list: TODDLINUX
sqlsrv.network_port_list: 4100
sqlsrv.server_page_size: USE_DEFAULT
sqlsrv.force_buildmaster: no
sqlsrv.master_device_physical_name: /opt/sybase-12.5/data/master.dat
sqlsrv.master_device_size: USE_DEFAULT
sqlsrv.master_database_size: USE_DEFAULT
sqlsrv.errorlog: USE_DEFAULT
sqlsrv.do_upgrade: no
sqlsrv.sybsystemprocs_device_physical_name: /opt/sybase-12.5/data/sybsystemprocs.dat
sqlsrv.sybsystemprocs_device_size: USE_DEFAULT
sqlsrv.sybsystemprocs_database_size: USE_DEFAULT
sqlsrv.sybsystemdb_device_physical_name: /opt/sybase-12.5/data/sybsystemdb.dat
sqlsrv.sybsystemdb_device_size: USE_DEFAULT
sqlsrv.sybsystemdb_database_size: USE_DEFAULT
sqlsrv.default_backup_server: TODDLINUX_BACK



bash-2.05$ ./srvbuildres -r srvbuild.adaptive_server.rs
./srvbuildres: Building Adaptive Server 'TODDLINUX':
./srvbuildres: Writing entry into directory services...
./srvbuildres: Directory services entry complete.
./srvbuildres: Building master device...
./srvbuildres: Task failed
00:00000:00000:2003/11/06 19:23:16.31 kernel Checked out license ASE_DEV
00:00000:00000:2003/11/06 19:23:16.31 kernel Adaptive Server Enterprise Developer Edition.
00:00000:00000:2003/11/06 19:23:16.32 kernel Using config area from primary master device.
00:00000:00000:2003/11/06 19:23:16.32 kernel Warning: Using default file '/opt/sybase-12.5/TODDLINUX.cfg' since a configuration file was not specified. Specify a configuration file name in the RUNSERVER file to avoid this message.
00:00000:00000:2003/11/06 19:23:16.35 kernel os_create_keyfile: Removed old segment /opt/sybase-12.5/TODDLINUX.krg
00:00000:00000:2003/11/06 19:23:16.35 kernel Internal run-time model set for Linux - Native
00:00000:00000:2003/11/06 19:23:16.35 kernel Using 1024 file descriptors.
00:00000:00000:2003/11/06 19:23:16.35 kernel Adaptive Server Enterprise/12.5.0.1/EBF 10292 IR/P/Linux Intel/Linux 2.4.7-10smp i686/rel12501/1781/32-bit/OPT/Thu
00:00000:00000:2003/11/06 19:23:16.70 server Number of blocks left for proc headers: 3232.
00:00000:00000:2003/11/06 19:23:16.71 server Proc header memory allocated 1616 pages for each per engine cache
00:00000:00000:2003/11/06 19:23:16.82 server Memory allocated for the default data cache cachelet 1: 8192 Kb
00:00000:00000:2003/11/06 19:23:16.82 server Size of the 2K memory pool: 8192 Kb
00:00000:00000:2003/11/06 19:23:16.83 kernel Loading [librt.so.1] for Async disk I/O support.
00:00000:00000:2003/11/06 19:23:16.83 kernel dblkIO_aio_init: mapped at 0x42515498
00:00000:00000:2003/11/06 19:23:16.83 kernel dblkIO_aio_read: mapped at 0x42515770
00:00000:00000:2003/11/06 19:23:16.83 kernel dblkIO_aio_write: mapped at 0x42515a50
00:00000:00000:2003/11/06 19:23:16.83 kernel dblkIO_aio_suspend: mapped at 0x425157e0
00:00000:00000:2003/11/06 19:23:16.83 kernel dblkIO_aio_return: mapped at 0x425157d0
00:00000:00000:2003/11/06 19:23:16.83 kernel dblkIO_aio_error: mapped at 0x425157d0
157d0
00:00000:00000:2003/11/06 19:23:16.83 kernel Enabling (RT) Posix asynchronous disk I/O strategy.
00:00000:00000:2003/11/06 19:23:16.83 kernel Initializing virtual device 0, '/opt/sybase-12.5/data/master.dat' with dsync 'on'.
00:00000:00000:2003/11/06 19:23:16.83 kernel Virtual device 0 started using asynchronous i/o.
00:00000:00000:2003/11/06 19:23:16.83 kernel Worker Thread Manager is not enabled for use in SQL Server.
00:00000:00000:2003/11/06 19:23:16.83 kernel Either the config parameter 'use security services' is set to 0, or ASE does not support use of external security mechanisms on this platform. The Security Control Layer will not be initialized. No external security mechanisms will be supported.
00:00000:00000:2003/11/06 19:23:16.83 kernel Unix interval timer enabled for sysclk interrupts.
00:00000:00000:2003/11/06 19:23:16.83 kernel engine 0, os pid 3519 online
./srvbuildres: Writing RUN_TODDLINUX file...
./srvbuildres: RUN_TODDLINUX file complete.
./srvbuildres: Starting server...
./srvbuildres: Task failed
./srvbuildres: Unable to boot Adaptive Server 'TODDLINUX' because the master
device (/opt/sybase-12.5/data/master.dat) does not exist.
./srvbuildres: Server 'TODDLINUX' was not created.

위와 같이 master.dat 화일 생성이 안됩니다.

Forcing license daemon to re-read license file to pick up changes...
lmutil - Copyright (C) 1989-1999 Globetrotter Software, Inc.
lmreread successful
라이센스 등록되었구요.

공유메모리 증가 시켜줬구요.
echo '512 * 1024 * 1024' | bc > /proc/sys/kernel/shmmax


읽어주셔서 감사합니다.

알고 계신분은 답 좀 부탁드립니다.
그럼.

이 글에 대한 댓글이 총 2건 있습니다.

 

저도 그 문제때문에 한참을 고민하면서 웹서핑 했었는데..

그에 대한 답이 있더군요...

저는 환경이 레드햇 9.0 설치본입니다.

 

님이 지금은 해결을 하셨을지도 모르지만

아직 안됐다면 여기 한번 방문해보세요..

http://www.mbay.net/~mpeppler/linux.html#q1.17

결국에는 glibc 문제더군요..

rpm 파일들은 http://www.rpmfind.net 가셔서 glibc 검색해보면

glibc-2.3.2-XXX 버전으로 리스트중에 있으실거에요 .

다운받으셔서 rpm 설치를 하면 되는디 옵션으로

rpm -Uvh --force --nodeps glibc-xxx

이런식으로 하면 됩니다.

그리고 다시 한번 사이베이스의 srvbuild  실행하고 설정하면

master.dat , sybsystemproc.dat 만들어집니다.

그럼 수고하세요..

 

김정준님이 2003-11-12 16:26에 작성한 댓글입니다. Edit

답변감사합니다.

헌데

os:Wowlinux 7.3

여서 혹시 glibc-2.2.5-44.i386.rpm

glibc-common-2.2.5-44.i386.rpm

glibc-devel-2.2.5-44.i386.rpm

로 업데이트 해서 한번 해봤는데. 역시 안되는군요..

어쨌던.. 해결의 실마리는 찾았네요. 저도 9.0이나 8.0 으로 해서 한번 해봐야겠네요.

 

그럼.. 감사합니다.

류광섭님이 2003-11-17 15:59에 작성한 댓글입니다. Edit
[Top]
No.
제목
작성자
작성일
조회
771sybase db 손상 open 않됨 [2]
궁금
2003-11-19
4064
770호환되는 mssql 쿼리툴 버젼이 있나요?
궁금
2003-11-19
3832
769솔라리스에 sybase깔기...와 ODBC [1]
박현정
2003-11-17
3519
768리눅스에 ASE-12.5 설치시 master.dat 생성 안됩니다. [2]
류광섭
2003-11-08
5323
767idx값 초기화 시키는 방법좀여.. [1]
2003-11-07
4057
766[질문] #temp table 인덱스 문제 .. [1]
지나가는이
2003-11-05
4105
765파워빌더에서 temp 테이블 생성 [3]
류청론
2003-11-04
4023
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.017초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다