cpanel not installing for weird reason

dmer

Member
Jul 12, 2004
17
0
151
when i try to install cpanel the last time went very smooth now im doing in another server and getting this error when trying to compile http
make php-4.3.10...(install).................Done
./buildscript: line 816: /scripts/initsslhttpd: No such file or directory
./buildscript: line 817: /scripts/initfpsuexec: No such file or directory
./buildscript: line 818: /scripts/remdefssl: No such file or directory
./buildscript: line 828: /scripts/findphpversion: No such file or directory
./buildscript: line 829: /scripts/checkallowoverride: No such file or directory
./buildscript: line 830: /scripts/remdefssl: No such file or directory
Executing /scripts/postbuildapache (if exists)...Done
./buildscript: line 858: /scripts/restartsrv_httpd: No such file or directory
./install: /scripts/remdefssl: not found
./install: /scripts/initsslhttpd: not found
./install: /scripts/installcpbsdpkg: not found
./install: /scripts/installcpbsdpkg: not found
proftpdsendmail: execing /usr/local/sbin/exim: No such file or directory
sendmail: execing /usr/local/sbin/exim: No such file or directory
./install: /scripts/fixndc: not found
./install: /scripts/fixndc: not found
./install: /scripts/upcp: not found
./install: /scripts/reinstallmailman: not found

***************** cPanel for FreeBSD ******************

cPanel for FreeBSD installation successful.

*******************************************************

--
i cleaned the whole instalation and tried again and gave me the same error .. is there any issues right over cpanel .. thats not downloading the necessary scripts ? im installing with this line -> cd /home;mkdir cpins;cd cpins;fetch http://layer1.cpanel.net/latest;sh latest
 

haze

Well-Known Member
Dec 21, 2001
1,540
3
318
There must be other errors during the install that we don't see here. Make sure you're resolvers are correct, you have ports installed ? Maybe try a upcp --force.
 

dmer

Member
Jul 12, 2004
17
0
151
i deleted the /usr/ports lets check if that goes right now .. im running over freebsd 4.10
 

dmer

Member
Jul 12, 2004
17
0
151
nah same thing .. check this other errors
--
Fetching http://httpupdate.cpanel.net/cpanelsync/STABLE-FREEBSD/scripts/.cpanelsync.bz2....Trying httpupdate.cpanel.net @ 69.72.164.151
Error 404 while fetching url http://httpupdate.cpanel.net//cpanelsync/STABLE-FREEBSD/scripts/.cpanelsync.bz2
...Done

bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: Unknown error: 0
Input file = /scripts/.cpanelsync.bz2, output file = /scripts/.cpanelsync

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

bzip2: Deleting output file /scripts/.cpanelsync, if it exists.
Download Failed... trying again..
Unable to retrieve file
...Failed

---
besides these in a bunch of stuff .. notihng else
 

haze

Well-Known Member
Dec 21, 2001
1,540
3
318
rm -f /var/cpanel/version/9.9.1.*
/scripts/updatenow
/scripts/upcp

That should fix you up.. hopefully.
 

dmer

Member
Jul 12, 2004
17
0
151
Problems found: 56
Re-run as mailman (or root) with -f flag to fix
No problems found
No problems found
No problems found
chmod: /usr/local/cpanel/3rdparty/mailman/logs/*: No such file or directory
chown: /usr/local/cpanel/3rdparty/mailman/logs/*: No such file or directory
chmod: /usr/local/cpanel/3rdparty/mailman/logs/*: No such file or directory
hostname: illegal option -- f
usage: hostname [-s] [name-of-host]
Create a new, unpopulated mailing list.

Usage: ./bin/newlist [options] [listname [listadmin-addr [admin-password]]]

Options:

-l language
--language language
Make the list's preferred language `language', which must be a two
letter language code.

-q/--quiet
Normally the administrator is notified by email (after a prompt) that
their list has been created. This option suppresses the prompt and
notification.

-h/--help
Print this help text and exit.

You can specify as many of the arguments as you want on the command line:
you will be prompted for the missing ones.

Every Mailman list has two parameters which define the default host name for
outgoing email, and the default URL for all web interfaces. When you
configured Mailman, certain defaults were calculated, but if you are running
multiple virtual Mailman sites, then the defaults may not be appropriate for
the list you are creating.

You can specify the domain to create your new list in by spelling the listname
like so:

[email protected]

where `www.mydom.ain' should be the base hostname for the URL to this virtual
hosts's lists. E.g. with is setting people will view the general list
overviews at http://www.mydom.ain/mailman/listinfo. Also, www.mydom.ain
should be a key in the VIRTUAL_HOSTS mapping in mm_cfg.py/Defaults.py. It
will be looked up to give the email hostname. If this can't be found, then
www.mydom.ain will be used for both the web interface and the email
interface.

If you spell the list name as just `mylist', then the email hostname will be
taken from DEFAULT_EMAIL_HOST and the url will be taken from DEFAULT_URL (as
defined in your Defaults.py file or overridden by settings in mm_cfg.py).

Note that listnames are forced to lowercase.

Bad owner email address: [email protected]
Configure a list from a text file description.

Usage: config_list [options] listname

Options:
--inputfile filename
-i filename
Configure the list by assigning each module-global variable in the
file to an attribute on the list object, then saving the list. The
named file is loaded with execfile() and must be legal Python code.
Any variable that isn't already an attribute of the list object is
ignored (a warning message is printed). See also the -c option.

A special variable named `mlist' is put into the globals during the
execfile, which is bound to the actual MailList object. This lets you
do all manner of bizarre thing to the list object, but BEWARE! Using
this can severely (and possibly irreparably) damage your mailing list!

--outputfile filename
-o filename
Instead of configuring the list, print out a list's configuration
variables in a format suitable for input using this script. In this
way, you can easily capture the configuration settings for a
particular list and imprint those settings on another list. filename
is the file to output the settings to. If filename is `-', standard
out is used.

--checkonly
-c
With this option, the modified list is not actually changed. Only
useful with -i.

--verbose
-v
Print the name of each attribute as it is being changed. Only useful
with -i.

--help
-h
Print this help message and exit.

The options -o and -i are mutually exclusive.


No such list "mailman"

hostname: illegal option -- f
usage: hostname [-s] [name-of-host]
usage: reset_mailman_hostname <list> <hostname>
Site list is missing: mailman

***************** cPanel for FreeBSD ******************

cPanel for FreeBSD installation successful.

*******************************************************

whds#
---
this error now
and btw i created a whole new particion and im installing a system there .. so its a fresh install .. i got rsynk installed and perl only ..
 

BenThomas

Well-Known Member
Feb 12, 2004
598
0
166
Houston, Texas USA
cPanel Access Level
Root Administrator
I've worked up the following patch which should resolve the Mailman issue. Please do the following:

From the terminal as root:

wget -O mailman-install.diff "http://bugzilla.cpanel.net/attachment.cgi?id=77&action=view"
patch /usr/local/cpanel/bin/mailman-install <mailman-install.diff
/scripts/reinstallmailman


That should sort everything out.

When this bug is closed, that will negate the need for the above commands:

Bug ID 2011

Edit: updated patch version for RH 7.3
 

easyhoster1

Well-Known Member
Sep 25, 2003
656
0
166
cpanelben said:
I've worked up the following patch which should resolve the Mailman issue. Please do the following:

From the terminal as root:

wget -O mailman-install.diff "http://bugzilla.cpanel.net/attachment.cgi?id=77&action=view"
patch /usr/local/cpanel/bin/mailman-install <mailman-install.diff
/scripts/reinstallmailman


That should sort everything out.

When this bug is closed, that will negate the need for the above commands:

Bug ID 2011

Edit: updated patch version for RH 7.3
I have the same issue as dmer as above and ran your patch Billy and get the following,

Patching file /usr/local/cpanel/bin/mailman-install using Plan A...
Hunk #1 succeeded at 5.
Hunk #2 failed at 19.
1 out of 2 hunks failed--saving rejects to /usr/local/cpanel/bin/mailman-install.rej

estate# /scripts/reinstallmailman
hostname: illegal option -- f
usage: hostname [-s] [name-of-host]
usage: reset_mailman_hostname <list> <hostname>
Site list is missing: mailman

estate# /scripts/fixmailman
Shutting down Mailman's master qrunner
PID unreadable in: /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid
[Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid'
Is qrunner even running?

New install on FREEBSD 5.2 with WHM 10.0.0 cPanel 10.0.0-C115


Any clue Billy?