Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error messages #2

Open
GunGameOG opened this issue May 30, 2021 · 1 comment
Open

Syntax error messages #2

GunGameOG opened this issue May 30, 2021 · 1 comment

Comments

@GunGameOG
Copy link
Owner

When running command --> service ddos start && service ddos status

This error would pop up after status.

root@OGGAMINGNETWORK1:~# service ddos start && service ddos status
● ddos.service - DDoS Alert System
Loaded: loaded (/etc/systemd/system/ddos.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2021-05-30 13:56:43 CEST; 1h 21min ago
Main PID: 889 (bash)
Tasks: 2 (limit: 4618)
Memory: 6.5M
CGroup: /system.slice/ddos.service
├─ 889 /bin/bash ddoslog.sh
└─75298 sleep 1

May 30 15:17:52 OGGAMINGNETWORK1 bash[75184]: ddoslog.sh: command substitution: line 13: syntax error near unexpected token (' May 30 15:17:52 OGGAMINGNETWORK1 bash[75184]: ddoslog.sh: command substitution: line 13: grep -oP $interface: /proc/net/dev \s*(\d+\s+){8}\K\d+''
May 30 15:17:54 OGGAMINGNETWORK1 bash[889]: [17B blob data]
May 30 15:17:54 OGGAMINGNETWORK1 bash[75226]: ddoslog.sh: command substitution: line 11: unexpected EOF while looking for matching '' May 30 15:17:54 OGGAMINGNETWORK1 bash[75226]: ddoslog.sh: command substitution: line 12: syntax error: unexpected end of file May 30 15:17:55 OGGAMINGNETWORK1 bash[75240]: ddoslog.sh: command substitution: line 13: syntax error near unexpected token ('
May 30 15:17:55 OGGAMINGNETWORK1 bash[75240]: ddoslog.sh: command substitution: line 13: grep -oP $interface: /proc/net/dev \s*(\d+\s+){8}\K\d+'' May 30 15:17:57 OGGAMINGNETWORK1 bash[889]: [17B blob data] May 30 15:17:57 OGGAMINGNETWORK1 bash[75297]: ddoslog.sh: command substitution: line 11: unexpected EOF while looking for matching ''
May 30 15:17:57 OGGAMINGNETWORK1 bash[75297]: ddoslog.sh: command substitution: line 12: syntax error: unexpected end of file

@GunGameOG
Copy link
Owner Author

Fixed syntax error and edited gif images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant