Signature problem

Project:RUcore dlr/EDIT
Version:5.1.1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

The new daily.pl script that is called by the runsignatures.sh script
is producing an error due to perl string substitutions being done
on the path/filename screen of the original file (ie /home/httpd/html/Sun.html)
The substitution should only be done on the filename, not the path.

Your "cron" job on mss3.libraries
/home/RS_5.1/runsignatures.sh
produced the following output:
could not open /home/httpd-OK.html/dlr/SIGS/Wed.html for writing...

Also to keep lefty64 and mss3 more in sync, please remove the daily.pl
file from the dlr/SIGS directory and adjusted the code in the signature
checker on lefty64 to run it from dlr/EDIT

This is how it is set on mss3
### run the daily.pl script which splits the main log into separate files
#$logdir/daily.pl $logdir/$day.html
$filebase/dlr/EDIT/daily.pl $logdir/$day.html

Comments

#1

Status:active» fixed

Cron on lefty64 last night confirms that the fixed code is working there.

Jeffery

#2

Assigned to:triggs» dhoover

Dave,

Please test and confirm fix.

KA

#3

Looking on lefty64 shows that daily.pl is still located inside of dlr/SIGS
while there is also a new updated version of daily.pl in dlr/EDIT which
has the fix to only add -OK to the filename and not the path. The bug
asked for daily.pl to be removed from dlr/SIGS

Also the path for the call to daily.pl is in runsignatures.sh It appears
the proper change was made in that file but I cannot confirm that this
is the version that is run by cron. There is a runsignatures4.sh that
still calls the daily.pl in dlr/SIGS

So if the right script is being run in cron, the files do look to be split
properly. Even so, daily.pl from dlr/SIGS should be removed.

#4

Status:fixed» active

#5

Version:5.1» 5.1.1

#6

Assigned to:dhoover» Anonymous
Status:active» closed

daily.pl script has been moved from dlr/SIGS.

Back to top