Page 1 of 1

unit firewall.service could not be found

Posted: Wed Feb 19, 2020 1:07 pm
by svdr
need help, firewall is gone
when i write systemctl status firewall
i got "unit firewall.service could not be found"
I have reinstall firewalld

I think my next problem is caused of missing firewall
I canĀ“t reach my files in HDA
before the firewall disapered i reached files in HDA when firewall was stoped

so if somebody can tell me how I get the firewall back
and conifgure the firewall so i reach files in HDA
i am very gratefull
Sven

Re: unit firewall.service could not be found

Posted: Wed Feb 19, 2020 5:39 pm
by bigfoot65
Firewall is not installed with Amahi by design. If somehow it existed, but was stopped then it would have no affect on your system.

This nothing to do with accessing your files.

A firewall issue with your client could though.

Re: unit firewall.service could not be found

Posted: Thu Feb 20, 2020 1:17 pm
by svdr
Thanks for answer
I am total new on this and don't realy understand what i am doing,
but i created a server on fedora 25,
I maped up my HDA both from windows 7 and windows 10 machin
and it worked well, I stored some files on the HDA
After created a web server and install firewalld
I got problem to connect HDA,
I tryed a lot of things that people suggested to solve the problem most doing things with DNS but nothing helps
but after stoping firewall I could connect HDA
I dubbel checked that when I started firewall I could't reach HDA
stop firewall again and could connect HDA
so when I tryed to configure the firewall I did something that make firewall dissapere, and I can't get it back.
If you are sure firewall not is the problem, maybe stoping firewall just stoped the symptom and the real error is something else.
After reading litlle more I think HTTPD can be the realy cause to the problem

something wrong with HTTPD got this, that I am not understand how to solve
[admin@localhost ~]$ httpd
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message
(13)Permission denied: AH00058: Error retrieving pid file /run/httpd/httpd.pid
AH00059: Remove it before continuing if it is corrupted.

best regards
Sven

Re: unit firewall.service could not be found

Posted: Thu Feb 20, 2020 2:27 pm
by bigfoot65
To restart the web server, do:

Code: Select all

sudo systemctl restart httpd
Then check the status:

Code: Select all

sudo systemctl status httpd
After created a web server and install firewalld
The web server was already there. Not sure why you'd need to create it or added firewalld.

BTW file access is controlled by Samba, not the web server.