HP Warning: touch(): Unable to create file /var/sqlite/roundcube/roundcube.db because No such file or directory in /var/www/webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php on line 38

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

HP Warning: touch(): Unable to create file /var/sqlite/roundcube/roundcube.db because No such file or directory in /var/www/webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php on line 38

Sophie Loewenthal
Hi,

I just migrated Roundcube install to a new server and it cannot find the dB. The issue is that this file :

<a href="http://webmail10.ex.co.uk/logs/errors:[29-Nov-2017" class="">webmail10.ex.co.uk/logs/errors:[29-Nov-2017 12:13:54 Europe/Brussels] PHP Warning:  touch(): Unable to create file /var/sqlite/roundcube/roundcube.db because No such file or directory in /var/www/webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php on line 38


should be :


Where in roundcube is this coded?  I’ve grepped the whole directory can did not find any reference except in the config file, which was changed.

Regards, Sophie

_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: HP Warning: touch(): Unable to create file /var/sqlite/roundcube/roundcube.db because No such file or directory in /var/www/webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php on line 38

Sophie Loewenthal
This was my thought, except the vhosts it complained of and the directory does not exist : /var/www/webmail12.ex.co.uk
 
--

On December 7, 2017 6:37:37 PM CET, Reindl Harald <[hidden email]> wrote:

>
>
>Am 07.12.2017 um 18:25 schrieb Sophie Loewenthal:
>> Hi,
>>
>> I just migrated Roundcube install to a new server and it cannot find
>the
>> dB. The issue is that this file :
>>
>> webmail10.ex.co.uk/logs/errors:[29-Nov-2017
>> <http://webmail10.ex.co.uk/logs/errors:[29-Nov-2017> 12:13:54
>> Europe/Brussels] PHP Warning:  touch(): Unable to create file
>> /var/sqlite/roundcube/roundcube.db because No such file or directory
>in
>> /var/www/webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php
>
>> <http://webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php>
>on
>> line 38
>>
>> /var/www/webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php
>
>> <http://webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php>
>> should be :
>>
>/var/www/webmail1*0*.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php
>
>> <http://webmail10.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php>
>>
>> Where in roundcube is this coded?  I’ve grepped the whole directory
>can
>> did not find any reference except in the config file, which was
>changed
>
>nowhere - that's pretty sure the vhost config of your webserver
>
>as you can see the touch was called at
>/var/www/webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php
>and so /var/www/webmail12.ex.co.uk is the actice vhost
>
>that /var/sqlite/roundcube/ does not exist is a completly other problem
>
>p.s.: the horrible quting is a result of send HTML mail to lists
_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: HP Warning: touch(): Unable to create file /var/sqlite/roundcube/roundcube.db because No such file or directory in /var/www/webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php on line 38

Sophie Loewenthal
Sorry this was written strangely. I meant: 

This was my thought, except the vhosts it complained of and the directory does not exist : /var/www/webmail12.ex.co.uk and was changed to /var/www/webmail10.ex.co.uk in the vhosts and the actual directory.


On 7 Dec 2017, at 18:49, Sophie Loewenthal <[hidden email]> wrote:

This was my thought, except the vhosts it complained of and the directory does not exist : /var/www/webmail12.ex.co.uk

--

On December 7, 2017 6:37:37 PM CET, Reindl Harald <[hidden email]> wrote:


Am 07.12.2017 um 18:25 schrieb Sophie Loewenthal:
Hi,

I just migrated Roundcube install to a new server and it cannot find
the
dB. The issue is that this file :

<a href="http://webmail10.ex.co.uk/logs/errors:[29-Nov-2017" class="">webmail10.ex.co.uk/logs/errors:[29-Nov-2017
<<a href="http://webmail10.ex.co.uk/logs/errors:[29-Nov-2017" class="">http://webmail10.ex.co.uk/logs/errors:[29-Nov-2017> 12:13:54
Europe/Brussels] PHP Warning:  touch(): Unable to create file
/var/sqlite/roundcube/roundcube.db because No such file or directory
in
/var/www/webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php

<http://webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php>
on
line 38

/var/www/webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php

<http://webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php>
should be :

/var/www/webmail1*0*.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php

<http://webmail10.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php>

Where in roundcube is this coded?  I’ve grepped the whole directory
can
did not find any reference except in the config file, which was
changed

nowhere - that's pretty sure the vhost config of your webserver

as you can see the touch was called at
/var/www/webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php
and so /var/www/webmail12.ex.co.uk is the actice vhost

that /var/sqlite/roundcube/ does not exist is a completly other problem

p.s.: the horrible quting is a result of send HTML mail to lists
_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users


_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: HP Warning: touch(): Unable to create file /var/sqlite/roundcube/roundcube.db because No such file or directory in /var/www/webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php on line 38

Sophie Loewenthal
And to prove you wrong :)

root@mx10 /var/www # stat /var/www/webmail12.ex.co.uk
stat: cannot stat '/var/www/webmail12.ex.co.uk': No such file or directory
root@mx10 /var/www # stat /var/www/webmail12.ex.co.uk/program
stat: cannot stat '/var/www/webmail12.ex.co.uk/program': No such file or directory
root@mx10 /var/www # stat /var/www/webmail12.ex.co.uk/program/lib
stat: cannot stat '/var/www/webmail12.ex.co.uk/program/lib': No such file or directory
root@mx10 /var/www # stat /var/www/webmail12.ex.co.uk/program/lib/Roundcube/
stat: cannot stat '/var/www/webmail12.ex.co.uk/program/lib/Roundcube/': No such file or directory
stat: cannot stat '/var/www/webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php': No such file or directory







On 7 Dec 2017, at 18:58, Reindl Harald <[hidden email]> wrote:



Am 07.12.2017 um 18:56 schrieb Reindl Harald:
Am 07.12.2017 um 18:54 schrieb Sophie Loewenthal:
Sorry this was written strangely. I meant:

This was my thought, except the vhosts it complained of and the directory does not exist : /var/www/webmail12.ex.co.uk <http://webmail12.ex.co.uk> and was changed to /var/www/webmail10.ex.co.uk <http://webmail10.ex.co.uk> in the vhosts and the actual directory
when PHP reports a error in the script /var/www/webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php it does exist - period
at the moment PHP triggers that error that script is running

and to prove the opposite provide the output of

stat /var/www/webmail12.ex.co.uk
stat /var/www/webmail12.ex.co.uk/program
stat /var/www/webmail12.ex.co.uk/program/lib
stat /var/www/webmail12.ex.co.uk/program/lib/Roundcube/
stat /var/www/webmail12.ex.co.uk/program/lib/Roundcube/rcube_db_sqlite.php

i bet everything none of them return any error


_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users