The Chicago Cubs and pitcher Wade Miller agreed Monday to a one-year contract that will pay $1 million in salary and up to another $1 million in bonuses based on the number of starts he makes. Bothered by shoulder problems, the 29-year-old right-hander was 4-4 with a 4.95 ERA in 16 starts in his lone season with the Boston Red Sox. He spent the first five weeks and the final two months on the disabled list, and the Cubs expect him to miss at least the first month of this season. Miller was with the Houston Astros for his first six major league seasons, going 16-8 in 2001 and 15-4 in 2002. He is 62-43 with five complete games and a 3.98 ERA during his career. "We've always thought world of him," general manager Jim Hendry said. "He's a winning-type guy."