Search results


 
  1. S

    New stoker-web

    I am a little confused. I have the log4j.properties.orig in both /usr/local/share/stokerweb and in /var/lib/tomcat7/webapps/stokerweb, along with a modified one in each place with the changed location for the logfile: root@celeron:/var/lib/tomcat7/webapps/stokerweb# diff log4j.properties...
  2. S

    New stoker-web

    I cannot find a file anywhere named cookLog, cookLogs, cooklog, etc, nor a dir named stokerweblogs or stokerweblog anywhere. I always load the GNU utils that include slocate, which maintains an index of all files on the system.
  3. S

    New stoker-web

    A few minutes ago, running without stokerlog also going: []http://hostname/stoker.json:[/] {"stoker":{"sensors":[{"id":"260000125918C830","name":"Food3","al":0,"ta":300,"th":32,"tl":32,"tc":32.9,"blower":null}...
  4. S

    New stoker-web

    It is still freezing outside here at 11:00AM. I did not think to hit json when I had the stoker up yesterday. I will try that later today. I was periodically checking the stoker by simply hitting the webpage, since the stoker frequently has to be restarted several times to get an IP...
  5. S

    New stoker-web

    Not so quick! I can only get as far as the logo screen, but it shows no connection at the top even if I login. This is true for FF 16.02 on ubuntu 12.04, as well as opera12.10.xx, epiphany and chromium. lynx did not have javascript and could not run it. ;) On my WinXP SP2 box running new...
  6. S

    New stoker-web

    Success! (maybe) I finally got the stokerweb logo screen up. I have not actually tried the stoker with it because I just got this far. What I finally did was to set a PPA for oracle java and install oracle-java6-installer using synaptic. That still did not work, so I deleted all of the...
  7. S

    New stoker-web

    Yeah, I've done that dozens of times with no change in behavior. I have not done any VM stuff since the early days of whatever the 1st VM on Linux, and I've never setup a virtual domain webserver. I am just trying to keep things as simple as possible. The fact that catalina.out reports the...
  8. S

    New stoker-web

    I just did the following sequence: root@celeron:/usr/local/share/stokerweb# touch login.properties root@celeron:/usr/local/share/stokerweb# java -jar addUser.jar Enter username: stoker Enter password: Retype password: 14:31:33,810 INFO LoginProperties:39 - User: [stoker] added Since I had...
  9. S

    New stoker-web

    I did: root@celeron:/var/lib/tomcat7/webapps/stokerweb# touch login.properties root@celeron:/var/lib/tomcat7/webapps/stokerweb# java -jar addUser.jar Enter username: stoker Enter password: Retype password: Exception in thread "main" java.lang.NullPointerException at...
  10. S

    New stoker-web

    I decided to add the STOKERWEB_DIR to /etc/init.d/tomcat7 and do things more the way Gary N. documents in his how-to. However, I had not yet succeeded in adding a stokerweb user with the default "." dir. So I decided to set the env var from shell before invoking addUser.jar . Below is the...
  11. S

    New stoker-web

    I have spent most of my waking hours for the last 24 trying to figure out how to deploy stokerweb on Ubuntu 12.04 using the distro tomcat7 package and trying to keep all the non .deb file stuff in /usr/local. I have about 27 years of UNIX|C|sh|perl|http|html experience, but have not kept up...
  12. S

    Stoker monitoring with open software and/or Linux

    Doing things explicitly, if I have the code <pre class="ip-ubbcode-code-pre"> my $OUT; open($OUT, ">$logfilename") or die "Can't open output"; </pre> followed by the loops that collect one time sample of the stoker, then <pre class="ip-ubbcode-code-pre"> my @sorted = fieldsort ',', [1, 2, 4]...
  13. S

    Stoker monitoring with open software and/or Linux

    I was banging my head against the computer so hard yesterday that I missed your post. I got things cleaned up so I am back to 'use strict' with warnings on. It works by opening $logfilename for writing assigned to STDOUT and anything I want the user to see, such as "no stoker at IP_ADDR" or...
  14. S

    Stoker monitoring with open software and/or Linux

    I know Curt said it is hard to debug over a BB... Now I have another problem with perl. I am trying to put the json formatting loop into a 'while (1)' loop to continuously poll the stoker until the program is interrupted by the user. So far I had done this with a shell script: <pre...
  15. S

    Stoker monitoring with open software and/or Linux

    I included the counter almost exactly the way Curt suggested and it fixed THAT problem. Because of the way Sort::Fields works, however, I had to instantiate blower name, other wise each line began with ,, and my plot script requires all probes and blowers to be in alpha order with blower first...
  16. S

    Stoker monitoring with open software and/or Linux

    Thank you Joe and Curt and Bryan for putting up with my lack of chops. I will probably not get around to playing with the Stoker again until Monday if my wife is tired of bbq, or Sunday if she is ready for more. In the last month we fed on a brisket for a week, a butt for another week and a...
  17. S

    Stoker monitoring with open software and/or Linux

    Here is the plot of yesterday's cook: I am still calling csv to plot in a shell script. logger-perl-script>file.csv; gnuplot-config-and-execute-sh-script . The y2 axis of the 0's and 1's works well enough that I am not going to bother with a moving average. I was able to label the plotted...
  18. S

    Stoker monitoring with open software and/or Linux

    I smoked some baby backs yesterday afternoon. Got started late so I started at 275, but in a few minutes decided to up the pit temp to 300 (did it with the builtin webserver). Logged by calling my perl json to csv program from shell with sleep 60. Ribs passed the flop test at 2 1/2 hrs...
  19. S

    Stoker monitoring with open software and/or Linux

    Curt, I did as you suggested and it did not show the \n in the sensors loop, but only in the dump of sorted. I was pushing a \n onto the completed unsorted array_of_sensors, I think. Then the fieldsort routine was sorting that empty value to the beginning of the array. I know I came up with...
  20. S

    Stoker monitoring with open software and/or Linux

    Curt, or anybody else: I am now able to generate a series of flat, (1st normal form?) records of the form: <pre class="ip-ubbcode-code-pre"> $VAR1 = [ ' ', '2010-09-08,17:27:42,', 'Blower,0,', 'Fire,65,69.3', 'Food1,170,69', 'Food2,32,69', 'Food3,32,67.9' ]; </pre> It looks like...

 

Back
Top