Problem Solution

From rbachwiki
Revision as of 16:12, 8 August 2016 by Bacchas (talk | contribs) (Created page with "==Ubuntu Server== ===Error message in Crontab=== <pre> If you type /bin/sh -c root You will get the error message: /bin/sh: root: not found This looks similar to the messag...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Ubuntu Server

Error message in Crontab

 If you type
/bin/sh -c root

You will get the error message:

/bin/sh: root: not found
This looks similar to the message you are receiving in the email.

This leads me to believe that you have a crontab entry which is asking cron to run a program named "root". 

How about type

crontab -e

and look for a line that begins with the word "root" in the 6th column

* * * * * root

Note that /etc/crontab uses a different format than personal crontabs.
In /etc/crontab, the 6th column specifies the user who is supposed to run the command,
while in a personal crontab the 6th column specifies the command.

If this does not help, type

sudo -i
crontab -e

and look at root's personal crontab.

Joomla

images would not upload in joomgallery

Images won't upload in joomgallery

GD2 Library not installed

apt-get install php5-gd

Akeeba (Joomla ) Backup Failed

 The  /tmp and the /logs were unwritable. Making them writable solved the issue

Error when Running Kickstart.php

Received this error when running kickstart.php to restor2 a joomla site

"Warning: fread(): supplied argument is not a valid .."

Fix: I uploaded the file using root. therefore giving ownership of the kickstart.php file.

Change the kickstart file and the .jpa file to the proper owner and it will run fine.


Wordpress Displayed Blank Homepage

Problem: Blog displayed as a blank page

Fix: Themes folder was corrupted. recopied the themes folder

You can change the site url by editing the wp_options in the database