Tech_Info/OS2006. 10. 4. 10:14
0403-030 The fork function failed. Too many processes already exist.
(한글) /etc/profile[50]: 0403-030 분기 실행 기능이 실패했습니다. 너무 많은 프로세스가 이미 존재합니다
위와 같은 메세지가 발생하면서 System에 로그인이 되지 않거나, 로그인이 늦을 경우


lsattr -El sys0 로 확인하면 아래와 같이 나온다.
maxuproc        128                   각 사용자에게 허용되는 최대 프로세스 수      참

유저당 128 process만 사용 가능하므로 해당 user의 process를 줄여주여야만 한다.
Oracle에서 자주 발생함

max user process modify command
# chdev -l sys0 -a maxuproc=[ new value ]

경험버전 : AIX 5.3
Posted by 알 수 없는 사용자
Tech_Info/OS2006. 9. 29. 11:54
Solaris system account
User Name User ID Description
root         0  Superuser account.
daemon  1  Umbrella system daemon associated with routine system tasks.
bin          2  Administrative daemon associated with running system binaries to perform some routine system task.
sys         3  Administrative daemon associated with system logging or updating files in temporary directories.
adm       4  Administrative daemon associated with system logging.
lp           71  Line printer daemon.
uucp      5  Daemon associated with uucp functions.
nuucp    6  Daemon associated with uucp functions.
smmsp   25  Sendmail message submission program daemon.
listen     37  Network listener daemon.
nobody  60001  Assigned to users or software processes that do not need nor should have any special permissions.
noaccess  60002  Assigned to a user or a process that needs access to a system through some application but without actually logging in.
nobody4  65534  SunOS 4.0 or 4.1 version of the nobody user account.

HP-UX system account (11i)
- OS 막 깔면 설치되는 유저

root:2uBt5nJs6MXQU:0:3::/:/sbin/sh
daemon:*:1:5::/:/sbin/sh
bin:*:2:2::/usr/bin:/sbin/sh
sys:*:3:3::/:
adm:*:4:4::/var/adm:/sbin/sh
uucp:*:5:3::/var/spool/uucppublic:/usr/lbin/uucp/uucico
lp:*:9:7::/var/spool/lp:/sbin/sh
nuucp:*:11:11::/var/spool/uucppublic:/usr/lbin/uucp/uucico
hpdb:*:27:1:ALLBASE:/:/sbin/sh
nobody:*:-2:-2::/:
www:*:30:1::/:
smbnull:*:101:101:DO NOT USE OR DELETE - needed by Samba:/home/smbnull:/sbin/sh
webadmin:*:40:1::/usr/obam/server/nologindir:/usr/bin/false
iwww:*:102:1::/home/iwww:/sbin/sh
owww:*:103:1::/home/owww:/sbin/sh
mysql:*:104:102::/home/mysql:/sbin/sh

이건 그냥 참고사항 :

6.1. HPUX requires valid user to run WWW services
On HPUX there must be a valid user and group to run the Apache httpd server. Make sure that the user nobody exists in /etc/passwd and that the group nogroup exists in /etc/group before attempting to start the Apache server. Look in both files and verify that the nobody user and the nogroup group are listed. If the user and group are not listed, please create them.

Example:
bash-2.04$ grep nobody /etc/passwd
nobody:*:30:34::/:
bash-2.04$ grep nogroup /etc/group
nogroup::34:nobody

uucp : sendmail (send mail to a remote user)





account management 를 위해서 검색하다가 힘들게 찾은 정보
HP관련은 HP의 선?? 과장님이 도와주심 ^^
감사합니당.

Posted by 알 수 없는 사용자
Tech_Info/OS2006. 8. 30. 09:11

Event Log로 위와 같이 기록되면서 Error가 나면, 터미널 서비스의 세팅을 보면 됩니다.
터미널 서비스 연결에 대한 Windows 프린터 매핑과 LPT 포트 매핑을 해제합니다.

