- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Linux-Based Community / Regional
- >
- Re: Apache startup failed (points!)
Linux-Based Community / Regional
1758347
Members
2019
Online
108868
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2010 03:38 AM
12-08-2010 03:38 AM
Re: Apache startup failed (points!)
Hi Christian,
Point1:
From the above output i see that SElinux is enabled however it is in permissive mode
#sestatus ==> plz paste the output
The required output should be as follows:
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: enforcing
Mode from config file: enforcing
Point 2: "/etc/pki/tls/private/localhost.key default SELinux type is
cert_t, but its current type is admin_home_t. Changing this file back to the
default type, may fix your problem."
Plz check the current context of the file using below command:
#ls -Z /etc/pki/tls/private/localhost.key
If the context is anything other than whats suggested from the sealert message then you can change it to required one using the below command:
#chcon -R -t cert_t /etc/pki/tls/private/localhost.key
Hope this helps.
Point1:
From the above output i see that SElinux is enabled however it is in permissive mode
#sestatus ==> plz paste the output
The required output should be as follows:
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: enforcing
Mode from config file: enforcing
Point 2: "/etc/pki/tls/private/localhost.key default SELinux type is
cert_t, but its current type is admin_home_t. Changing this file back to the
default type, may fix your problem."
Plz check the current context of the file using below command:
#ls -Z /etc/pki/tls/private/localhost.key
If the context is anything other than whats suggested from the sealert message then you can change it to required one using the below command:
#chcon -R -t cert_t /etc/pki/tls/private/localhost.key
Hope this helps.
Regards,
Chhaya
I am an HP employee.
Was this post useful? - You may click the KUDOS! star to say thank you.
Chhaya
I am an HP employee.
Was this post useful? - You may click the KUDOS! star to say thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2010 03:50 AM
12-08-2010 03:50 AM
Re: Apache startup failed (points!)
Chhaya,
When I set SELinux to permissive mode, the web page is served fine:
sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: permissive
Policy version: 24
Policy from config file: targeted
As I already mentioned several times before, when I set SELinux to enforced mode, the web page is not served at all (0 bytes).
ls -Z /etc/pki/tls/private/localhost.key
-rw-r--r--. root root system_u:object_r:cert_t:s0 /etc/pki/tls/private/localhost.key
ls -Z /etc/pki/tls/certs/localhost.crt
-rw-------. root root unconfined_u:object_r:cert_t:s0 /etc/pki/tls/certs/localhost.crt
Any more ideas?
I guess since there are no new SELinux messages in /var/log/messages, something else might be needed.
Christian
When I set SELinux to permissive mode, the web page is served fine:
sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: permissive
Policy version: 24
Policy from config file: targeted
As I already mentioned several times before, when I set SELinux to enforced mode, the web page is not served at all (0 bytes).
ls -Z /etc/pki/tls/private/localhost.key
-rw-r--r--. root root system_u:object_r:cert_t:s0 /etc/pki/tls/private/localhost.key
ls -Z /etc/pki/tls/certs/localhost.crt
-rw-------. root root unconfined_u:object_r:cert_t:s0 /etc/pki/tls/certs/localhost.crt
Any more ideas?
I guess since there are no new SELinux messages in /var/log/messages, something else might be needed.
Christian
Yeshua loves you!
- « Previous
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP