Issue installing ModX Revolution - zip

I am trying to install version 2.2 of ModX Revolution. Everything goes fine up until the last step where I get this error:
The install failed because MODX could not unpack the
/public_html/core/packages/core.transport.zip package. Make sure that the
/public_html/core/packages/core.transport.zip file exists and is writable, and that you have made the
/public_html/core/packages/ directory writable.
I have checked and the directory is writable and the file core.transport.zip does exists and is also writable.
Can anyone tell me whats going on?

Do you have a folder 'core' next to the zip file? if yes, just make it (and every file within it) writable. Worked for me..

Related

Deleted Apache Flume's flume.log, now errors are no longer logged after recreating

My flume.log file was getting enormous so I foolishly deleted it. It's absolute path was
/etc/apache-flume-1.8.0-bin/logs/flume.log
I then recreated it (ie: touch flume.log) in the same directory. However nothing gets appended to it anymore after running a Pyspark program. It belongs to root, and I am running the pyspark code as root.
I also checked /etc/apache-flume-1.8.0-bin/conf/log4j.properties and ensured the path was correct (which it is). I also tried changing the path to my project directory to no avail.
I tried deleting the file (to see if it would be automatically created), and I tried creating an empty file first as well. Still no error logs.
Is there a way to fix this?
I am on Ubuntu 18.04, Apache Flume 1.8.0, Pyspark 2.2.2
I ended up having to uninstall Flume, and then reinstall Flume. Unfortunately I could not find any other way to get it working.

Linux CentOS path does not exist

I'm working on Linux CentOS 6.5.
Can someone explain to me the following:
[root#zwoop html]# locate l4_test
/var/www/html/l4_test
[root#zwoop html]# file /var/www/html/l4_test
/var/www/html/l4_test: cannot open `/var/www/html/l4_test' (No such file or directory)
I want to delete this folder, but I'm not allowed to delete it with
rm -R /var/www/html/l4_test
Because apparently it does not exist, even though it exists...
Thanks.
As the manual describes, locate reads one or more databases prepared by "updatedb".
It may not have the latest information if it's been a while since the last updatedb.
Run it manually (updatedb) and then try locate.

Lsyncd did not create a lsyncd.pid file

I just installed lsyncd-2.1.5 on a CentOS 6.4 server. I was able to run make and make install on the distribution to compile the daemon. I was able to setup the following configure file at /etc/lsyncd.lua. I was able to setup the daemon file at /etc/init.d/lsyncd. I was also able to setup the logs correctly. However, when I go to run start command on lsyncd, it throws the error:
/bin/bash: line 1: Illegal Insruction /usr/local/bin/lsyncd -pidfile /var/run/lsyncd.pid /etc/lsyncd.lua
I checked at /var/run for the file lsyncd.pid and this file was not created by lsyncd.
Any thoughts on what I should do here? Can I get this file created? Do I have to reinstall?
Let me know if I can provide any further information.
Here is what I did to solve this issue. I removed all instances of my lsyncd distribution. I had previously downloaded and compiled my package in the folder /var/tmp, so I now navigated to the root folder and ran my download command here. I un-tarred the package, and compiled the package in the root folder and setup all of my configuration files. After I started the service now, the lsyncd.pid file was now in the /var/run folder. Very strange. Can anyone tell me what the difference is between compiling in the root or /var/tmp?
Or is this possibly a situation where something possibly went wrong the first time around? Does anyone have any insight on this?

Modx Revolution can't find its CSS files?

Here's an odd one: I just installed ModX Revolution 2.2.4 and all went well, but in the back end its like the css file is missing - it either loads just some of the page, or the whole page with no CSS.
In my browser console it says it cannot find the css file at all. I checked the files and directories - all are intact and all permissions are correct.
I've tried reinstalling and on two different servers both with the same occurrence.
The only thing that came up is that during the installation it couldnt unzip the file core.transport.zip, so I unzipped it on my PC and re-uploaded it.
Would anyone know whats going on at all?
Thanks
The issue was the zipped files within ModX were not unzipping when I did the install. Either unzip them on your PC, fix or update the PHP on the server, or install an older version (2.1.7 works ok)

Freeswitch mod_java installation problem

I am trying to install mod_java on ubuntu.
I have installed the latest java(1.6).
I have configured freeswitch with mod_java module enabled in module.conf.xml
then when i run the make file, it says:
freeswitch_java.h:5:17: error: jni.h: No such file or directory
I have searched through the java installtion folders, but did not find any include folder or jni.h.
Can anyone help, what is being the problem here.
Thanks for reading this question.
I had the same problem. The solution was to run configure with the option --with-java:
./configure --with-java=/usr/lib/jvm/java-1.6.0-openjdk/include/
I don't know if it makes any difference but I added mod_java after building freeswitch without it. It was disabled in my initial build in module.conf.xml but afterwards I ran the above command plus:
make mod_java-install
It worked for me on ubuntu with openjdk. Are you using the Sun JDK? Maybe in the version you have dont have the include folder which has the source files. Try installing the other JDK. Or try and see of ther are some other related packages in apt that will get you the include folder.
Type this linux command to locate your jni.h file on your filesystem.
locate jni.h
you should be able to get it somewhere
in /usr/lib/java directory or some other directory
depending upon your java home.
copy paste the jni.h in src/include folder of your freeswitch src.
It will throw you some more errors for different .h files
just copy all of them to your src/include folder.
in latest freeswitch, installing through Makefile, its not possible to configure as the Makefile downloads and installs. Its possible by modifying the Makefile.in file to add the include path
mod_java_la_CPPFLAGS
-I/usr/lib/jvm/default-java/include \

Resources