Anyone notices that serveral perl modules are missing after cpanel is installed on a

Have you been missing perl modules?

  • Yes, what exactly do they mean by OS supported?

    Votes: 2 18.2%
  • I'm not sure if I have all the perl modules for all functions and features of cpanel.

    Votes: 2 18.2%
  • No, I run multiple cpanel servers an none are or ever have been missing any perl modules.

    Votes: 4 36.4%
  • What's a perl module?

    Votes: 3 27.3%

  • Total voters
    11

EdRooney

BANNED
Oct 21, 2004
166
0
166
Anyone notices that serveral perl modules are missing after cpanel is installed on a barebones OS?

Cpanel recommends you choose the minimal installation when installing your OS but then it doesn't installed the required perl modules to run all functions of cpanel.

With CentOS it doesn't even install gcc.

How could they not know this if they tested it on all th OS's they say are supported?

Has anyone else been missing perl modules after a cpanel install?
 
C

cPanelBilly

Guest
You have to be doing something wrong if you are not getting gcc installed.
The installer runs: exec '/scripts/installrpm', 'glibc-devel';
which will use yum to install gcc, so if gcc is not installing it is due to an error directly with your system.
As for CentOS I use it for my personal server and do not have a single issue with it.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
31
473
Go on, have a guess
Never had a problem with any perl modules on any cPanel installations. I did once have a problem with CentOS and gcc not being installed by the cPanel instaler before the apache build started - probably more of a synchronisation problem with the forked installer, than anything.
 

EdRooney

BANNED
Oct 21, 2004
166
0
166
cPanelBilly said:
You have to be doing something wrong.
Thanks for our response however after reading up on the mkdir,cd,wget, and sh commands, 4 commands I wasn't very familar with, I have determined I am not doing anything wrong.
 
Last edited:

EdRooney

BANNED
Oct 21, 2004
166
0
166
chirpy said:
probably more of a synchronisation problem with the forked installer, than anything.
What the forked installer? The install.sh script runs in multiple threads?
 
Last edited:

haze

Well-Known Member
Dec 21, 2001
1,550
3
318
Make sure you've imported the centos GPG key otherwise yum can't install the rpm's.
http://www.centos.org/modules/smartfaq/faq.php?faqid=17

Also, i've noticed that with centos, you need to manually hit enter when it comes to installing the perl part of the cpanel installer, as it asks if you want this that and the other thing.

I normally have to run a /scripts/upcp --force after a clean install of cpanel to ensure everything up to scratch.
 

verdon

Well-Known Member
Nov 1, 2003
923
11
168
Northern Ontario, Canada
cPanel Access Level
Root Administrator
I've definately had a few missing, sorry I don't remember which, but chirpy found them for me trying to get his dictionary attack ACL's working on my new box.

I also sometimes get messages in my logwatch report (but not every day) along the lines of...
Can't locate these modules:
net-pf-4: n Time(s)
net-pf-11: n Time(s)
net-pf-5: n Time(s)
net-pf-9: n Time(s)
net-pf-18: n Time(s)

I've been doing some googling today and it looks like these aren't perl mods, but are related to network ports like appletalk and ash (whatever that is), which I do not run (intentionally). I guess that the reason it is in my logwatch some days and not others may be people poking at those protocals some days and not others, just to see what happpens. I'm doing a lot of guessing here, but am just getting a chance to research this now.

regards,
 

EdRooney

BANNED
Oct 21, 2004
166
0
166
verdon said:
I've definately had a few missing, sorry I don't remember which, but chirpy found them for me trying to get his dictionary attack ACL's working on my new box.

I also sometimes get messages in my logwatch report (but not every day) along the lines of...
Can't locate these modules:
net-pf-4: n Time(s)
net-pf-11: n Time(s)
net-pf-5: n Time(s)
net-pf-9: n Time(s)
net-pf-18: n Time(s)

I've been doing some googling today and it looks like these aren't perl mods, but are related to network ports like appletalk and ash (whatever that is), which I do not run (intentionally). I guess that the reason it is in my logwatch some days and not others may be people poking at those protocals some days and not others, just to see what happpens. I'm doing a lot of guessing here, but am just getting a chance to research this now.

