• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

File does not exist: /usr/share/javascript/webtoolkit.url.js

J

Jorge Adrian

Guest
Hello.

atmail does not appear to be working on a fresh installation of Linux plesk 9.5.2 on Debian 5:

If you try to visit it, it just sits there trying to load. It shows a "Connecting" icon on the right corner of it but it just stays there.

/var/log/atmail/error_log output:

[Mon Oct 04 15:02:02 2010] [error] [client 216.169.144.254] File does not exist: /usr/share/javascript/webtoolkit.url.js, referer: http://webmail.censored.com/index.php?error=auth
[Mon Oct 04 15:02:02 2010] [error] [client 216.169.144.254] File does not exist: /usr/share/javascript/ajax, referer: http://webmail.censored.com.com/index.php?error=auth
[Mon Oct 04 15:02:02 2010] [error] [client 216.169.144.254] File does not exist: /usr/share/javascript/ajax, referer: http://webmail.censored.com.com/index.php?error=auth
[Mon Oct 04 15:02:02 2010] [error] [client 216.169.144.254] File does not exist: /usr/share/javascript/composebook.js, referer: http://webmail.censored.com.com/index.php?error=auth
[Mon Oct 04 15:02:02 2010] [error] [client 216.169.144.254] File does not exist: /usr/share/javascript/livesearch.js, referer: http://webmail.censored.com.com/index.php?error=auth
[Mon Oct 04 15:02:02 2010] [error] [client 216.169.144.254] File does not exist: /usr/share/javascript/webtoolkit.url.js, referer: http://webmail.censored.com.com/index.php?error=auth
[Mon Oct 04 15:02:02 2010] [error] [client 216.169.144.254] File does not exist: /usr/share/javascript/ajax, referer: http://webmail.censored.com.com/index.php?error=auth
[Mon Oct 04 15:02:03 2010] [error] [client 216.169.144.254] File does not exist: /usr/share/javascript/composebook.js, referer: http://webmail.censored.com.com/index.php?error=auth
[Mon Oct 04 15:02:03 2010] [error] [client 216.169.144.254] File does not exist: /usr/share/javascript/ajax, referer: http://webmail.censored.com.com/index.php?error=auth
[Mon Oct 04 15:02:03 2010] [error] [client 216.169.144.254] File does not exist: /usr/share/javascript/livesearch.js, referer: http://webmail.censored.com.com/index.php?error=auth

Thank you all for your help!
 
Are you sure that atmail is correctly installed on your Plesk. On my test environment all works fine and I see:

# dpkg -S atmail | grep composebook.js
psa-atmail: /var/www/atmail/javascript/composebook.js

# dpkg -S atmail | grep livesearch.js
psa-atmail: /var/www/atmail/javascript/livesearch.js

# ls /usr/share/javascript/
ls: cannot access /usr/share/javascript/: No such file or directory
 
Thanks IgorG.

Copying the contents of /var/www/atmail/javascript/ over to /usr/share/javascript seems to resolve the problem... It seems like a fix to me butWas there a way to reinstall atmail or maybe a symbolic link was not created at install?

Anyway, thank you very much :)
 
I think that you can just try to reinstall atmail. I hope it will help.
 
Remove it first with

dpkg -r psa-atmail

and install it back with

/usr/local/psa/admin/bin/autoinstaller
 
Dear IgorG

I do have the very same problem. Since I have updated my Debian Etch to Lenny my Atmail Installation is broken. Tried to uninstall and reinstall Atmail using apt-get as well as the way you have described above.

Following error message is shown if I try to access Atmail using Https:

Warning: require_once(Global.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/atmail/index.php on line 17

Fatal error: require_once() [function.require]: Failed opening required 'Global.php' (include_path='/var/www/atmail:.') in /var/www/atmail/index.php on line 17

Error Log (/var/log/atmail) shows the very same like Jorge Adrian posted in his opening thread.

Trying to access Atmail using http results in following error screen:

Database Connection Error

DB Error: connect failed
Verify the SQL database is running
Check the SQL server is listening to the specified socket, IP address
Check the global configuration file (/var/www/atmail/libs/Atmail/Config.php) for the correct database details
Verify the database server is running correctly
Verify the MySQL /etc/my.cnf file has the correct settings for the number of database connections

Best regards
Ivo
 
It's caused by:

# cat /etc/apache2/conf.d/javascript-common.conf
Alias /javascript /usr/share/javascript/

<Directory "/usr/share/javascript/">
Options Indexes FollowSymLinks MultiViews
</Directory>

We have already submitted bug regarding this problem.
 
I just had the same problem on a few sites, when i stumbled upon this thread.

Igor is the "Alias /javascript /usr/share/javascript/" setting necessary for Plesk to work properly?

I didn't want to delete anything so just changed

Alias /javascript /usr/share/javascript/

To:

Alias /javascript111 /usr/share/javascript/

And this made everything work fine on the sites, and so far also in Plesk, but hoping that it isn't necessary :-/
 
Back
Top