PhpSysInfo package problems
-
Thx Bill you got me back to page 1
-
I've got some errors when using the lates phpSysInfo-2.5.3-rc2 release
File Line Command Message
common_functions.php 372 file_exists(/var/run/dmesg.boot) the file does not exist on your machine
common_functions.php 158 find_program(vmstat) program not found on the machineSo fare I've read that dmesg.boot could be a freebsd bug and atm i can do a dmesg > /var/run/dmesg.boot to fix it.
the only thing i could fine concerning vmstat is from the freebsd handbook:
If you have installed a different version of the kernel from the one that the system utilities have been built with, for example, a -CURRENT kernel on a -RELEASE, many system-status commands like ps and vmstat will not work any more. You should recompile and install a world built with the same version of the source tree as your kernel. This is one reason it is not normally a good idea to use a different version of the kernel from the rest of the operating system.
Does anyone know what can be done or can explain why they are left out?

 -
If any wants to try…...
!!! Before installing read this !!!
dmesg and vmstat issue are not fixed.
dmesg can be added manually as shown in the howto below
Memory Usage is not shown as correctly as if vmstat was available.Since the release 2.5.1 version are missing some features i will use 2.5.3-rc2
My version of phpSysInfo can be downloaded here http://www.megaupload.com/dk/?d=LUMW5BVG
change made to it:
config.php.new -> config.php
pfSense look alike template added
config.php default settings changedor download the real rc2 from
http://downloads.sourceforge.net/phpsysinfo/phpsysinfo-2.5.3-rc2.tar.gz?modtime=1172435539&big_mirror=0Small HowTo / guide
From a pfSense default install ( 1.0.1-SNAPSHOT-03-08-2007 built on Tue Mar 13 00:39:49 EDT 2007 )
Enable Secure Shell in System -> Advanced
unpack the downloaded phpsysinfo file
upload it to /usr/local/www/ ( i use winscp )
In pfSense GUI go to Diagnostics -> Command and execute " dmesg > /var/run/dmesg.boot " ( do it after every reboot )
View the result at http://My_pfSense_IP/phpsysinfo/index.php
Extra: Add mbmon
in Shell enter " pkg_add -r mbmon "
In pfSense GUI go to Diagnostics -> Edit File and load " /usr/local/www/phpsysinfo/config.php "
find and edit " $sensor_program = ""; " to " $sensor_program = "mbmon"; " and hit save
View the result at http://My_pfSense_IP/phpsysinfo/index.php
-
i will see if i can find the failt in phpsysinfo
/var/run/dmesg.boot is a wrong location only run files belong there not log files
the correct location is
/var/log/dmesg.boot -
Thx i didn't think it could be in another place, because everything works by default in normal freebsd 6.2 install
going to edit class.BSD.common.inc.php
-
Maybe you can make a clean pfsense package out of this once it's working as expected so we can include it in the package repository ;)
-
Will do Hoba, but atm i have no idea how to make a custom .tbz file
basically i installed my first real freebsd with lighttpd & php5 a week ago…
so i need links to guides, howtos, walkthrough etc..Build world is that like dealing with urbanization problems in China?
Ports is that like Stargates? yes i can see a wormhole….. -
Build world is that like dealing with urbanization problems in China?
Ports is that like Stargates? yes i can see a wormhole…..;D
Check the developement section. You'll find some answers there. Additional to that have a look at one of the not so complicated packages and try some reverse-engeneering (nmap package might be a good start for this).
-
I have complete the phpsysinfo.inc & xml.
so for the final test i need the custom phpsysinfo.tbz
i've been reading and reading and still don't have a clue how to make it, i might be blind
all i can find is guides to do with things already in ports.
so any help would be appreciate. -
Take a look at the ASSP package. The files are still present and it used to explode a tarball to set the package up.
I have a feeling this is what your seeking.
-
Thx Scott for the link to a work around to my problem and adding the vmstat to the snapshot
here are the files so it can be added to the packages selection.
http://www.megaupload.com/dk/?d=AGY5X437
Time to clam my own beer bounty :D
-
Sounds good. I'll take a look at it a bit later today. Prod me if nothing happens in the next 2 days, I am playing major catchup right now.
-
No longer a release candidate
http://www.megaupload.com/dk/?d=P5BGSK92
-
Commited, please test
-
in the phpsysinfo.xml :'(
http://http://www.pfsense.com/packages/ALL/phpsysinfo.tgzshould be http://http://www.pfsense.com/packages/ALL/phpSysInfo-2.5.3.tgz
sry
-
Downloading package configuration file... done. Saving updated package information... done. Downloading phpSysInfo and its dependencies... done. Checking for successful package installation... failed! Installation aborted.
mbmon-205_3.tbz - loaded 294 byte =>
<title>404 Not Found</title> # Not Found The requested URL /packages/ALL/mbmon-205_3.tbz was not found on this server. * * * <address>Apache/1.3.37 Server at www.pfsense.com Port 80</address>
…/packages/ALL/mbmon-205_3.tbz
need correct to
…/packages/All/mbmon-205_3.tbz -
Thx
now i hope everything is right… fingers cross
http://www.megaupload.com/dk/?d=99ZGP0PT
-
Ohm.. sorry - bad translator ::)
-
The fixed files needs to be added first….
-
I have fixed the filenames. Please test again.