[Vtigercrm-commits] [vtiger development] #4397: v.5.0.3: Need path change in common_functions.php for find_program()

vtiger development vtiger-tickets at trac.vtiger.com
Wed Oct 10 22:13:42 EDT 2007


#4397: v.5.0.3:  Need path change in common_functions.php for find_program()
---------------------------------------------------------+------------------
 Reporter:  staylor                                      |       Owner:  developer
     Type:  defect                                       |      Status:  new      
 Priority:  critical                                     |   Milestone:  5.0.4    
Component:  vtigercrm                                    |     Version:  5.0.3    
 Keywords:  common_functions.php, find_program, freebsd  |  
---------------------------------------------------------+------------------
 Hello.

 The problem is the following:


 {{{
 Error:
 ~~~~~~~~~~~~~~~
 File Line Command Message
 common_functions.php 151 find_program(sysctl) program not found on the
 machine
 common_functions.php 151 find_program(hostname) program not found on the
 machine
 common_functions.php 151 find_program(sysctl) program not found on the
 machine
 common_functions.php 151 find_program(uname) program not found on the
 machine
 common_functions.php 151 find_program(sysctl) program not found on the
 machine
 common_functions.php 151 find_program(who) program not found on the
 machine
 common_functions.php 151 find_program(netstat) program not found on the
 machine
 common_functions.php 151 find_program(sysctl) program not found on the
 machine
 common_functions.php 151 find_program(sysctl) program not found on the
 machine
 common_functions.php 313 file_exists(/var/run/dmesg.boot) the file does
 not exist on your machine
 common_functions.php 151 find_program(sysctl) program not found on the
 machine
 common_functions.php 151 find_program(vmstat) program not found on the
 machine
 common_functions.php 151 find_program(swapinfo) program not found on the
 machine
 common_functions.php 151 find_program(sysctl) program not found on the
 machine
 common_functions.php 151 find_program(sysctl) program not found on the
 machine
 common_functions.php 151 find_program(sysctl) program not found on the
 machine
 common_functions.php 151 find_program(df) program not found on the machine
 common_functions.php 151 find_program(df) program not found on the machine
 common_functions.php 151 find_program(mount) program not found on the
 machine
 ~~~~~~~~~~~~~~~

 My webhost's response is the following:
 ~~~~~~~~~~~~~~~
 Could you please try by changing the binary path of the commands in the
 common_functions.php as following:

 /sbin/sysctl --- sysctl
 /usr/bin/who --- who
 /sbin/mount --- mount
 /bin/df --- df
 /bin/hostname --- hostname
 /usr/bin/uname --- uname
 /usr/bin/vmstat --- vmstat
 /usr/sbin/swapinfo-- swapinfo
 ~~~~~~~~~~~~~~~
 }}}
  I'm using FreeBSD v.5.5-RELEASE; Apache 1.3.37 (Unix); PHP v.4.4.7; MySQL
 v.4.1.22-log; cPanel 11.11.0-STABLE_16999.


 Q: How can I change the paths to see if that will solve the problem?

 Thanks.

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4397>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list