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.

Fedora 12 messing up

Discussion in 'General Discussion' started by nitation, Aug 6, 2010.

  1. nitation

    nitation Member

    Joined:
    Aug 6, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I was previously running cpanel on centos 5 until yesterday when i had to install fedora 12 for an application with is not compatible with centos. I went through the process and everything seem fine until now.

    The problem is, i can't send or receive email. in my whm, i restarted exim and th i got the following;

    Restarting Exim Mail Server
    Waiting for exim to restart..............finished.


    exim has failed, please contact the sysadmin.

    In my outlook, i got the following error;

    The connection to the server has failed.

    Subject 'hi'
    Server: 'mail.mydomainname.com'
    Windows Live Mail Error ID: 0x800CCC0E
    Protocol: SMTP
    Port: 25
    Secure(SSL): Yes
    Socket Error: 10060

    Kindly assist
     
  2. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    If you restart it in ssh what do you get?

    Have you checked and of the log files yet? Check /var/log/messages
     
  3. nitation

    nitation Member

    Joined:
    Aug 6, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Thank you for your reply. i got the following in /var/log/messages


    Aug 7 00:01:33 localhost setroubleshoot: SELinux is preventing /usr/bin/perl "setrlimit" access . For complete SELinux messages. run sealert -l b135ba97-ef95-4907-8857-32a62cf787a6

    Aug 7 00:04:40 localhost setroubleshoot: SELinux is preventing the spamd daemon from reading users' home directories. For complete SELinux messages. run sealert -l ab45fb3d-0400-494c-8ef8-46cc4285a17b

    Under my control panel status, i have this:

    exim (package exim is not installed)

    EDIT:
    I attempted to restart from ssh as root but says no such file or directory. I think the problem is that exim wasnt installed during installation of cpanel.

    /etc/rc.d/init.d/exim restart
     
    #3 nitation, Aug 7, 2010
    Last edited: Aug 7, 2010
  4. nitation

    nitation Member

    Joined:
    Aug 6, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I hope i will get some help soon. i hope so
     
  5. Defected

    Defected Member

    Joined:
    Dec 14, 2009
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    First of all Fedora isn't supported by cpanel. Check the supported operating systems here. Secondly you have to disable Selinux before you beggin the installation. Installation guide here.
     
    #5 Defected, Aug 7, 2010
    Last edited: Aug 7, 2010
  6. nilesh_kolte

    nilesh_kolte Well-Known Member

    Joined:
    Apr 13, 2006
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Pune ,India
    cPanel Access Level:
    Root Administrator
    It seems Selinux is enabled on server that cause your are getting such errors. And Cpanel is not supported on Fedora.It only work on following OS.

    Red Hat Enterprise Linux versions:
    For i386 machines only: 2.1.
    For x86-64 or i386 machines: 3, 4, or 5.
    CentOS versions:
    For i386 machines only: 3.x.
    For x86-64 or i386 machines: 4.x, or 5.x.
    Red Hat Linux distributions
    freeBSD
     
  7. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    As others have mentioned, Fedora 12 is not an OS supported to run cPanel. To ensure compatibility and stability it is recommended that you migrate to a supported Operating System per the official System Requirements for cPanel and WHM.

    I cannot guarantee or know if this will work for you, but please try the following two steps in the exact order listed:
    • 1.) Fully disable SELinux (per the Fedora documentation), then power cycle the machine to perform a full reboot. Here is an example of what the applicable configuration entry should look like once SELinux is disabled and after you have rebooted the system:
      Code:
      # grep '^SELINUX=' /etc/selinux/config
      SELINUX=disabled
    • 2.) Attempt to re-install Exim using the following command:
      Code:
      # /scripts/eximup --force --latest --source
     
  8. nitation

    nitation Member

    Joined:
    Aug 6, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Thank you for your response. I tried what you suggested and i got the following error:

    HTML:
    Fetching http://diff.cpanel.net/exim/4.69-23.1/src/exim-4.69-23.1_cpanel_maildir.src.rpm (0)....@69.72.212.10......connected......receiving...2%...4%...6%...8%...10%...12%...14%...16%...18%...20%...23%...25%...27%...29%...31%...33%...35%...37%...39%...41%...44%...46%...48%...50%...52%...54%...56%...58%...60%...62%...65%...67%...69%...71%...73%...75%...77%...79%...81%...83%...85%...88%...90%...92%...94%...96%...98%...100%......Done
    Building RPM.........................................................................................................................................................Done
            ared (first use in this function)
            perl.c:121: error: 'SP' undeclared (first use in this function)
            perl.c:122: error: 'G_SCALAR' undeclared (first use in this function)
            perl.c:122: error: 'G_DISCARD' undeclared (first use in this function)
            perl.c:122: error: 'G_KEEPERR' undeclared (first use in this function)
            perl.c:124: error: 'errgv' undeclared (first use in this function)
            perl.c:124: error: 'len' undeclared (first use in this function)
            perl.c: In function 'cleanup_perl':
            perl.c:141: error: 'interp_perl' undeclared (first use in this function)
            perl.c: In function 'call_perl_cat':
            perl.c:152: error: 'dSP' undeclared (first use in this function)
            perl.c:153: error: 'SV' undeclared (first use in this function)
            perl.c:153: error: 'sv' undeclared (first use in this function)
            perl.c:154: error: 'STRLEN' undeclared (first use in this function)
            perl.c:154: error: expected ';' before 'len'
            perl.c:158: error: 'interp_perl' undeclared (first use in this function)
            perl.c:164: error: 'ENTER' undeclared (first use in this function)
            perl.c:165: error: 'SAVETMPS' undeclared (first use in this function)
            perl.c:166: error: 'SP' undeclared (first use in this function)
            perl.c:168: error: 'PUTBACK' undeclared (first use in this function)
            perl.c:169: error: 'G_SCALAR' undeclared (first use in this function)
            perl.c:169: error: 'G_EVAL' undeclared (first use in this function)
            perl.c:170: error: 'SPAGAIN' undeclared (first use in this function)
            perl.c:171: error: 'POPs' undeclared (first use in this function)
            perl.c:173: error: 'errgv' undeclared (first use in this function)
            perl.c:175: error: 'len' undeclared (first use in this function)
            perl.c:185: error: 'FREETMPS' undeclared (first use in this function)
            perl.c:186: error: 'LEAVE' undeclared (first use in this function)
            make[1]: *** [perl.o] Error 1
            make[1]: Leaving directory `/root/rpmbuild/BUILD/exim-4.69/build-Linux-i386'
            make: *** [go] Error 2
            error: Bad exit status from /var/tmp/rpm-tmp.PkZrbU (%build)
    
    
            RPM build errors:
                Bad exit status from /var/tmp/rpm-tmp.PkZrbU (%build)
    Failed to build rpm at /scripts/eximup line 467.
    
    
     
  9. AndiBaumgartt

    AndiBaumgartt Registered

    Joined:
    Aug 10, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    i tried to install it in on fedora too but gave up after a while. but it seems there are people that get it running somehow. google a bit and you'll find something.
     
  10. nitation

    nitation Member

    Joined:
    Aug 6, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    @AndiBaumgartt

    Believe me, i have googled almost 1million pages on the internet without anything to show for it. My email server is down and there is no communication with my client.
     
  11. Defected

    Defected Member

    Joined:
    Dec 14, 2009
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    roll back to rhel/centos 5 to get your server working properly for now.

    Just wondering (i know its a bit early but..), is there any info about the support of rhel 6 wich is based on fedora 12?
     
  12. KenF

    KenF Member
    Staff Member

    Joined:
    Oct 29, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I would say that porting your application to CentOS will be a far easier path than porting cPanel to Fedora Core. It will also be far more productive. Be advised that Fedora Core is not fit for production.

    From redhat.com | :
    From The Unofficial Fedora® FAQ :
    Please also see the following regarding Fedora Core's life cycle: End of life - FedoraProject
     
  13. nitation

    nitation Member

    Joined:
    Aug 6, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Thank you guys for all comments. i appreciate
     

Share This Page