@odhi so far this is what i have done am not getting anything  what is wrg  with my server
[githinji@host-135 ~]$ ps aux | grep httpd
githinji  2855  0.0  0.1  61144   712 pts/0    R+   11:09   0:00 grep httpd
[githinji@host-135 ~]$
[githinji@host-135 ~]$ service iptables stop
/etc/init.d/iptables: line 45: /etc/sysconfig/iptables-config: Permission denied
[githinji@host-135 ~]$ apachectl -k restart
httpd not running, trying to start
(13)Permission denied: make_sock: could not bind to address [::]:80
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[githinji@host-135 ~]$ sudo apachectl -k restart
Password:
httpd not running, trying to start
[githinji@host-135 ~]$
[githinji@host-135 ~]$ sudo apachectl -k stop
[githinji@host-135 ~]$ sudo apachectl -k stop
httpd (no pid file) not running
[githinji@host-135 ~]$ sudo apachel -k start
sudo: apachel: command not found
[githinji@host-135 ~]$ sudo apachectl -k start
[githinji@host-135 ~]$


On Thu, Sep 3, 2009 at 11:32 AM, I. Ati <mueni0@gmail.com> wrote:
how do i restart my httpd

On Thu, Sep 3, 2009 at 11:23 AM, I. Ati <mueni0@gmail.com> wrote:


On Thu, Sep 3, 2009 at 10:56 AM, Odhiambo Washington <odhiambo@gmail.com> wrote:




Please elaborate on this creation of an upload folder again.
 i created a directory in /var/www/ called upload (mkdir upload),

You needed to upload via Apache or via some other application?
i have a site where i allow people to upload stuff , hence wanted the stuff uploaded to go to this folder called upload.....than directly to my db
Mode 777 compromises your server badly. If I were you, I'd do mode 1777 instead, but that's just a suggestion.

n suggestion how i can rollback all the changes i made ?
Is httpd running? Is there an errors you can see on the logs? Always look at the logs first as the clues are most likely there.
oops my httpd is not working ,what next advise ,,......

--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"If you have nothing good to say about someone, just shut up!."
              -- Lucky Dube




--
http://xkcd.com/154/



--
http://xkcd.com/154/



--
http://xkcd.com/154/