Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
ffwrude
Contributor III
Contributor III

[resolved] Command line can not start

Hi,
I just tried to generate one of my job but it doesn't work "Unexpected error, contact your administrator".
Ok so i go to the CommandLine and it says :
Fail to list commands
Unexpected listCommand while processing stopServer|qu

So i figured the command line wasn't started.
So i go and launch it /talend_directory/cmdline/start_cmdline.sh
And ... nothing happens. It stays the same.
EDIT : Just found that i don't have any cmdline in the running process. But how can i launch it ?
EDIT2: I found that start_cmdline.sh launch a Java command. So i tried to launch the command directly in the shell and i have an answer from the system but i don't know what that means.
 15542

EDIT3 : Found the log


To see the whole post, download it here
Labels (3)
1 Solution

Accepted Solutions
ffwrude
Contributor III
Contributor III
Author

Ok So i have the answer for curious people.
When you update the licence in TAC in DOES NOT update the licence in the command line.
So i just had to upload the licence file in the /Talend/cmdline/studio/licence
I suggested that the update in TAC upload the cmdline licence.

View solution in original post

12 Replies
Anonymous
Not applicable

Hi
The OS is a 64bit system, can you show me the content of script start_cmdline.sh you are using to launch commandline?
By default, the content looks like as below:
./Talend-linux-gtk-x86 -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002
For 64bit, change it to
./Talend-linux-gtk-x86_64 -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002
Best regards
Shong
ffwrude
Contributor III
Contributor III
Author

cd "/Talend/cmdline/studio"
java -Xms64m -Xmx1024m -XX:MaxPermSize=256m -jar plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002 > /dev/null 2>&1 < /dev/null &

EDIT : It was working before and no one touched the scripts. But the server has been rebooted
EDIT 2 : that's what i have in the start_commandline.sh i don't have what your are talking about.
ffwrude
Contributor III
Contributor III
Author

*bump*
Anonymous
Not applicable

Hi
1. Do you see a folder called commandline-workspace under /Talend/cmdline/studio/? Delete it and restart commandline.
Best regards
Shong
ffwrude
Contributor III
Contributor III
Author

Ok i deleted the /Talend/cmdline/studio/commandline-workspace.
Then i did /Talend/cmdline/studio/start_commandline.sh
And .... it's the same. Nothing changed.
Anonymous
Not applicable

at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
... 11 more
Root exception:
java.lang.Error: Please setup a license first.

Maybe you need to setup or upgrade the license?
Best regards
Shong
ffwrude
Contributor III
Contributor III
Author

I did 2days ago.
EDIT : 1 reupload the licence and generate the validation token. It stills saying "Please setup a licence".

EDIT 2 : I'm going to contact the support. So i'll be posting the result when i have it.
Thank you.
ffwrude
Contributor III
Contributor III
Author

Ok So i have the answer for curious people.
When you update the licence in TAC in DOES NOT update the licence in the command line.
So i just had to upload the licence file in the /Talend/cmdline/studio/licence
I suggested that the update in TAC upload the cmdline licence.
Anonymous
Not applicable

Ok So i have the answer for curious people.
When you update the licence in TAC in DOES NOT update the licence in the command line.
So i just had to upload the licence file in the /Talend/cmdline/studio/licence
I suggested that the update in TAC upload the cmdline licence.

ah,
yes, you are right, you have to update the license both in TAC and commandline.
Best regards
Shong