regards,
That dictionary attack is nice:
# cat /etc/exim_deny | wc -l
61800
 

haze

Well-Known Member
Dec 21, 2001
1,550
3
318
EdRooney said:
Is there a way to block all those with the apf firewall?
1. You should start a new thread otherwise you won't get people attention ( If you use the search function at the top of this page, I do believe this has been discussed previously )
2. You should probably set a cron to remove those entries at the very least twice a day otherwise you'll be in for a major performance issue.
 

EdRooney

BANNED
Oct 21, 2004
166
0
166
haze said:
1. You should start a new thread otherwise you won't get people attention ( If you use the search function at the top of this page, I do believe this has been discussed previously )
2. You should probably set a cron to remove those entries at the very least twice a day otherwise you'll be in for a major performance issue.
Im going for 100,000 ips, and then 1,000,000!
 

EdRooney

BANNED
Oct 21, 2004
166
0
166
verdon said:
I've definately had a few missing, sorry I don't remember which, but chirpy found them for me trying to get his dictionary attack ACL's working on my new box.

I also sometimes get messages in my logwatch report (but not every day) along the lines of...
Can't locate these modules:
net-pf-4: n Time(s)
net-pf-11: n Time(s)
net-pf-5: n Time(s)
net-pf-9: n Time(s)
net-pf-18: n Time(s)

I've been doing some googling today and it looks like these aren't perl mods, but are related to network ports like appletalk and ash (whatever that is), which I do not run (intentionally). I guess that the reason it is in my logwatch some days and not others may be people poking at those protocals some days and not others, just to see what happpens. I'm doing a lot of guessing here, but am just getting a chance to research this now.

regards,
What OS are you using?
 

EdRooney

BANNED
Oct 21, 2004
166
0
166
verdon said:
Brand new box, CentOS 3.3 i686
HAHA! I KNEW IT!!!

According to cpanelBilly, everyone using CentOS 3.3 must be installing it wrong, it is definately not a problem with the cpanel install script
 

haze

Well-Known Member
Dec 21, 2001
1,550
3
318
Its not really a matter of installing it wrong. If you forget to first import the centos gpg key that will cause problems with rpm's not installing. Further, you have to manually confirm perl module changes during the initial setup, otherwise run /scripts/upcp --force to complete the task.
 

EdRooney

BANNED
Oct 21, 2004
166
0
166
I got the centos gpg key and ran /scripts/upcp --force and still had missing modules.

Why do you have to manually confirm perl module changes during the initial setup with CentOS and not with any other linux distro? I believe there is a flag, "-y" that answers yes to install everything without asking, why doens't cpanel use that in there install script?
 
C

cPanelBilly

Guest
EdRooney said:
HAHA! I KNEW IT!!!

According to cpanelBilly, everyone using CentOS 3.3 must be installing it wrong, it is definately not a problem with the cpanel install script[/QUOTEPlease take a look at what I said.
gcc != perl modules.
I will also ask in this thread, if you have any Ticket ID's where you are having issues please let me know them so I can look into the box.
 

EdRooney

BANNED
Oct 21, 2004
166
0
166
cPanelBilly said:
EdRooney said:
HAHA! I KNEW IT!!!

According to cpanelBilly, everyone using CentOS 3.3 must be installing it wrong, it is definately not a problem with the cpanel install script[/QUOTEPlease take a look at what I said.
gcc != perl modules.
I will also ask in this thread, if you have any Ticket ID's where you are having issues please let me know them so I can look into the box.
Your install instructions only contain 4 commands:
mkdir /home/cpins
cd /home/cpins
wget http://layer1.cpanel.net/latest
sh latest

Which one of those commands wrongly typed in will not install gcc?
 

haze

Well-Known Member
Dec 21, 2001
1,550
3
318
The installer will install gcc. If you don't have your centos gpg key imported then yum can not install gcc nore anything else. And as billy has stated gcc is NOT a perl module.