Re: squirrelmail fails to start

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Tomas Kuliavas <tokul@xxxxxxxxxxxxxxxxxxxxx> wrote:

> > Performed following steps
> > 
> > $ cd /usr/local/squirrelmail/www/config
> > 
> > $ su
> > Password: 
> > # ./conf.pl 
> > 
> > ...
> > 
> 
> You have set data and attachment directories and domain name. Then
> you
> misconfigured your SquirrelMail setup by setting options that don't
> fit your
> courier-imap setup.
> 
> Standard setup procedure is:
> 1. select imap server in D command
> 2. set domain
> 3. set data and attachment directory
> 4. change other things, if you know what they do or defaults don't
> fit your
> setup.

Please advise how to cancel all previous entries before re-running
./conf.pl?

TIA

 
> > On Firefox
> > http://localhost/squirrelmail
> > 
> > Still hanging
> > ???
> > 
> 
> Please explain term "hanging" or check your logs. Web server crashes,
> redirects browser to some unknown site or does something else?


It hangs there for sometimes then popup;
The connection has timed out
The server at localhost is taking too long to respond.



> Or show your apache2 configuration. All files, directories and
> symbolic
> links stored in /etc/apache2 directory excluding SSL keys.


$ ls -al /etc/apache2/
total 88
drwxr-xr-x  8 root root  4096 2007-11-28 00:08 .
drwxr-xr-x 99 root root 12288 2007-12-04 23:08 ..
-rw-r--r--  1 root root 24175 2007-01-15 10:46 apache2.conf
drwxr-xr-x  2 root root  4096 2007-12-04 14:25 conf.d
-rw-r--r--  1 root root    22 2007-11-28 00:09 dav_svn.passwd
-rw-r--r--  1 root root   895 2007-01-15 10:46 envvars
-rw-r--r--  1 root root     0 2007-09-06 00:11 httpd.conf
drwxr-xr-x  2 root root 12288 2007-11-30 21:05 mods-available
drwxr-xr-x  2 root root  4096 2007-11-30 21:05 mods-enabled
-rw-r--r--  1 root root    22 2007-10-26 07:04 ports.conf
-rw-r--r--  1 root root    10 2007-09-06 08:10
ports.conf.origin.20071026
drwxr-xr-x  2 root root  4096 2007-11-27 14:23 sites-available
drwxr-xr-x  2 root root  4096 2007-11-27 14:27 sites-enabled
drwxr-xr-x  2 root root  4096 2007-11-27 23:05 ssl
* end *



$ cat /etc/apache2/apache2.conf
....
ServerRoot "/etc/apache2"

LockFile /var/lock/apache2/accept.lock
#</IfModule>
#</IfModule>


PidFile /var/run/apache2.pid

Timeout 300

KeepAlive On

MaxKeepAliveRequests 100

KeepAliveTimeout 15

<IfModule mpm_prefork_module>
    StartServers          5
    MinSpareServers       5
    MaxSpareServers      10
    MaxClients          150
    MaxRequestsPerChild   0
</IfModule>

<IfModule mpm_worker_module>
    StartServers          2
    MaxClients          150
    MinSpareThreads      25
    MaxSpareThreads      75 
    ThreadsPerChild      25
    MaxRequestsPerChild   0
</IfModule>

User www-data
Group www-data

AccessFileName .htaccess

<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

TypesConfig /etc/mime.types

DefaultType text/plain


HostnameLookups Off

ErrorLog /var/log/apache2/error.log

LogLevel warn

# Include module configuration:
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf

# Include all the user configurations:
Include /etc/apache2/httpd.conf

# Include ports listing
Include /etc/apache2/ports.conf

# Include generic snippets of statements
Include /etc/apache2/conf.d/


LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

ServerTokens Full

#

ServerSignature On

<IfModule alias_module>

    Alias /icons/ "/usr/share/apache2/icons/"

    <Directory "/usr/share/apache2/icons">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

