summaryrefslogtreecommitdiff
path: root/docs/platform/troubleshooting.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/platform/troubleshooting.md')
-rw-r--r--docs/platform/troubleshooting.md23
1 files changed, 12 insertions, 11 deletions
diff --git a/docs/platform/troubleshooting.md b/docs/platform/troubleshooting.md
index 6869a8e..528248d 100644
--- a/docs/platform/troubleshooting.md
+++ b/docs/platform/troubleshooting.md
@@ -17,8 +17,9 @@ Places to look for errors
* `/var/log/apache2/error.log`
* `/srv/leap/webapp/log/production.log`
* `/var/log/syslog` (watch out for stunnel issues)
+* `/var/log/leap/*`
-Is haproxy ok ?
+Is haproxy ok ?
---------------
@@ -33,7 +34,7 @@ Is couchdb accessible through stunnel ?
curl -s -X GET "http://127.0.0.1:4000"
curl -s -X GET "http://127.0.0.1:4001"
- ...
+ ...
Check couchdb acl as admin
@@ -47,7 +48,7 @@ Check couchdb acl as admin
curl -s --netrc-file /etc/couchdb/couchdb-admin.netrc -X GET "http://127.0.0.1:4096"
curl -s --netrc-file /etc/couchdb/couchdb-admin.netrc -X GET "http://127.0.0.1:4096/_all_dbs"
-Check couchdb acl as unpriviledged user
+Check couchdb acl as unpriviledged user
---------------------------------------
cat /srv/leap/webapp/config/couchdb.yml # see username and password
@@ -57,7 +58,7 @@ Check couchdb acl as unpriviledged user
curl -s --netrc-file /etc/couchdb/couchdb-webapp.netrc -X GET "http://127.0.0.1:4096"
curl -s --netrc-file /etc/couchdb/couchdb-webapp.netrc -X GET "http://127.0.0.1:4096/_all_dbs"
-
+
Check client config files
-------------------------
@@ -106,10 +107,10 @@ Bigcouch membership
Databases
---------
-* Following output shows all neccessary DBs that should be present. Note that the `user-0123456....` DBs are the data stores for a particular user.
+* Following output shows all neccessary DBs that should be present. Note that the `user-0123456....` DBs are the data stores for a particular user.
<pre>
- curl -s --netrc-file /etc/couchdb/couchdb.netrc -X GET 'http://127.0.0.1:5984/_all_dbs'
+ curl -s --netrc-file /etc/couchdb/couchdb.netrc -X GET 'http://127.0.0.1:5984/_all_dbs'
["customers","identities","sessions","shared","tickets","tokens","user-0","user-9d34680b01074c75c2ec58c7321f540c","user-9d34680b01074c75c2ec58c7325fb7ff","users"]
</pre>
@@ -164,19 +165,19 @@ Is couchdb accessible through stunnel ?
curl -s -X GET "http://127.0.0.1:4000"
curl -s -X GET "http://127.0.0.1:4001"
- ...
+ ...
Query leap-mx
-------------
-* for useraccount
+* for useraccount
<pre>
postmap -v -q "joe@dev.bitmask.net" tcp:localhost:2244
...
postmap: dict_tcp_lookup: send: get jow@dev.bitmask.net
- postmap: dict_tcp_lookup: recv: 200
+ postmap: dict_tcp_lookup: recv: 200
...
</pre>
@@ -194,7 +195,7 @@ Query leap-mx
</pre>
-Check couchdb acl as unpriviledged user
+Check couchdb acl as unpriviledged user
---------------------------------------
@@ -232,7 +233,7 @@ Mailspool
Testing mail delivery
---------------------
- swaks -f alice@example.org -t bob@example.net -s mx1.example.net --port 25
+ swaks -f alice@example.org -t bob@example.net -s mx1.example.net --port 25
swaks -f varac@cdev.bitmask.net -t varac@cdev.bitmask.net -s chipmonk.cdev.bitmask.net --port 465 --tlsc
swaks -f alice@example.org -t bob@example.net -s mx1.example.net --port 587 --tls