I have application on Zend Framework 1.6 and I use Memcached as backend cache. When I restart Memcached I get error message "Failed saving metadata to metadataCache". Please advice how can I solve this problem.
In my memcached.conf i wrote setting -u www-data
Related
I am new to freenode and postgresql. I am trying to migrate from mysql to postgresql. Currently trying to set up server for ssl. Have created my server certs and configured the .conf files for ssl according to the manual as far as I can see. Trying to restart postgre sql service fails. Windows event log gives me an event ID of 0 and says
pg_ctrl could not start server examine the log output.
I can't find any log detailing the failure to start in the postgresql folders.
I have tried to register the pgevent.dll as advised by the postgresql manual (18.11 of most recent version), but I get an error message
The module "C:postgreSQL\pg10\lib\postgresql\pgevent.dll" was loaded but the entry-point DllRegisterServer was not found
I believe that means it is either not a registrable dll or it's corrupt.
Can anyone please advise how I can track on Windows the error that is causing Postgre to fail to start?
I tried installing memcache and memcached on centos 6.7 running php 5.4
Had few errors etc.
But now the phpinfo() shows:
The error log shows this error:
Cannot find save handler 'memcached'
The php.ini has:
session.save_handler = memcached
session.save_path = "127.0.0.1:11211"
The error disappears if I used:
session.save_handler = memcache
session.save_path =t"tcp://127.0.0.1:11211"
But I want to use memcached.
Or is it fine to use any of them?
So 2 questions:
How can I make memcached work too?
Is it fine to use memcache or memcached both? Or does it make any difference?
Thanks :)
My TYPO3 Backend is locked after i changed the password (root) in the phpMyAdmin Extension in the backend. After that everything was locked and i get this error: #1270853884: TYPO3 Fatal Error: The current username, password or host was not accepted when the connection to the database was attempted to be established!
But the InstallTool is not locked so can make changes in there.
I searched in the internet for some solution but didn't find anything helpful.
What can i do now?
First of all you should not connect your TYPO3-System with the MySQL root user to your specific database. Add a MySQL user that is only privileged to the needed TYPO3 database.
You can edit your database credentials within the TYPO3 Install Tool without being connected to the database.
The database connection credentials will be stored in:
TYPO3 4.x: typo3conf/localconf.php
TYPO3 6.x and later: typo3conf/LocalConfiguration.php
My problem was a corrupt innodb file. The table "tx_realurl_urlcache" was the reason. To solve the problem i just truncated this table and restarted mysql. After the restart everything worked again.
In detail:
Because the topics about changing typo3 config did not help me i checked the systems syslog file and found out the mysql system printed a lot of errors. Especially the entry "InnoDB: Database page corruption on disk or a failed" helped me finding out what my problem was.
By checking the database sizes i found out that the size of my typo3-database was very large (more than 1.5 GB). So i checked which tables use the space. The biggest one was tx_realurl_urlcache which used more than 1 GB. Because this is just a cache-table i truncated it and restarted the mysql service. This solved the problem.
I've been trying to figure this our all day. I'm trying to get JasperReports Server to work on a Tomcat 6 server.
I keep getting this error ERROR JDBCExceptionReporter,http-8080-2:101 - Cannot create PoolableConnectionFactory (FATAL: could not open relation mapping file "global/pg_filenode.map": No such file or directory)
I have postgresql.jdbc installed in /usr/share/tomcat6/lib
My webapp (JR Server) is in /var/lib/tomcat6/webapps
Does anyone have any idea what could be wrong?
Figured it out!
had to run killall postgres
I forgot I had installes postgres before i realized that I needed the .jar.
In joomla 1.5 I turn on cache in plugin and config in Global Configuation, then I run website
But when I turn off connect to database is error can't using cache has been created
And alert error Database Error: Unable to connect to the database:Could not connect to database
=> How using cache in joomla and not use connect database in 15 minutes ?
I think joomla 1.5 should connect database when using cache