It isn't a copyright problem, but it's potentially a problem for other reasons (for example, some publishers may look askance at being offered rights to a book which has had several "half-chapters" previously published online). But it can sometimes have some advantages, too, depending on many factors: it's rather a big and complicated issue (but not really a copyright one, per se).