Open in app

Sign In

Write

Sign In

Lim Sing
Lim Sing

18 Followers

Home

About

Feb 6

[SOLVED][nitro] Error: listen EADDRINUSE: address already in use /tmp/nitro/xxx.sock — NUXT

Hit this error from log: [nitro] [dev] [uncaughtException] Error: listen EADDRINUSE: address already in use /tmp/nitro/worker-32-1.sock at Server.setupListenHandle [as _listen2] (node:net:1716:21) at listenInCluster (node:net:1781:12) at Server.listen (node:net:1880:5) at file:///var/www/nuxt-base/.nuxt/dev/index.mjs:525:8 at ModuleJob.run (node:internal/modules/esm/module_job:194:25) { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '/tmp/nitro/worker-32-1.sock', port: -1 }

Nuxtjs

1 min read

Nuxtjs

1 min read


Sep 5, 2022

Learn devOps use case with docker in 10 minutes

Install docker from https://docs.docker.com/engine/install/ based on operating system Build python application by running command below: docker run -p 5000:5000 in28min/hello-world-python:0.0.1.RELEASE 3. If it fails with the following message, means that there was some other process that was using the port Status: Downloaded newer image for in28min/hello-world-python:0.0.1.RELEASE docker: Error response from…

Docker

1 min read

Docker

1 min read


Jul 17, 2022

[SOLVED] failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:XXX: not found

I get the error when building my docker kibana container: failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:XXX: not found Solved this error by running: Go to your local docker desktop, clicked setting Click Docker Engine, set `buildkit` to false : "features": { "buildkit": false }, but then hit another error: no matching manifest for linux/arm64/v8 in the manifest list entries

Docker

1 min read

[SOLVED] failed to solve with frontend dockerfile.v0:
[SOLVED] failed to solve with frontend dockerfile.v0:
Docker

1 min read


Apr 13, 2022

[Solved] Laravel Lumen— Class ‘League\Flysystem\Adapter\Local’ not found

Problem: I get this error from running my custom lumen packagist (version — 8.3.1): Class 'League\Flysystem\Adapter\Local' not found Solution: This is an issue from installing version 2.0 for league/flysystem, you need to install league/flysystem packagists to version 1 in order to access the missing adapter by running: composer require — dev league/flysystem ^1.0

Lumen

1 min read

Lumen

1 min read


Feb 28, 2022

Failed to install laradock mysql in M1 pro Apple Silicon

I get following error when try to docker compose build mysql for laradock: => ERROR [laradock_mysql internal] load metadata for docker.io/library/mysql:latest The command i ran: docker-compose up -d nginx mysql phpmyadmin redis workspace My solution is platform in your docker compose file (technically not resolve running MySQL on ARM): mysql: platform: linux/amd64

Laradock

1 min read

Laradock

1 min read


Feb 26, 2022

Getting `Warning: /opt/homebrew/bin is not in your PATH.` on M1 Pro chip

I had an issue after installed homebrew on Mac OS Monterey with M1 pro chip successfully. The error stated in warning: Warning: /opt/homebrew/bin is not in your PATH as shown in the picture below, And hit zsh: command not found: brew when running brew

Homebrew

1 min read

Getting `Warning: /opt/homebrew/bin is not in your PATH.` on M1 Pro chip
Getting `Warning: /opt/homebrew/bin is not in your PATH.` on M1 Pro chip
Homebrew

1 min read


May 17, 2021

[SOLVED] Permission Denied — Error show in Apache logs when used as a reverse proxy

Error from httpd log: [Mon May xxxx] [proxy:error] [pid xxxxx:tid xxxxxxxx] (13)Permission denied: AH00957: HTTP: attempt to connect to 127.0.0.1:3000 (127.0.0.1) failed Solved by running this command: /usr/sbin/setsebool -P httpd_can_network_connect 1

Httpd

1 min read

Httpd

1 min read


May 8, 2021

[SOLVED] ping 8.8.8.8 works but failed to ping http://www.google.com/

Need to add a nameserver in /etc/resolv.conf file by running this to modify: run vi /etc/resolv.conf 2. add this line to the file : nameserver 8.8.8.8 3. Run this to verify: ping -c10 www.google.com

Ping

1 min read

Ping

1 min read


May 6, 2021

Add new port to apache in centos

1. vi /etc/httpd/conf/httpd.conf add Listen 8080 2. touch xx.conf file in /etc/httpd/conf.d 3. edit this file xx.conf 4. systemctl restart httpd 5. if failed, change to port 8080, then repeat 1 <VirtualHost *:8080> ServerName xx.com DocumentRoot /var/www/html/xx/public <Directory /var/www/html/xx> AllowOverride All </Directory> </VirtualHost> — — — — — — — — — if failed — — — — — — — — — 1. yum install policycoreutils 2. Add Selinux rules for port 8080.

Laravel

1 min read

Laravel

1 min read


May 6, 2021

Command to kill process in server

Check running process (eg grep artisan (for artisan only)) ps aux|grep artisan Stop running process - can get PID from above kill 88888 stop all artisan process pkill -f artisan 宝塔: sudo cat /www/server/panel/data/port.pl && /etc/init.d/bt restart

Artisan

1 min read

Artisan

1 min read

Lim Sing

Lim Sing

18 Followers

I am a Backend Developer

Following
  • Jing Yi

    Jing Yi

  • Loo Hui Ling

    Loo Hui Ling

  • Bin Jun

    Bin Jun

  • Gerard Wong

    Gerard Wong

See all (5)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech