I am working with heroku from the site http://devcenter.heroku.com/articles/java.
My OS is windows7.
When I am typing the command heroku in command prompt I am getting the following:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\HARIKA_RAM>heroku
Usage: heroku COMMAND [--app APP] [command-specific-options]
Primary help topics, type "heroku help TOPIC" for more details:
It is working fine.
When I am trying to login it is giving the following message:
C:\Users\HARIKA_RAM>heroku login
Enter your Heroku credentials.
Email: evsandeep#gmail.com
Password:
! Unable to connect to api.heroku.com
C:\Users\HARIKA_RAM>heroku update
-----> Updating to latest client... failed
! getaddrinfo: This is usually a temporary error during hostname
resolution and means that the local server did not receive a response from an
authoritative server.
Any help is appreciated. Thanks in advance.
Did you try setting your http_proxy if you are behind a firewall ?
eg. set http_proxy=proxy.mycompany.com:8080
Related
This is on my nerves for days now after I have tried to deploy latest vCenter Server to Windows Server 2008 R2 and 2012 R2. Both fresh installations with nothing more than just the vCenter Server requirements installed.
Info:
Firewall disabled
UAC disabled
Administrator used for installation
1 NIC
NSLOOKUP working OK (forward/reverse)
Things I've tried:
Windows Server 2008 R2 / 2012 R2
PostgreSQL (embedded) / MsSQL 2012 Express
Short file name creation enabled (NtfsDisable8dot3NameCreation to 0)
In and out of C:\Program Files\
With and without computer being added to AD domain
Clean up all %TMP% / %TEMP% traces of vCenter install then try again
With and without VMware Tools
All the different combinations from above give the same result, error code 1603. This is obviously a generic OS error code when something goes wrong with the MSI installation package and gives 0 meaningful information.
Further drilling down into vCenter installation log files all I see is this:
2017-03-29 16:24:35.932+01:00| vcsInstUtil-4602587| I: Leaving
function: ParseStatusFile 2017-03-29 16:30:47.722+01:00|
vcsInstUtil-4602587| I: Entering function: ParseStatusFile 2017-03-29
16:30:47.758+01:00| vcsInstUtil-4602587| I: ParseStatusFile: curr
error msg: "VMware VirtualCenter failed firstboot." 2017-03-29
16:30:47.758+01:00| vcsInstUtil-4602587| I: ParseStatusFile: curr
error msg: "An error occurred while starting service 'vpxd'"
2017-03-29 16:30:47.758+01:00| vcsInstUtil-4602587| E:
ParseStatusFile: Displaying error message for
"install.vpxd.action.failed": "VMware VirtualCenter failed firstboot.
An error occurred while starting service 'vpxd'
Please refer to vSphere documentation to troubleshoot or Please
contact VMware Support."
I have looked everywhere but for some reason in this version of vCenter the vpxd.log file is not created.
Nothing meaningful in Event Viewer (Application) either.
I was exploring the capabilities of the tool for our lab environment but this is just ridiculous.
Any hint you can throw at me is greatly appreciated as I am out of ideas guys..
Cheers!
Start the SQL Server Browser Service and perform the install again.
J just installed a new copy of Oracle Database 12c Enterprise Edition with following basic install time settings:
Skip software updates
install database software only
single instance database installation
English language
Enterprise edition
use windows built-in account
install path: C:\Oracle\
The installation went smoth without any critical warnings or errors.
After installation when I start SQL*Plus command line it requires me
User Name:
Password:
I have not specified any of these during installation. S, what could probably be the credentials?
I tried using my windows log-in user & password to login (Nte: My windows log-in name has a white space in middle as: FirstName LastName) but it issued me an ERROR message as:
Enter user-name: ******* ********
SP2-0306: Invalid option.
Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM}] [edition=value]]
where <logon> ::= <username>[/<password>][#<connect_identifier>]
<proxy> ::= <proxyuser>[<username>][/<password>][#<connect_identifier>]
Then I tried using same user name without white space but got another Error message as:
Enter user-name: ***************
Enter password:******
ERROR:
ORA-12560: TNS:protocol adapter error
Is there anywhere I am going wrong? Please suggest me the solution
Thanks...
My suggestions:
1: First ensure that you have specified ORACLE_SID AND ORACLE_HOME environment variable before trying to login. You can try following commands to set those environment variables:
Put correct path and sid_name for the following commands and insert them system environment variable. Don't forget to check the value of respective environment variable before login attempt.
ORACLE_BASE=C:\oracle;
ORACLE_HOME=$ORACLE_BASE\product\11.2\db_1;
ORACLE_SID=sid_name_here;
PATH=$PATH:ORACLE_HOME\bin;
Now, issue should get resolved if you getting trouble because of environment variable.
2: Next, verify the status of listener. See the output of following commands to confirm the status of listener:
lsnrctl status
lsnrctl services
Above command show the status of listener and associated service. If you didn't see SID and associated service name, You need to start listener service (i.e. from services.msc).
3: Sometimes, you might be getting this issue because of TNS_ADMIN not setup properly. Configure TNS_ADMIN in system environment variable and also mention in the tnsnames.ora file. Refer link for the discussion configuring TNS_ADMIN in windows environment.
After installing Titanium Studio on a Windows 7 pc I attempted to create a new mobile project but received an error indicating I was not logged in and the project was not created. Also note that this pc is behind a corporate proxy server so when it tried to create the new project it was attempting to communicate with Appcelerator servers to create a new GUID for this project. It was accessing the servers directly not using the corporate proxy.
When I open the Terminal and run the ti command ti status it returns I am not logged in. I then run the command ti login, enter my username/password and the result is[ERROR] Error: Error communicating with the server: Error: connect ETIMEDOUT
The Titanium CLI setting for httpProxyServer is empty so no proxy was being used. To verify this run this command and find the httpProxyServer attribute.
ti config
cli.httpProxyServer = ""
to set this attribute:
ti config --append cli.httpProxyServer http://enter-your-proxy-address-here.com:80
cli.httpProxyServer saved
now login:
ti login
Titanium Command-Line Interface, CLI version 3.2.0, Titanium SDK version 3.2.0.GA
Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved.
Please report bugs to http://jira.appcelerator.org/
Username: enter-your-userid-here
Password: **********
Logged in successfully
now you will be able to create a new mobile project.
Please note that this post is in regards to an issue that requires an http Proxy.
Having just tried to access some mysqladmin privileges within terminal (flush_hosts), I have noticed that the socket problem has resurfaced with the error
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)*.
I have no servers running currently.
How can this be solved?
Wow, yourself mentioned, you 'must' run a server that can to connect it,Please consider:
root#debian:/etc/init.d# /etc/init.d/mysql stop
[ ok ] Stopping MySQL database server: mysqld.
root#debian:/etc/init.d# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
root#debian:/etc/init.d# /etc/init.d/mysql start
[ ok ] Starting MySQL database server: mysqld ..
[info] Checking for tables which need an upgrade, are corrupt or were
not closed cleanly..
root#debian:/etc/init.d# mysql -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 37
Server version: 5.5.24-5 (Debian)
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
OK, it appears that there must have been some messed up configurations along the way. I went back to scratch and installed the latest .DMG for MySQL and everything is working fine now. If you have .sock issues I'm guessing your best bet is to reinstall MySQL, it doesn't take very long at all. Thanks for the help!
try removing socket field in the database.yml file or change it with the right path to mysql.sock if you know where it is in you machine.
The issue started when i installed the server version with already existing client version of Oracle 10g.
Background : The Oracle client version 10g was installed (at c:/oracle) to connect to a database residing in other country. So we can just connect to it and have limited access to it.
Path => c:/oracle/ora_client/network/admin/listener.ora
So to work as admin I installed 10g server at the same location c:/oracle on windows. I can now work as server.
Path => c:/oracle/product/db_1/network/admin/listener.ora
But the issue arises when I try to connect with my application installed to setup connection as a client (to server residing in other country), it fails and throws an error ORA-12154.
So, do I have to uninstall my server version (just in case the confusion might have arrived due to the presence of two Oracle databases)?
How can I fix it? What has been the probable cause for it? Please advise!
When you installed the server version it updated the environment variables to point to the server installation and not the client installation. The definition of TNS aliases is done in tnsnames.ora and no the listener.ora. So you would have to copy the already existing entries from c:/oracle/ora_client/network/admin/tnsnames.ora to c:/oracle/product/db_1/network/admin/tnsnames.ora. Be careful that you obey the tnsnames.ora format.
I faced this error today. Spent a lot of time checking what I did wrong while configuring listener. Even after I configured it using netca I still had the same error:
ORA-12154: TNS:could not resolve the connect identifier specified
It appeared that the cause was bad password for sys containing '#' character.
For example when you connect as below:
$sqlplus sys as sysdba
The response is
SQL*Plus: Release 11.2.0.4.0 Production on Wed May 27 08:24:19 2015
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Enter password: ple#se ERROR: ORA-12154: TNS:could not resolve the
connect identifier specified
That is it. Very easy case.