in reply to Re^2: apache2 start up after installing
in thread apache2 start up after installing

You don't have permissions to copy the file into this location:

sudo cp fileupload.pl /var/www/fileupload.pl

Since you're new to Ubuntu (Linux also?) and Apache, I'd suggest spending time learning the basics. I'm sure a web search will find you many Linux tutorials. The Apache documentation is worth reading also. I usually recommend Ovid's CGI Course to those learning CGI basics also. Tutorials has a Web Programming section.