[pfSense Support] restarting httpd

2005-11-23 Thread alan walters








How can the httpd be restarted from the command line. I attempted
to run the php script from the command line but it failed looking for
credentials.








RE: [pfSense Support] restarting httpd

2005-11-23 Thread Espen Johansen








Do a ps auxww |grep http
and you will se full command line for whatever process (change or remove the
grep if you are looking for something else) you are looking to kill /restart
(unless you already killed it that is)



/usr/local/sbin/mini_httpd -c
**.php|**.cgi -u root -maxproc 16 -i /var/run/mini_httpd.pid



-lsf













From: alan walters
[mailto:[EMAIL PROTECTED] 
Sent: 23. november 2005 12:06
To: support@pfsense.com
Subject: [pfSense Support]
restarting httpd





How can the httpd be restarted from the command line. I
attempted to run the php script from the command line but it failed looking for
credentials.










Re: [pfSense Support] restarting httpd

2005-11-23 Thread Bill Marquette
Create a developer tag inside the system tag and you'll have a
developer menu (and anything else we use that tag for ;-P) which has a
restart http option.  Of course, this requires that the http daemon is
running :)  Otherwise, Espen already answered regarding the command
that runs (beware of shell expansion).

--Bill

On 11/23/05, alan walters [EMAIL PROTECTED] wrote:



 How can the httpd be restarted from the command line. I attempted to run the
 php script from the command line but it failed looking for credentials.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [pfSense Support] restarting httpd

2005-11-23 Thread alan walters
I tried that command but it gives some missig tihing I will have to have
another look at it

-Original Message-
From: Bill Marquette [mailto:[EMAIL PROTECTED] 
Sent: 23 November 2005 15:37
To: support@pfsense.com
Subject: Re: [pfSense Support] restarting httpd

Create a developer tag inside the system tag and you'll have a
developer menu (and anything else we use that tag for ;-P) which has a
restart http option.  Of course, this requires that the http daemon is
running :)  Otherwise, Espen already answered regarding the command
that runs (beware of shell expansion).

--Bill

On 11/23/05, alan walters [EMAIL PROTECTED] wrote:



 How can the httpd be restarted from the command line. I attempted to
run the
 php script from the command line but it failed looking for
credentials.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [pfSense Support] restarting httpd

2005-11-23 Thread alan walters








This is what happens when I try to restart
httpd with the below command 



/usr/local/sbin/mini_httpd: No match.

**.cgi: No match.





I used this command since I am using https



/usr/local/sbin/mini_httpd -S -E
/var/etc/cert/pem -c **.php|**.cgi -u root -maxproc 16 -i
/var/run/mini_httpd.pid













From: Espen Johansen
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 23, 2005
11:32 AM
To: support@pfsense.com
Subject: RE: [pfSense Support]
restarting httpd





Do a ps auxww |grep
http and you will se full command line for whatever process (change or
remove the grep if you are looking for something else) you are looking to kill
/restart (unless you already killed it that is)



/usr/local/sbin/mini_httpd -c **.php|**.cgi
-u root -maxproc 16 -i /var/run/mini_httpd.pid



-lsf













From: alan walters
[mailto:[EMAIL PROTECTED] 
Sent: 23. november 2005 12:06
To: support@pfsense.com
Subject: [pfSense Support]
restarting httpd





How can the httpd be restarted from the command line. I
attempted to run the php script from the command line but it failed looking for
credentials.










Re: [pfSense Support] restarting httpd

2005-11-23 Thread Scott Ullrich
Try

/usr/local/sbin/mini_httpd -S -E /var/etc/cert/pem -c **.php|**.cgi
-u root -maxproc 16 -i /var/run/mini_httpd.pid

Notice the |, thats a pipe in shell-land.


On 11/23/05, alan walters [EMAIL PROTECTED] wrote:



 This is what happens when I try to restart httpd with the below command



 /usr/local/sbin/mini_httpd: No match.

 **.cgi: No match.





 I used this command since I am using https



 /usr/local/sbin/mini_httpd -S -E /var/etc/cert/pem -c **.php|**.cgi -u root
 -maxproc 16 -i /var/run/mini_httpd.pid





  


 From: Espen Johansen [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, November 23, 2005 11:32 AM
  To: support@pfsense.com
  Subject: RE: [pfSense Support] restarting httpd



 Do a ps –auxww |grep http and you will se full command line for whatever
 process (change or remove the grep if you are looking for something else)
 you are looking to kill /restart (unless you already killed it that is)



 /usr/local/sbin/mini_httpd -c **.php|**.cgi -u root -maxproc 16 -i
 /var/run/mini_httpd.pid



 -lsf




  


 From: alan walters [mailto:[EMAIL PROTECTED]
  Sent: 23. november 2005 12:06
  To: support@pfsense.com
  Subject: [pfSense Support] restarting httpd



 How can the httpd be restarted from the command line. I attempted to run the
 php script from the command line but it failed looking for credentials.


RE: [pfSense Support] restarting httpd

2005-11-23 Thread alan walters
Very confused by this. Tried that one as well and I just get the
mini_httpd useage. The mini_httpd daemon is now not running but the pid
exists

If I run with no   I get the results mentioned below. I wonder just
restart but there is an issue with the restart on the via board I am
using.
It does not seem to restart clean so this is the method that I need
tilli can sort out why the ox does not restart clean

What does the NO MATCH mean is this a shell error or something else


-Original Message-
From: Scott Ullrich [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 23, 2005 8:32 PM
To: support@pfsense.com
Subject: Re: [pfSense Support] restarting httpd

Try

/usr/local/sbin/mini_httpd -S -E /var/etc/cert/pem -c **.php|**.cgi
-u root -maxproc 16 -i /var/run/mini_httpd.pid

Notice the |, thats a pipe in shell-land.


On 11/23/05, alan walters [EMAIL PROTECTED] wrote:



 This is what happens when I try to restart httpd with the below
command



 /usr/local/sbin/mini_httpd: No match.

 **.cgi: No match.





 I used this command since I am using https



 /usr/local/sbin/mini_httpd -S -E /var/etc/cert/pem -c **.php|**.cgi -u
root
 -maxproc 16 -i /var/run/mini_httpd.pid





  


 From: Espen Johansen [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, November 23, 2005 11:32 AM
  To: support@pfsense.com
  Subject: RE: [pfSense Support] restarting httpd



 Do a ps -auxww |grep http and you will se full command line for
whatever
 process (change or remove the grep if you are looking for something
else)
 you are looking to kill /restart (unless you already killed it that
is)



 /usr/local/sbin/mini_httpd -c **.php|**.cgi -u root -maxproc 16 -i
 /var/run/mini_httpd.pid



 -lsf




  


 From: alan walters [mailto:[EMAIL PROTECTED]
  Sent: 23. november 2005 12:06
  To: support@pfsense.com
  Subject: [pfSense Support] restarting httpd



 How can the httpd be restarted from the command line. I attempted to
run the
 php script from the command line but it failed looking for
credentials.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]