Failed to start Grafana Service - Plugin folder permission denied - plugins

Attempting a fresh installation of Grafana on my new machine and ran into an issue while configuring my custom plugins folder.
Failed to start grafana. error: stat /home/asw-user/plugins: permission denied
Issue
Grafana service is able to start when I don't modify plugin folder location, but when I change it to a custom directory the service fails to start...
Followed all the steps in docs, but am not sure what permission issue I have
Log Output (/var/log/syslog)
Oct 12 11:47:30 asw grafana-server[5758]: t=2021-10-12T11:47:30-0500 lvl=info msg="Path Logs" logger=settings path=/var/log/grafana
Oct 12 11:47:30 asw grafana-server[5758]: t=2021-10-12T11:47:30-0500 lvl=info msg="Path Plugins" logger=settings path=/home/asw-user/plugins
Oct 12 11:47:30 asw grafana-server[5758]: t=2021-10-12T11:47:30-0500 lvl=info msg="Path Provisioning" logger=settings path=/etc/grafana/provisioning
Oct 12 11:47:30 asw grafana-server[5758]: t=2021-10-12T11:47:30-0500 lvl=info msg="App mode development" logger=settings
Oct 12 11:47:30 asw grafana-server[5758]: t=2021-10-12T11:47:30-0500 lvl=info msg="Connecting to DB" logger=sqlstore dbtype=sqlite3
Oct 12 11:47:30 asw grafana-server[5758]: t=2021-10-12T11:47:30-0500 lvl=info msg="Starting DB migrations" logger=migrator
Oct 12 11:47:30 asw grafana-server[5758]: t=2021-10-12T11:47:30-0500 lvl=info msg="migrations completed" logger=migrator performed=0 skipped=346 duration=422.573µs
Oct 12 11:47:30 asw grafana-server[5758]: t=2021-10-12T11:47:30-0500 lvl=info msg="Starting plugin search" logger=plugins
Oct 12 11:47:30 asw grafana-server[5758]: t=2021-10-12T11:47:30-0500 lvl=info msg="Registering plugin" logger=plugins id=input
Oct 12 11:47:30 asw grafana-server[5758]: Failed to start grafana. error: stat /home/asw-user/plugins: permission denied
Oct 12 11:47:30 asw grafana-server[5758]: stat /home/asw-user/plugins: permission denied
Oct 12 11:47:30 asw systemd[1]: grafana-server.service: Main process exited, code=exited, status=1/FAILURE
Oct 12 11:47:30 asw systemd[1]: grafana-server.service: Failed with result 'exit-code'.
Oct 12 11:47:30 asw systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 5.
Oct 12 11:47:30 asw systemd[1]: Stopped Grafana instance.
Oct 12 11:47:30 asw systemd[1]: grafana-server.service: Start request repeated too quickly.
Oct 12 11:47:30 asw systemd[1]: grafana-server.service: Failed with result 'exit-code'.
Oct 12 11:47:30 asw systemd[1]: Failed to start Grafana instance.
Version: v8.2.1

The user which runs the "grafana-server" must have permission to read/write/execute the "/home/asw-user/plugins" directory.

Related

Apache Zookeeper: Unable to access data directory

