Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error running sa1 script

Status
Not open for further replies.

Headmaster

Technical User
Nov 27, 2002
79
0
0
US
Hi,

I upgraded a server running linux today by adding a second CPU. Now when CRON runs the sa1 script, I get an error that reads:

Cannot append data to file /var/log/sa/sa.2004_03_03: the number of processors has changed

I'm going to do some research to see if I can find the answer, but if somebody has some quick insite into this, I would be greatful!!

Thanks!!
 
Never mind... I figured it out (i think)...
 
Essentially, the daily log file, sa.year_mo_day, must be a fixed size. When I added the new processor, it was trying to log more than could fit in the file. I deleted the file, and it started working. I could also have waited until the next day, and it would have fixed itself.

scott
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top