Ma uzeo sam masinu cisto da se ucim, al kako hoces, sto se tice IP-a.
Eo za ovo prvo:
Code:
[root@dedi-fr-24879 ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Ovo za sestatus:
Code:
sestatus
SELinux status: disabled
I sto se tice error log-a:
Code:
[Fri Apr 29 22:04:46 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Apr 29 22:04:46 2016] [notice] Digest: generating secret for digest authentication ...
[Fri Apr 29 22:04:46 2016] [notice] Digest: done
[Fri Apr 29 22:04:46 2016] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
[Fri Apr 29 22:15:21 2016] [notice] caught SIGTERM, shutting down
[Fri Apr 29 22:15:21 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Apr 29 22:15:21 2016] [notice] Digest: generating secret for digest authentication ...
[Fri Apr 29 22:15:21 2016] [notice] Digest: done
[Fri Apr 29 22:15:22 2016] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
[Fri Apr 29 22:19:06 2016] [notice] caught SIGTERM, shutting down
[Fri Apr 29 22:19:07 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Apr 29 22:19:07 2016] [notice] Digest: generating secret for digest authentication ...
[Fri Apr 29 22:19:07 2016] [notice] Digest: done
[Fri Apr 29 22:19:07 2016] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.4.45 configured -- resuming normal operations
[Fri Apr 29 22:21:01 2016] [notice] caught SIGTERM, shutting down
[Fri Apr 29 22:21:01 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Apr 29 22:21:02 2016] [notice] Digest: generating secret for digest authentication ...
[Fri Apr 29 22:21:02 2016] [notice] Digest: done
[Fri Apr 29 22:21:02 2016] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.4.45 configured -- resuming normal operations
[Fri Apr 29 22:23:59 2016] [notice] caught SIGTERM, shutting down
[Fri Apr 29 22:24:00 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Apr 29 22:24:00 2016] [notice] Digest: generating secret for digest authentication ...
[Fri Apr 29 22:24:00 2016] [notice] Digest: done
[Fri Apr 29 22:24:00 2016] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.4.45 configured -- resuming normal operations
[Fri Apr 29 22:27:20 2016] [notice] caught SIGTERM, shutting down
[Fri Apr 29 22:27:21 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Apr 29 22:27:21 2016] [notice] Digest: generating secret for digest authentication ...
[Fri Apr 29 22:27:21 2016] [notice] Digest: done
[Fri Apr 29 22:27:21 2016] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.4.45 configured -- resuming normal operations
Znaci mozda ovo vama izgleda prosto, ali meni je ovo prvi susret sa centos-om(sa Ubuntu-om sam se druzio zadnja 5 dana, i imao sam problema sa instalacijom gamepanela i odlucio se za CentOS)
Znaci instalirao sam i phpmyadmin, i kad idem na ip/phpmyadmin ucitava se neko vreme i na kraju "This site can’t be reached"..
EDIT: I sad kad sam hteo da restartujem httpd, ispisalo sve ovo:
Code:
service httpd restart
Stopping httpd: [FAILED]
Starting httpd: [Fri Apr 29 23:12:42 2016] [warn] The Alias directive in /etc/httpd/conf.d/phpmyadmin.conf at line 11 will probably never match because it overlaps an earlier Alias.
[Fri Apr 29 23:12:42 2016] [warn] The Alias directive in /etc/httpd/conf.d/phpmyadmin.conf at line 12 will probably never match because it overlaps an earlier Alias.
httpd: apr_sockaddr_info_get() failed for dedi-fr-24879
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
[Ovu poruku je menjao DusanInfinity dana 29.04.2016. u 23:17 GMT+1]