PDA

View Full Version : Hamweather


Ddr
2-1-02, 05:07 PM
Hi, has anyone used Hamweather?

I failed on my first install attempt with both configuration errors and a 505 error so that the server could not write to the error log.

It was a real trainwreck, I guess. *laughs* I am going to give it another try soon, just wondered if anyone has used this script before and if they have any thoughts to share on it.

Thanks

Dale

SimCoWeb
2-1-02, 05:23 PM
I've set it up before. It's a monster! :rolleyes:

There's about 100 components to the darn thing. I set it up for a guy who wanted to run a 'fun' weather site. Darn me if I can remember the URL.

It's a great program and packed with more weather stuff than you could ever look at.

Do you have your error.log file that you can post?

Ddr
2-1-02, 05:51 PM
I always had expensive tastes, and reached a bit further than I should *lol*

I already deleted the bad installation except for the html components in the htdocs folder. So, unfortunately, I cant tell you what I did wrong there.

Here is what I got in my error log:

[Fri Feb 1 13:38:40 2002] [error] [client 141.155.26.178] Premature end of script headers: /www/a/anyangler/cgi-bin/weather/hamweather.cgi
Can't do setuid


[Fri Feb 1 13:38:40 2002] [error] [client 141.155.26.178] Premature end of script headers: /powweb/web/cgi-bin/error.cgi


I might have had the permission settings wrong for that second error. The directions for permissions were incomplete. Some files or folders were not specified as to the correct permissions to set.
Other than that, I am pretty much ready to launch another attempt tonight or tomorrow, just for the fun of it.

Any input you can give is appreciated. I figure a few more attempts will help me decide if I want to get out my checkbook and talk business with you. *s*

Dale

~'tis better to have CHMOD'ed and lost than to never have CHMOD'ed at all~

SimCoWeb
2-1-02, 06:17 PM
Too bad you deleted! I could've FTP'd to the site and checked your settings. Go ahead and redo the installation and if you still have errors i'll go in and snoop.

Be sure to chmod any folders you've created also. That's usually a common cause of the errors. So, when you create the /weather folder, chmod it to 755 as well. And, any other folders also. But, if they are folders that need to be written to then they need 777 permissions (or 766 might work).

Check all the .cgi files for path to perl. Make sure in your .html files folders that the scripts have the right paths to find them. Be sure to include the /htdocs in the path statement.

Ddr
2-1-02, 06:28 PM
Well there is one error already. *S*

I definitely did NOT have /htdocs in the defined paths to the html components and images.

Speaking of paths, I think if I write the path to a folder, it would end in a / as in:

"/www/a/anyangler/cgi-bin/weather/"


What if I write the path all the way to the executable file, like:

"/www/a/anyangler.com/cgi-gin/weather/hamweather.cgi"


Does that path need a closing / too? Thanks for the info.

Dale

Ddr
2-3-02, 04:05 PM
I started fresh today and on the first try, got Hamweather installed and running without any errors :). There are still some things regarding permissions that aren't clear to me, but right now I am content that it is running.

Configuring this beast is the next challenge. The documentation might make a lot of sense to someone who "knows", but to someone of my experience level it is a challenge. It is certainly not written for someone of my skill level. There are many features that I have yet to figure out how to even find, much less enable.

Thanks, Sim for the offer of help. I'll certainly ask if I can't get through any of this, but I like to try to work it out on my own, first.

Happier, and slightly wiser,

Dale