728x90

wbssl s_client -connect localhost:port -servername URL(ex)www.naver.com) | wbssl x509 -noout -dates

728x90

'JEUS' 카테고리의 다른 글

Webtob 패치 작업  (0) 2026.06.16
[JEUS] Container 기동 중지 명령어  (1) 2025.07.14
728x90

* 패치 작업 
1. 기존 WebtoB 백업 
cd $WEBTOBDIR 
cp -R lib lib_bak 
cp -R bin bin_bak 
cp -R usrinc usrinc_bak 
cp -R ssl ssl_bak 
cp -R config config_bak 


2. 패치 파일 업로드 
​ 
3. WebtoB 다운 
wsdown 

4. WebtoB 패치 진행 
tar -zxvf WebtoB-patch.tar.gz 

5. root 계정으로 htl 소유권, 실행권한 변경(80,443 port 사용을 위한 조치) 
cd $WEBTOBDIR/bin 
chown root:root htl 
chmod 4755 htl 

6. WebtoB 계정으로 설정파일 컴파일 
wscfl -i http.m 

7. WebtoB 기동 
wsboot 

​ 
* 원복 작업 
1. WebtoB 다운 
wsdown 

2. 백업 디렉토리 원복 
cd $WEBTOBDIR 
cp -R lib_bak lib 
cp -R bin_bak bin 
cp -R usrinc_bak usrinc 
cp -R ssl_bak ssl 
cp -R config_bak config 


3. WebtoB 계정으로 설정파일 컴파일 
wscfl -i http.m 

4. WebtoB 기동 
wsboot 

728x90

'JEUS' 카테고리의 다른 글

webtob ssl 인증서 갱신 여부 확인  (0) 2026.06.16
[JEUS] Container 기동 중지 명령어  (1) 2025.07.14
728x90

 

- Webtob 라이선스 정보 확인

[webtob@:/home/webtob]$ wsadmin -i $WEBTOBDIR/license/license.dat

        ###############################################
          License Information (file: /webtob/license/license.dat)
        ###############################################

License seqno: WRS-1729-040-5386
License issue date: 2024/10/16
License type: REAL
Edition: Standard
License check by hostname: 
8 CPU license
[webtob@:/home/webtob]$

 

 

728x90
728x90

Grafana에 prometheus로 Oracle 연동하려다 이거까지 하게 됫다...

 

제어판 -> 프로그램 -> Window 기능 켜기/끄기 -> Linux용 Windows 하위 시스템, 가상 머신 플랫폼 체크 

Powershell 에서 

PS C:\Users> wsl --install
다운로드 중: Linux용 Windows 하위 시스템 2.6.3
설치 중: Linux용 Windows 하위 시스템 2.6.3
Linux용 Windows 하위 시스템 2.6.3이(가) 설치되었습니다.
작업을 완료했습니다.
다운로드 중: Ubuntu
설치 중: Ubuntu
배포가 설치되었습니다. 'wsl.exe -d Ubuntu'을(를) 통해 시작할 수 있습니다.
Ubuntu 시작하는 중...

