
5th August 2005, 23:50
|
|
Junior Member
|
|
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
normal HTTPD wont start
using fedora core 4
installed everything without a prob
when i want start httpd i get this eror in my /var/log/http/error_log
__begin past
unable to start piped log program '/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d': Permission denied
Unable to open logs
[root@vac httpd]#
__end past
looked at ther permissions at those files..
__begin past
[root@vac httpd]# ls -al /root/ispconfig/cronolog
-rwxr-xr-x 1 root root 55866 aug 5 17:58 /root/ispconfig/cronolog
[root@vac httpd]#
[root@vac httpd]# ls -al /var/log/httpd/ispconfig_access_log_%Y_%m_%d
ls: /var/log/httpd/ispconfig_access_log_%Y_%m_%d: Onbekend bestand of map <dutch for unkown file>
[root@vac httpd]#
[root@vac httpd]# ls -al /var/log/httpd/ispconfig_access_log
-rw-r--r-- 1 root root 0 aug 5 17:58 /var/log/httpd/ispconfig_access_log
[root@vac httpd]#
--endpast
it seems to me the parameters %y %d %m are past to cornolog
but if i do cronolog --help %y for example doesnt show..
Even from the ispconfig console under services i am not able to start the normal httpd
https on port 81 runs perfect.
anyone might have an idea of what is wrong? <or what i doin/did wrong ??>
|

6th August 2005, 12:29
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
Quote:
|
Originally Posted by traxxdata
using fedora core 4
installed everything without a prob
when i want start httpd i get this eror in my /var/log/http/error_log
__begin past
unable to start piped log program '/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d': Permission denied
Unable to open logs
[root@vac httpd]#
__end past
looked at ther permissions at those files..
__begin past
[root@vac httpd]# ls -al /root/ispconfig/cronolog
-rwxr-xr-x 1 root root 55866 aug 5 17:58 /root/ispconfig/cronolog
[root@vac httpd]#
[root@vac httpd]# ls -al /var/log/httpd/ispconfig_access_log_%Y_%m_%d
ls: /var/log/httpd/ispconfig_access_log_%Y_%m_%d: Onbekend bestand of map <dutch for unkown file>
[root@vac httpd]#
[root@vac httpd]# ls -al /var/log/httpd/ispconfig_access_log
-rw-r--r-- 1 root root 0 aug 5 17:58 /var/log/httpd/ispconfig_access_log
[root@vac httpd]#
--endpast
it seems to me the parameters %y %d %m are past to cornolog
but if i do cronolog --help %y for example doesnt show..
Even from the ispconfig console under services i am not able to start the normal httpd
https on port 81 runs perfect.
anyone might have an idea of what is wrong? <or what i doin/did wrong ??>
|
The cronolog line in httpd.conf is correct and the cronolog binary has the correct permissions.
Have you enabled somtehing like SE Linux or any apache directive that permits apache to start piped programs in the /root directory or that are not owned by the apache user?
|

7th August 2005, 18:21
|
|
Junior Member
|
|
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
you where correct the problem was SE linux
i now have disabled the SELinux httpd deamon.
don know if that is a proper or correct way to do.
<SElinux is somehow new to me>
so im open for any ideas to work around this problem and still enable the selinux httpd deamon.
greetz TraXX
|

7th August 2005, 20:22
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
Quote:
|
Originally Posted by traxxdata
you where correct the problem was SE linux
i now have disabled the SELinux httpd deamon.
don know if that is a proper or correct way to do.
<SElinux is somehow new to me>
so im open for any ideas to work around this problem and still enable the selinux httpd deamon.
greetz TraXX
|
Maybe it helps to chown the cronolog binary to the httpd user or put the cronolog binary in the location where SE linux allows it to be exectuted (I'am not familar with SE linux so i dint know where it expects binarys).
|

1st February 2008, 18:23
|
|
Member
|
|
Join Date: Aug 2007
Posts: 71
Thanks: 7
Thanked 3 Times in 3 Posts
|
|
If it helps anyone else (2 years on!) I've just discovered that there's more to disabling SELinux than just running system-config-securitylevel (that's assuming a Fedora variant). In one case that didn't, on it's own, disable SELinux.
See this post for details!
Thanks,
Neil
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 21:29.
|
Recent comments
12 hours 56 min ago
18 hours 12 min ago
18 hours 23 min ago
18 hours 31 min ago
19 hours 33 min ago
21 hours 40 min ago
1 day 6 min ago
1 day 24 min ago
1 day 32 min ago
1 day 1 hour ago