</IfModule>


<IfModule mod_autoindex.c>

    IndexOptions FancyIndexing VersionSort HTMLTable NameWidth=*

    AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

    AddIconByType (TXT,/icons/text.gif) text/*
    AddIconByType (IMG,/icons/image2.gif) image/*
    AddIconByType (SND,/icons/sound2.gif) audio/*
    AddIconByType (VID,/icons/movie.gif) video/*

    AddIcon /icons/binary.gif .bin .exe
    AddIcon /icons/binhex.gif .hqx
    AddIcon /icons/tar.gif .tar
    AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
    AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
    AddIcon /icons/a.gif .ps .ai .eps
    AddIcon /icons/layout.gif .html .shtml .htm .pdf
    AddIcon /icons/text.gif .txt
    AddIcon /icons/c.gif .c
    AddIcon /icons/p.gif .pl .py
    AddIcon /icons/f.gif .for
    AddIcon /icons/dvi.gif .dvi
    AddIcon /icons/uuencoded.gif .uu
    AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
    AddIcon /icons/tex.gif .tex
    AddIcon /icons/bomb.gif core

    AddIcon /icons/back.gif ..
    AddIcon /icons/hand.right.gif README
    AddIcon /icons/folder.gif ^^DIRECTORY^^
    AddIcon /icons/blank.gif ^^BLANKICON^^

    #
    # DefaultIcon is which icon to show for files which do not have an
icon
    # explicitly set.
    #
    DefaultIcon /icons/unknown.gif

    ReadmeName README.html
    HeaderName HEADER.html

    IndexIgnore .??* *~ *# RCS CVS *,v *,t 
</IfModule>

<IfModule mod_mime.c>

    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz

    AddLanguage ca .ca
    AddLanguage cs .cz .cs
    AddLanguage da .dk
    AddLanguage de .de
    AddLanguage el .el
    AddLanguage en .en
    AddLanguage eo .eo
    AddLanguage es .es
    AddLanguage et .et
    AddLanguage fr .fr
    AddLanguage he .he
    AddLanguage hr .hr
    AddLanguage it .it
    AddLanguage ja .ja
    AddLanguage ko .ko
    AddLanguage ltz .ltz
    AddLanguage nl .nl
    AddLanguage nn .nn
    AddLanguage no .no
    AddLanguage pl .po
    AddLanguage pt .pt
    AddLanguage pt-BR .pt-br
    AddLanguage ru .ru
    AddLanguage sv .sv
    AddLanguage zh-CN .zh-cn
    AddLanguage zh-TW .zh-tw
</IfModule>

<IfModule mod_negotiation.c>
    LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz
nl nn no pl pt pt-BR ru sv zh-CN zh-TW

    ForceLanguagePriority Prefer Fallback

</IfModule>

<IfModule mod_mime.c>
  
    AddCharset us-ascii    .ascii .us-ascii
    AddCharset ISO-8859-1  .iso8859-1  .latin1
    AddCharset ISO-8859-2  .iso8859-2  .latin2 .cen
    AddCharset ISO-8859-3  .iso8859-3  .latin3
    AddCharset ISO-8859-4  .iso8859-4  .latin4
    AddCharset ISO-8859-5  .iso8859-5  .cyr .iso-ru
    AddCharset ISO-8859-6  .iso8859-6  .arb .arabic
    AddCharset ISO-8859-7  .iso8859-7  .grk .greek
    AddCharset ISO-8859-8  .iso8859-8  .heb .hebrew
    AddCharset ISO-8859-9  .iso8859-9  .latin5 .trk
    AddCharset ISO-8859-10  .iso8859-10  .latin6
    AddCharset ISO-8859-13  .iso8859-13
    AddCharset ISO-8859-14  .iso8859-14  .latin8
    AddCharset ISO-8859-15  .iso8859-15  .latin9
    AddCharset ISO-8859-16  .iso8859-16  .latin10
    AddCharset ISO-2022-JP .iso2022-jp .jis
    AddCharset ISO-2022-KR .iso2022-kr .kis
    AddCharset ISO-2022-CN .iso2022-cn .cis
    AddCharset Big5        .Big5       .big5 .b5
    AddCharset cn-Big5     .cn-big5
    # For russian, more than one charset is used (depends on client,
mostly):
    AddCharset WINDOWS-1251 .cp-1251   .win-1251
    AddCharset CP866       .cp866
    AddCharset KOI8      .koi8
    AddCharset KOI8-E      .koi8-e
    AddCharset KOI8-r      .koi8-r .koi8-ru
    AddCharset KOI8-U      .koi8-u
    AddCharset KOI8-ru     .koi8-uk .ua
    AddCharset ISO-10646-UCS-2 .ucs2
    AddCharset ISO-10646-UCS-4 .ucs4
    AddCharset UTF-7       .utf7
    AddCharset UTF-8       .utf8
    AddCharset UTF-16      .utf16
    AddCharset UTF-16BE    .utf16be
    AddCharset UTF-16LE    .utf16le
    AddCharset UTF-32      .utf32
    AddCharset UTF-32BE    .utf32be
    AddCharset UTF-32LE    .utf32le
    AddCharset euc-cn      .euc-cn
    AddCharset euc-gb      .euc-gb
    AddCharset euc-jp      .euc-jp
    AddCharset euc-kr      .euc-kr
    #Not sure how euc-tw got in - IANA doesn't list it???
    AddCharset EUC-TW      .euc-tw
    AddCharset gb2312      .gb2312 .gb
    AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2
    AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4
    AddCharset shift_jis   .shift_jis .sjis

    AddHandler type-map var

    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
</IfModule>


<IfModule mod_setenvif.c>

    BrowserMatch "Mozilla/2" nokeepalive
    BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0
force-response-1.0
    BrowserMatch "RealPlayer 4\.0" force-response-1.0
    BrowserMatch "Java/1\.0" force-response-1.0
    BrowserMatch "JDK/1\.0" force-response-1.0


    BrowserMatch "Microsoft Data Access Internet Publishing Provider"
redirect-carefully
    BrowserMatch "MS FrontPage" redirect-carefully
    BrowserMatch "^WebDrive" redirect-carefully
    BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
    BrowserMatch "^gnome-vfs/1.0" redirect-carefully
    BrowserMatch "^XML Spy" redirect-carefully
    BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
</IfModule>


# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/
* end *

Remark: It is a big file.  I deleted most comment out lines.

 

> > http://domain.com/squirrelmail
> > 
> > starts;
> > SquirrelMail
> > webmail
> > for
> > nuts
> > 
> > 
> > I can't login with root/users with accounts on Postfix
> > 
> 
> Never ever try logging in as root to POP3 or IMAP service. Use
> standard
> unprivileged account for testing.

OK, thanks.  I tried login with users on Postix, mail server, but still
failed.


Tried
username
username@xxxxxxxxxx


Any suggestion?  Thanks


> > Error
> > Error connecting to IMAP server: localhost.
> > 110 : Connection timed out
> > 
> > 
> > I'm running courier.  How to get the problem fixed?  TIA
> > 
> 
> Can you connect to your imap server with other email client or
> telnet?
> 
> ---
> telnet localhost 143
> ... you should see courier imap greeting here ...
> A01 logout
> ---


$ telnet localhost 143
Trying 127.0.0.1...

No greeting.  Would it be port 143 locked?


> Try solving your problem on IRC
> (http://squirrelmail.org/wiki/InternetRelayChat). Maybe some people
> can help
> you faster than messaging on mailing list. You have generic first
> time setup
> issues and these are solved faster in real time.

OK, I'll try.  Thanks



Stephen L


Send instant messages to your online friends http://uk.messenger.yahoo.com 

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux