- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Linux-Based Community / Regional
- >
- Apache startup failed (points!)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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-06-2010 05:33 AM
тАО12-06-2010 05:33 AM
Apache startup failed (points!)
Somewhat over a year ago I successfully configured apache httpd to work on a RHEL 5.3 system. Now I have Fedora 13 and startup of Apache httpd failed:
service httpd --full-restart
Stopping httpd: [FAILED]
Starting httpd: [FAILED]
I tried `chkconfig httpd on` and that returned no error message but still full-restart and also start failed.
Where to look?
If I posted in the wrong section please tell me where to post this question.
I already configured apache so hopefully configuration is correct.
Helpful answers will be rewarded generously with points!
Thanks, Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2010 06:59 AM
тАО12-06-2010 06:59 AM
Re: Apache startup failed (points!)
check error_log
post logs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2010 07:04 AM
тАО12-06-2010 07:04 AM
Re: Apache startup failed (points!)
lrwxrwxrwx. 1 root root 19 Oct 6 09:39 /etc/httpd/logs -> ../../var/log/httpd
[root@smarty httpd]# ls /etc/httpd/logs
[root@smarty httpd]# ll /var/log/httpd
total 0
now what?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2010 07:10 AM
тАО12-06-2010 07:10 AM
Re: Apache startup failed (points!)
Or if you can just whack your existing http installation and re-install from yum repository.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2010 07:30 AM
тАО12-06-2010 07:30 AM
Re: Apache startup failed (points!)
> configured apache httpd to work on a RHEL
> 5.3 system. Now I have Fedora 13 and
> startup of Apache httpd failed:
Is this "Fedora 13" system the same one as
the "RHEL 5.3" system? So, did you replace
the OS, but _not_ re-install Apache? If so,
then this advice sounds good to me:
> Or if you can just whack your existing http
> installation and re-install from yum
> repository.
And probably any number of other optional
products, too. You might be able to save the
Apache configuration files from the old
installation, unless the new Apache version
differs too much from the old one.
> Helpful answers will be rewarded generously
> with points!
What's that worth in US$?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2010 07:32 AM
тАО12-06-2010 07:32 AM
Re: Apache startup failed (points!)
httpd-2.2.17-1.fc13.1.x86_64
ll /etc/httpd/conf/httpd.conf
-rw-r--r--. 1 root root 33738 Oct 27 14:26 /etc/httpd/conf/httpd.conf
service httpd start
Starting httpd: [FAILED]
ll /etc/httpd/logs
lrwxrwxrwx. 1 root root 19 Dec 6 16:20 /etc/httpd/logs -> ../../var/log/httpd
[root@smarty httpd]# ls /etc/httpd/logs
[root@smarty httpd]# ll /var/log/httpd
total 0
Thanks, Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2010 07:35 AM
тАО12-06-2010 07:35 AM
Re: Apache startup failed (points!)
Same hardware and hostname but now ext4 filesystems with encryption, before I had ext3 without encryption. I did not adopt any httpd configuration from the previous installation.
Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2010 07:38 AM
тАО12-06-2010 07:38 AM
Re: Apache startup failed (points!)
I think that may very well be where your issue is?
What ext4 filesystems did you enable encryption on? Did you incldue /var by any chace in your ext4 encryption? And does user apache have access to those encyrpted filesystems?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2010 11:32 PM
тАО12-06-2010 11:32 PM
Re: Apache startup failed (points!)
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/luks-51cdeaa5-41c2-400f-aeae-b1b5323e6d7a
50G 8.3G 39G 18% /
tmpfs 6.0G 3.6M 6.0G 1% /dev/shm
/dev/sda1 485M 28M 432M 7% /boot
/dev/mapper/luks-f8ae7a61-a4ef-41aa-92a3-7c67a1fc5043
1001G 118G 833G 13% /home
1 filesystem and disk for /. /boot is also on that disk and part of /home. Only the rest of /home is on the second disk.
I cannot see an issue with file systems or encryption here.
Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2010 02:53 AM
тАО12-07-2010 02:53 AM
Re: Apache startup failed (points!)
#/usr/sbin/httpd -t ==> should say syntax OK
or #/usr/sbin/apache-perl -T
or #apachectl configtest
Chhaya
I am an HP employee.
Was this post useful? - You may click the KUDOS! star to say thank you.