HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Webmail (http://www.howtoforge.com/forums/showthread.php?t=50750)

jacksmerv 31st December 2010 08:13

Webmail
 
Hi Guys,
I have installed ISPCONFIG3 in Debian 5 Lenny and it is working fine. But web-mail returns an error 404 . Please give me helping hand to solve this issue. Thanks in advance.

jacksmerv 31st December 2010 11:49

Is any body to help ?

ByteMe Networking 2nd January 2011 03:55

What url?
 
Hello jacksmerv,

What is the url you are accessing your webmail from?
Did you follow the Perfect Debian setup guide for the install?
What webmail client are you using?
Have you created the Symlink to your webmail client to the /var/www/webmail dir?

Webmail is pretty easy to setup and you should be able to access it right away using the Perfect setup guide.
Please provide the above info and we will go from there.

jacksmerv 4th January 2011 15:52

ln -s /usr/share/squirrelmail/ /var/www/webmail

is linked

it was working during the installation after ispconfig it is not working it gives 404 error

neutrino 4th January 2011 16:08

what adress are you typing when you try to access to your webmail ?

xx.xxx.xxx.xxx/webmail ?

<yourdomain.com>/webmail ?

something else ?

jacksmerv 4th January 2011 17:37

i have tried with IP and also with mydomain name/webmail. It gives the 404 error

ByteMe Networking 4th January 2011 18:20

Ok so we know its linked.

What about the permissions and owner on the webmail dir?
Code:
Code:

# cd /var/www; ls -alh
And for squirrelmail
Code:
Code:

# cd /usr/share; ls -alh
Also are there any errors in your apache error log about this?
Code:
Code:

# tail /var/log/apache2/error.log

neutrino 4th January 2011 20:06

try also

/etc/init.d/apache2 restart

and tell us is any error is displayed.

jacksmerv 5th January 2011 07:49

# cd /var/www; ls -alh

drwxr-xr-x 7 root root 4.0K 2011-01-04 07:17 .
drwxr-xr-x 16 root root 4.0K 2011-01-05 00:30 ..
drwxr-xr-x 2 ispapps ispapps 4.0K 2011-01-04 07:08 apps
drwxr-xr-x 3 root root 4.0K 2011-01-04 07:17 clients
drwxr-xr-x 2 root root 4.0K 2011-01-04 07:17 conf
-rw-r--r-- 1 root root 45 2011-01-04 06:32 index.html
lrwxrwxrwx 1 root root 34 2011-01-04 07:08 ispconfig -> /usr/local/ispconfig/interface/web
drwxr-xr-x 5 root root 4.0K 2011-01-04 07:17 php-fcgi-scripts
lrwxrwxrwx 1 root root 30 2011-01-04 07:17 xxx.com -> /var/www/clients/client1/web1/
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:51 webalizer
lrwxrwxrwx 1 root root 24 2011-01-04 06:56 webmail -> /usr/share/squirrelmail/

# cd /usr/share; ls -alh

/usr/share# ls -alh
total 500K
drwxr-xr-x 119 root root 4.0K 2011-01-04 06:55 .
drwxr-xr-x 11 root root 4.0K 2011-01-04 06:07 ..
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:52 aclocal
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:52 aclocal-1.10
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:52 aclocal-1.9
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:50 acpi-support
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 adduser
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:31 amavis
drwxr-xr-x 6 root root 4.0K 2011-01-04 06:32 apache2
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:02 applications
drwxr-xr-x 4 root root 4.0K 2011-01-04 06:31 apps
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 apt
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 aptitude
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:31 apt-listchanges
drwxr-xr-x 7 root root 4.0K 2011-01-04 06:52 autoconf
drwxr-xr-x 4 root root 4.0K 2011-01-04 06:52 automake-1.10
drwxr-xr-x 4 root root 4.0K 2011-01-04 06:52 automake-1.9
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:44 awk
drwxr-xr-x 7 root root 4.0K 2011-01-04 06:51 awstats
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 base-files
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 base-passwd
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:02 binfmts
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:52 bison
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:02 bsd-mailx
drwxr-xr-x 26 root root 4.0K 2011-01-04 06:32 bug
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:52 build-essential
drwxr-xr-x 6 root root 4.0K 2011-01-04 05:48 calendar
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 common-licenses
drwxr-xr-x 3 root root 4.0K 2011-01-04 05:49 console
drwxr-xr-x 2 root root 12K 2011-01-04 05:49 consolefonts
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:49 consoletrans
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:17 courier
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:32 cups
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 debconf
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:02 debhelper
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 debianutils
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:32 defoma
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:02 dict
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:02 dictionaries-common
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:32 directfb-1.0.1
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:32 djvu
drwxr-xr-x 475 root root 20K 2011-01-04 06:55 doc
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:52 doc-base
drwxr-xr-x 3 root root 4.0K 2011-01-04 05:48 dpkg
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 e2fsprogs
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:02 emacs
drwxr-xr-x 5 root root 4.0K 2011-01-04 06:55 fail2ban
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:02 file
drwxr-xr-x 5 root root 4.0K 2011-01-04 06:32 fonts
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:51 GeoIP
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:17 getmail4
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:32 ghostscript
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 gnupg
drwxr-xr-x 3 root root 4.0K 2011-01-04 05:48 groff
drwxr-xr-x 4 root root 4.0K 2011-01-04 05:49 i18n
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:32 icons
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 ifupdown
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:32 ImageMagick-6.3.7
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:52 info
drwxr-xr-x 7 root root 4.0K 2011-01-04 05:49 initramfs-tools
drwxr-xr-x 3 root root 4.0K 2011-01-04 05:48 initrd-tools
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 initscripts
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:49 installation-report
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 iptables
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:54 jailkit
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:02 java
drwxr-xr-x 8 root root 4.0K 2011-01-04 05:49 keymaps
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 keyrings
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:32 libthai
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:52 libtool
drwxr-xr-x 3 root root 4.0K 2009-11-14 08:41 linda
drwxr-xr-x 3 root root 4.0K 2008-04-28 20:57 lintian
drwxr-xr-x 121 root root 4.0K 2011-01-04 06:51 locale
drwxr-xr-x 34 root root 4.0K 2011-01-04 05:48 man
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 man-db
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:32 menu
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:32 mimelnk
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:52 misc
drwxr-xr-x 28 root root 4.0K 2011-01-04 06:17 mysql
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:17 mysql-common
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 nano
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:02 nfs-common
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:17 openssl-blacklist
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 pam
drwxr-xr-x 3 root root 4.0K 2011-01-04 05:48 perl
drwxr-xr-x 29 root root 4.0K 2011-01-04 06:31 perl5
drwxr-xr-x 11 root root 4.0K 2011-01-04 06:32 php
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:32 php5
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:32 php5-imagick
drwxr-xr-x 8 root root 4.0K 2011-01-04 06:32 phpmyadmin
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:17 pixmaps
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:17 postfix
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:32 ppd
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:02 pycentral-data
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:55 pyshared-data
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:02 python
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:31 python-apt
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:31 python-support
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:35 quota
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 readline
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:02 reportbug
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:17 rkhunter
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:31 spamassassin
drwxr-xr-x 12 root root 4.0K 2011-01-04 08:49 squirrelmail
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:07 ssh
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:17 ssl-cert
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 sysvinit
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 tabset
drwxr-xr-x 2 root root 4.0K 2011-01-04 05:48 tasksel
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:08 tcltk
drwxr-xr-x 44 root root 4.0K 2011-01-04 06:02 terminfo
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:02 texinfo
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:02 texmf
drwxr-xr-x 5 root root 4.0K 2011-01-04 06:32 themes
drwxr-xr-x 2 root root 4.0K 2008-04-15 16:18 videomodes
drwxr-xr-x 5 root root 4.0K 2011-01-04 06:08 vim
drwxr-xr-x 2 root root 4.0K 2011-01-04 06:02 w3m
drwxr-xr-x 3 root root 4.0K 2011-01-04 06:07 X11
drwxr-xr-x 22 root root 4.0K 2011-01-04 05:48 zoneinfo


~# tail /var/log/apache2/error.log

[Tue Jan 04 08:27:07 2011] [notice] caught SIGTERM, shutting down
[Tue Jan 04 08:27:09 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Jan 04 08:27:09 2011] [notice] Digest: generating secret for digest authentication ...
[Tue Jan 04 08:27:09 2011] [notice] Digest: done
[Tue Jan 04 08:27:10 2011] [notice] Apache/2.2.9 (Debian) DAV/2 PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2008-08-11) mod_ssl/2.2.9 OpenSSL/0.9.8g configured -- resuming normal operations
[Tue Jan 04 08:28:25 2011] [notice] mod_fcgid: call /var/www/xxx.com/web/admin/ping.php with wrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter
[Tue Jan 04 08:30:09 2011] [error] [client xxx.151.xxx.1xx] client denied by server configuration: /htdocs
[Tue Jan 04 08:30:12 2011] [error] [client xxx.151.xxx.1xx] client denied by server configuration: /htdocs
[Tue Jan 04 08:46:05 2011] [error] [client xxx.151.xxx.1xx] client denied by server configuration: /htdocs
[Wed Jan 05 00:30:19 2011] [notice] mod_fcgid: call /var/www/xxx.com/web/admin/index.php with wrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter



~# /etc/init.d/apache2 restart
Restarting web server: apache2[Wed Jan 05 00:48:12 2011] [warn] NameVirtualHost xxx.151.xxx.1xx:443 has no VirtualHosts
... waiting .[Wed Jan 05 00:48:14 2011] [warn] NameVirtualHost xxx.151.xxx.1xx:443 has no VirtualHosts

neutrino 5th January 2011 13:58

Ok, mmh and what do you have inside /usr/share/squirrelmail ?


All times are GMT +2. The time now is 10:30.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.