LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to start httpd service (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-start-httpd-service-4175586490/)

thomazp 08-05-2016 12:11 PM

Unable to start httpd service
 
I couldn't find the previous thread with this subject.
I changed the defective lines in httpd.conf and now is starting, but I don't know if is working, see:
# service httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for li1964.domain
httpd: Could not reliably determine the server's fully qualified domain name, usin
g 127.0.0.1 for ServerName

But

# service httpd status
httpd

TB0ne 08-05-2016 12:31 PM

Quote:

Originally Posted by thomazp (Post 5586533)
I couldn't find the previous thread with this subject.

You haven't posted one, that's why. If you're talking about other threads in GENERAL, you're either lying or haven't looked. Putting your exact error message into the LQ Search pulls up 73 hits, going back years, telling you how to fix this error.

Also, you re-opened a thread that's been closed for TEN YEARS, and hijacked it with your own question. Neither are good things; thread reported.
Quote:

I changed the defective lines in httpd.conf and now is starting, but I don't know if is working, see:
# service httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for li1964.domain
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

But

# service httpd status
httpd
But WHAT? Did you not understand that very clear error message? You have a problem in your httpd.conf file (probably). Since, AGAIN, you do not provide details or communicate clearly, we have no idea. You don't post your config file, tell us version/distro of Linux, or version of Apache. But just putting that exact error message into Google pulls up lots, like this VERY FIRST HIT, which tells you how to solve the problem:
http://stackoverflow.com/questions/9...domain-name-us

Do you even try to research anything on your own?

thomazp 08-05-2016 01:14 PM

Unable to start httpd service
 
I only inserted The line in /etc/hosts file. Following the suggestions sent.
Restarted without errors now.
How can I say it's OK ?
Thanks.

TB0ne 08-05-2016 01:37 PM

Quote:

Originally Posted by thomazp (Post 5586554)
I only inserted The line in /etc/hosts file. Following the suggestions sent.
Restarted without errors now. How can I say it's OK ?

Are you honestly asking how you can tell if the http service you started is running??? SERIOUSLY??? And did you ALSO miss the part in the link you were spoon-fed, that said NOT to insert it into /etc/hosts, or did you not read/understand that part? Was there a particular word you got stuck on? Your FQDN should have been set as part of your initial server build, and would have ALREADY been in /etc/hosts. If you added a second 127.0.0.1 line....hope you enjoy your server problems.

You ignored everything asked of you in that reply, did no research of your own, ignored the LQ Rules about necroposting and thread hijacking, and had to be spoon fed a link which you could have found with less than five seconds of work, and now you're asking how you check to see if httpd is running????

Did you miss the part when you re-opened this old thread, where YOU POSTED THE ANSWER TO THAT QUESTION???? DO YOU NOT READ WHAT YOU POST? And did it ever occur to you to try just hitting that server with a WEB BROWSER?????

How on earth did you ever manage to get a job as an administrator?????

thomazp 08-05-2016 01:51 PM

No,
I didn't insert a second line.
Only put the hostname and alias after 127.0.0.1 .
The server isn't a production machine yet.
Want see the file ?

thomazp 08-05-2016 02:25 PM

I put The address in The browser.
But here we Have some restrictions upon security needs.
Looking at services command , ps command and at the httpd log file, it seems to be running.
Thanks

TB0ne 08-05-2016 02:39 PM

Quote:

Originally Posted by thomazp (Post 5586574)
No,
I didn't insert a second line. Only put the hostname and alias after 127.0.0.1 . The server isn't a production machine yet.

...and if you have been a systems administrator for more than a month, you'd know that does not matter at all. Without a FQDN, your system is fundamentally useless.
Quote:

Want see the file ?
Nope...because you'll probably not post it, post some part that doesn't matter, or ask about something totally off topic. Mostly useless asking you for anything, based on all your other threads. Also, you've been asked OTHER questions in this very thread, which you TOTALLY IGNORED, and you ***STILL*** don't acknowledge the fact you've broken the LQ Rules yet again.
Quote:

Originally Posted by thomazp
I put The address in The browser. But here we Have some restrictions upon security needs.

...and yet again, you DO NOT BOTHER to tell us anything about what's going on, and somehow expect us to know.
Quote:

Looking at services command , ps command and at the httpd log file, it seems to be running.
How about this: did you bother to read your first post in this thread, where you posted
Quote:

Originally Posted by thomazp's first post
Code:

service httpd status

Do you not understand that command?? Do you just post things that you copy and paste from other sites, and hope they apply????

thomazp 08-05-2016 03:35 PM

It is running.
The ps command too.
Even The log file says is running.
I think so.
Putting the address in browser, the firewall blocks and I couldn't talk to someone at the security.
Now I want to analyze my routers in real time using this httpd.

TB0ne 08-05-2016 05:15 PM

Quote:

Originally Posted by thomazp (Post 5586630)
It is running.
The ps command too.
Even The log file says is running.
I think so.
Putting the address in browser, the firewall blocks and I couldn't talk to someone at the security.
Now I want to analyze my routers in real time using this httpd.

Again, you TOTALLY IGNORE everything asked of you. Why should ANYONE, ANYWHERE even try to help you, when you don't participate in the conversation, answer questions when asked, ignore forum rules, and not communicate clearly???

Also, thank you for admitting this is part of your MRTG/Cacti fiasco. Thread reported as your THIRD DUPLICATE for Cacti. And are you still not getting this, or are simple words beyond what you can understand? Neither Cacti or MRTG are real time; they never were, aren't now, and probably never will be. HTTPD won't 'analyze routers in real time' by any stretch of the imagination.

Mara 08-07-2016 08:36 AM

Moderator note: I've moved the recent question to a separate thread. It doesn't make sense to post in a 10year old one.

thomazp 08-07-2016 08:40 AM

Thanks Mara ;-)).
Best

ondoho 08-08-2016 12:29 AM

i recommend looking at op's posting history here on LQ, but also on e.g. http://www.linuxforums.org/forum/ , before wasting their fingertips.

TB0ne 08-08-2016 07:29 AM

Quote:

Originally Posted by ondoho (Post 5587692)
i recommend looking at op's posting history here on LQ, but also on e.g. http://www.linuxforums.org/forum/ , before wasting their fingertips.

Agreed...OP was banned before for posting eight duplicates because they couldn't get MRTG to run, now this is the THIRD for getting Cacti to run. This has been more entertaining, though, since apparently there was a version of Cacti that was NOT graphical, and that cacti is somehow now real-time (http://www.linuxquestions.org/questi...4/#post5582644)

Yeah....


All times are GMT -5. The time now is 06:15 AM.