Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 4 months ago.
Improve this question
My Ora2pg is able to migrate tables and views from Oracle to PGSQL.
But,however unable to read packages.Its showing as
ora2pg -p -t PACKAGE -o package.sql -b c:\ora2pg\appln -c c:\ora2pg\ora2pg_appln.conf
[========================>] 0/0 packages (100.0%) end of output.
Just figured it out,necessary permission to execute the package for the user was not there...necessary permission given to user,it worked.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
Got an error while starting easystroke:
easystroke: error while loading shared libraries:
libboost_serialization.so.1.64.0: cannot open shared object file: No
such file or directory
Error cause of a newer Version of libboost_serialization.so (version 1.65.1 instead 1.64.0)
I've created a symbolic link to this new lib, an easystroke works again:
cd /usr/lib
sudo ln -s libboost_serialization.so libboost_serialization.so.1.64.0
There already is a bug report for this error: https://bugs.archlinux.org/task/55697
It's probably better to install easystroke-git from AUR until this is fixed instead of creating a symlink which has to be manually removed afterwards.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I use tar -czf test.tar.gz test/ to compress test forlder to test.tar.gz . Now, I want compress to test.tar.gz with password "mypass" How can I do?
Neither the tar format nor the gz format has built-in support for password-protecting files.
Use crypt or gpg on the
Refer this encrypt-and-decrypt-files-with-a-password for more info.
tar cvvjf - /path/to/files | ccrypt > backup.tar.bz2.cpt
or
ccrypt backup.tar.bz2
And then to decrypt:
cat ../backup.tar.bz2 | ccrypt -d | tar -xjf -
You can also use zip
zip -e file.zip file
Will ask you on a prompt for a password. It is more secure then passing the password via the command line via zip -P password.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
Directly on my Debian box, I can run the following command to show manually installed packages:
aptitude search '!~M ~i'
This works great. If I SSH in from a remote box, and run the command, I also get the same result.
However, when I run the command as a batch, it does not produce the same result.
ssh user#server aptitude search '!~M ~i'
Since the process takes a bit of time to run, I execute ps aux | grep aptitude while running both variants, and the result appears to be the same.
What am I doing wrong?
PS. I am aware that dpkg -L can produce this information, but this is just the smallest example of what is broken, I intend to use !~pstandard !~pimportant !~prequired to filter out base packages as well, which I don't believe dpkg can do (but if it can, a solution with dpkg is welcome.)
Using information from Bash - Escaping SSH commands, I was able to create a command that worked:
ssh user#server $(printf '%q ' aptitude search '!~M ~i')
If target is a more recent debian/ubuntu you can use:
ssh user#server apt-mark showmanual
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have searched this method:
sudo apt-get install poppler-data
But also,when I download a PDF file from my Ubuntu server,it's character is garbled:(
I haven't restart my server.Is it necessary?
Run the command
sudo mv /etc/fonts/conf.d/49-sansserif.conf /etc/fonts/conf.d/49-sansserif.conf.backup
to try.
Or this method:
sudo gedit /etc/fonts/conf.d/49-sansserif.conf
Change the sans-serif(At the below of the file line -4) to others and restart your X.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I am trying to upgrade ruby using rvm.
On the pragmatic site, it says:
The important part is to add the following line to the end of your shell's initialization file (.bash_profile):
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
How do I do this? Where is this initialization file?
Please help
It would be /home/$USER/.bash_profile, but would only be present if you're actually using bash as your shell. Other shells will use a 'dot file' with their name in them instead. You can view them with ls -ad $HOME/.*
There are two initialization files .bash_profile & .bashrc, both present in user home directory.
.bash_profile is initialized when you login with userid. .bashrc is initialized when you are already logged in and want to open one more terminal.
If you want to add some settings in both the file then you can do following
if [ -f ~/.bashrc ];
then
source ~/.bashrc
fi