Error in Openstack Dashboard Authentication - openstack

After rebooting my openstack server, when I try to login in the Openstack Dashboard, the login fails and I get this error in the horizon_error.log:
[Sat Sep 14 21:44:31 2013] [error] DEBUG:openstack_auth.backend:Beginning user authentication for user "admin".
[Sat Sep 14 21:44:31 2013] [error] REQ: curl -i -X POST http://127.0.0.1:5000/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient"
[Sat Sep 14 21:44:31 2013] [error] REQ BODY: {"auth": {"passwordCredentials": {"username": "admin", "password": "mysecretpassword"}}}
[Sat Sep 14 21:44:31 2013] [error]
[Sat Sep 14 21:44:31 2013] [error] Starting new HTTP connection (1): 127.0.0.1
[Sat Sep 14 21:44:31 2013] [error] DEBUG:openstack_auth.backend:Authorization Failed: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP Unable to establish connection to http://127.0.0.1:5000/v2.0/tokens)
[Sat Sep 14 21:44:31 2013] [error] WARNING:openstack_auth.forms:Login failed for user "admin".
How can I fix this issue
Best Regards,
Pedro

Looks like your keystone service is down:
(HTTP Unable to establish connection to http://127.0.0.1:5000/v2.0/tokens)
Are you sure keystone is running?

You can check if your keystone service is running using :
ps -ef | grep keystone
If you are using devstack, then simply navigate to the devstack directory and rejoin the session
/home/<user>/devstack
./rejoin-stack.sh

Related

wordpress wp-plugin as referrer in non wordpress server

I have recently found some strange logs on my webserver (something about wordpress):
[Wed Nov 15 19:44:28 2017] [error] [client 209.90.225.243] File does not exist: /path/to/vhosts/docroot/wp-content, referer: http://my.domain/wp-content/plugins/revslider/temp/
[Mon Nov 13 19:05:51 2017] [error] [client 209.90.225.243] File does not exist: /path/to/vhosts/docroot/wp-content, referer: http://my.domain/wp-content/themes/famous/style.css
[Sat Nov 11 22:21:38 2017] [error] [client 209.90.225.243] File does not exist: /path/to/vhosts/docroot/wp-content, referer: http://my.domain/wp-content/plugins/complete-gallery-manager/frames/upload-images.php
The main problem is that I don't have a wordpress installed in the virtual-host where I found the these errors. On the same server, there are other intallations of word-press that I don't have access to.
Does anybody know why I'm seeing these logs messages? The referer page doesn't exist on my server, but it's easy to change in a http request made from scratch.
Could it be a random attack?

500 Internal server error in wp admin ,at update & plugin (Wordpress)

I'm having Internal server error in some sessions(parts) after I login in wp dashboard.
Issues are in wp-admin/plugins.php and some few other places where is relating with any plugins.
I have checked .htaccess, memory limit to my server and in wp file is ok, I have deactivated all the plugins, changed themes, updated WordPress and still have the same issue.
I have check the error log and this is what it shows:
[Thu Jun 09 12:22:25 2016] [error] [client 217.73.141.38] Premature end of script headers: update-core.php, referer: http://www.salus.al/wp-admin/
[Thu Jun 09 12:22:29 2016] [warn] [client 217.73.141.38] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://www.salus.al/wp-admin/
[Thu Jun 09 12:22:29 2016] [error] [client 217.73.141.38] Premature end of script headers: plugins.php, referer: http://www.salus.al/wp-admin/
[Thu Jun 09 12:22:32 2016] [warn] [client 217.73.141.38] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://www.salus.al/wp-admin/
Remove or rename your plugins folder and see if the problem goes away. If it does, then add each plugin one at a time to see which one produces the error. Perhaps clear all cache, cookies, etc as well.

After login get blank page only in chrome

I look at this chapter in cookbook to write a login procedure.
http://symfony.com/doc/current/cookbook/security/form_login_setup.html
In firefox is everything fine. But in google chrome i get a blank page after login. In my error log exists following lines.
[Thu Feb 19 09:26:06.502498 2015] [proxy_fcgi:error] [pid 17203:tid 140244355569408] [client 192.168.56.1:4441] Premature end of script headers: , referer: http://app.dev-local/app_dev.php/login
[Thu Feb 19 09:26:06.502888 2015] [proxy_fcgi:error] [pid 17203:tid 140244355569408] [client 192.168.56.1:4441] AH01070: Error parsing script headers, referer: http://app.dev-local/app_dev.php/login
[Thu Feb 19 09:26:06.504918 2015] [proxy_fcgi:error] [pid 17203:tid 140244355569408] [client 192.168.56.1:4441] AH01068: Got bogus version 84, referer: http://app.dev-local/app_dev.php/login
[Thu Feb 19 09:26:06.507243 2015] [proxy_fcgi:error] [pid 17203:tid 140244355569408] (22)Invalid argument: [client 192.168.56.1:4441] AH01075: Error dispatching request to : (passing brigade to output filters), referer: http://app.dev-local/app_dev.php/login
I have following version:
Symfony 2.6
PHP 5.5.16
Apache/2.4.10
Ubuntu 14.04
Have someone the same issue? Can anyone give me a hint?
Check your config_prod.yml and config_dev.yml. Search for:
chromephp:
type: chromephp
and remove/comment that block. Example:
# chromephp:
# type: chromephp
# level: info
I think Chrome adds supplementary information in headers sent.

error logs: client denied by server configuration

this is my error logs!! pls help me.. googlerbot can't crawl my website too. i'm using shared hosting.
[Wed Apr 16 11:17:34 2014] [error] [client 198.143.34.33] client
denied by server configuration:
/home/markgelo/public_html/markgiver/403.shtml
[Wed Apr 16 11:17:34 2014] [error] [client 198.143.34.33] client
denied by server configuration:
/home/markgelo/public_html/markgiver/2014
[Wed Apr 16 11:17:30 2014] [error] [client 199.30.20.15] client denied
by server configuration:
/home/markgelo/public_html/mkvmusic.tk/403.shtml
[Wed Apr 16 11:17:30 2014] [error] [client 199.30.20.15] client denied
by server configuration: /home/markgelo/public_html/mkvmusic.tk/2014
[Wed Apr 16 11:17:29 2014] [error] [client 198.143.38.65] client
denied by server configuration: /home/markgelo/public_html/403.shtml
[Wed Apr 16 11:17:29 2014] [error] [client 198.143.38.65] client
denied by server configuration:
/home/markgelo/public_html/download-strike-the-blood-all-episodes-720p-80mb-english-subbed-mediafire
[Wed Apr 16 11:17:20 2014] [error] [client 199.30.20.10] client denied
by server configuration:
/home/markgelo/public_html/mkvmusic.tk/403.shtml
[Wed Apr 16 11:17:20 2014] [error] [client 199.30.20.10] client denied
by server configuration: /home/markgelo/public_html/mkvmusic.tk/2014
[Wed Apr 16 11:17:13 2014] [error] [client 5.255.253.38] client denied
by server configuration:
/home/markgelo/public_html/androidnews/403.shtml
[Wed Apr 16 11:17:13 2014] [error] [client 5.255.253.38] client denied
by server configuration:
/home/markgelo/public_html/androidnews/wp-content
[Wed Apr 16 11:17:09 2014] [error] [client 198.143.46.33] client
denied by server configuration: /home/markgelo/public_html/403.shtml
[Wed Apr 16 11:17:09 2014] [error] [client 198.143.46.33] client
denied by server configuration:
/home/markgelo/public_html/wp-content/uploads/2013/03/542102.jpg
[Wed Apr 16 11:17:07 2014] [error] [client 5.255.253.38] client denied
by server configuration:
/home/markgelo/public_html/androidnews/403.shtml
[Wed Apr 16 11:17:07 2014] [error] [client 5.255.253.38] client denied
by server configuration:
/home/markgelo/public_html/androidnews/wp-content
[Wed Apr 16 11:17:02 2014] [error] [client 65.55.215.34] client denied
by server configuration: /home/markgelo/public_html/hentai/403.shtml
[Wed Apr 16 11:17:02 2014] [error] [client 65.55.215.34] client denied
by server configuration:
/home/markgelo/public_html/hentai/wp-content/uploads/2013/08/H62_Initiation_LRG.jpg
[Wed Apr 16 11:16:58 2014] [error] [client 198.143.39.1] client denied
by server configuration: /home/markgelo/public_html/403.shtml
[Wed Apr 16 11:16:58 2014] [error] [client 198.143.39.1] client denied
by server configuration: /home/markgelo/public_html/
[Wed Apr 16 11:16:53 2014] [error] [client 180.76.6.146] client denied
by server configuration:
/home/markgelo/public_html/backlinks/403.shtml
[Wed Apr 16 11:16:53 2014] [error] [client 180.76.6.146] client denied
by server configuration: /home/markgelo/public_html/backlinks/
[Wed Apr 16 11:16:47 2014] [error] [client 66.249.77.99] client denied
by server configuration: /home/markgelo/public_html/android/403.shtml
[Wed Apr 16 11:16:47 2014] [error] [client 66.249.77.99] client denied
by server configuration: /home/markgelo/public_html/android/2013
[Wed Apr 16 11:16:42 2014] [error] [client 66.249.77.71] client denied
by server configuration:
/home/markgelo/public_html/mkvmusic.tk/403.shtml
[Wed Apr 16 11:16:42 2014] [error] [client 66.249.77.71] client denied
by server configuration: /home/markgelo/public_html/mkvmusic.tk/2014
[Wed Apr 16 11:16:41 2014] [error] [client 199.21.148.44] client
denied by server configuration:
/home/markgelo/public_html/android/403.shtml
[Wed Apr 16 11:16:41 2014] [error] [client 199.21.148.44] client
denied by server configuration:
/home/markgelo/public_html/android/android-games
[Wed Apr 16 11:16:34 2014] [error] [client 157.55.33.182] client
denied by server configuration:
/home/markgelo/public_html/markgiver/403.shtml
[Wed Apr 16 11:16:34 2014] [error] [client 157.55.33.182] client
denied by server configuration:
/home/markgelo/public_html/markgiver/2013
[Wed Apr 16 11:16:34 2014] [error] [client 157.55.33.182] client
denied by server configuration:
/home/markgelo/public_html/markgiver/403.shtml
I had the same issue today. It was a problem with .htaccess file of the server in my case.
You can find it in the /public_html/ folder.
Rename it to .htacces_old, or with some other name, then try to reload a website page.
If you can't find this file - it may be because this is a hidden file. You can change it's visiblility on CPANEL > Settings, check a box "Show hidden files (dotfiles).
One of your Wordpress security plugins checks each IP against a blacklist of IPs and if there is a match then that IP is not allowed to connect.
I checked 2 of the IPs listed above and one came up:
http://www.liveipmap.com/199.21.148.44 (open proxy)
and another came up
https://www.projecthoneypot.org/ip_198.143.38.33 (spam harvester / comment spammer)
If you want to allow open proxy and comment spammers, you need to check every setting in your security plugin or find a different plugin to use).
http://wordpress.org/support/topic/plugin-better-wp-security-404-not-found-on-all-site-links
Go to the WP Dashboard --> Settings --> Permalinks
click on default and save changes.
Then click on Postname and save changes.
I have rechecked my logs throughout the last hour and there are NO errors in the logs! Woot!
Now if Bit51 would have addressed this directly ... it so would have solved a headache I really did not need today! UGH.
good luck!!

