LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-29-2015, 03:30 PM   #1
MrUmunhum
Member
 
Registered: May 2006
Location: Mt Umunhum, CA, USA, Earth
Distribution: Debian/ Fedora/ Ubuntu/ Raspbian
Posts: 549

Rep: Reputation: 40
what is 'socat' and what is it used for? Ubuntu-15.04


hi group,

I have a problem with my Ubuntu 15.04 Linux on my laptop. When
I boot this command starts:
Code:
 2747 ?        R     10:59 socat openssl-connect:server:789,cafile=/etc/epoptes/server.crt,interval=60,forever EXEC:bash -c \"exec -a epoptes-client sh\"
I have no idea what it is and what it does? It hangs one
of my processors at 100% until I kill it.

Can anyone help? Have I been hacked?

Thanks for your time.
 
Old 09-29-2015, 05:08 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
From the socat man page
Quote:
Socat is a command line based utility that establishes two bidirectional byte streams and transfers data between them.
But I found this thread interesting because epoptes is a computer lab management and monitoring tool and would not expect it to be installed by default. Its probably trying to login to some default server configuration. Is it a running service?

systemctl list-unit-files type=service

http://www.epoptes.org/
 
Old 09-29-2015, 05:19 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
I was thinking Ubuntu's Landscape thingie...?
 
Old 09-29-2015, 08:26 PM   #4
MrUmunhum
Member
 
Registered: May 2006
Location: Mt Umunhum, CA, USA, Earth
Distribution: Debian/ Fedora/ Ubuntu/ Raspbian
Posts: 549

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by michaelk View Post
From the socat man page


But I found this thread interesting because epoptes is a computer lab management and monitoring tool and would not expect it to be installed by default. Its probably trying to login to some default server configuration. Is it a running service?

systemctl list-unit-files type=service

http://www.epoptes.org/
Code:
sudo systemctl list-unit-files type=service
UNIT FILE STATE

0 unit files listed.
 
Old 09-29-2015, 08:41 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Try
sudo systemctl list-unit-files
 
Old 09-30-2015, 03:06 PM   #6
MrUmunhum
Member
 
Registered: May 2006
Location: Mt Umunhum, CA, USA, Earth
Distribution: Debian/ Fedora/ Ubuntu/ Raspbian
Posts: 549

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by michaelk View Post
Try
sudo systemctl list-unit-files
That is a very long list 305 files. Anyway to shorten the list?
 
Old 09-30-2015, 03:37 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Not sure why I didn't see my mistake... The command should be:
sudo systemctl list-unit-files --type=service

You can try grep
sudo systemctl list-unit-files --type=service | grep epoptes
 
Old 09-30-2015, 03:50 PM   #8
MrUmunhum
Member
 
Registered: May 2006
Location: Mt Umunhum, CA, USA, Earth
Distribution: Debian/ Fedora/ Ubuntu/ Raspbian
Posts: 549

Original Poster
Rep: Reputation: 40
I removed epoptes-client and epoptes, that stopped the socat command. While this did not tell me what it was for, my system does not loop anymore.
 
Old 10-04-2015, 10:47 AM   #9
MrUmunhum
Member
 
Registered: May 2006
Location: Mt Umunhum, CA, USA, Earth
Distribution: Debian/ Fedora/ Ubuntu/ Raspbian
Posts: 549

Original Poster
Rep: Reputation: 40
As a quick note. Removing this package also solved by delayed shutdown problem. That problem was when I shutdown the system it waited 1 and 1/2 minutes waiting for a process to end.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using socat the_gripmaster Linux - Networking 2 04-05-2014 01:36 PM
Create Socat Connection -> Parse -> Output b0ot Linux - Networking 2 11-04-2010 07:45 AM
netcat or socat expert needed wgcampbell Linux - Networking 5 03-01-2010 12:39 PM
socat slow Lorian Linux - Networking 0 05-11-2009 10:30 AM
LXer: CLI Magic: socat LXer Syndicated Linux News 0 03-26-2007 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration