The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mailman not working / ./reinstallmailman failure

Discussion in 'E-mail Discussions' started by hostmedic, May 10, 2009.

  1. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    having issues with mailman working - i have installed 3 different vps and all same issue

    driving me bonkers - any hints would be greatly appreciated.

    Code:
    ./reinstallmailman 
    mailmanctl: no process killed
    qrunner: no process killed
    find: /usr/local/cpanel/3rdparty/mailman/archives: No such file or directory
    patching file cron/crontab.in.in
    patching file cron/mailpasswds
    patching file Mailman/Cgi/edithtml.py
    patching file Mailman/Defaults.py.in
    patching file Mailman/Deliverer.py
    patching file Mailman/Gui/General.py
    patching file Mailman/ListAdmin.py
    patching file Mailman/MailList.py
    patching file Mailman/Version.py
    patching file src/mail-wrapper.c
    checking for --with-python... /usr/bin/python2.4
    checking Python interpreter... /usr/bin/python2.4
    checking Python version... 2.4.3
    checking that Python has a working distutils... configure: error:
    
    ***** Distutils is not available or is incomplete for /usr/bin/python2.4
    ***** If you installed Python from RPM (or other package manager)
    ***** be sure to install the -devel package, or install Python
    ***** from source.  See sec. 15.1 of the Installation Manual for
    ***** details
    warn [mailman-install] Could not find /usr/local/cpanel/src/3rdparty/gpl/mailman-2.1.11/src/Makefile
    make: *** No targets specified and no makefile found.  Stop.
    make: *** No rule to make target `install'.  Stop.
    /usr/local/cpanel/3rdparty/mailman/cron/crontab.in: No such file or directory
    Traceback (most recent call last):
      File "/usr/local/cpanel/bin/reset_mailman_hostname", line 16, in ?
        import paths
    ImportError: No module named paths
    Unable to touch file /usr/local/cpanel/3rdparty/mailman/archives/public/index.html: No such file or directory at /usr/local/cpanel/bin/mailman-install line 188.
     
  2. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    stop working long hours = promise to stop posting stupid stuff

    ok - so the answer is right there

    yum install python-devel

    i think...
     
  3. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    well still issue -mail man install

    stuck in warning: pointer targets in initialization differ in signedness
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I spoke with a technical analyst about this issue and they feel it may be a corrupt RPM database causing this. To fix this, run the following commands as root via SSH:

    1. Make sure that yum/rpm is not running and upcp is not about to run it:

    Code:
    killall -9 rpm; killall -9 rpmq; killall -9 yum; killall -9 upcp
    2. Backup the existing RPM database and rebuild it from scratch

    Code:
    mv /var/lib/rpm/__db* /root
    
    rpm --rebuilddb
    3. Make sure everything is in good working order

    Code:
    yum --exclude=kernel* -y update
    4. Clean things up for yum for good measure

    Code:
    yum clean all
    Now, if you continue to experience issues with Mailman or Python installing, please contact our technical analysts: http://tickets.cPanel.net/submit
     
  5. gizmola

    gizmola Registered

    Joined:
    May 20, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
  6. bpamiri

    bpamiri Registered

    Joined:
    May 5, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    For me running the command:

    /scripts/reinstallmailman

    resolved the issues with mailman not working.

    -Peter Amiri
    Alurium Hosting
    Home
     
Loading...

Share This Page