OS: RHEL 8.2
I am trying to create a systemctl service for zookeeper. It fails to access the datadir.
Here is my config for zookeeper,
dataDir=/opt/zookeeper
maxClientCnxns=20
tickTime=2000
dataDir=/var/zookeeper/
initLimit=20
syncLimit=10
server.0=master:2888:3888
clientPort=2181
admin.serverPort=8082
Permission of /opt/zookeeper is set to 777.
[user1#server1 opt]$ ls -lart
total 0
dr-xr-xr-x. 17 root root 244 Jul 3 10:56 ..
drwxr-xr-x 3 root root 27 Jul 10 10:29 rh
drw-r--r-- 2 user2 user2 6 Jul 17 08:48 hsluw_data
drw-r--r-- 2 user2 user2 6 Jul 17 08:58 hsluw_config
drwxr-xr-x. 6 root root 71 Jul 17 08:58 .
drwxrwxrwx 3 user2 user2 23 Jul 17 09:40 zookeeper
If I run the command,
./bin/zookeeper-server-start.sh config/zookeeper.properties
it gives me an error message: Unable to access datadir
[2020-07-30 10:25:50,767] ERROR Invalid configuration, only one server specified (ignoring) (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2020-07-30 10:25:50,767] INFO Starting server (org.apache.zookeeper.server.ZooKeeperServerMain)
[2020-07-30 10:25:50,769] INFO zookeeper.snapshot.trust.empty : false (org.apache.zookeeper.server.persistence.FileTxnSnapLog)
[2020-07-30 10:25:50,769] ERROR Unable to access datadir, exiting abnormally (org.apache.zookeeper.server.ZooKeeperServerMain)
org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory /var/zookeeper/version-2
at org.apache.zookeeper.server.persistence.FileTxnSnapLog.<init>(FileTxnSnapLog.java:132)
at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:124)
at org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:106)
at org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:64)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:128)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:82)
Unable to access datadir, exiting abnormally
However, sudoing the above command works,
sudo ./bin/zookeeper-server-start.sh config/zookeeper.properties
Now I have created a service in /etc/systemd/system/zookeeper.service
I wrote the service in /etc/systemd/system/zookeeper.service in this way,
[Unit]
Requires=network.target remote-fs.target
After=network.target remote-fs.target
[Service]
Type=simple
User=user2
ExecStart=/home/user2/kafka/bin/zookeeper-server-start.sh /home/user2/kafka/config/zookeeper.properties
ExecStop=/home/user2/kafka/bin/zookeeper-server-stop.sh
Restart=on-abnormal
[Install]
WantedBy=multi-user.target
The SELinux status is disabled.
user2#server1$ sestatus
SELinux status: disabled
Now if I do the following
sudo systemctl daemon-reload
sudo systemctl start zookeeper
sudo systemctl enable zookeeper
I am getting the the same Unable to access the datadir error like the following,
[user2#server1 /]$ systemctl status zookeeper
\u25cf zookeeper.service
Loaded: loaded (/etc/systemd/system/zookeeper.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2020-07-30 10:13:19 CEST; 24s ago
Main PID: 12911 (code=exited, status=3)
Jul 30 10:13:19 server1.localdomain zookeeper-server-start.sh[12911]: org.apache.zookeeper.server.persistence.FileTxnSnapLog$Data>
Jul 30 10:13:19 server1.localdomain zookeeper-server-start.sh[12911]: at org.apache.zookeeper.server.persistence.FileTxnS>
Jul 30 10:13:19 server1.localdomain zookeeper-server-start.sh[12911]: at org.apache.zookeeper.server.ZooKeeperServerMain.>
Jul 30 10:13:19 server1.localdomain zookeeper-server-start.sh[12911]: at org.apache.zookeeper.server.ZooKeeperServerMain.>
Jul 30 10:13:19 server1.localdomain zookeeper-server-start.sh[12911]: at org.apache.zookeeper.server.ZooKeeperServerMain.>
Jul 30 10:13:19 server1.localdomain zookeeper-server-start.sh[12911]: at org.apache.zookeeper.server.quorum.QuorumPeerMai>
Jul 30 10:13:19 server1.localdomain zookeeper-server-start.sh[12911]: at org.apache.zookeeper.server.quorum.QuorumPeerMai>
Jul 30 10:13:19 server1.localdomain zookeeper-server-start.sh[12911]: Unable to access datadir, exiting abnormally
Jul 30 10:13:19 server1.localdomain systemd[1]: zookeeper.service: Main process exited, code=exited, status=3/NOTIMPLEMENTED
Jul 30 10:13:19 server1.localdomain systemd[1]: zookeeper.service: Failed with result 'exit-code'.
What am I missing here?
In the configuration file, this line
dataDir=/var/zookeeper/
appears twice. Removing that line solves the issue.

ProductCatalogOutputConfig returning zero results

When i try to do base line index it is getting success but ProductCatalogOutputConfig returining zero results. I am using 11.2 version.
I have verified my switching datas and site ids for all(catalog,category,products,skus). all are being properly associated. even i able to generate the test data from ProductCatalogOutputConfig compononent in dyn/admin.
PreIndexing (Duration: 0:00:00)
/atg/commerce/endeca/index/CategoryTreeService COMPLETE (Succeeded) RepositoryExport (Duration: 0:00:11)
/atg/commerce/endeca/index/SchemaExporter *79* 0 COMPLETE (Succeeded)
/atg/commerce/endeca/index/CategoryToDimensionOutputConfig *18* 0 COMPLETE (Succeeded)
/atg/commerce/endeca/index/RepositoryTypeDimensionExporter *15* 0 COMPLETE (Succeeded)
/atg/commerce/search/ProductCatalogOutputConfig *0* 0 COMPLETE (Succeeded)
EndecaIndexing (Duration: 0:00:37)
/atg/commerce/endeca/index/EndecaScriptService COMPLETE (Succeeded)
I have enabled debug for bulk load component and noticed one error like in the below
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691248 /atg/search/repository/BulkLoader itemDescriptor: [ItemDesc: product]
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691249 /atg/search/repository/BulkLoader repositoryView: atg.adapter.gsa.GSAView#21be285c
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691250 /atg/search/repository/BulkLoader client calling take() with 0 items in item queue
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691250 /atg/search/repository/BulkLoader ProcessRanges() calling take() with 0 items in range queue
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691259 /atg/search/repository/BulkLoader Got: 4
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691259 /atg/search/repository/BulkLoader batchCount:20,000, startIndex:0, endIndex:20,000
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691266 /atg/search/repository/BulkLoader ii=0, lastItem=null, query options=range 0-20000<sortby>
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691266 /atg/search/repository/BulkLoader <sortbyvalue value="id" dir=ascending case sensitive>
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691266 /atg/search/repository/BulkLoader </sortby>
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691275 /atg/search/repository/BulkLoader ids == [], size=0
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691277 /atg/search/repository/BulkLoader createIdRanges() thread is done
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691277 /atg/search/repository/BulkLoader ProcessRanges() took range: IdRange{firstItem:null, lastItem:null, inclusive?: false, terminal?:true}
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691280 /atg/search/repository/BulkLoader Put: 4
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691280 /atg/search/repository/BulkLoader First page returned 4 items.
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691281 /atg/search/repository/BulkLoader ProcessRanges() calling take() with 1 items in range queue
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691283 /atg/search/repository/BulkLoader ProcessRanges() took range: IdRange{firstItem:null, lastItem:null, inclusive?: false, terminal?:true}
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691285 /atg/search/repository/BulkLoader processRanges() thread is done
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691288 /atg/search/repository/BulkLoader processRanges() thread is done
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691289 /atg/search/repository/BulkLoader Interrupting taker thread: Thread[Thread-90,5,Pooled Threads]
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691290 /atg/search/repository/BulkLoader Interrupted fetching via ThreadedItemQueue java.lang.InterruptedException
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691290 /atg/search/repository/BulkLoader at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691290 /atg/search/repository/BulkLoader at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2048)
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691290 /atg/search/repository/BulkLoader at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691290 /atg/search/repository/BulkLoader at atg.repository.search.indexing.ThreadedItemQueue.take(ThreadedItemQueue.java:383)
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691290 /atg/search/repository/BulkLoader at atg.repository.search.indexing.BulkLoaderImpl.fetchItemsUsingThreadedQueue(BulkLoaderImpl.java:530)
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691290 /atg/search/repository/BulkLoader at atg.repository.search.indexing.BulkLoaderImpl.loadPagedIteration(BulkLoaderImpl.java:599)
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691290 /atg/search/repository/BulkLoader at atg.repository.search.indexing.BulkLoaderImpl.bulkLoad(BulkLoaderImpl.java:997)
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691290 /atg/search/repository/BulkLoader at atg.repository.search.indexing.IndexingOutputConfig.bulkLoad(IndexingOutputConfig.java:1771)
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691290 /atg/search/repository/BulkLoader at atg.repository.search.indexing.IndexingOutputConfig.bulkLoadForDiagnostics(IndexingOutputConfig.java:1715)
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691290 /atg/search/repository/BulkLoader at atg.endeca.index.EndecaIndexingOutputConfig.performBaselineUpdate(EndecaIndexingOutputConfig.java:1197)
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691290 /atg/search/repository/BulkLoader at atg.endeca.index.admin.IndexingTask.doTask(IndexingTask.java:445)
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691290 /atg/search/repository/BulkLoader at atg.endeca.index.admin.IndexingTask.performTask(IndexingTask.java:388)
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691290 /atg/search/repository/BulkLoader at atg.endeca.index.admin.IndexingPhase$IndexingTaskJob.invoke(IndexingPhase.java:501)
debug Tue Jul 19 19:11:31 +05:30 2016 1468935691290 /atg/search/repository/BulkLoader at atg.common.util.ThreadDispatcherThread.run(ThreadDispatcherThread.java:178)
Please help me out from this issue.

MeteorJS Mongo connection timed out

I have a MeteorJS app that is not connecting to Mongo. It's been deployed using meteor deploy but for some reason it times out when trying to connect to the database :S I can still access the mongo database using meteor mongo and all of the data is present!
I am using Meteor 0.9.3.1 and here are my packages:
standard-app-packages
insecure
underscore
arunoda:npm#0.2.6
mrt:bootstrap-3
http
iron:router
mrt:q#0.9.7
mrt:moment#2.8.1
mrt:twilio-meteor
email
Here are the logs from meteor logs :
[Thu Oct 16 2014 17:39:25 GMT+0000 (UTC)] INFO Exception in setInterval callback: MongoError: connection to [production-db-a3.meteor.io:27017] timed out
at Object.Future.wait (/meteor/dev_bundles/0.3.55/lib/node_modules/fibers/future.js:326:15)
at _.extend._nextObject (packages/mongo/mongo_driver.js:858)
at _.extend.forEach (packages/mongo/mongo_driver.js:892)
at _.extend.map (packages/mongo/mongo_driver.js:902)
at _.extend.fetch (packages/mongo/mongo_driver.js:926)
at Cursor.(anonymous function) [as fetch] (packages/mongo/mongo_driver.js:741)
at Object.residentModel.getActiveResidents (app/shared/collections/residents.js:43:40)
at Object._.extend._run (app/server/services/deviceService/sensorChangeWatchdog.js:6:39)
at app/lib/watchdogFactory.js:7:12
at _.extend.withValue (packages/meteor/dynamics_nodejs.js:56)
- - - - -
at Object.toError (/meteor/containers/450809a5-5a17-5e6e-8233-85e6ad895366/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/utils.js:110:11)
at commandHandler (/meteor/containers/450809a5-5a17-5e6e-8233-85e6ad895366/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/cursor.js:679:63)
at null.<anonymous> (/meteor/containers/450809a5-5a17-5e6e-8233-85e6ad895366/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/db.js:1843:9)
at g (events.js:180:16)
at emit (events.js:98:17)
at Base.__executeAllServerSpecificErrorCallbacks (/meteor/containers/450809a5-5a17-5e6e-8233-85e6ad895366/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/connection/base.js:365:29)
at Server.<anonymous> (/meteor/containers/450809a5-5a17-5e6e-8233-85e6ad895366/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/connection/repl_set/ha.js:445:10)
at Server.g (events.js:180:16)
at Server.emit (events.js:98:17)
at null.<anonymous> (/meteor/containers/450809a5-5a17-5e6e-8233-85e6ad895366/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/connection/server.js:501:88)
[Thu Oct 16 2014 17:41:05 GMT+0000 (UTC)] INFO STATUS running -> killed
[Thu Oct 16 2014 17:41:05 GMT+0000 (UTC)] NOTICE Starting application on port 19159
[Thu Oct 16 2014 17:41:05 GMT+0000 (UTC)] INFO STATUS killed -> starting
[Thu Oct 16 2014 17:41:06 GMT+0000 (UTC)] INFO STATUS starting -> running
[Thu Oct 16 2014 17:41:07 GMT+0000 (UTC)] INFO init

How to setup new SOAPUI project to Office 365 Exchange (trouble accessing WSDL)

I'm trying to create a new SoapUI project for testing against Exchange Web Services in Office 365.
Attempt 1)
For the initial WSDL I specify https://outlook.office365.com/ews/services.wsdl.
SoapUI then prompts me for Basic Authentication for outlook.office365.com:443
If I enter the credentials that I use to login to Office365, this fails.
The login screen then comes back asking for Basic Authentication for outlook.office365.com:-1
Attempt 2)
Then I found this detailed guide How to get services.wsdl for Office 365?:
Using the Microsoft Remote Connectivity Analyzer I could extract https://pod51046.outlook.com/ews/exchange.asmx
So I next tried that, but then SoapUI responds:
"There was something wrong with the WSDL you are trying to import"
Error loading [https://pod51046.outlook.com/ews/exchange.wsdl]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected end of file after null
SoapUI Log says:
Tue Oct 14 13:35:48 CEST 2014:DEBUG:Getting wsdl component from [https://pod51046.outlook.com/ews/exchange.wsdl]
Tue Oct 14 13:35:48 CEST 2014:INFO:pod51046.outlook.com:443 requires authentication with the realm 'null'
Tue Oct 14 13:36:14 CEST 2014:ERROR:Failed to load url [https://pod51046.outlook.com/ews/exchange.wsdl]
Tue Oct 14 13:36:14 CEST 2014:ERROR:An error occurred [com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException], see error log for details
HTTP log says:
Tue Oct 14 13:35:48 CEST 2014:DEBUG:>> "GET /ews/exchange.wsdl HTTP/1.1[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:>> "Host: pod51046.outlook.com[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:>> "Connection: Keep-Alive[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:>> "User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:>> "Cookie: ClientId=LGJVIJZECEJQYUIHP0RW; X-BackEndCookie=jan#[snip].onmicrosoft.com=u56Lnp[snip]Fys0=; exchangecookie=0fe18[snip]ad43d[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:>> "Cookie2: $Version=1[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:>> "[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:<< "HTTP/1.1 401 Anonymous Request Disallowed[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:<< "Server: Microsoft-IIS/8.0[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:<< "request-id: fadbe60a-008b-4f16-859a-719aaa8794bc[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:<< "X-WSSecurity-Enabled: True[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:<< "X-WSSecurity-For: Logon[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:<< "X-FederationTrustTokenIssuerUri: urn:federation:MicrosoftOnline[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:<< "X-WSSecurity-SymmetricKey-Enabled: True[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:<< "X-WSSecurity-X509Cert-Enabled: True[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:<< "X-OAuth-Enabled: True[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:<< "X-Powered-By: ASP.NET[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:<< "X-FEServer: AM2PR02CA0041[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:<< "WWW-Authenticate: Basic Realm=""[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:<< "Date: Tue, 14 Oct 2014 11:35:55 GMT[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:<< "Content-Length: 0[\r][\n]"
Tue Oct 14 13:35:48 CEST 2014:DEBUG:<< "[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:>> "GET /ews/exchange.wsdl HTTP/1.1[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:>> "Host: pod51046.outlook.com[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:>> "Connection: Keep-Alive[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:>> "User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:>> "Cookie: ClientId=LGJVIJZECEJQYUIHP0RW; X-BackEndCookie=jan#[snip].onmicrosoft.com=u56Lnp2ejJ[snip]vFys0=; exchangecookie=0fe1867420a243b5993d336bbbead43d[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:>> "Cookie2: $Version=1[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:>> "Authorization: Basic amFuQFR[snip]RCVg==[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:>> "[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:<< "HTTP/1.1 404 Not Found[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:<< "Cache-Control: private[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:<< "Server: Microsoft-IIS/8.0[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:<< "request-id: 0bdf26cb-0fe3-418e-816f-a07324900119[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:<< "X-CalculatedBETarget: db3pr02mb203.eurprd02.prod.outlook.com[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:<< "X-DiagInfo: DB3PR02MB203[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:<< "X-BEServer: DB3PR02MB203[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:<< "X-AspNet-Version: 4.0.30319[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:<< "Set-Cookie: X-BackEndCookie=jan#[snip].onmicrosoft.com=u56Lnp2ejJqBy[snip]7FzMnFzc4=; expires=Thu, 13-Nov-2014 11:36:21 GMT; path=/ews; secure; HttpOnly[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:<< "X-Powered-By: ASP.NET[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:<< "X-FEServer: AM2PR02CA0041[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:<< "Date: Tue, 14 Oct 2014 11:36:20 GMT[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:<< "Content-Length: 0[\r][\n]"
Tue Oct 14 13:36:14 CEST 2014:DEBUG:<< "[\r][\n]"
Error log says:
Tue Oct 14 13:36:14 CEST 2014:ERROR:com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.makeInvalidDefinitionException(WsdlLoader.java:142)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:129)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:539)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:528)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(AbstractDefinitionCache.java:101)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:240)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:50)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:153)
at java.lang.Thread.run(Unknown Source)
Attempt 3)
If I put https://pod51046.outlook.com/ews/exchange.wsdl into the IE address bar it keeps prompting me for a login in IE.
That repeated prompting is mentioned in a comment here: How to access a wsdl URL in SoapUI, which requires username/password?, but after 3 logins (each time telling IE to remember my references) the returned page is blank:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type></HEAD>
<BODY></BODY></HTML>
I'm using the free SOAPUI 5.0.0 (latest version), with Java 7 (then 8) in a Win7/64 environment.
I have also cloned my VM and tried the SOAPUI Pro version as suggested in To create a SOAPUI project using a wsdl, but this did not help.
Any suggestions how to get this to work?
The right URL to use for Office 365 EWS WSDL is the first one you tried: https://outlook.office365.com/ews/services.wsdl. You should use this URL to get the WSDL. From the browser, when I enter my email address and password, I am able to get the WSDL without any problems.
I am not familiar with SOAPUI, so I am not sure why this URL + Basic auth isn't working with SOAP UI. Let me know if you have any questions or need more info.
[Additional notes by OP]
Thanks Venkat, that was the solution. There were additional complications why I did not get this correct in the first place. I'm writing them in the answer, because it's too much for comments.
I accidentally entered https://pod51046.outlook.com/ews/***exchange***.wsdl
instead of https://pod51046.outlook.com/ews/***services***.wsdl (which Oleg's blog actually mentioned, and I overlooked). This immediately gave the correct results in IE. Your suggestion of inputting the generic https://outlook.office365.com/ews/services.wsdl also works.
(I think that after having read somewhere that the actual URL is a pod... one, I doggedly kept trying that one after resolving it).
So this is why attempts 2 and 3 failed.
SOAP UI asks me 2 times 3 = 6 times for the login credentials when setting up the test project. I just was not persistent enough.
And this is why attempt 1 failed.

Meteor: Couldn't deploy

I deployed a site successfully a few days ago and was able to configure logins and do other stuff but today it is down. The strange thing is I deploy to a different location without any changes and now I couldn't even access the page to configure stuff. I don't really know how to debug these things. Here is the logs
[Wed Sep 11 2013 15:19:16 GMT+0000 (UTC)] INFO STATUS waiting -> starting
[Wed Sep 11 2013 15:19:16 GMT+0000 (UTC)] INFO STATUS starting -> running
[Wed Sep 11 2013 15:19:17 GMT+0000 (UTC)] WARNING timers.js:103
[Wed Sep 11 2013 15:19:17 GMT+0000 (UTC)] WARNING ^
[Wed Sep 11 2013 15:19:17 GMT+0000 (UTC)] WARNING if (!process.listeners('uncaughtException').length) throw e;
[Wed Sep 11 2013 15:19:17 GMT+0000 (UTC)] WARNING Error: Could not locate any valid servers in initial seed list
at MongoClient.connect.connectFunction (/meteor/containers/6c32717b-367c-bd8f-b229-ad69088fe830/bundle/programs/server/npm/mongo-livedata/main/node_modules/mongodb/lib/mongodb/mongo_client.js:281:52)
at Db.open (/meteor/containers/6c32717b-367c-bd8f-b229-ad69088fe830/bundle/programs/server/npm/mongo-livedata/main/node_modules/mongodb/lib/mongodb/db.js:267:16)
at Server.connect.connectionPool.on.server._serverState (/meteor/containers/6c32717b-367c-bd8f-b229-ad69088fe830/bundle/programs/server/npm/mongo-livedata/main/node_modules/mongodb/lib/mongodb/connection/server.js:499:7)
at EventEmitter.emit (events.js:126:20)
at connection.on._self._poolState (/meteor/containers/6c32717b-367c-bd8f-b229-ad69088fe830/bundle/programs/server/npm/mongo-livedata/main/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:168:15)
at EventEmitter.emit (events.js:99:17)
at Socket.timeoutHandler (/meteor/containers/6c32717b-367c-bd8f-b229-ad69088fe830/bundle/programs/server/npm/mongo-livedata/main/node_modules/mongodb/lib/mongodb/connection/connection.js:463:10)
at Socket.EventEmitter.emit (events.js:93:17)
at Socket._onTimeout (net.js:188:8)
at Timer.list.ontimeout (timers.js:101:19)
[Wed Sep 11 2013 15:19:17 GMT+0000 (UTC)] ERROR Application crashed with code: 1
[Wed Sep 11 2013 15:19:17 GMT+0000 (UTC)] INFO STATUS running -> waiting
Given the timing, looks like the very brief outage from this morning. Could you check it again and let me know if everything is back to normal?