[root@jc-dell cacti-install]# ./install_apache.sh : No such file or directory: cd: /cacti-install tar (child): httpd-2.2.4.tar.gz\r: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors : No such file or directory: cd: httpd-2.2.4 ./install_apache.sh: line 4: ./configure: No such file or directory : command not found: line 5: make '. Stop. No rule to make target `install : command not found: line 7: cp: cannot stat `/www/bin/apachectl': No such file or directory : No such file or directory: cd: /etc/rc3.d/ ln: `S85httpd\r': File exists ln: `K85httpd\r': File exists : No such file or directory2: cd: /etc/rc5.d/ ln: `S85httpd\r': File exists ln: `K85httpd\r': File exists ./install_apache.sh: line 15: /www/bin/apachectl: No such file or directory : command not found: line 16: : No such file or directory7: cd: /cacti-install [root@jc-dell cacti-install]#
[root@jc-dell cacti-install]# dos2unix install_apache.sh
[root@jc-dell cacti-install]# chmod 775 install_apache.sh
[root@jc-dell cacti-install]# ./install_apache.sh