Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

can't open /webmail -- Not Found

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
12 posts
  • 1
  • 2
  • Next
mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
can't open /webmail -- Not Found
  • Quote

Post by mehargags » Thu Feb 12, 2015 9:14 am

on one of my VestaCP servers,
surprisingly I'm not able to open my webmail at all, neither through the domain.com/webmail or my IP/webmail

what can be the problem ? never had an issue earlier with VestaCP

domain.com/webmail

Code: Select all

[b]Not Found[/b]

The requested URL /webmail was not found on this server.
Apache/2.2.22 (Debian) Server at 168.235.67.172 Port 80
any pointers please ?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: can't open /webmail -- Not Found
  • Quote

Post by skurudo » Thu Feb 12, 2015 5:27 pm

I think you don't have webmail. Your apache2 or nginx know anything about webmail or where it is?

if something going wrong, need to see error logs
/var/logs -- apache2 or httpd
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: can't open /webmail -- Not Found
  • Quote

Post by joem » Fri Feb 13, 2015 12:26 am

Code: Select all

wget http://c.vestacp.com/0.9.8/rhel/httpd-webmail.conf -O  /etc/httpd/conf.d/httpd-webmail.conf
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: can't open /webmail -- Not Found
  • Quote

Post by mehargags » Fri Feb 13, 2015 1:04 am

joem wrote:

Code: Select all

wget http://c.vestacp.com/0.9.8/rhel/httpd-webmail.conf -O  /etc/httpd/conf.d/httpd-webmail.conf
Ok joem!!

so this is the "script" that installs Webmail(Roundcube) for Vesta ??
nice pointer here, only that it looks like to be for CentOS, can you get me the one for Debian?

I digged out vst-install-debian.sh
Line 740

Code: Select all

# Roundcube configuration
wget $CHOST/$VERSION/apache2-webmail.conf -O /etc/roundcube/apache.conf
wget $CHOST/$VERSION/roundcube-main.conf -O /etc/roundcube/main.inc.php
wget $CHOST/$VERSION/roundcube-db.conf -O /etc/roundcube/db.inc.php
wget $CHOST/$VERSION/roundcube-driver.php -O \
    /usr/share/roundcube/plugins/password/drivers/vesta.php
wget $CHOST/$VERSION/roundcube-pw.conf -O \
    /etc/roundcube/plugins/password/config.inc.php
r="$(gen_pass)"
mysql -e "DROP DATABASE roundcube" > /dev/null 2>&1
mysql -e "CREATE DATABASE roundcube"
mysql -e "GRANT ALL ON roundcube.* TO roundcube@localhost IDENTIFIED BY '$r'"
sed -i "s/%password%/$r/g" /etc/roundcube/db.inc.php
mysql roundcube < /usr/share/dbconfig-common/data/roundcube/install/mysql
mkdir -p /var/log/roundcube/error
chmod -R 777 /var/log/roundcube

is that correct and OK to run in console ? Will that fix my roundcube install ? (ofcourse replacing the variables with appropriate values!
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: can't open /webmail -- Not Found
  • Quote

Post by joem » Fri Feb 13, 2015 8:28 am

mehargags wrote: is that correct and OK to run in console ? Will that fix my roundcube install ? (ofcourse replacing the variables with appropriate values!
Sorry for my lack of details in my last post. Anyways all this does is add an alias to apache allowing you to access yourdomain.com/webmail

For Debian run this,

Code: Select all

http://c.vestacp.com/0.9.8/debian/apache2-webmail.conf  -O /etc/roundcube/apache.conf
After you have done that you must reboot httpd you can do this from by logging into Vesta CP -> Services -> Toggle Httpd -> Select reboot from the drop down menu and then click ">".
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: can't open /webmail -- Not Found
  • Quote

Post by mehargags » Sat Feb 14, 2015 8:45 am

@joem

Sorry it didn't help :(

I did the following:

Code: Select all

wget http://c.vestacp.com/0.9.8/debian/apache2-webmail.conf  -O /etc/roundcube/apache.conf
service apache2 restart
service nginx restart
don't know whats breaking it!
Top

jakepatrick
Posts: 14
Joined: Sat Oct 04, 2014 2:13 am

Re: can't open /webmail -- Not Found
  • Quote

Post by jakepatrick » Sun Mar 22, 2015 9:06 pm

find out where php and pear are located.
which php
which pear
set those paths in your php.ini include_path=""
vim /etc/php.ini

then go to
/usr/share/roundcubemail/update.sh

and follow the prompts.
Top

pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

Re: can't open /webmail -- Not Found
  • Quote

Post by pandabb » Fri Aug 28, 2015 4:47 am

Hello can i post similar problem ?

I've updated my php to latest version now i can't access my webmail anymore. Rounduce is installed doubled check it even tried installing via yum install roundcube, package installed and updated. Also i checked my var/log/roundcudbe it's empty.


mmmhhh


thanks for support.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: can't open /webmail -- Not Found
  • Quote

Post by skurudo » Tue Sep 01, 2015 6:40 pm

pandabb wrote: I've updated my php to latest version now i can't access my webmail anymore. Rounduce is installed doubled check it even tried installing via yum install roundcube, package installed and updated. Also i checked my var/log/roundcudbe it's empty..
You already tried this viewtopic.php?f=12&t=7071&sid=11d3358ab ... ae6#p21846 ?
Top

pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

Re: can't open /webmail -- Not Found
  • Quote

Post by pandabb » Wed Sep 02, 2015 2:36 pm

forgot to mention im using centos, i think that guide is for debian sir? ty
Top


Post Reply
  • Print view

12 posts
  • 1
  • 2
  • Next

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password