sh /etc/rc.d/rc.httpd start
Is just a script that execute "apachectl -k start", so its give the same error.
And ofc doing it as root.
Im using "pico" for editing, but shouldnt be the problem as a fresh install without editing any config files gives the same error.
Just to confirm, i commented "Listen 80" and wrote it again on line 41 getting same error with the line referance 41.
EDIT 1: Found this info while googling:
The issue is related to three kernel calls that are used in apr-1.3.8-1: accept4(), dup3() and epoll_create1(). Without these calls, apache is unable to start.
EDIT 2: And the above is solving the problem. Downloaded "slackware-12.2/slackware/l/apr-1.3.3-i486-1.tgz", installed it and the problem is gone, httpd is working
So the problem must be in "apr-1.3.8"?
EDIT 2: replacing apr-1.3.8 with apr-1.3.3-i486-1 solves the problem on both my servers...
EDIT 3: As im getting this problem on 3 different machines, there must be others having same problem?