Provisioning the new WSL instance Ubuntu
This might take a while...
Create a default Unix user account: admin
fatal: The group `admin' already exists.
Failed to create user 'admin'. Please choose a different name.
Create a default Unix user account: grafana
New password:
Retype new password:
passwd: password updated successfully

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

grafana@:/mnt/c/Users$
grafana@:/mnt/c/Users$  exit

 

-- 설치경로를 변경하고 싶었다.

PS C:\Users> wsl --shutdown
PS C:\Users> wsl --export Ubuntu D:\Ubuntu\ubuntu.tar
내보내기가 진행 중입니다. 이 작업은 몇 분 정도 걸릴 수 있습니다. (1240 MB)

작업을 완료했습니다.
PS C:\Users> wsl --unregister Ubuntu
등록 취소 중입니다.
작업을 완료했습니다.

PS C:\Users> wsl --import Ubuntu D:\Ubuntu D:\Ubuntu\ubuntu.tar --version 2
작업을 완료했습니다.
PS C:\Users>

 

 

728x90
728x90

SQL Error [1227] [42000]: (conn=601379) Access denied; you need (at least one of) the SUPER, SET USER privilege(s) for this operation

 

CREATE DEFINER=`test`@`%` PROCEDURE

-> CREATE PROCEDURE

 

DEFINER 삭제하고 명령어 수행 시 가능 

728x90

'MYSQL' 카테고리의 다른 글

MariaDB binlog 삭제 안 되는 경우  (0) 2025.02.04
[MariaDB] 계정 비밀번호 복잡도 변경  (0) 2024.12.27
[MariaDB] 통계수집  (1) 2024.12.27
view 전체 쿼리 확인  (0) 2024.09.10
Mysql Object 조회  (1) 2024.06.27
728x90

-- ORA-01723 : zero-length columns are not allowed

뷰를 테이블로 생성 시 발생하는 에러로 뷰 컬럼의 길이가 0인 경우 발생 

 

CREATE TABLE test.test1
AS 
SELECT 
cast(NULL as varchar2(10)) AS ID
, cast(NULL as varchar2(10)) AS NM
, cast(NULL as varchar2(10)) AS DID1
, cast(NULL as varchar2(10)) AS NM1
, cast(NULL as varchar2(10)) AS ID2
, cast(NULL as varchar2(10)) AS NM2
,CD
,CD_NM
FROM test .INFO;

728x90
728x90

-- msboot

startManagedServer -dasurl hostname:port -domain jeus_domain -server container_name -u wasadmin -f jeusEncode경로 -cachelogin

-- msdown
jeusadmin -host hostname:port -domain jeus_domain  -u wasadmin -f jeusEncode경로 local-shutdown -cachelogin

728x90

'JEUS' 카테고리의 다른 글

webtob ssl 인증서 갱신 여부 확인  (0) 2026.06.16
Webtob 패치 작업  (0) 2026.06.16
728x90

-- JOB 소유자 계정에서 BROKEN 시

EXECUTE dbms_job.broken(11, TRUE); 
EXECUTE dbms_job.broken(12, TRUE); 
EXECUTE dbms_job.broken(49, TRUE);

 

-- SYSDBA 계정에서 다른 계정 소유 JOB BROKEN 시

exec dbms_ijob.broken(11,true);
exec dbms_ijob.broken(29,true);
exec dbms_ijob.broken(69,true);
exec dbms_ijob.broken(12,true);

 

728x90
728x90

-- purge 명령어로 binlog 삭제 

purge binary logs to 'mysql-bin.000025';

PURGE BINARY LOGS BEFORE '2025-02-01 00:00:00';

 

-- binlog 보관주기 확인
show global variables like 'expire_logs_days';
set global expire_logs_days=3;
flush privileges;

-- 삭제 안 될시 warnings 확인 
MariaDB [(none)]> show warnings\G
*************************** 1. row ***************************
  Level: Note
   Code: 1375
Message: Binary log 'mysql-bin.000001' is not purged because it is the current active binlog
1 row in set (0.000 sec)

-- slave_connections_needed_for_purge 설정 확인 
show global variables like 'slave_connections_needed_for_purge';
set global slave_connections_needed_for_purge=0;

728x90

'MYSQL' 카테고리의 다른 글

SQL Error [1227]  (0) 2025.07.15
[MariaDB] 계정 비밀번호 복잡도 변경  (0) 2024.12.27
[MariaDB] 통계수집  (1) 2024.12.27
view 전체 쿼리 확인  (0) 2024.09.10
Mysql Object 조회  (1) 2024.06.27
728x90

MSSQL UI로 하려다 안 되서 명령어로 간단하게

 

alter login "계정명" with password='비번' MUST_CHANGE, CHECK_EXPIRATION = ON;

728x90

+ Recent posts