Course Unit pages showing 404 error

Course page shows fine but when you visit a unit page, it shows 404 error.