Link : http://support.microsoft.com/?kbid=268065
Posted by 알 수 없는 사용자
Tech_Info/SAP2006. 8. 2. 10:16
/usr/sap/SID 파일 시스템이 심심하면 80%를 넘어서 위험수위에 종종 도달한다.
관련해서 좀 검색을 해봤습니다.

RE:/usr/sap/SID out of space (google 검색)
http://sap.ittoolbox.com/groups/technical-functional/sap-r3-basis/usrsapsid-out-of-space-747102

여기에는 ./DVEBMGS30/data/ROLLFL30, /DVEBMGS30/data/PAGFIL30  이런거를 그냥 삭제하면 된다는 내용이고..


Maximum value for PG_MAXFS, PG_SHM, ROLL_MAXFS, ROLL_SHM  SAP Notes : 133909
이 부분은 Page File의 MAX Size를 정해줘서 Full을 막으라는 내용


Memory Management Parameter (3.0/3.1)  SAP Notes : 97497
https://websmp206.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700007148932001
이건 그냥 검색하다보니 Global한 Recommended Parameter. ^^
Posted by 알 수 없는 사용자
Tech_Info/OS2006. 7. 31. 16:30
원인 :
도메인 환경에서 FTP를 사용할 수 있게 하려면 "로컬 로그온"이 지정되어야 합니다..
그 이유는 FTP가 인증을 위해 로컬 계정만을 사용할 수 있기 때문입니다.

해결방법 :
위와 같은 이유로 AD유저로 로그인을 하시려면 <AD이름>\<user이름> 방식으로 FTP로그인을 하시면 됩니다.
ex) ftp 000.000.000.000
  user : AD\hitadmin
  pwd : xxxxxxxx

추가사항:
AD유저로 FTP로그인이 안되는 문제는 IIS5.0까지이며, IIS6.0부터는 일반 AD유저로 로그인하시면 됩니다.
Posted by 알 수 없는 사용자
Tech_Info/OS2006. 7. 7. 10:47

간단하게 정리하면 W3C 확장로그파일 형식을 선택할 경우에는 로그내용에 무조건 GMT를 사용하게 되어있다.
하지만 W3C 외의 다른 로그파일 형식을 사용하면 Local Time을 사용한다.

파일 명명 및 롤오버에 현지 시간 사용이라는 뜻은, 로그파일 구성옵션에서 매일/매월 등을 선택하면 파일이 새로 생성될때에나 다음파일로 롤오버될때에 파일명명을 Local Time을 사용한다는 뜻이다.

생성된 W3C 확장로그파일을 NCSA Log File format 과 Local Time으로 변환하고 싶으면 convlog란 Utility 를 사용한다.

참고:
Extended Log File Format Always in GMT : http://support.microsoft.com/kb/194699
W3C(World Wide Web Consortium) 확장 로그 파일 형식을 제외한 모든 로그 파일 형식에서 "자정"이란 현지 시간을 기준으로 합니다. 이 파일 형식의 경우 "자정"이란 기본적으로 GMT(그리니치 표준시)를 의미하지만 현지 시간으로 변경할 수 있습니다. 현지 시간을 사용하는 W3C 확장 로그 파일 형식을 새로 열려면 파일 명명 및 롤 오버에 현지 시간 사용을 누릅니다. 새 로그가 현지의 자정에 시작하지만 로그 파일에 기록되는 시간은 여전히 GMT입니다.

Extended Log File Format Always in GMT - http://support.microsoft.com/kb/194699
The extended log file format is defined in the W3C Working Draft WD- logfile-960323 specification by Phillip M. Hallam-Baker and Brian Behlendorf. This document defines the Date and Time files to always be in GMT:

  Date
  <date> = 4<digit> "-" 2<digit> "-" 2<digit> Dates are recorded in the format YYYY-MM-DD where YYYY, MM and DD stand for the numeric year, month and day respectively. All dates are specified in GMT. This format is chosen to assist collation using sort.

  Time
