DNS/named2025/05/02 18:20by 깜빡쟁이# systemctl start named-chroot Job for named-chroot.service failed because the control process exited with error code. See "systemctl status named-chroot.service" and "journalctl -xeu named-chroot.service" for details. named-chroot 서비스가 문제가 있어서 시작되지 못했음을 알리고 있다. 아래는 "systemctl status named-chroot.service" 또는 "journalctl -xeu named-chroot.ser...
PHP2024/08/14 10:53by 깜빡쟁이PHP 8.1까지는 아래처럼 미리 선언하지 않은 클래스의 동적 요소를 쓸 수 있었다. class Class_name { public function __construct() { $this->id = null; } } 하지만 PHP 8.2에서는 위와 같이 미리 선언하지 않은 동적 요소(dynamic property)로서 클래스의 메소드에 쓰인 변수가 있으면, 아래처럼 비권장 경고문이 나온다. PHP Deprecated: Creation of dynamic property Class_name::$var is deprecated i...
아래는 로그인 정보를 넣는 항목이 나오지 않고 제목만 나온 phpMyAdmin의 모습이다. 디버그 도구로 숨김 처리된 HTML 항목의 CSS 내용(display: none;)을 없애면 아래와 같은 화면을 볼 수 있다. There is a mismatch between HTTPS indicated on the server and client. This can lead to a non working phpMyAdmin or a security risk. Please fix your server configuration to indicate HTTPS pro...
Linux/Linux 일반2024/08/07 13:03by 깜빡쟁이아래는 CentOS 7에서 AlmaLinux 8, 9으로 판을 올리는 과정에서 "leapp preupgrade" 명령을 넣었을 때에 나타날 수 있는 내용이다. (ELevating CentOS 7 to AlmaLinux 9 | AlmaLinux Wiki) ============================================================ UPGRADE INHIBITED ============================================================ Upgrade has been inhibited due to the following problems: 1....
아래는 "nginx -t"로 nginx 설정 파일(nginx.conf)을 검사한 내용이다. # nginx -t nginx: [emerg] "listen" directive is not allowed here in /etc/nginx/conf.d/???.conf:62 nginx: configuration file /etc/nginx/nginx.conf test failed 여기에서 listen 명령 때문에 오류가 난 까닭은 아래처럼 listen을 if 문 안에 넣었기 때문이다. http { server { server_name www.domain-name.com domain-name....
memcached의 메모리를 너무 적게 설정하면 아래처럼 "Cannot set item size limit higher than 1/2 of memory max."라고 나오며 memcached가 실행되지 않을 수 있다. ● memcached.service - memcached daemon Loaded: loaded (/usr/lib/systemd/system/memcached.service; enabled; preset: disabled) Active: failed (Result: exit-code) since Sun 2024-08-04 17:53:12 KST; 24s ago Duration: 21ms...
memcached의 설정 파일인 /etc/sysconfig/memcached에서 MAXCONN의 기본값은 아래와 같다. MAXCONN="1024" 이 값을 너무 낮추면 아래처럼 오류가 뜰 수 있다. # systemctl status memcached × memcached.service - memcached daemon Loaded: loaded (/usr/lib/systemd/system/memcached.service; enabled; preset: disabled) Active: failed (Result: exit-code) since Sat 2024-07-27 09:08:49 KST;...
PHP2024/07/11 21:29by 깜빡쟁이class Class_Name { function Method_name($param1 = null, $param2 = null) { ... } } Class_name::Method_name($a, $b); PHP 8 이상에서 위처럼 non-static 메소드를 static 메소드처럼 다루면 아래와 같은 오류가 날 수 있다. PHP Fatal error: Uncaught Error: Non-static method Class_name::Method_name() cannot be called statically in /.../.../???.php:115 다음 두 가지 방법으로 이 오류를 없...
nginx2024/07/10 01:52by 깜빡쟁이-- Unit nginx.service has begun starting up. Jan 15 01:40:19 test_server systemd[1]: Can't open PID file /var/run/nginx.pid (yet?) after start: No such file or directory Jan 15 01:40:19 test_server systemd[1]: Started nginx - high performance web server. -- Subject: Unit nginx.service has finished start-up -- Defined-By: systemd -- Support: http://lists.freedesktop....