permissions for phing.php on Ubuntu for execution in Eclipse - phing

I installed phing via apt-get on my Ubuntu machine. Then I set up phing as external program in Eclipse but now I am facing a permission problem.
Giving phing.php a different owner did not help. I still get:
Exception occurred executing command line.
Cannot run program "/usr/share/php/phing.php"
(in directory "/var/www/html/fullerweb"): error=13, Permission denied
What permissions are needed?

Try to use /usr/bin/phing instead.

Related

Access denied Error installing ffmpeg with choco

I was trying the command '''choco install ffmpeg''' but the following error appear
ffmpeg not installed. An error occurred during installation:
Access denied to path 'C:\ProgramData\chocolatey\lib\ffmpeg\legal'.
The most common reason for this is that you may not be running choco from an administrative shell; make sure you start the shell as administrator before running the command.
If you already are, or that does not resolve the issue, it's possible there's an issue with the ffmpeg package itself, and it may be worth contacting the package maintainer via the links on the community repository to get it addressed.

Sophos for Ubuntu blocking Flatpak application installs

I have installed Sophos for Ubuntu and it has been working fairly well until I decided to try Flatpak.
When installing or updating anything using Flatpak, I now get this pop up:
error popup
with this corresponding error on the terminal:
********************** Sophos Anti-Virus Alert *****************
Error scanning file
"/var/tmp/flatpak-cache-6TPQJ0/org.freedesktop.Platform.Locale-
37ALJ0/repo-WTmN4b-lock".
Access to the file has been denied
Searching the Google webs didn't really give me anything except this note on Github
https://github.com/flatpak/flatpak/issues/3512
Any suggestions to how to whitelist or otherwise ignore these files?
$ flatpak --version
Flatpak 1.4.3
NAME="Ubuntu"
VERSION="19.10 (Eoan Ermine)"
ID=ubuntu
VERSION_ID="19.10"
The savlog or syslog might give more information about what error SAV is hitting trying to scan the files.
/opt/sophos-av/bin/savlog -100
tail /var/log/syslog
It's likely that the files will need to be excluded, which you can using savconfig
/opt/sophos-av/bin/savconfig exclude /var/tmp/flatpak-cache-*

MATLAB Runtime installer on Ubuntu

I try to install Runtime in MATLAB using the command
compiler.runtime.download
But I got the following error:
Error using compiler.runtime.download
Unable to open output file:
'/home/amaa11/.mcrCache9.7/../MCRInstaller9.7/MATLAB_Runtime_R2019b_Update_4_glnxa64.zip' for writing. Common reasons include that the file exists and does not have write permission or the folder does not have write permissions.
Even I run MATLAB using sudo command, still got same error.
I tried to download it and then I install it, but still does not work.
How can this be solved?

PostgreSQL reinstall : Failed to load sql modules into the database cluster

I tried to re-install postgresql 9.5.3-1 on my windows 7 without success. In fact, at each attempt, I have the message:
failed to load sql modules into the database cluster
then, I get the message:
Error running post install step. Installation may not complete correctly. Error reading C:/Program Files/PostgreSQL/9.5/data/postgresql.conf
I tried several attempts to solve this issue
change the installation folder
switch to 32-bit
reboot
clean the register before reinstalling
install as a postgres user as describe here (Failed to load sql modules into the database cluster during PostgreSQL Installation)
PS: installation language is French
I finally found a solution to my problem. I just installed postgres as a super administrator
Had same problem. Just double check permission for your data folder. I set full control to authenticated users and it installs correctly.
Same problem here.
In my case it was a backslash \ at the end of the password.
See also https://stackoverflow.com/a/32146553/2443630

pgAdmin III (pgadmin3_92.x86_64 0:1.16.1-1.rhel6 ) won't start

OS on which I've isntalled pgAdmin: Centos 6.3
Postgresql 9.2 is installed on another machine (not sure if this matters)
Have installed pgadmin3_92 via postgresql repo.
When I go: Applications > Programming > pgAdminIII, and select, nothing happens.
When I enter pgadmin3_92 into the terminal I get
pgadmin3_92: error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory
I've tried a Google search for this error and it came back with no results. I'm only new with Linux/Centos so I've reached the limit of what to do next to figure out how to get pgAdminIII working.
Any ideas on what to look for/do next?
The error is caused by Centos not being able to find the shared libraries to run the application.
My pgadmin3 library files are installed at: /usr/pgsql-9.2/lib
I ran ldd pgadmin3 as per hints here, this confirmed that the shared library could not be found to run pgadmin.
Also on the same link it shows to change to root user: su - root, and then create a .conf file that points Centos to where the libraries are for pgadmin3. The command to create this file is:
echo /usr/pgsql-9.2/lib > /etc/ld.so.conf.d/pgsql-9.2.conf
For someone else this would be:
echo <location of pgadmin3 libraries> > /etc/ld.so.conf.d/pgsql-9.2.conf
I then ran: cat /etc/ld.so.conf.d/pgsql-9.2.conf to confirm the file had been created and the location of the libraries had been written to the file.
I then ran the following to ensure Centos was refreshed with this new configuration info:
/sbin/ldconfig
I was able to run pgadmin3 after this.
yum install postgresql92
If it is not enough then
yum install postgresql92-libs