By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,691 Members | 1,997 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,691 IT Pros & Developers. It's quick & easy.

[SOLVED] Socket command type E unknown

P: n/a
Hi there...

I've seen in the mailing list archives that some people get this error

FATAL: Socket command type E unknown

I didn't find any solution so I'm sending this message...

I had the same problem and after some debuging I've found that:

If you have a program that closes all fds (including stdin, stdout, stderr)
and after that you make a connectioon to the database that gets fd #1 (simply
open a file first and the connect to the database) and you have something

printf("Exec: test");
<<send an sql command>>

you'll get this error message... It seems that printf writes to stdout which
is fd #1 which is the socket that connects the program to the database.

I believe that you don't need any more details...


Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQA/U02WNXYAc2rSkzURAquUAJ9g1wsHKA14NX8T8LnH922yIizNzw CgryZR

Nov 11 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.