الفرق بين المراجعتين ل"مستخدم:Wafaa/Pandora Installation and Configuration Issues"
سطر 1: | سطر 1: | ||
− | + | #'''Loading screen after installation:''' | |
+ | |||
FIX→ | FIX→ | ||
− | + | *uninstall rabbitmq and install it again | |
+ | |||
+ | #'''2- ImportError: No module named mongoengine.django.sessions (IN Terminal)''' | ||
− | |||
FIX→ | FIX→ | ||
− | + | * run requirements.txt again. This error is the cause of not properly installed django and django extensions in the dir /srv/pandora/src | |
⇒ cd /srv/pandora | ⇒ cd /srv/pandora | ||
run ./bin/pip install -r requirements.txt | run ./bin/pip install -r requirements.txt | ||
− | + | #''' | |
− | + | ERROR: Site pandora does not exist! when run a2ensite pandora (Terminal) | |
− | (step b) in README file for pandora installation tutorial in the wiki https://wiki.0x2620.org/browser/pandora/README) | + | (step b) in README file for pandora installation tutorial in the wiki https://wiki.0x2620.org/browser/pandora/README''') |
FIX→ | FIX→ | ||
− | + | * rename pandora.conf to be pandora.com /etc/apache2/sites-available | |
then run | then run | ||
a2ensite pandora.com | a2ensite pandora.com | ||
− | + | ||
− | + | ||
+ | #'''Syntax error on line 22 of /etc/apache2/sites-enabled/pandora.com: (Termial) | ||
Invalid command 'ProxyRequests', perhaps misspelled or defined by a module not included in the server configuration | Invalid command 'ProxyRequests', perhaps misspelled or defined by a module not included in the server configuration | ||
Action 'configtest' failed. | Action 'configtest' failed. | ||
− | The Apache error log may have more information ...fail | + | The Apache error log may have more information ...fail''' |
FIX→ | FIX→ | ||
− | + | ||
− | sudo a2enmod proxy | + | |
+ | sudo a2enmod proxy* | ||
then service apache2 restart | then service apache2 restart | ||
− | + | ||
− | + | #''' | |
− | the server responded with a status of 404 | + | Blank page (Empty page of death OR white page). When use the browser console, find error: (Browser) |
+ | the server responded with a status of 404''' | ||
FIX→ | FIX→ | ||
− | |||
− | |||
− | |||
− | |||
− | + | disable DEBUG= True in the local_settings.py and make it DEBUG= False* | |
+ | |||
+ | #''' | ||
+ | When restart apache, I get this error (In Terminal): | ||
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName | apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName | ||
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 | (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 | ||
سطر 46: | سطر 50: | ||
Unable to open logs | Unable to open logs | ||
Action 'start' failed. | Action 'start' failed. | ||
− | The Apache error log may have more information. | + | The Apache error log may have more information'''. |
+ | |||
FIX→ | FIX→ | ||
− | + | * Uninstall nginx related packages that use port 80. If you are using apache server | |
− | + | #'''error apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName''' | |
+ | |||
FIX→ | FIX→ | ||
− | + | * add this line ⇒ ServerName localhost | |
to the end of the file /etc/apache2/apache2.conf then restart the apache | to the end of the file /etc/apache2/apache2.conf then restart the apache | ||
/etc/init.d/apache2 restart | /etc/init.d/apache2 restart | ||
+ | #''' | ||
+ | apache2: Syntax error on line 236 of /etc/apache2/apache2.conf: Syntax error on line 53 of /etc/apache2/sites-enabled/pandora.com: Expected </Location> but saw </VirtualHost> (Terminal)FIX→ | ||
+ | ''' | ||
− | + | * edit the file /etc/apache2/sites-enabled/pandora.com and remove line 4 that include the extra tag <Location /> save and restart apache | |
− | |||
− | + | #'''server not found (Error loading page) (Browser)''' | |
− | |||
− | |||
FIX→ | FIX→ | ||
− | + | * cd /srv/pandora/pandora | |
su pandora | su pandora | ||
run → ./manage.py runserver | run → ./manage.py runserver | ||
سطر 78: | سطر 84: | ||
− | + | #'''OperationalError: FATAL: Peer authentication failed for user "pandora"''' | |
FIX→ | FIX→ | ||
− | + | * su pandora | |
− | + | #'''Sorry, you have made an unauthorized request. (Browser) error when try to access anything like (add new list, manage users). Although I signed up 1st account to be admin''' | |
FIX→ | FIX→ | ||
− | comment the line that has SESSION_COOKIE_DOMAIN in local_settings.py | + | *comment the line that has SESSION_COOKIE_DOMAIN in local_settings.py |
− | + | # '''IOError: [Errno 26] Text file busy: './bin/python' django (Terminal) when run: | |
virtualenv --system-site-packages . | virtualenv --system-site-packages . | ||
− | FIX→ | + | FIX→''' |
− | should not apply virtual env packages after installation | + | *should not apply virtual env packages after installation |
− | + | #'''pandora_client config | |
Current Config: | Current Config: | ||
User pandora | User pandora | ||
سطر 118: | سطر 124: | ||
DATA_SERVICE = 'https://data.0xdb.org/api/' | DATA_SERVICE = 'https://data.0xdb.org/api/' | ||
VIDEO_PREFIX = "//video{uid}.127.0.0.1" | VIDEO_PREFIX = "//video{uid}.127.0.0.1" | ||
− | SESSION_COOKIE_DOMAIN = ".127.0.0.1" | + | SESSION_COOKIE_DOMAIN = ".127.0.0.1'''" |
NOT FIXED TILL NOW | NOT FIXED TILL NOW |
مراجعة 12:20، 1 سبتمبر 2013
- Loading screen after installation:
FIX→
- uninstall rabbitmq and install it again
- 2- ImportError: No module named mongoengine.django.sessions (IN Terminal)
FIX→
- run requirements.txt again. This error is the cause of not properly installed django and django extensions in the dir /srv/pandora/src
⇒ cd /srv/pandora run ./bin/pip install -r requirements.txt
ERROR: Site pandora does not exist! when run a2ensite pandora (Terminal)
(step b) in README file for pandora installation tutorial in the wiki https://wiki.0x2620.org/browser/pandora/README) FIX→
- rename pandora.conf to be pandora.com /etc/apache2/sites-available
then run a2ensite pandora.com
#Syntax error on line 22 of /etc/apache2/sites-enabled/pandora.com: (Termial)
Invalid command 'ProxyRequests', perhaps misspelled or defined by a module not included in the server configuration Action 'configtest' failed. The Apache error log may have more information ...fail FIX→
sudo a2enmod proxy*
then service apache2 restart
Blank page (Empty page of death OR white page). When use the browser console, find error: (Browser)
the server responded with a status of 404 FIX→
disable DEBUG= True in the local_settings.py and make it DEBUG= False*
When restart apache, I get this error (In Terminal):
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs Action 'start' failed. The Apache error log may have more information.
FIX→
- Uninstall nginx related packages that use port 80. If you are using apache server
#error apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
FIX→
- add this line ⇒ ServerName localhost
to the end of the file /etc/apache2/apache2.conf then restart the apache /etc/init.d/apache2 restart
apache2: Syntax error on line 236 of /etc/apache2/apache2.conf: Syntax error on line 53 of /etc/apache2/sites-enabled/pandora.com: Expected </Location> but saw </VirtualHost> (Terminal)FIX→
- edit the file /etc/apache2/sites-enabled/pandora.com and remove line 4 that include the extra tag <Location /> save and restart apache
#server not found (Error loading page) (Browser)
FIX→
- cd /srv/pandora/pandora
su pandora run → ./manage.py runserver If did not switch to pandora user, will get the error:
#OperationalError: FATAL: Peer authentication failed for user "pandora"
FIX→
- su pandora
#Sorry, you have made an unauthorized request. (Browser) error when try to access anything like (add new list, manage users). Although I signed up 1st account to be admin
FIX→
*comment the line that has SESSION_COOKIE_DOMAIN in local_settings.py
- IOError: [Errno 26] Text file busy: './bin/python' django (Terminal) when run:
virtualenv --system-site-packages . FIX→
*should not apply virtual env packages after installation
#pandora_client config
Current Config:
User pandora URL:http://127.0.0.1:8000/api/
Leave empty to keep current value
Username: Password: Pan.do/ra URL(i.e. http://pad.ma/api/):
configuration updated. pandora@ADEF-Wafaa:/home/wafaa/Videos$ pandora_client scan
login failed! check config
(current config of local_seetings.py)--> DATA_SERVICE = 'https://data.0xdb.org/api/' VIDEO_PREFIX = "//video{uid}.127.0.0.1" SESSION_COOKIE_DOMAIN = ".127.0.0.1"
NOT FIXED TILL NOW