It works again,
I re enter login and password to access BD in Supervision / Configuration.
Virginie Girou
Equipe systeme
DSI - UT1 Capitole
Tel : +33 (0)5.61.63.39.19
Le 30/01/2017 11:28, Virginie Girou a écrit :
Hello,
I have all dashboard graph view broken.
I am in v 6.4.0 and perform a pf-maint.pl and a reboot before it happens
What I can say is that :
* netstat -nl shows 9000 is Listen
* iptables -nl shows 9000 is accepted
* I can't access http://mypacketfenceip:9000/ I have an "Internal
Server Error" message.
Here is errors I can see in httpd.graphite.error :
[Mon Jan 30 10:14:03.433602 2017] [:error] [pid 19866] [client
10.26.5.7:52531] mod_wsgi (pid=19866): Exception occurred processing
WSGI script '/usr/local/pf/conf/httpd.conf.d/graphite-web.wsgi'.
[Mon Jan 30 10:14:03.433628 2017] [:error] [pid 19866] [client
10.26.5.7:52531] Traceback (most recent call last):
[Mon Jan 30 10:14:03.433650 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/local/pf/conf/httpd.conf.d/graphite-web.wsgi", line 20, in <module>
[Mon Jan 30 10:14:03.433680 2017] [:error] [pid 19866] [client
10.26.5.7:52531] import graphite.metrics.search
[Mon Jan 30 10:14:03.433693 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/graphite/metrics/search.py", line 6,
in <module>
[Mon Jan 30 10:14:03.433708 2017] [:error] [pid 19866] [client
10.26.5.7:52531] from graphite.storage import is_pattern,
match_entries
[Mon Jan 30 10:14:03.433714 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/graphite/storage.py", line 9, in
<module>
[Mon Jan 30 10:14:03.433725 2017] [:error] [pid 19866] [client
10.26.5.7:52531] from graphite.remote_storage import RemoteStore
[Mon Jan 30 10:14:03.433730 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/graphite/remote_storage.py", line 8,
in <module>
[Mon Jan 30 10:14:03.433756 2017] [:error] [pid 19866] [client
10.26.5.7:52531] from graphite.util import unpickle
[Mon Jan 30 10:14:03.433766 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/graphite/util.py", line 81, in <module>
[Mon Jan 30 10:14:03.433780 2017] [:error] [pid 19866] [client
10.26.5.7:52531] defaultUser = User.objects.get(username='default')
[Mon Jan 30 10:14:03.433786 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/django/db/models/manager.py", line
151, in get
[Mon Jan 30 10:14:03.433805 2017] [:error] [pid 19866] [client
10.26.5.7:52531] return self.get_queryset().get(*args, **kwargs)
[Mon Jan 30 10:14:03.433812 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/django/db/models/query.py", line
304, in get
[Mon Jan 30 10:14:03.433823 2017] [:error] [pid 19866] [client
10.26.5.7:52531] num = len(clone)
[Mon Jan 30 10:14:03.433835 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/django/db/models/query.py", line 77,
in __len__
[Mon Jan 30 10:14:03.433848 2017] [:error] [pid 19866] [client
10.26.5.7:52531] self._fetch_all()
[Mon Jan 30 10:14:03.433859 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/django/db/models/query.py", line
857, in _fetch_all
[Mon Jan 30 10:14:03.433882 2017] [:error] [pid 19866] [client
10.26.5.7:52531] self._result_cache = list(self.iterator())
[Mon Jan 30 10:14:03.433892 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/django/db/models/query.py", line
220, in iterator
[Mon Jan 30 10:14:03.433904 2017] [:error] [pid 19866] [client
10.26.5.7:52531] for row in compiler.results_iter():
[Mon Jan 30 10:14:03.433913 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py",
line 713, in results_iter
[Mon Jan 30 10:14:03.433924 2017] [:error] [pid 19866] [client
10.26.5.7:52531] for rows in self.execute_sql(MULTI):
[Mon Jan 30 10:14:03.433933 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py",
line 785, in execute_sql
[Mon Jan 30 10:14:03.433943 2017] [:error] [pid 19866] [client
10.26.5.7:52531] cursor = self.connection.cursor()
[Mon Jan 30 10:14:03.433953 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/django/db/backends/__init__.py",
line 162, in cursor
[Mon Jan 30 10:14:03.433965 2017] [:error] [pid 19866] [client
10.26.5.7:52531] cursor = util.CursorWrapper(self._cursor(), self)
[Mon Jan 30 10:14:03.433973 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/django/db/backends/__init__.py",
line 132, in _cursor
[Mon Jan 30 10:14:03.433984 2017] [:error] [pid 19866] [client
10.26.5.7:52531] self.ensure_connection()
[Mon Jan 30 10:14:03.433994 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/django/db/backends/__init__.py",
line 127, in ensure_connection
[Mon Jan 30 10:14:03.434006 2017] [:error] [pid 19866] [client
10.26.5.7:52531] self.connect()
[Mon Jan 30 10:14:03.434016 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/django/db/utils.py", line 99, in
__exit__
[Mon Jan 30 10:14:03.434027 2017] [:error] [pid 19866] [client
10.26.5.7:52531] six.reraise(dj_exc_type, dj_exc_value, traceback)
[Mon Jan 30 10:14:03.434035 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/django/db/backends/__init__.py",
line 127, in ensure_connection
[Mon Jan 30 10:14:03.434045 2017] [:error] [pid 19866] [client
10.26.5.7:52531] self.connect()
[Mon Jan 30 10:14:03.434054 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/django/db/backends/__init__.py",
line 115, in connect
[Mon Jan 30 10:14:03.434065 2017] [:error] [pid 19866] [client
10.26.5.7:52531] self.connection =
self.get_new_connection(conn_params)
[Mon Jan 30 10:14:03.434075 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib/python2.7/site-packages/django/db/backends/mysql/base.py",
line 435, in get_new_connection
[Mon Jan 30 10:14:03.434086 2017] [:error] [pid 19866] [client
10.26.5.7:52531] conn = Database.connect(**conn_params)
[Mon Jan 30 10:14:03.434095 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib64/python2.7/site-packages/MySQLdb/__init__.py", line 81, in
Connect
[Mon Jan 30 10:14:03.434108 2017] [:error] [pid 19866] [client
10.26.5.7:52531] return Connection(*args, **kwargs)
[Mon Jan 30 10:14:03.434117 2017] [:error] [pid 19866] [client
10.26.5.7:52531] File
"/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 193,
in __init__
[Mon Jan 30 10:14:03.434127 2017] [:error] [pid 19866] [client
10.26.5.7:52531] super(Connection, self).__init__(*args, **kwargs2)
[Mon Jan 30 10:14:03.434153 2017] [:error] [pid 19866] [client
10.26.5.7:52531] OperationalError: (1045, "Access denied for user
'admin'@'localhost' (using password: YES)")
Do you have any idea to solve it ?
Regards,
Virginie Girou
Equipe systeme
DSI - UT1 Capitole
Tel : +33 (0)5.61.63.39.19
!DSPAM:67760,588f35b8197971323016036!
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
!DSPAM:67760,588f35b8197971323016036!
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
!DSPAM:67760,588f35b8197971323016036!
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users