#77292
10/07/2001 12:08 AM
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
I just made changes to the apache httpd.conf, when i logged into the SSH client, i typed in
% restart_apache
and got the error "No such job"
I really need someone's help, because all my pages are Internal server errors until i restart the apache! HELP!
|
|
|
#77293
10/07/2001 2:33 PM
|
Joined: Oct 2000
Posts: 2,223
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,223 |
if it's RedHat it's
/etc/rc.d/init.d/httpd stop /etc/rc.d/init.d/httpd start
if it is not RedHat then post. Someone will know. Mark knows BSD well.
Picture perfect penmanship here.
|
|
|
#77294
10/07/2001 3:06 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
apachectl restart for BSD, i believe. If not, maybe:
/usr/sbin/apachectl stop
/usr/sbin/apachectl start
|
|
|
#77295
10/07/2001 4:11 PM
|
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
|
P.I.T.A. / Programmer
Joined: Sep 2000
Posts: 755 |
It all depends on where apache is installed, and under what name.
Sometimes /usr/local/apache/bin/apachectl start others /usr/local/etc/rc.d/httpd start or /usr/sbin/httpd start
could be anywhere. You need to know where the binary is
--mark
"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
|
|
|
#77296
10/07/2001 7:11 PM
|
Joined: Oct 2000
Posts: 2,223
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,223 |
Picture perfect penmanship here.
|
|
|
#77297
10/07/2001 7:32 PM
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
/etc/rc.d/init.d/httpd stop gives me: /etc/rc.d/init.d/httpd start gives me a huge list of stuff like: I got no flie or directory for masterminds and marks fix.
|
|
|
#77298
10/07/2001 7:36 PM
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
i put "whereis httpd" and got this Then "whereis apache" gave me this
|
|
|
#77299
10/07/2001 7:49 PM
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Alright tried the command "/usr/sbin/httpd restart" and got this
|
|
|
#77300
10/08/2001 2:55 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
are you logged in as root? if you try to restart apache (running as root) when you're logged in as a normal user, it will report that it's not running. Just a thought 
|
|
|
#77301
10/09/2001 12:16 AM
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
My servers contacted me earlier saying they saw that i apparently "created a partial AddHandler" and this caused my ise error. However, they didn't say how to log in as root. How do you?
|
|
|
#77302
10/09/2001 12:54 AM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
your on a virtual host? ROFLMAO!
|
|
|
#77303
10/09/2001 4:00 AM
|
Joined: Jul 2000
Posts: 1,349
Member
|
Member
Joined: Jul 2000
Posts: 1,349 |
You can't touch apache unless you're root, which, unless you admin the server, you're probably not. Hmm... but you must be logged in as root, otherwise you shouldn't be able to edit httpd.conf...  type the command su - : if it asks you for a password, you're not running as root. Do you know what operating system you're running? Are there any special considerations, like is your server a RaQ or other pre-setup server? Who provides the server lease? [ 10-09-2001: Message edited by: Borg ]
|
|
|
#77304
10/09/2001 5:14 AM
|
Joined: Oct 2001
Posts: 10
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 10 |
I am not an expert. I just got in. I wish to see if this forum works. Sorry for disturb.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|