LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 01-25-2005, 08:20 AM   #1
cz1179
Newbie
 
Registered: Dec 2004
Posts: 25

Rep: Reputation: 15
a few urgent issues


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. I compiled it 3-4 times already as well and it shows the errors below.

Updated Apache (currently failed status) in WHM and got this error in the process:

make apache_1.3.33....... . . . . . . . . . . . . . . . . . Done
make apache_1.3.33...(install).... Done
make[1]: *** [install-mktree] Error 1
make: *** [install-all] Error 2
/etc/rc.d/init.d/httpd start: httpd could not be started
Setting /home permissions to 0711......Done

Second error:

configure php-4.3.10...(--with-apxs=/usr/local/apache/bin/apxs --with-xml --enable-bcmath --enable-calendar --with-curl --with-swf=/usr/local/flash --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext --with-imap --with-imap-ssl --with-kerberos --with-mcrypt --with-mhash --enable-magic-quotes --with-mysql --enable-discard-path --with-pear --with-pgsql=/usr --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --with-zlib)... . . Done

configure: error: Aborting
make php-4.3.10...(clean)...Done

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

Other issues:

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-25-2005 at 08:28 AM.
 
Old 01-25-2005, 07:53 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Please don't use urgent in your titles but instead use better descriptive titles. It helps those who search and or go thru to answer questions to know what your thread is actually discussing/asking, etc.

And by no means is any member's thread a priority over anyone else's cause they put urgent in the title or its urgent for you to resolve. The members who come to these forums to help others do it in their own spare time, for free... be considerate to them and the thousands of others asking questions by not stating your issue is urgent, it means nothing on free help sites.

If you have any issues with this issue, take it up with the site admin, who agrees with what has been said.

Regards.
 
Old 01-26-2005, 04:16 PM   #3
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Well...

I'd ignore the second error (and probably the later ones too) until the first one is resolved. It looks to me like the first error is the cause of the later errors.

A question: When you are compiling and attempting to install apache, what user account are you using?

If you're not logged in as root, I'd expect to see the sort of error that you posted, i.e. bombing during "make install", as normally a joeuser account isn't going to have write permissions to /usr/local in order to create /usr/local/apache and so on. If it didn't install properly, then it's no wonder the httpd startup script failed.

You provided another clue that the apache 'make install' failed a little further down when you showed the error message: "/etc/init.d/httpd: line 175: /usr/local/apache/bin/httpd: No such file or directory"
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 10:21 AM
Urgent Question Regarding Urgent Questions! Need Help Now! Crashed_Again LQ Suggestions & Feedback 11 10-17-2007 08:07 PM
Urgent: Suse 9.1 on Latitude D600 Issues wbr70 Linux - Laptop and Netbook 1 11-19-2005 03:18 AM
Urgent..Im Having A Nightmare..Urgent!!!! midgcool Linux - Software 41 11-30-2004 10:19 AM
Urgent Urgent !!!! Mozilla Keeps All Your Deleted Emails !!!! odin123 Linux - Software 2 01-31-2004 02:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:54 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration