LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 01-24-2005, 05:51 PM   #1
cz1179
Newbie
 
Registered: Dec 2004
Posts: 25

Rep: Reputation: 15
a few problems with centos 3.3 / cpanel


I just got my server reloaded with CentOS from the data center which no longer re-installs cpanel on OS reloads. I installed cPanel myself (which installs by itself with no user input otherwise). I have a few problems here for some reason.

First, APF below giving me errors that I've never encountered before. Second, "make" command does not work at all. Finally, apache shows as failed too in WHM stats.

root@localhost [~]# /etc/init.d/httpd configtest
/etc/init.d/httpd: line 175: /usr/local/apache/bin/httpd: No such file or directory

I went to install APF firewall and got this:

[root@localhost apf-0.9.4-8]# apf -s
/usr/local/sbin/apf: line 281: Pure: command not found
/etc/apf/vnet/vnetgen: line 281: Pure: command not found
/etc/apf/firewall: line 281: Pure: command not found
/etc/apf/firewall: line 281: Pure: command not found

I tried installing mod throttle as well and got this error when I ran 'make'

[root@localhost mod_throttle-3.1.2]# make
/usr/local/apache/bin/apxs -c mod_throttle.c
make: /usr/local/apache/bin/apxs: Command not found
make: *** [mod_throttle.so] Error 127

root@localhost [~]# rpm -q kernel iptables
kernel-2.4.21-9.0.1.EL.c0
kernel-2.4.21-27.0.1.EL
kernel-2.4.21-27.0.2.EL
iptables-1.2.8-12.3

root@localhost [~]# cat /etc/redhat-release
CentOS release 3.3 (final)

I researched on the pure error and found nothing on google, cpanel or rfc site.

I reinstalled 4-5 times already.

My typical APF install (done this a million times, works always except now). Done this on Fedora Core 1, 2, CentOS, Enterprise just fine.

Code:
wget http://www.rfxnetworks.com/downloads/apf-current.tar.gz
tar -xvzf apf-current.tar.gz
cd apf-0.9.4-8
./install.sh
pico /etc/apf/conf.apf
FIND: USE_DS="0"
CHANGE TO: USE_DS="1"

# Common ingress (inbound) TCP ports -3000_3500 = passive port range for Pure FTPD
IG_TCP_CPORTS="21,22,25,53,80,110,143,443,2082,2083, 2086,2087, 2095, 2096,3000_3500"
#
# Common ingress (inbound) UDP ports
IG_UDP_CPORTS="53"

# Common egress (outbound) TCP ports
EG_TCP_CPORTS="21,25,80,443,43,2089"
#
# Common egress (outbound) UDP ports
EG_UDP_CPORTS="20,21,53"

/usr/local/sbin/apf -s
pico /etc/apf/conf.apf
FIND: DEVM="1"
CHANGE TO: DEVM="0"

/usr/local/sbin/apf -r
chkconfig --level 2345 apf on
How do I correct these issues? I obviously do not have ability to "install from cd" as this is a leased server.

Last edited by cz1179; 01-24-2005 at 05:54 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cPanel? ImpactDNI Linux - Software 3 11-03-2006 10:28 AM
Cpanel quozt Linux - General 2 11-03-2006 10:27 AM
Whats the differnce between Centos and CentOS? duffmckagan cAos 1 06-12-2005 12:23 PM
KDE 3.3 problems on Centos 4 asharff cAos 1 05-05-2005 12:37 PM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM


All times are GMT -5. The time now is 11:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration