default.apt does not exist
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 57
- Joined: Wed Nov 15, 2006 10:25 am
- Location: Ottawa ON
default.apt does not exist
Hi,
My new configuration file does exit in the directory. I have updated APT_CONFIG_FILE from default.apt to newdefault.apt.
But when i run the job, why I get the following error?
main_program: $APT_CONFIG_FILE=/opt/IBM/InformationServer/Server/Configurations/newdefault.apt does not exist or is not a file or symbolic link to one.
main_program: Fatal Error: Cannot continue without a configuration file.
My new configuration file does exit in the directory. I have updated APT_CONFIG_FILE from default.apt to newdefault.apt.
But when i run the job, why I get the following error?
main_program: $APT_CONFIG_FILE=/opt/IBM/InformationServer/Server/Configurations/newdefault.apt does not exist or is not a file or symbolic link to one.
main_program: Fatal Error: Cannot continue without a configuration file.
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
Do an
to check its presence.
Code: Select all
ls $APT_CONFIG_FILE
-
- Premium Member
- Posts: 57
- Joined: Wed Nov 15, 2006 10:25 am
- Location: Ottawa ON
Sainath.Srinivasan wrote:Do anto check its presence.Code: Select all
ls $APT_CONFIG_FILE
Thank you.
Here is the result:
bash-3.00$ ls -l $APT_CONFIG_FILE
-rw-rw-r-- 1 dsadm dstage 7820 Dec 15 12:59 default.apt
-rw-rw-r-- 1 dsadm dstage 7304 Oct 20 06:53 default_OLD.apt
Where the default_OLD.apt was renamed from the original default.apt that came when the DS project was created. the current default.apt is the one I updated with the right path to datasets and Scratch and I want to use for the project. As said earlier, I got:
main_program: $APT_CONFIG_FILE=/opt/IBM/InformationServer/Server/Configurations/default.apt does not exist or is not a file or symbolic link to one.
main_program: Fatal Error: Cannot continue without a configuration file.
Please help.
-
- Premium Member
- Posts: 57
- Joined: Wed Nov 15, 2006 10:25 am
- Location: Ottawa ON
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
Above shows that your $APT_CONFIG_FILE is not set.Thanh Dalton wrote: bash-3.00$ ls -l $APT_CONFIG_FILE
-rw-rw-r-- 1 dsadm dstage 7820 Dec 15 12:59 default.apt
-rw-rw-r-- 1 dsadm dstage 7304 Oct 20 06:53 default_OLD.apt
Can you do
Code: Select all
ls -l /opt/IBM/InformationServer/Server/Configurations/default.apt
Code: Select all
cat /opt/IBM/InformationServer/Server/Configurations/default.apt
and paste the result here
-
- Premium Member
- Posts: 57
- Joined: Wed Nov 15, 2006 10:25 am
- Location: Ottawa ON
bash-3.00$ pwdSainath.Srinivasan wrote:Above shows that your $APT_CONFIG_FILE is not set.Thanh Dalton wrote: bash-3.00$ ls -l $APT_CONFIG_FILE
-rw-rw-r-- 1 dsadm dstage 7820 Dec 15 12:59 default.apt
-rw-rw-r-- 1 dsadm dstage 7304 Oct 20 06:53 default_OLD.apt
Can you doand it returns successful, tryCode: Select all
ls -l /opt/IBM/InformationServer/Server/Configurations/default.apt
Code: Select all
cat /opt/IBM/InformationServer/Server/Configurations/default.apt
and paste the result here
/opt/IBM/InformationServer/Server/Configurations
bash-3.00$ ls -l
total 64
-rw-rw-r-- 1 dsadm dstage 2714 Aug 11 08:16 16node.apt
-rw-rw-r-- 1 dsadm dstage 5434 Aug 11 08:18 32node.apt
-rw-rw-r-- 1 dsadm dstage 7820 Dec 15 12:59 default.apt
-rw-rw-r-- 1 dsadm dstage 7304 Oct 20 06:53 default_OLD.apt
-
- Premium Member
- Posts: 57
- Joined: Wed Nov 15, 2006 10:25 am
- Location: Ottawa ON
Where should I issue the "ls -l"? I did it from the Unix terminal.chulett wrote:When you did an "ls -l" on the environment variable, why did two files get listed? Echo that variable.
A few configuration files were used for different DS projects.
with echo $APT_CONFIG_FILE, nothing displayed.
bash-3.00$ echo $APT_CONFIG_FILE
-
- Premium Member
- Posts: 57
- Joined: Wed Nov 15, 2006 10:25 am
- Location: Ottawa ON
Thanh Dalton wrote:bash-3.00$ pwdSainath.Srinivasan wrote:Above shows that your $APT_CONFIG_FILE is not set.Thanh Dalton wrote: bash-3.00$ ls -l $APT_CONFIG_FILE
-rw-rw-r-- 1 dsadm dstage 7820 Dec 15 12:59 default.apt
-rw-rw-r-- 1 dsadm dstage 7304 Oct 20 06:53 default_OLD.apt
Can you doand it returns successful, tryCode: Select all
ls -l /opt/IBM/InformationServer/Server/Configurations/default.apt
Code: Select all
cat /opt/IBM/InformationServer/Server/Configurations/default.apt
and paste the result here
/opt/IBM/InformationServer/Server/Configurations
bash-3.00$ ls -l
total 64
-rw-rw-r-- 1 dsadm dstage 7820 Dec 15 12:59 default.apt
-rw-rw-r-- 1 dsadm dstage 7304 Oct 20 06:53 default_OLD.apt
Last edited by Thanh Dalton on Mon Dec 21, 2009 1:43 pm, edited 1 time in total.
-
- Premium Member
- Posts: 57
- Joined: Wed Nov 15, 2006 10:25 am
- Location: Ottawa ON
Above shows that your $APT_CONFIG_FILE is not set.Sainath.Srinivasan wrote:Thanh Dalton wrote: bash-3.00$ ls -l $APT_CONFIG_FILE
-rw-rw-r-- 1 dsadm dstage 7820 Dec 15 12:59 default.apt
-rw-rw-r-- 1 dsadm dstage 7304 Oct 20 06:53 default_OLD.apt
How to set $APT_CONFIG_FILE? I did it with DS Administrator.
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
What value did you set in administrator ? Can you paste the exact value here.
You can do
You can do
Code: Select all
export APT_CONFIG_FILE=<Value As Provided In Administrator>
-
- Premium Member
- Posts: 57
- Joined: Wed Nov 15, 2006 10:25 am
- Location: Ottawa ON
I set it using DS Administrator GUISainath.Srinivasan wrote:What value did you set in administrator ? Can you paste the exact value here.
You can doCode: Select all
export APT_CONFIG_FILE=<Value As Provided In Administrator>
Steps:
Logon DS Administrator ->select the ptoject --> click Properties button --> click Environment button to get the Environment Variables window. Under the Parallel Catagory, updated the APT_CONFIG_FILE to
/opt/IBM/InformationServer/Server/Configurations/default.apt
Question: where should I issue
Code: Select all
export APT_CONFIG_FILE=<Value As Provided In Administrator>
In UNIX terminal or DS Administrator Command Interface?
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
Ans : Unix terminalThanh Dalton wrote: Question: where should I issueIn UNIX terminal or DS Administrator Command Interface?Code: Select all
export APT_CONFIG_FILE=<Value As Provided In Administrator>
-
- Premium Member
- Posts: 57
- Joined: Wed Nov 15, 2006 10:25 am
- Location: Ottawa ON
Thanks.Sainath.Srinivasan wrote:Ans : Unix terminalThanh Dalton wrote: Question: where should I issueIn UNIX terminal or DS Administrator Command Interface?Code: Select all
export APT_CONFIG_FILE=<Value As Provided In Administrator>
If the export command should be issue from UNIX terminal, , my question is: how the DS Engine could be smart enough to know which DS project we are talking about?