Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
IBM developerWorks
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old December 22nd, 2006, 05:36 PM
designxperts designxperts is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 designxperts User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
problem executing this shell command

i'm trying to run this shell command from inside my php program on Fedora 5:

php Code:
Original - php Code
  1.  
  2. $outputshell_exec('service dhcpd restart');
  3. echo "<pre>$output</pre>"


this is the output i get:

Shutting down dhcpd: [FAILED]
Starting dhcpd:

that's it.... and when i run it from the shell directly it works fine.. any ideas??

Reply With Quote
  #2  
Old January 22nd, 2007, 06:32 AM
trochia trochia is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 22 trochia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to trochia
RE: problem executing this shell command

Did you get your answer to this one yet ?? :-)

Reply With Quote
  #3  
Old January 22nd, 2007, 10:23 AM
designxperts designxperts is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 designxperts User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: problem executing this shell command

no i didn't!

Reply With Quote
  #4  
Old January 22nd, 2007, 01:08 PM
trochia trochia is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 22 trochia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to trochia
RE: problem executing this shell command

Are you even logging into the server?.. If so, does that user have priveledges to execute?


Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > problem executing this shell command


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway