Re: first installation

"Obantec Support" <[email protected]>
Newsgroups gmane.mail.neomail.general
Message-ID <021a01c333eb$c9a99090$0a01a8c0@gamma>
Hi

I think i see what you have done. Did you create the /home/httpd/cgi-bin and /home/httpd/html dirs?

Using the IP you get the Default server which is expected. Did you add the Alias /cgi-bin ? if so that will not work.
There should already be a ScriptAlias /cgi-bin/ "/path/to/apache/cgi-bin" which is the default cgi-bin for main server.

as a test you could copy neomail.pl to the main servers cgi-bin and try http://x.y.z.c/cgi-bin/neomail.pl but first remove that Alias /cgi-bin and restart apache.

Are you planning to host 1 or more sites on this server? if yes then we need to set-up virtual hosting. if no then why not install neomail under the default server.

does mydomain resolve to the IP x.y.z.c

Mark
--
Obantec Support
www.obantec.net 
WebHosting and Domains
Nominet UK Tag Holder
  ----- Original Message ----- 
  From: Muhannad Tamemi 
  To: [email protected] 
  Sent: Monday, June 16, 2003 10:07 AM
  Subject: Re: [Neomail-users] first installation


  Dear Mark ,

  I checked neomail.conf file and yes there is only 1 / after the cgi-bin .
  i think the // came when i copy the files .
  i do not know if it is correct or not , but manually i created the :

  /home/httpd/cgi-bin , /home/httpd/html
  and i manulally  
  # cp /tmp/neomail-1.25/neomail-bg.gif   / 
  # cp /tmp/neomail-1.25/neomail.gif /
  and i manually 
  # cp  /neomail-1.25/images  / 

  now after all , when i go to the IP address of my machine : http://x.y.z.c:80 i get the Apache test page .
  but when i go to : http://mydomain/cgi-bin/neomail.pl  i get not found error !!
  or http://x.y.z.c/cgi-bin/neomail.pl where x.y.z.c is the IP address of the linux machine .

  i think i have to do something with my apache configuration file ?? but i do not know what is it !!

  is it with alias /cgi-bin to /home/httpd/cgi-bin  OR something with /var/www !!!

  i really thank you again !!

    ----- Original Message ----- 
    From: Obantec Support 
    To: [email protected] 
    Sent: Monday, June 16, 2003 11:33 AM
    Subject: Re: [Neomail-users] first installation


    Hi

    Ok first you seem to have extra / in paths to some of the files. non of them should read //

    edit neomail.conf (make a backup first).

    check $scripturl & $prefsurl only have 1 / after cgi-bin.

    However not knowing how your apache is set-up but looking at it you have your html and cgi-bin laid out ok.
    Does apache server up any pages? i.e have you tested that you can see the default install of apache? 

    Lets get passed this before we look at the sendmail item.

    Mark
    --
    Obantec Support
    www.obantec.net 
    WebHosting and Domains
    Nominet UK Tag Holder
      ----- Original Message ----- 
      From: Muhannad Tamemi 
      To: [email protected] 
      Sent: Monday, June 16, 2003 8:30 AM
      Subject: Re: [Neomail-users] first installation


      Mr. Merk , 
      Thank you so much Sir for your cooperation . I installed CGI and MD5 and  I configured  the neomail and I got this output :

      INSTALLING NEOMAIL...
      Copying style files to /var/neomail/styles...
      Copying templates to /var/neomail/templates...
      Copying translations to /var/neomail/lang...
      Copying neomail.conf to /var/neomail/neomail.conf...
      Setting permissions using chown -Rh and chmod -R...
      Copying checklogin.pl to /var/neomail/checklogin.pl...
      Copying neomail.pl to /home/httpd/cgi-bin//neomail.pl...
      Copying neomail-prefs.pl to /home/httpd/cgi-bin//neomail-prefs.pl...
      Copying NeoMail logos to /home/httpd/html//...
      Copying NeoMail images to /home/httpd/html//images/...
      Setting permissions...Done!


      then i went to /etc/mail/sendmail.cf and i add the Tnobody entry .
      and when i went to the test link provided i got error message :

      from the linux red hat station itsself : NOT FOUND The Requested URL /cgi-bin/neomail.pl was not found on this server .
      I tried from my pc ( win 2000 ) and i got :  The page cannot be found 

      shall i do anything with my apache configuration file ??
      still the final test link is not working !!

      Please advice .
      Thanks 

        ----- Original Message ----- 
        From: Obantec Support 
        To: [email protected] 
        Sent: Sunday, June 15, 2003 5:47 PM
        Subject: Re: [Neomail-users] first installation


        Hi

        Not seen an rpm for this so i build from source.

        http://search.cpan.org/author/GAAS/MD5-2.02/ is i guess latest since its no longer updated and only kept for legacy. (see the Readme).

        Mark
        --
        Obantec Support
        www.obantec.net 
        WebHosting and Domains
        Nominet UK Tag Holder
          ----- Original Message ----- 
          From: Muhannad Tamemi 
          To: [email protected] 
          Sent: Sunday, June 15, 2003 3:12 PM
          Subject: Re: [Neomail-users] first installation


          Dear Sir ,

          Sorry for bothering again ,, i succesfully installed CGI and worked fine .. but am having troubles with MD5 , can you please advise me which is the best MD5.pm file used for Linux Red Hat 9 ??  

          can you give me the link please .
          Thanks again
            ----- Original Message ----- 
            From: Muhannad Tamemi 
            To: Obantec Support ; [email protected] 
            Sent: Sunday, June 15, 2003 4:03 PM
            Subject: Re: [Neomail-users] first installation


            Ok why ?? 

            i have red hat the last version which is 9 !! do i need to install CGI ??? or MD5.pm ?
            if i install them , neomail setup will work ?

            Thanks 
            Muhannad 
              ----- Original Message ----- 
              From: Obantec Support 
              To: [email protected] 
              Sent: Sunday, June 15, 2003 11:57 AM
              Subject: Re: [Neomail-users] first installation


              Hi

              You need to install CGI.pm.

              There may be an rpm on you RH9 disc's , IIRC is labelled perl-CGI-version.rpm (on RH8 its 2.81).

              Else get source from cpan.org

              Check for MD5.pm as that's required next.

              Mark
              --
              Obantec Support
              www.obantec.net 
              WebHosting and Domains
              Nominet UK Tag Holder
                ----- Original Message ----- 
                From: Muhannad Tamemi 
                To: [email protected] 
                Sent: Sunday, June 15, 2003 8:58 AM
                Subject: [Neomail-users] first installation


                Dear  Sir ,

                I downloaded neomail .tar.gz file into my test linux  red hat 9 workstation and executed the command : ./setup.pl 

                and i got the follwoing error message :

                Checking for installation of Berkely DB or GNU DB capability...

                Looks OK.

                Checking for up-to-date CGI.pm...

                Can't locate CGI.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thre
                ad-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-m
                ulti /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vend
                or_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/
                perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.
                8.0 .) at ./setup.pl line 44.

                now what does this error mean ?? how can  i solve it .. if i continue the installation manually , does it solve the problem ??

                Best Wishes ,



                Muhannad
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.