SOLVED: Cannot access http://hda/ after the installation

rseabra
Posts: 3
Joined: Sat May 27, 2017 5:40 am

SOLVED: Cannot access http://hda/ after the installation

Postby rseabra » Sat May 27, 2017 5:51 am

Friends,
After the installation of the Fedora 25 server and amahi 10, everything looks to be ok.... The server number it´s correct, ping hda from the cliente and we receive the correct answer, etc.. but i can´t access to hda from any client.
The httpd.service logs looks like this:
13:12 httpd.service: Failed with result 'exit-code'. systemd
13:12 httpd.service: Unit entered failed state. systemd
13:12 Failed to start The Apache HTTP Server. systemd
13:12 httpd.service: Main process exited, code=exited, status=1/FAILURE systemd
13:12 Systemd socket activation is used, but this port is not configured in systemd httpd
13:12 AH00526: Syntax error on line 19 of /etc/httpd/conf.d/nss.conf: httpd
13:12 Starting The Apache HTTP Server... systemd
13:12 httpd.service: Failed with result 'exit-code'. systemd
13:12 httpd.service: Unit entered failed state. systemd
13:12 Failed to start The Apache HTTP Server.
The iscsi.service it´s also failing:
12:33 iscsi.service: Unit cannot be reloaded because it is inactive.

Anyone can help me?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Cannot access http://hda/ after the installation

Postby bigfoot65 » Sat May 27, 2017 7:32 am

Please provide the URL for:

Code: Select all

apaste --sysinfo
Also try:

Code: Select all

sudo systemctl restart httpd
Please provide the full output of:

Code: Select all

sudo systemctl status httpd
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rseabra
Posts: 3
Joined: Sat May 27, 2017 5:40 am

Re: Cannot access http://hda/ after the installation

Postby rseabra » Sat May 27, 2017 9:06 am

Here you have:

$ apaste --sysinfo
Gathering system info ...........................Uploading (13.3KiB)...
https://da.gd/yrbo -> https://paste.fedoraproject.org/paste/s ... -r-YSzzcmn
uV5M1UNdIGYhyRLivL9gydE=/

$ sudo systemctl restart httpd
Job for httpd.service failed because the control process exited with error code.
See "systemctl status httpd.service" and "journalctl -xe" for details.

$ sudo systemctl status httpd
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2017-05-27 16:59:14 WEST; 1min 23s ago
Process: 4071 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/failure)
Main PID: 4071 (code=exited, status=1/FAILURE)

May 27 16:59:14 ***server.localdomain systemd[1]: Starting The Apache HTTP Server...
May 27 16:59:14 ***server.localdomain httpd[4071]: AH00526: Syntax error on line 19 of /etc/httpd/conf.d/nss.conf:
May 27 16:59:14 ***server.localdomain httpd[4071]: Systemd socket activation is used, but this port is not configured in systemd
May 27 16:59:14 ***server.localdomain systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
May 27 16:59:14 ***server.localdomain systemd[1]: Failed to start The Apache HTTP Server
May 27 16:59:14 ***server.localdomain systemd[1]: httpd.service: Unit entered failed state
May 27 16:59:14 ***server.localdomain systemd[1]: httpd.service: Failed with result 'exit-code'

Thanks

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Cannot access http://hda/ after the installation

Postby bigfoot65 » Sat May 27, 2017 9:20 am

Thanks for the info. Did you install using CD? What instructions did you use?

Try:

Code: Select all

sudo dnf update -y
Then reboot and see if that clears the error.

BTW have you installed any apps or made any manual configuration changes? That could be the root cause.

I see a file named nss.conf that is causing the issue with httpd. Not sure how that file got there. Removing it should allow httpd to start properly.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rseabra
Posts: 3
Joined: Sat May 27, 2017 5:40 am

Re: Cannot access http://hda/ after the installation

Postby rseabra » Sat May 27, 2017 10:21 am

Perfect...

sudo dnf update -y

and then delete the nss.conf from httpd/ and it works just fine!!

Thank You

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Cannot access http://hda/ after the installation

Postby bigfoot65 » Sat May 27, 2017 10:31 am

No problem.

Marking as solved.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 24 guests