LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-30-2017, 10:31 AM   #1
yaronb
LQ Newbie
 
Registered: Feb 2015
Posts: 5

Rep: Reputation: Disabled
failing to connect through vpn- forkpty: No such file or directory


I am trying to connect to forticlient vpn and I am receiving the following error message:
forkpty: No such file or directory
an extraction of the log is given below:
Apr 30 18:05:33 new-host-2 NetworkManager[1400]: <info> VPN service 'fortisslvpn' started (org.freedesktop.NetworkManager.fortisslvpn), PID 8733
Apr 30 18:05:33 new-host-2 NetworkManager[1400]: <info> VPN service 'fortisslvpn' appeared; activating connections
Apr 30 18:05:39 new-host-2 NetworkManager[1400]: <info> VPN connection 'E8VPN' (ConnectInteractive) reply received.
Apr 30 18:05:39 new-host-2 NetworkManager[1400]: ** Message: openfortivpn started with pid 8745
Apr 30 18:05:39 new-host-2 NetworkManager[1400]: <info> VPN plugin state changed: starting (3)
Apr 30 18:05:39 new-host-2 NetworkManager[1400]: <info> VPN connection 'E8VPN' (Connect) reply received.
Apr 30 18:05:39 new-host-2 NetworkManager[1400]: INFO: Connected to gateway.
Apr 30 18:05:39 new-host-2 NetworkManager[1400]: INFO: Authenticated.
Apr 30 18:05:39 new-host-2 NetworkManager[1400]: INFO: Remote gateway has allocated a VPN.
Apr 30 18:05:39 new-host-2 NetworkManager[1400]: ERROR: forkpty: No such file or directory
Apr 30 18:05:39 new-host-2 NetworkManager[1400]: INFO: Closed connection to gateway.
Apr 30 18:05:40 new-host-2 NetworkManager[1400]: INFO: Logged out.
 
Old 05-01-2017, 07:11 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Permissions issue?

https://github.com/mobile-shell/mosh/issues/718
 
Old 05-01-2017, 08:31 AM   #3
yaronb
LQ Newbie
 
Registered: Feb 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
I am still getting the same error, after changing the permissions to /dev/ptmx and /dev/pts/ptmx
 
Old 05-01-2017, 08:46 AM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by yaronb View Post
I am still getting the same error, after changing the permissions to /dev/ptmx and /dev/pts/ptmx
Ok. As root, find out where forkpty is in your system and then look at the permissions of all the directories above it in the hierarchy to determine if it is available to the user running the program.
 
Old 05-01-2017, 08:54 AM   #5
yaronb
LQ Newbie
 
Registered: Feb 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
you mean by 'which forkpty'?
if so there appears to be no forkpty even when I am logged in as root. I saw forkpty is part of glibc. I updated glibc. I have glibc2 which I had before as well, according to man page this should be ok.

Last edited by yaronb; 05-01-2017 at 09:14 AM.
 
Old 05-01-2017, 09:51 AM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
No, I mean by using the find command (looking for both files and directories).
 
Old 05-01-2017, 10:03 AM   #7
yaronb
LQ Newbie
 
Registered: Feb 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
I am not succeeding in finding it anywhere
 
Old 05-01-2017, 10:05 AM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by yaronb View Post
I am not succeeding in finding it anywhere
Are you searching as root?
 
Old 05-01-2017, 10:29 AM   #9
yaronb
LQ Newbie
 
Registered: Feb 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
yes
 
  


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
Error (Cannot connect to unix socket '/var/lib/clamav/clamd.socket': connect: No such file or directory) Toadman Ubuntu 1 08-10-2016 06:00 PM
[SOLVED] Windows7 VPN clients behind Debian Gateway can not connect to Draytek VPN neopandid Linux - Server 3 08-31-2012 11:34 PM
client: connect: No such file or directory Aquarius_Girl Programming 5 12-08-2009 02:55 PM
Linux VPN Software - How to Connect to a Windows VPN wfernley Linux - Software 2 02-07-2006 09:40 AM
How do i connect Ciscos VPN client to Checkpoint VPN server Klas Linux - Networking 1 11-29-2003 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:46 PM.

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