sutaaanisu 0 Report post Posted August 7, 2006 (edited) aku dh cuba dua cara utk buat service start apache nie..tp dua2 ada error..aku tktau menda aper yg error tu... "ni cara pertama aku cuba run apache"[root@devcorptech bin]# service httpd startStarting httpd: Syntax error on line 1024 of /etc/httpd/conf/httpd.conf:The port number "http://localhost" is outside the appropriate range (i.e., 1..65535). [FAILED]"ni cara kedua plak aku try..dua2 ader error"[root@devcorptech bin]# apachectl startSyntax error on line 1024 of /etc/httpd/conf/httpd.conf:The port number "http://localhost" is outside the appropriate range (i.e., 1..65535). Edited August 7, 2006 by sutaaanisu Quote Share this post Link to post Share on other sites
cikgureza 5 Report post Posted August 7, 2006 pakai terminal je ke? X-window takde? Quote Share this post Link to post Share on other sites
Firestarter 0 Report post Posted August 7, 2006 Kalo aku install semula je. Ade gak error tu kuar mase aku setting centOS. Malas nak pening kepala. Quote Share this post Link to post Share on other sites
sutaaanisu 0 Report post Posted August 8, 2006 (edited) eemmm.....kalau nk cuba install balik apache tue..camna nk uninstall balik yg aku dh install tu....ke nk main overwrite je balik . aku buat dlm terminal jer..sbb aku remote server aku tu....lgpun aku taktau camna nk install pakai gui..hehee...aha....camner nk buat yer..ko ader idea tk mohd zenal ...aku pun baru lagi dlm linux nie...tp aku nk blajaq...bila part tatau tu terpaksala aku tnayer yg teror....sorry Edited August 8, 2006 by sutaaanisu Quote Share this post Link to post Share on other sites
cikgureza 5 Report post Posted August 8, 2006 eemmm.....kalau nk cuba install balik apache tue..camna nk uninstall balik yg aku dh install tu....ke nk main overwrite je balik . aku buat dlm terminal jer..sbb aku remote server aku tu....lgpun aku taktau camna nk install pakai gui..hehee...aha....camner nk buat yer..ko ader idea tk mohd zenal ...aku pun baru lagi dlm linux nie...tp aku nk blajaq...bila part tatau tu terpaksala aku tnayer yg teror....sorrywah ini sulah dasat tuh..tak reti install guna GUI tapi reti lak guna CLI...hebat! (ikhlas ni..)Maybe maksud MohdZainal tu.. reinstall je balik Linux yang guna tu.. Quote Share this post Link to post Share on other sites
techno_fanatics 0 Report post Posted August 8, 2006 try remove purge..pastu install balik apache tu.httpd.conf setting untuk yg penting2 ja Quote Share this post Link to post Share on other sites
karamsinghwalia 0 Report post Posted August 8, 2006 [root@devcorptech bin]# service httpd startStarting httpd: Syntax error on line 1024 of /etc/httpd/conf/httpd.conf:The port number "http://localhost"'>http://localhost" is outside the appropriate range (i.e., 1..65535). [FAILED]"ni cara kedua plak aku try..dua2 ader error"[root@devcorptech bin]# apachectl startSyntax error on line 1024 of /etc/httpd/conf/httpd.conf:The port number "http://localhost"'>http://localhost" is outside the appropriate range (i.e., 1..65535).buka fail /etc/httpd/conf/httpd.conf tu, pergi baris ke 1024, tukar http://localhost tu ke 80. save & restart apache... Quote Share this post Link to post Share on other sites
sutaaanisu 0 Report post Posted August 8, 2006 (edited) buka fail /etc/httpd/conf/httpd.conf tu, pergi baris ke 1024, tukar http://localhost tu ke 80. save & restart apache...karam aku dh cuba buat cara yg ko suruh tu...error nie plak yg kluar, aku dh ubah kt baris 1024"ServerName http://localhost' jadikan "Servername 80"....betul ker salah cara aku buat tu.nie error yg kuar selepas setting spt en karam cakapkan..root@devcorptech bin]# apachectl starthttpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerNamesatu lagi camner nk 'remove purge' tu...hehehe..sori arr..aku banyak bertanya sbb aku tktau...alaa...cekgu reza...pasal nk reinstall linux Centos tu...kalau aku reinstall aku kena setting balik tk aper2 yg aku dh buat kt seber aku tue....ma kasih membantu.. Edited August 8, 2006 by sutaaanisu Quote Share this post Link to post Share on other sites
NaWaiTu 0 Report post Posted August 8, 2006 ko dah letak address ko ke belum kat dalam tu......kan dia ada dua tempat satu kena tukar tu algi satu letak addres ko....ex:192.168.0.1------------------>ni untuk localhost Quote Share this post Link to post Share on other sites
sutaaanisu 0 Report post Posted August 8, 2006 ko dah letak address ko ke belum kat dalam tu......kan dia ada dua tempat satu kena tukar tu algi satu letak addres ko....ex:192.168.0.1------------------>ni untuk localhost# NOTE: NameVirtualHost cannot be used without a port specifier # (e.g. :80) if mod_ssl is being used, due to the nature of the# SSL protocol.### VirtualHost example:# Almost any Apache directive may go into a VirtualHost container.# The first VirtualHost section is used for requests without a known# server name.##<VirtualHost *:80># ServerAdmin [email protected]# DocumentRoot /www/docs/dummy-host.example.com# ServerName dummy-host.example.com# ErrorLog logs/dummy-host.example.com-error_log# CustomLog logs/dummy-host.example.com-access_log common#</VirtualHost><VirtualHost *>ServerName 80 <<<------------------aku tukar tu jer asalnyer camnie "Servername http://localhost"..</VirtualHost> maksud ko tukar kt ner lagi satu tue(copy maner patut jer) aku tk paham ...jgn mare..tlg yer ajarkan... Quote Share this post Link to post Share on other sites
karamsinghwalia 0 Report post Posted August 8, 2006 ko dah letak address ko ke belum kat dalam tu......kan dia ada dua tempat satu kena tukar tu algi satu letak addres ko....ex:192.168.0.1------------------>ni untuk localhost192.168.0.1 tak semestinya utk localhost. Loopback address utk localhost secara default ialah 127.0.0.1betul ker jugak baris 1024 tu ServerName... tu?Kalau ServerName tu tak payah letak "http://" kat depan... Quote Share this post Link to post Share on other sites
Firestarter 0 Report post Posted August 10, 2006 Susah-susah, ko paste je la ko punye htttpd.conf tu. Kitorang tengok mana yang tak betul. Kalo dah tak boleh, ko guna yum la untuk remove dia. Aku penah guna yum untuk remove httpd tu pastu aku install balik. Aku guna fedora. Quote Share this post Link to post Share on other sites
MaUi^ 0 Report post Posted August 10, 2006 # NOTE: NameVirtualHost cannot be used without a port specifier # (e.g. :80) if mod_ssl is being used, due to the nature of the# SSL protocol.### VirtualHost example:# Almost any Apache directive may go into a VirtualHost container.# The first VirtualHost section is used for requests without a known# server name.##<VirtualHost *:80># ServerAdmin [email protected]# DocumentRoot /www/docs/dummy-host.example.com# ServerName dummy-host.example.com# ErrorLog logs/dummy-host.example.com-error_log# CustomLog logs/dummy-host.example.com-access_log common#</VirtualHost><VirtualHost *>ServerName 80 <<<------------------aku tukar tu jer asalnyer camnie "Servername http://localhost"..</VirtualHost> maksud ko tukar kt ner lagi satu tue(copy maner patut jer) aku tk paham ...jgn mare..tlg yer ajarkan...Ada buat/guna virtual host/domain ke? kalo takde remark kan je semua line (letak # kat depan), kalau ada virtual host, guna FQDN yang sebenar. Quote Share this post Link to post Share on other sites