<time> = 2<digit> ":" 2<digit> [":" 2<digit> ["." *<digit>]

  Times are recorded in the form HH:MM, HH:MM:SS or HH:MM:SS.S where HH is the hour in 24 hour format, MM is minutes, and SS is seconds. All times are specified in GMT.

IIS Log File Entries Have the Incorrect Date and Time Stamp : http://support.microsoft.com/kb/271196/en-us

Posted by 알 수 없는 사용자
Tech_Info/OS2006. 7. 7. 10:39
참고링크 : http://support.microsoft.com/kb/324279/ko

인터넷 정보 서비스 관리(IIS) 창을 띄우는 방법
1. 시작 - 프로그램 - 관리프로그램 - 인터넷 정보 서비스 관리(IIS) 실행
2. 시작 - 실행 - inetmgr

웹사이트에 대한 로깅을 설정하려면 다음과 같이 하십시오.
1. 인터넷 정보 서비스 관리자를 시작합니다. 이렇게 하려면 시작을 누르고 관리 도구를 가리킨 다음 인터넷 정보 서비스를 누릅니다.
2. server_name을 두 번 누릅니다. 여기서 server_name은 서버의 이름입니다.
3. 웹 사이트 폴더를 확장합니다.
4. 로깅을 설정할 웹 사이트를 마우스 오른쪽 단추로 누른 다음 속성을 누릅니다.
5. 웹 사이트 탭에서 로깅 사용을 선택합니다.

참고 웹 사이트 탭의 로깅 사용과 홈 디렉터리 탭의 방문 기록을 모두 선택해야 로깅을 사용할 수 있도록 설정됩니다.
6. 활성 로그 형식 목록에서 형식을 선택합니다.
7. 속성을 누릅니다.
8. 일반 탭에서 로깅을 예약하거나 로그 파일 폴더를 변경할 방법을 선택합니다. 자세한 내용은 이 문서의 IIS 로그 파일 저장에 대한 구성 옵션 절을 참조하십시오.
9. 고급 탭을 누른 다음 로그에서 모니터링할 항목을 누릅니다.

참고: ODBC 로깅을 선택하는 경우 속성을 누르고 ODBC DSN(데이터 원본 이름), 테이블, 사용자 이름 및 암호를 제공한 다음 확인을 누릅니다.
10. 확인을 누릅니다.

참고자료 :
Security Guidance for IIS : http://www.microsoft.com/technet/security/prodtech/IIS.mspx
Posted by 알 수 없는 사용자
Tech_Info/OS2006. 7. 5. 09:46
사진은 클릭하면 크게 나옵니다.

stm을 실행한다.

/home/guri/stm
초기화면이 뜬다. O를 누른다. (OK)
현재 시스템의 각 항목이 출력된다. M 을 누른다. (Memory)
누르면 Select memory라는 메세지가 아래에 출력된다. 직접 화살표키로 가서 Space로 선택해도 된다.
Tab 키를 누르면 Menu로 이동한다. Menu로 가서 화살표로 [Tools] - [Information] - [Run]을 선택하면
자동으로 Update Map을 하게 된다. 조금 기다리게 되면 아래와 같은 화면이 나온다.
결과 화면이다. 총 꽃혀있는 메모리와 현재 Bank의 상황이다. 지금 올려놓은 시스템은 1GB짜리가
총 16개의 Bank에 Full 로 꽃혀있는 상황이다. 반드시 2개가 한세트로 꽃혀야 한다.
위의 장비는 HP rp7420이다. ^^;

어렵나? 쉽지 않나? 내가 갑자기 까먹어서 한참을 찾다가 결국 정리해 놓는다.
저 순으로 하면 된다. ^^ 별건 아니지만 나 또는 누군가가 또 검색을 하다가 도움이 되기를~

Posted by 알 수 없는 사용자
Tech_Info/Database2006. 6. 26. 14:43
기본적으로 SQL Server error log는 SQL Server의 로그 서브폴더에 보관된다. 총 7개의 Error log로 구성되어 있으며, Errorlog, Errorlog.1 ~ Errorlog.6의 순으로 보관되며, 확장자가 없는 것이 가장 최근의 현재 Error log이다.
로그는 SQL Server가 restart될 때마다, 재생성된다. Errorlog가 재생성 될때마다, 기존의 Errorlog를 Errorlog.1로 rename하고, 나머지 것도 한개씩 증가한다. Errorlog.6였던 내용은 삭제된다.

※ SQL Server 7.0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\NumErrorLogs
※ SQL Server 2000
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\<SQL Server Instance Name>\MSSQLServer\NumErrorLogs
- NumErrorLogs REG_DWORD 7(원하는 개수)

확인하는 방법
DBCC ERRORLOG를 실행하면,
E:\MSSQL\MSSQL$MSSQL1\LOG 에 ERRORLOG.7이라는 파일이 생긴다.

참조 링크
How to increase the number of SQL Server error logs
- http://support.microsoft.com/kb/196909/EN-US/

HOW TO: Archive More Than Six SQL Server Error Logs
- http://support.microsoft.com/kb/230590/en-us

'Tech_Info > Database' 카테고리의 다른 글

TableSpace 사용량 확인하는 script  (0) 2006.11.08
xp_cmdshell 삭제하기  (0) 2006.06.26
Posted by 알 수 없는 사용자
Tech_Info/Database2006. 6. 26. 13:45
보안에 문제가 될 수 있는 xp_cmdshell 삭제하기

원본링크 : Implications of removing the xp_cmdshell stored procedure from SQL Server 2000
- http://support.microsoft.com/kb/891984/en-us

How to drop the xp_cmdshell stored procedure
- system administrator user right 필요
- to-drop :
exec sp_dropextendedproc 'xp_cmdshell'
- re-add :
exec sp_addextendedproc 'xp_cmdshell', 'xplog70.dll'

영향받는 stored procedure List

sp_ActiveDirectory_SCP sp_adddistpublisher sp_adddistributiondb sp_attachsubscription sp_changedistpublisher sp_copysubscription sp_MScopysnapshot sp_MScopyscriptfile sp_MSget_file_existence sp_MSremove_userscript sp_replicationoption sp_vupgrade_replication
sp_MSreplremoveuncdir sp_MSdeletefoldercontents sp_resolve_logins Sp_set_local_time sp_msx_defect sp_msx_enlist Xp_sscanf Xp_sprintf Xp_msver Xp_msver Xp_enumgroups Xp_logevent Xp_loginconfig

삭제하게 되면서 발생할 수 있는 메세지

ODBC: Msg 0, Level 16, State 1
Cannot load the DLL xplog70.dll, or one of the DLLs it references. Reason: 126(The specified module could not be found.).

Trying to configure Distributor for "server"
Fails with Error 2812: Could not find stored procedure 'master..xp_cmdshell'

Status: 0, code: 1007, text: 'Cannot load the DLL xplog70.dll, or one of the DLLs it references. Reason: 126(The specified module could not be found.).'.
Cannot load the DLL xplog70.dll, or one of the DLLs it references. Reason: 126(The specified module could not be found.).
Repl Agent Status: 6

An error occurred trying to execute a SQL Statement.

"Cannot enlist server 'ServerName' . Please upgrade server 'ServerName' to SQL Server 2000 sp3 or later.

“Cannot load the DLL xplog70.dll or one of the DLLs it references. Reason: 126(The specified module could not be found)
ServerName xp_msver


xplog70.dll을 삭제하고서 SQL Server Restart하면 더이상 sp_addextendedproc를 사용해서 등록할 수 없다.
쿼리분석기에서 다시 sp_addextendedproc 'xp_cmdshell', 'xplog70.dll'을 실행하면 정상적으로 실행되지만,
xp_cmdshell 'dir' 와 같이 실행하면,
ODBC: 메시지 0, 수준 16, 상태 1
xplog70.dll DLL 또는 이 DLL이 참조하는 DLL 중 하나를 로드할 수 없습니다. 이유: 126(지정된 모듈을 찾을 수 없습니다.). 라는 메세지를 뿌리면서 실패하게 된다.


'Tech_Info > Database' 카테고리의 다른 글

TableSpace 사용량 확인하는 script  (0) 2006.11.08
SQL Server Errorlog archive 개수 늘리기  (0) 2006.06.26
Posted by 알 수 없는 사용자