Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ostico/phporient socket connection error in centos #13

Closed
jackraj88 opened this issue Oct 16, 2015 · 7 comments
Closed

ostico/phporient socket connection error in centos #13

jackraj88 opened this issue Oct 16, 2015 · 7 comments

Comments

@jackraj88
Copy link

HI,

I am using ostico/phporient official driver it will work fine in windows but not working in centos.

The below error was thrown.

Fatal error: Uncaught exception 'PhpOrient\Exceptions\SocketException' with message 'Error 111 : Connection refused ' in /home/jackraj/public_html/application/third_party/vendor/ostico/phporient/src/PhpOrient/Protocols/Binary/OrientSocket.php:86 Stack trace: #0 /home/jackraj/public_html/application/third_party/vendor/ostico/phporient/src/PhpOrient/Protocols/Binary/SocketTransport.php(138): PhpOrient\Protocols\Binary\OrientSocket->connect() #1 /home/jackraj/public_html/application/third_party/vendor/ostico/phporient/src/PhpOrient/Protocols/Binary/Abstracts/Operation.php(73): PhpOrient\Protocols\Binary\SocketTransport->getSocket() #2 /home/jackraj/public_html/application/third_party/vendor/ostico/phporient/src/PhpOrient/Protocols/Binary/SocketTransport.php(174): PhpOrient\Protocols\Binary\Abstracts\Operation->__construct(Object(PhpOrient\Protocols\Binary\SocketTransport)) #3 /home/jackraj/public_html/application/third_party/vendor/ostico/phporient/src/PhpOrient/Protocols/Binary/SocketTransport.php(153): PhpOrient\Protocols in/home/jackraj/public_html/application/third_party/vendor/ostico/phporient/src/PhpOrient/Protocols/Binary/OrientSocket.phpon line 86

Please help asap.

@smolinari
Copy link

Looks like the connection to the database is not working. Is OrientDB running? Are the credentials definitely correct?

Scott

@jackraj88
Copy link
Author

Database is working and same credentials working in windows environment but not in centos.

jack

@smolinari
Copy link

Can you access the database through Studio with the same credentials?

Scott

@jackraj88
Copy link
Author

yes, i can access through studio with same crendentials.

jack

@smolinari
Copy link

Which versions of ODB, CentOS and PHPOrient are you using? I'll try to build a VM with those versions and see if I can get the tests to run.

Scott

@jackraj88
Copy link
Author

Linux sg2plcpnl0057.prod.sin2.secureserver.net 2.6.32-531.29.2.lve1.3.11.10.el6.x86_64
odb - 1.7.2
phporient - 1.0.0

jack

@smolinari
Copy link

Thanks. Is there a particular reason why you are still on these old versions? PHPOrient is at 1.2.0 and ODB is at Version 2.1.4. Usually the first reply to such old versions would be...please upgrade.

Scott

@Ostico Ostico closed this as completed Dec 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants