LinuxQuestions.org
Help answer threads with 0 replies.
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 01-29-2003, 06:35 AM   #1
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
ipsec


I get the following error on my redhat 7.3 server when i use ssh sentinel in /var/log/messages

Jan 26 12:14:15 n010160 ipsec__plutorun: pluto unexpectedly says `shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory'

Anyone knows what goes wrong?
 
Old 01-29-2003, 07:36 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,417
Blog Entries: 55

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
This is script stuff. To give you a simple idea what happens try this.
cd to a tmp dir, "mkdir 123", "cd 123". Now "rm -rf ../123" and try to execute a script a few dirs up: "sh /usr/local/sbin/ipsec --version".
You'll see the familiar shell-init/getcwd error.

Do you have a mangled IPSEC_DIR var or did you edit the scripts?
If you want to TS this you could start ipsec scripts as "sh -x <script>" instead of "sh <script>" and redirect output to a logfile.
Grep for the error message and you've got an idea what happens or where to look.
 
Old 01-30-2003, 06:39 AM   #3
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Original Poster
Rep: Reputation: 30
Ok, thanx!

now i have to debug
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Nat ipsec Datacenter1 Linux - Networking 0 08-25-2005 09:43 AM
IPSec eagle683 Linux - Security 5 06-10-2005 10:53 AM
IPsec cranium2004 Linux - Security 5 05-01-2005 08:21 PM
ipsec?? new user Linux - Security 5 08-18-2003 11:37 PM
Ipsec MarleyGPN Linux - Networking 1 07-15-2003 08:18 AM

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

All times are GMT -5. The time now is 07:37 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