I have been playing around with the Cloud9 web-based IDE learning PHP
Today I went to run my project, and was presented with this error:
(20014)Internal error: AH00058: Error retrieving pid file /home/ubuntu/lib/apache2/run/apache2.pid
AH00059: Remove it before continuing if it is corrupted.
I have since been able to migrate my work using XAMPP, but would like to resolve my Cloud9 issue. Does anyone know how to resolve this in the Cloud9 environment?
Well, I feel rather dumb...resolved the issue myself by using Cloud9's terminal to navigate to the directory and then removed the corrupt file.
I got Same type problem & solution as follows. Hope someone may helpfull
Problem:
Started apache2
(20014)Internal error: AH00058: Error retrieving pid file
/home/ubuntu/lib/apache2/run/apache2.pid
AH00059: Remove it before continuing if it is corrupted.
Solution:
sudo rm /home/ubuntu/lib/apache2/run/apache2.pid then
sudo /home/ubuntu/lib/apache2/run/apache2.pid restart
Related
Edited as I found the solution.
It's an Ionic app, which runs completely well on Android. I don't own a Mac, so I'm using Macincloud. Have followed the steps for IOS and can send it, via Dropbox to macincloud and open it (after solving some issues thanks to: https://github.com/apache/cordova-ios/issues/1084 ).
But then the build failed. Below I show what I have tried.
I followed the permissions issue from https://www.educative.io/edpresso/what-is-chmod-in-windows, but it didn't solve it. I don't own a Mac, so I'm completely lost.
By following: https://ionicframework.com/docs/developing/ios the only thing I haven't done is:
npm install -g ios-sim
&
brew install ios-deploy,
because it's a Macincloud and I don't have permission to do that, and I'm not sure if that's the issue.
I also tried locking and unlocking keychain and cleaning xcode project as in Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code, but I also don't have permissions in Macincloud to unlock keychain after locking it. :(
Anyone who knows or has dealt with similar issues, I'll be endlessly grateful for your help. Thanks :)
Nevermind, this part was solved with the chmod +x solution, Cordova Xcode build failed "Permission denied" just was not sure how to do it as it's Macincloud. Now on to the next challenge :)
When I finished installation postgresql-10.5 and ran pgadmin4 (that came installed with postgresql) I get a configuration error that says:
An error occurred initializing the application server:
Failed to launch application server, server thread existing
It then asks me to input a python path and an application path.
Can anybody help me and and advise what to do to run pgadmin4. I tried find problem solution, but nothing helped me(
I am getting an error while installing the features.
error executing command: error restarting bundles
Initially, it worked fine for some of the features but then it suddenly started throwing this error.
Any suggestion on this would be appreciated.
if you clean karaf, you can resolve the issue, by running the following command, you can clean the karaf.
./karaf clean
When OpenDaylight moved to karaf 4 there were problems identified with
installing features in the karaf shell one after the other. I think
you are hitting that problem.
you can try listing out all the features you want in the featuresBoot
variable of the etc/org.apache.karaf.features.cfg file.
You may also have some success trying to install on the karaf shell with
the following flag --no-auto-refresh, like this:
feature:install --no-auto-refresh odl-l2switch-switch
Also, as sridhar reddy noted, if you use "karaf clean" to start karaf it will
wipe the data/ folder (and more) so that old loaded features will not come
back in on startup and you will start "clean".
I've installed Solr on my Ubuntu to this path
/opt/solr/solr-4.10.2
After installing I started Solr:
sudo bin/solr start from /opt/solr/solr-4.10.2 directory
As I can understand it started successfully
Waiting to see Solr listening on port 8983 [/]
Started Solr server on port 8983 (pid=8385). Happy searching!
But when I try to get to admin page
http://localhost:8983/solr
I got 404 error:
HTTP ERROR: 404
Problem accessing /solr. Reason:
Not Found
Powered by Jetty://
Do you have any suggestion what's going wrong and where to look in order to fix this problem?
Since this error can be caused by a lot of things, you need to access the log file and debug the execution.
First of all, open your Node log file, located in /opt/solr/solr-4.10.2/node1/log and look for something weird (Shift+F for Errors).
Generally, this error occurs when you have a mismatch between the Solr required Java JDK and your current Java JDK.
When I had this problem, I found in the log file the following error message java.lang.UnsupportedClassVersionError: org/apache/solr/servlet/SolrDispatchFilter : Unsupported major.minor version 51.0 and realized the problem was the java version.
To solve this, try to change the current JDK, using the command sudo update-alternatives --config javac.
If the error still occurs, try to uninstall all unused JDK's, because Solr is getting the wrong path.
The final solution to this issue is to open the file /opt/solr/solr-4.10.2/solar.in.sh and edit the SOLR_JAVA_HOME, writing the right JDK path (e.g /usr/lib/jvm/java-1.7.0)
Disclosure: the secret is look in the log file and figure out what is causing the issue.
Cheers.
try:
http://localhost:8983/solr/index.html
[solr's web.xml]
<servlet>
<servlet-name>LoadAdminUI</servlet-name>
<servlet-class>org.apache.solr.servlet.LoadAdminUiServlet</servlet-class>
I'm a newbie in cakephp, I'm trying to upgrade cakephp to the latest version.
I install the fresh cakephp 1.3 on my computer and the upgrade it to cakephp 2.1.
I use shell to upgrade, but after I run 'upgrade all' command, I saw two error:
Warning Error: chmod(): Operation not permitted in [/var/www/cakephp-1.3/lib/Cake/Utility/Folder.php, line 639]
Warning Error: touch(): Utime failed: Operation not permitted in [/var/www/cakephp-1.3/lib/Cake/Utility/Folder.php, line 640]
I think it has upgraded complete. Because I see the message from terminal like this:
Done updating /var/www/cakephp-1.3/app/Console/cake.php
Done updating /var/www/cakephp-1.3/app/Console/Command/AppShell.php
Running components
Running exceptions
Then I refresh my app and I got some errors:
http://flic.kr/p/bwUpwY
Then I delete 'cake' directory, and the error message has changed:
http://flic.kr/p/bKP7Te
So now I don't know what to do next, because I did many ways but still not make it work.
So anybody please tell me what I did wrong and how can I upgrade cakephp successful.
Thanks in advance.
This looks like you have permissions issues on some of the directories that the CakePHP migration script expects to be writable.
This could lead to the migration failing on some parts and leaving a partially broken install after it completes.