Folks,
I trust all is well.
We have .ktr files that are created in widows 7 that we need to run on a centos 6.5 server using pan.
I am trying to run the following command the server:
[root#BTNYSLDVD01 data-integration]# /home/pentaho/data-integration/pan.sh /file=/home/pentaho/data-integration/file.ktr
However I am getting the following error:
2015/10/07 13:03:28 - File Output.0 - Access denied for user 'root'#'localhost' (using password: YES)
The file.ktr file was created and runs properly without errors on a widows 7 computer. The only modification I made was that I altered the <server></server> tag from <server>ip address</server> to <server>localhost</server>
I know that the password is correct because I am able to connect to the database from console.
We cannot create the .ktr files on the centos server since we do not have the desktop installed.
My question is "Is there snything special we need to do when running a .ktr file that was created in windows 7 on a centos 6.5 server"?
Thanks in advance for your help.
Andy
First run this
cd data-integration
chmod +x *.sh
It will make the shell scripts executable.
Without more details, it's hard to know what is wrong.
I guess that you may have a problem of access via ssh : maybe you should have a key (e.g. generated via ssh-keygen) for the user root?
It gets pretty interesting. I find out on page
http://dev.mysql.com/doc/refman/5.6/en/can-not-connect-to-server.html
"A Unix socket file is used if you do not specify a host name or if you specify the special host name localhost."
Unix socket pretty special feature not available on Windows, but Kettle is written on Java which suppose to work on different OS, and can't use Unix socket since it's plafrorm specific. It has to use tcp/ip connection.
Against it, mysql command is platform specific and able to utilize power of Unix socket, since it native tool.
Just try to put 127.0.0.1 instead of localhost
We were able to solve the issue. The issue was that mysql did not allow access from 127.0.0.1. We deployed pentaho on another server and were able to get the file to work. Thanks Simar for all your help.
Related
I am using latest NodeJS(12.X) version in my Windows desktop.
I used remote of Cisco routers using putty and execute few commands there.
Now, I need to execute these commands (like show, run version) in my Cisco routers using Nodejs application. I need to write those output from routers in to my base machine in .txt format or need to show it in console.
I already tried simple-ssh and remote-exec but its not successful.
Can anyone help me here with sample code, that would be Great!..
Thanks.
Hello "stackers" i've been trying the past few days to set-up TCadmin GamePanel on my CentOS server.
We're running CentOS 64 bit, with 32 lib installed.
-We can create Murmur/counter-strike: Source servers running without problems.
-Other servers not responding to query.
-we've allowed port range 27015 - 27030
-SteamCMD is running and we can connect to steam API (tried via. the server)
Following folder names are with lowercases:
/home/tcagame/user
/home/tcadmin/tcafiles/games
/home/tcadmin/tcafiles/users
So after what my research lead to. It isn't because of uppercase letters.
We've tried to reinstall the entire server but nothing works.
Does anybody know why this is happening?
(if some info are missing i'll provide them to you)
Best regards
Rune
Update:
TCadmin support responded to our ticket:
Bu default Tcadmin Runs the "srcds.exe"
This is not the right file to run
Cilck on the server, choose service settings and change "srcds.exe" to "srcds_run"
I used to use win2003 as my server,my web applicaion file has some files like \image\forum\1.jpg.
now, i plan to use CENTOS as my server. i notice that the route in linux is /image/forum/1.jpg.
question1: is the win route format is different with linux as i recognized?
question2: how to revise the route format before move to CENTOS? any advice is welcome.
I build my code on a windows 2k3 machine and then roll out live to centos servers. It's always worked either way without changing a thing :-) It's never caused me an issue.
You should have no need to change your code
I know this question has been asked several times around the internet, but I have spent about a week trying to solve this problem with little luck.
I am trying to install JavaCommAPI (an archived Java package to allow communication with rs232) on a remote linux Ubuntu 11.0, 32-bit server in order to deploy a web project which I have developed on a local apache server on my windows PC.
The thing that puzzles me is, I am able to get the .war web project to deploy on a local apache server on a separate 32-bit LinuxMint16 PC by correctly placing the javax.comm.properties, comm.jar, and libSerialParallel.so files in their respective places.
I use System.getProperty("java.library.path"); in order to find the correct library path in order to install correct files.
On my LinuxMint16:
javax.comm.properties -- /usr/lib/jvm/java-7-openjdk-i386/jre/lib
comm.jar -- /usr/lib/jvm/java-7-openjdk-i386/jre/lib/ext
libSerialParallel.so -- /usr/lib/jvm/java-7-openjdk-i386/jre/lib/i386
....works!
On my remote Ubuntu server I did the exact same for its reported library path
(for example: /usr/local/jdk/jdk1.7.0_45/jre/lib/javax.comm.properties ;
/usr/local/jdk/jdk1.7.0_45/jre/lib/ext/comm.jar ;
/usr/local/jdk/jdk1.7.0_45/jre/lib/i386/libSerialParallel.so)
...fails =(
Things of note: I added the needed apache jars and comm.jar to my libraries in Eclipse using the BuildPath wizard (right click on project --> Build Path-->add external jars) which points to local files on my PC which I obviously cannot use for a remote server which I am only accessing through command line. May this is affecting it somehow?
I tried to get error output (System.err) from the Java Console printed to a separate file for my remote server as that feedback was very helpful in getting all the files sorted on my LinuxMint PC.
PrintStream ps = new PrintStream(pathName);
System.setOut(ps);
System.setErr(ps);
Which again, is oddly working beautifully to print the stream to a local .txt file on my LinuxMintPC but not to the one I designate on my remote ubuntu server.
I am really at a wits end here!! Am I mixing and matching appropriate versions of Systems prohibiting things to run smoothly? I am not sure how to proceed from here, if anyone has any insights I would die of happiness. Thanks
I needed to install OPEN JDK7 on my ubuntu, put files in appropriate library paths (as described above) and now it works.
I'm a newbie in the open source world. Always used to paying i can't imagine we can get a whole OS for free!!! None the less from reputed companies like Oracle, i'm sold! OK so i got Oracle Linux server 6.1 installed and its running fine. I also checked all the boxes under webserver and MySQl during installation and i can see the Apache home page when i type localhost on the browser and i have started both the Apache & the MySql services.
My question: is there a GUI based admin tool like phpmyadmin to administer the MySql DB which is already installed? If not can someone point me to a step by step guide for the same. I have been trying since last 4 days and i just can't understand how to do this and what is required? I also saw some post saying something like Oracle Enterprise Manager is available through which we can administer the DB but i just can't find out how to get to the console? Is there a locahost url or something to get it to work?
Finally all i want to do is run Drupal on the Linux server and be able to administer the DB with phpmyadmin, if everything is complicated can i just install LAMP or XXAMP which will give me everything i need in one go. Although i feel since Apache & MySQL is already installed when i installed the OS not sure what will happen.
I know i'm all over the place, making the transition from Windows and am really new to this. Any help will be greatly appreciated.
Thanks,
KK
Oracle Enterprise Linux is based off of the Red Hat sources, just like CentOS.
Found a link on how to get it setup with CentOS 6, which should work for OEL.