Help me PLEASEEEE - PHP

Discussion in 'Installation/Configuration' started by Griff, Jul 10, 2007.

  1. Griff

    Griff New Member

    Hi,

    I installed ISPConfig about a year ago when i was still relatively new to Linux and Debian and the only problem i had was with the Mail Server ... Now 2 new Servers and a complete and utter f**k up and this is my Error...

    I have Read through several forum threads and even got a friend of mine to take a look for me but to no avail ... I have the latest version of mysql dev i have the Bison, Flex, GCC e.t.c

    I have even formatted 3 times now incase that was a problem.

    Can Someone Please offer there words of wisdom on this.

    Many Thanks in Advance.

    Griff

    I will upload the Error Log as it is too long and contains too many <img> Links in there :-s
     
    Last edited: Jul 10, 2007
  2. Griff

    Griff New Member

    This is the Error Log ... it wouldn't let me quote it or just Paste it ...

    Griff
     

    Attached Files:

  3. planet_fox

    planet_fox New Member

  4. Griff

    Griff New Member

    This is the error i am getting from what you suggested.

    Been waiting for 45 mins so far and the spam assassin has got as far as this

    TY Griff

    Finally Finished with these Errors

     
    Last edited: Jul 10, 2007
  5. Griff

    Griff New Member

    anybody?? Please guys ??

    i'm at my wits end now i don't know what else to do as i said i've tried formatting and everything i'm ready to sack linux and run xammp on Windows ... which i don't wanna do
     
  6. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Please have a look at the perfect setup guide for your linux distribution and install and configure your server according to that guide and ISPConfig will compile flawlessly.

    See the part down the page: Howtos: ISPConfig installation

    http://www.ispconfig.org/documentation.htm
     
  7. Griff

    Griff New Member

    Now i re-installed and followed the perfect setup guide AGAIN replacing the files that we're missing with the upgraded versions on the apt-get but now i have another problem.

    If i go to my domain or any of the domains pointing to my server then it loads up the directory listing for /var/www and not the correct redirection ... Also one of my pages uses PHP and when i try to load the page by clicking the shortcuts on the directory index then i get the PHP Code and not the webpage .... I followed the guide down to the last letter apart from where i had to upgrade the Dev Packages.

    Any advice on this one??

    Thanks
     
  8. Griff

    Griff New Member

    Ok

    Now it's getting weird i forgot to change the IP so i just did that and restarted the box ... but now EVERY url is pointing to amrhosting.info placeholder page ... amrhosting.info is web1 and geminisounds.com (url2) should be pointing to web2 but it isn't it's just pointing to the amrhosting.info domain i have checked the Vhost_ispconfig file in the apache folder and it looks fine to me .

    Thanks
     
  9. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Have you changead all websites to the new IP in ISPConfig and clicked on save in every website?
     
  10. Griff

    Griff New Member

    That worked but now i've got another issue ... LOL this is getting VERY annoying now ... I have installed squirrelmail after following the guide and when i log in i keep getting the error

    Any ideas for this one... Thanks
     
  11. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Have a look at your mail log file.
     
  12. Griff

    Griff New Member

    Jul 18 12:47:01 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
    Jul 18 12:47:01 server1 imapd: chdir Maildir: No such file or directory
    Jul 18 12:49:50 server1 postfix/smtpd[4188]: connect from localhost[127.0.0.1]
    Jul 18 12:49:50 server1 postfix/smtpd[4188]: lost connection after CONNECT from localhost[127.0.0.1]
    Jul 18 12:49:50 server1 postfix/smtpd[4188]: disconnect from localhost[127.0.0.1]
     
  13. Griff

    Griff New Member

    I have uploaded the complete Log ... Please ignore the rcpt to errors as i've not forwarded the domains completly yet since i swapped from a Bare Linux system to this fresh install of Server2

    Regards
     

    Attached Files:

    Last edited: Jul 18, 2007
  14. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Did you send a mail to that account first before you tried to fetch mails? Maildir is created automatically when the first mail arrives.
     
  15. Griff

    Griff New Member

    I sent the email from another server i have access to.

    Am i using the correct syntax for the login - username web2_admin
    then the password which i set

    or should it be web2_admin@serverdomain

    Regards

    Griff
     
  16. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Did you enable Maildir under Management > Server > Settings > Email?
     
  17. Griff

    Griff New Member

    YAY i finally got the mail sorted thanks to Falko BUT now i've got another problem... I can send mail using the internal webmail client but when i use a client such as Outlook or Thunderbird i get the following error

    I have enabled my Server Requires authentication and tried all of the options that come with that but still to no avail. Postconf -n is as follows

    I forgot to mention when i do turn on my server requires authentication i keep getting the enter username and password box constantly i have tried entering numerous different usernames and passwords including the root username and password for the Debian Server but to no avail

    Ok so it looks like SASLAUTH is failing here

     
    Last edited: Jul 20, 2007
  18. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    What's in /etc/default/saslauthd?
     
  19. Griff

    Griff New Member

    i'm baffled by this one.. all looks ok to me

    /etc/default/saslauthd


     
  20. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    I guess you used the perfect setup for the wrong linux version to install your server.

    Please remove the line:

    PARAMS="-m /var/spool/postfix/var/run/saslauthd -r"

    and replace:

    OPTIONS="-c"

    with:

    OPTIONS="-m /var/spool/postfix/var/run/saslauthd -r"

    and restart saslauthd.
     

Share This Page