Your comments
I prefer working with MariaDB. It just that I can't make Ajenti to recognize it...
Is there any way to make it work with MariaDB?
can you send me the links for the right RPM?
Is there any way to make it work with MariaDB?
can you send me the links for the right RPM?
Hi Eugene,
I didn't find any proper RPM.
I tried to use mysql-community server and ajenti seems to communicate with it...
now i have another error when I run puma:
/srv/store1/www/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.16/lib/mysql2.rb:8:in `require': Incorrect MySQL client library version! This gem was compiled for 5.5.37-MariaDB but the client library is 5.6.20. (RuntimeError)
How do I fix it?
I didn't find any proper RPM.
I tried to use mysql-community server and ajenti seems to communicate with it...
now i have another error when I run puma:
/srv/store1/www/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.16/lib/mysql2.rb:8:in `require': Incorrect MySQL client library version! This gem was compiled for 5.5.37-MariaDB but the client library is 5.6.20. (RuntimeError)
How do I fix it?
keep getting this error:
[root@ajenti ~]# yum install ajenti-v-mysql.noarch
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.isoc.org.il
* epel: mirror.nonstop.co.il
* extras: mirror.isoc.org.il
* updates: mirror.isoc.org.il
Resolving Dependencies
--> Running transaction check
---> Package ajenti-v-mysql.noarch 0:0.3.1-1 will be installed
--> Processing Dependency: mysql-server for package: ajenti-v-mysql-0.3.1-1.noarch
--> Finished Dependency Resolution
Error: Package: ajenti-v-mysql-0.3.1-1.noarch (ajenti)
Requires: mysql-server
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@ajenti ~]# yum install ajenti-v-mysql.noarch
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.isoc.org.il
* epel: mirror.nonstop.co.il
* extras: mirror.isoc.org.il
* updates: mirror.isoc.org.il
Resolving Dependencies
--> Running transaction check
---> Package ajenti-v-mysql.noarch 0:0.3.1-1 will be installed
--> Processing Dependency: mysql-server for package: ajenti-v-mysql-0.3.1-1.noarch
--> Finished Dependency Resolution
Error: Package: ajenti-v-mysql-0.3.1-1.noarch (ajenti)
Requires: mysql-server
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Do you mean just install the mariadb-server and it should work?
drop-in MySQL ?
Hi, I managed to fix it thanks!
I checked my logs like you told me:
HTTP/1.1", host: "test.ajenti.local", referrer: "http://test.ajenti.local/"
2014/09/13 22:30:52 [error] 6692#0: *7 open() "/srv/test.ajenti.local/www/css/main.css" failed (2: No such file or directory), client: 10.0.0.3, server: test.ajenti.local, request: "GET /css/main.css HTTP/1.1", host: "test.ajenti.local", referrer: "http://test.ajenti.local/"
2014/09/13 22:30:52 [error] 6692#0: *10 open() "/srv/test.ajenti.local/www/js/main.js" failed (2: No such file or directory), client: 10.0.0.3, server: test.ajenti.local, request: "GET /js/main.js HTTP/1.1", host: "test.ajenti.local", referrer: "http://test.ajenti.local/"
2014/09/13 22:31:01 [error] 6692#0: *10 open() "/srv/test.ajenti.local/www/js/main.js" failed (2: No such file or directory), client: 10.0.0.3, server: test.ajenti.local, request: "GET /js/main.js HTTP/1.1", host: "test.ajenti.local", referrer: "http://test.ajenti.local/"
2014/09/13 22:31:01 [error] 6692#0: *9 open() "/srv/test.ajenti.local/www/css/normalize.css" failed (2: No such file or directory), client: 10.0.0.3, server: test.ajenti.local, request: "GET /css/normalize.css HTTP/1.1", host: "test.ajenti.local", referrer: "http://test.ajenti.local/"
2014/09/13 22:31:01 [error] 6692#0: *8 open() "/srv/test.ajenti.local/www/js/plugins.js" failed (2: No such file or directory), client: 10.0.0.3, server: test.ajenti.local, request: "GET /js/plugins.js HTTP/1.1", host: "test.ajenti.local", referrer: "http://test.ajenti.local/"
2014/09/13 22:31:01 [error] 6692#0: *7 open() "/srv/test.ajenti.local/www/js/vendor/modernizr-2.6.2.min.js" failed (2: No such file or directory), client: 10.0.0.3, server: test.ajenti.local, request: "GET /js/vendor/modernizr-2.6.2.min.js HTTP/1.1", host: "test.ajenti.local", referrer: "http://test.ajenti.local/"
2014/09/13 22:31:01 [error] 6692#0: *6 open() "/srv/test.ajenti.local/www/css/main.css" failed (2: No such file or directory), client: 10.0.0.3, server: test.ajenti.local, request: "GET /css/main.css HTTP/1.1", host: "test.ajenti.local", referrer: "http://test.ajenti.local/"
the permissions was fine, it was the SElinux security causing the errors...
for now I disabled it with: setenforce 0
Until I set it up properly.
I checked my logs like you told me:
HTTP/1.1", host: "test.ajenti.local", referrer: "http://test.ajenti.local/"
2014/09/13 22:30:52 [error] 6692#0: *7 open() "/srv/test.ajenti.local/www/css/main.css" failed (2: No such file or directory), client: 10.0.0.3, server: test.ajenti.local, request: "GET /css/main.css HTTP/1.1", host: "test.ajenti.local", referrer: "http://test.ajenti.local/"
2014/09/13 22:30:52 [error] 6692#0: *10 open() "/srv/test.ajenti.local/www/js/main.js" failed (2: No such file or directory), client: 10.0.0.3, server: test.ajenti.local, request: "GET /js/main.js HTTP/1.1", host: "test.ajenti.local", referrer: "http://test.ajenti.local/"
2014/09/13 22:31:01 [error] 6692#0: *10 open() "/srv/test.ajenti.local/www/js/main.js" failed (2: No such file or directory), client: 10.0.0.3, server: test.ajenti.local, request: "GET /js/main.js HTTP/1.1", host: "test.ajenti.local", referrer: "http://test.ajenti.local/"
2014/09/13 22:31:01 [error] 6692#0: *9 open() "/srv/test.ajenti.local/www/css/normalize.css" failed (2: No such file or directory), client: 10.0.0.3, server: test.ajenti.local, request: "GET /css/normalize.css HTTP/1.1", host: "test.ajenti.local", referrer: "http://test.ajenti.local/"
2014/09/13 22:31:01 [error] 6692#0: *8 open() "/srv/test.ajenti.local/www/js/plugins.js" failed (2: No such file or directory), client: 10.0.0.3, server: test.ajenti.local, request: "GET /js/plugins.js HTTP/1.1", host: "test.ajenti.local", referrer: "http://test.ajenti.local/"
2014/09/13 22:31:01 [error] 6692#0: *7 open() "/srv/test.ajenti.local/www/js/vendor/modernizr-2.6.2.min.js" failed (2: No such file or directory), client: 10.0.0.3, server: test.ajenti.local, request: "GET /js/vendor/modernizr-2.6.2.min.js HTTP/1.1", host: "test.ajenti.local", referrer: "http://test.ajenti.local/"
2014/09/13 22:31:01 [error] 6692#0: *6 open() "/srv/test.ajenti.local/www/css/main.css" failed (2: No such file or directory), client: 10.0.0.3, server: test.ajenti.local, request: "GET /css/main.css HTTP/1.1", host: "test.ajenti.local", referrer: "http://test.ajenti.local/"
the permissions was fine, it was the SElinux security causing the errors...
for now I disabled it with: setenforce 0
Until I set it up properly.
Done this already. I am getting error "403" form nginx...
Didn't find it... my log folder is empty.
Customer support service by UserEcho
In the same subject, I ran into a new error regarding to user\file permissions...
puma still not working. I tried clicking on "FIX FILE PERMISSIONS" btn.
I tried switching to the nginx user : 'www-data' and running the puma command in my app directory like this:
bundle exec puma -e production -t 4 -b unix:///var/run/ajenti-v-puma-
Then it crashed printing this error:
[www-data@ajenti www]$ bundle exec puma -e production -t 4 -b unix:///var/run/ajenti-v-puma-
Puma starting in single mode...
* Version 2.9.1 (ruby 2.1.2-p95), codename: Team High Five
* Min threads: 0, max threads: 4
* Environment: production
[WARNING] You are not setting Devise.secret_key within your application!
You must set this in config/initializers/devise.rb. Here's an example:
Devise.secret_key = "
Instance method "open" is already defined in Object, use generic helper instead or set StateMachine::Machine.ignore_
* Listening on unix:///var/run/ajenti-v-puma-
/usr/local/rvm/gems/ruby-2.1.
from /usr/local/rvm/gems/ruby-2.1.
from /usr/local/rvm/gems/ruby-2.1.
from /usr/local/rvm/gems/ruby-2.1.
from /usr/local/rvm/gems/ruby-2.1.
from /usr/local/rvm/gems/ruby-2.1.
from /usr/local/rvm/gems/ruby-2.1.
from /usr/local/rvm/gems/ruby-2.1.
from /usr/local/rvm/gems/ruby-2.1.
from /usr/local/rvm/gems/ruby-2.1.
from /usr/local/rvm/gems/ruby-2.1.
from /usr/local/rvm/gems/ruby-2.1.
from /usr/local/rvm/gems/ruby-2.1.
from /usr/local/rvm/gems/ruby-2.1.
It seems like user file permissions... I am running spreecommerce by the way on centos 6.5 using nginx, mariadb and
puma.
I appreciate any kind of help.
Thanks ahead.