avatar

superorange0707

  • Homepage
  • Tag
  • Category
Home Fix Personal Website
文章

Fix Personal Website

Posted 2022-09-30
2~3 min read

Personal Website can’t access

1. when run the jar package with nohup java -jar xxx &

It doesn’t work and shows exit[1]

method:

(1)get nohup process
$ ps aux |grep nohup

find the father pid and use kill to kill it
https://unix.stackexchange.com/questions/659634/can-not-stop-nohup-process
I meet the problem that I can’t kill it with command kill

$ kill -9 PID(force shutdown the process)

then just restart the jar package again

nginx can’t reload

when I reload the nginx, it shows
nginx - nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)

so use the following command
$ sudo pkill -f nginx & wait $!

then
use ./nginx to restart the nginx

Share

Further Reading

OLDER

SQL_Learning

NEWER

Leetcode-35 -Search Insert Position

Recently Updated

  • Migrating Jenkins SCM Using GitLab from Bitbucket: SCM URL Bulk Replacement
  • 283 - Move Zero
  • 27 - Remove Element
  • 26 - Remove Duplicates from Sorted Array
  • Migrating from Bitbucket to GitLab? Here’s how to keep your teams moving without missing a beat!

Trending Tags

Course two pointer Binary Tree Hash SQL Leetcode Error Recording Gitlab Bitbucket Devops

Contents