PDA

View Full Version : CentOS 5



frednoob
03-23-2008, 08:08 PM
I've finish install DA on CentOS 5

I check that DA and httpd running in my box but when i point my ip at IE it said cannot find server .... but i can SSH into my box ....

what should i do ?? reinstall DA ?? or reinstall OS ??

i think my sql, named, and httpd running good, but not sure about firewall because my box connect directly to ADSL modem ....



named 2680 0.0 0.5 36716 2868 ? Ssl Mar22 0:00 named -u named
root 3084 0.0 0.2 4452 1168 ? S Mar22 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mys
mysql 3105 0.0 2.6 31864 12996 ? S Mar22 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file
mysql 3106 0.0 2.6 31864 12996 ? S Mar22 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file
mysql 3107 0.0 2.6 31864 12996 ? S Mar22 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file
mysql 3108 0.0 2.6 31864 12996 ? S Mar22 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file
mysql 3109 0.0 2.6 31864 12996 ? S Mar22 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file
mysql 3110 0.0 2.6 31864 12996 ? S Mar22 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file
mysql 3113 0.0 2.6 31864 12996 ? S Mar22 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file
mysql 3114 0.0 2.6 31864 12996 ? S Mar22 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file
mysql 3115 0.0 2.6 31864 12996 ? S Mar22 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file
mysql 3116 0.0 2.6 31864 12996 ? S Mar22 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file
root 3696 0.0 0.1 2680 848 ? Ss Mar22 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
nobody 10738 0.0 0.2 8060 1208 ? Ss Mar22 0:00 /usr/local/directadmin/directadmin d
nobody 10755 0.0 0.0 8060 468 ? S Mar22 0:00 /usr/local/directadmin/directadmin d
nobody 10756 0.0 0.0 8060 468 ? S Mar22 0:00 /usr/local/directadmin/directadmin d
nobody 10757 0.0 0.0 8060 468 ? S Mar22 0:00 /usr/local/directadmin/directadmin d
nobody 10758 0.0 0.0 8060 468 ? S Mar22 0:00 /usr/local/directadmin/directadmin d
nobody 10759 0.0 0.0 8060 468 ? S Mar22 0:00 /usr/local/directadmin/directadmin d
root 18771 0.0 0.6 7816 3032 ? Ss 00:11 0:00 /usr/sbin/httpd -k start -DSSL
apache 18773 0.0 0.3 7816 1808 ? S 00:11 0:00 /usr/sbin/httpd -k start -DSSL
apache 18774 0.0 0.3 7816 1804 ? S 00:11 0:00 /usr/sbin/httpd -k start -DSSL
apache 18775 0.0 0.3 7816 1804 ? S 00:11 0:00 /usr/sbin/httpd -k start -DSSL
apache 18776 0.0 0.3 7816 1804 ? S 00:11 0:00 /usr/sbin/httpd -k start -DSSL
apache 18777 0.0 0.3 7816 1804 ? S 00:11 0:00 /usr/sbin/httpd -k start -DSSL

tanfwc
03-24-2008, 12:53 AM
1) Are you running any hardware firewall?
2) Since you mention ADSL modem, are you running behind a consumer internet line?
3) Did you allow port 80 in your firewall?

frednoob
03-24-2008, 01:29 AM
1. I not running any hardware firewall
2. I running on corporate internet line that gave me static ip.
3. I not running any firewall, how to check my port 80 open or blocked ?

fusionhosting
03-25-2008, 04:45 PM
CentOS 5 now defaults with iptables blocks on everything but SSH and HTTP 80 (I think), plus SELinux is installed and running.

You'll probably need to flush and save iptables, and disable SELinux.

fusionhosting
03-25-2008, 05:07 PM
With that said, has anyone got DirectAdmin running on Cent OS5 32bit via a fresh 'server' install with no options? Originally tried with the Custom build, apache 2 and PHP5 cli.

As i noted in another post my install failed near the end,

*************************************
* *
* All parts have been installed *
* *
*************************************

Type: /sbin/service httpd restart
cp: `/var/www/html/squirrelmail/data' and `/var/www/html/squirrelmail-1.4.13/data' are the same file
./install.sh: line 223: ./directadmin: cannot execute binary file
./install.sh: line 226: ./directadmin: cannot execute binary file


I made sure Selinux was disabled in its config file, and did a reboot for good measure.

floyd
03-26-2008, 05:24 AM
I have many running CentOS 5. But I do not use Custombuild yet. I have not had time to try it.