Ceilometer Http 500

I was installing Ceilometer using this guide: http://docs.openstack.org/developer/ceilometer/install/manual.html
After I have finished everything, I try to test it by using: ceilometer meter-list and it gives me this error: HTTPInternalServerError (HTTP 500)
Here's what I have in the log:
root#iaas-hk01:/etc/apache2/sites-enabled# tail -f /var/log/apache2/ceilometer_error.log
[Wed Jul 24 18:35:48 2013] [error] File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/strategies.py", line 80, in connect
[Wed Jul 24 18:35:48 2013] [error] return dialect.connect(*cargs, **cparams)
[Wed Jul 24 18:35:48 2013] [error]
[Wed Jul 24 18:35:48 2013] [error] File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 281, in connect
[Wed Jul 24 18:35:48 2013] [error] return self.dbapi.connect(*cargs, **cparams)
[Wed Jul 24 18:35:48 2013] [error]
[Wed Jul 24 18:35:48 2013] [error] OperationalError: (OperationalError) unable to open database file None None
[Wed Jul 24 18:35:48 2013] [error]
[Wed Jul 24 18:35:48 2013] [error] [client 192.168.10.16] mod_wsgi (pid=2178): Exception occurred processing WSGI script '/opt/stack/ceilometer/ceilometer/api/app.wsgi'.
[Wed Jul 24 18:35:48 2013] [error] [client 192.168.10.16] TypeError: expected byte string object for header value, value of type int found
Hopefully someone can provide me some guidance in fixing this.
you should set the keystone api - end points. so that ceilometer api can talk with keystone...
Here are steps...
Create a service for ceilometer in keystone
$ keystone service-create --name=ceilometer \
--type=metering \
--description="Ceilometer Service"
Create an endpoint in keystone for ceilometer
$ keystone endpoint-create --region RegionOne \
--service_id $CEILOMETER_SERVICE \
--publicurl "http://$SERVICE_HOST:8777/" \
--adminurl "http://$SERVICE_HOST:8777/" \
--internalurl "http://$SERVICE_HOST:8777/"
Note that: 8777 is the default port of ceilometer if you have customised use the customised one..

Resources