MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: murshed on 2016-01-31, 07:19:46
-
in cPanel this site have no problem image uploading but when i move to kloxomr its show
Error while creating additional image
directory and file permission is ok. i don't know why show this message!
please help.
-
Inform here 'sh /script/sysinfo'.
-
[root@server ~]# sh /script/sysinfo
A. Control Panel:
- Kloxo-MR: 7.0.0.b-2016013001
- Web: hiawatha-10.0.0-f.6.mr.el6.x86_64
- PHP: php54s-5.4.45-2.w6 (cgi mode)
B. Plateform:
- OS: CentOS release 6.7 (Final) x86_64
- Hostname: murshid.xyz
C. Services:
1. MySQL: MariaDB-server-10.0.23-1.el6.x86_64
2. PHP:
- Branch: php54-cli-5.4.45-1.ius.el6.x86_64
- Multiple:
* php56m-5.6.17-1.ius.el6
- Used: php56m
3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
- PHP Type: php-fpm_event
4. Lighttpd: --uninstalled--
5. Hiawatha: --unused--
6. Nginx: nginx-1.9.10-1.el6.ngx.x86_64
7. Cache: --uninstalled--
8. Dns: bind-9.9.7-1.mr.el6.x86_64
9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
- with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
D. Memory:
total used free shared buffers cached
Mem: 6144 862 5281 45 0 537
-/+ buffers/cache: 324 5819
Swap: 0 0 0
E. Disk Space:
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 30G 5.7G 25G 19% /
*** Process Time: 00:00:00:02.2156 (dd:hh:mm:ss:xxxxxx) ***
* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
(importance after Kloxo-MR update)
even ftp not works! filzilla show this...
Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Could not connect to server
-
1. For FTP, go to 'ftp configure' and click update. To make sure, run 'sh /script/fixftp; sh /script/restart-ftp -y'. This issue appear possible because Kloxo-MR change ftp service from xinetd base to initd base
2. About upload issue, try 'sh /script/fix-chownchmod' (or selet 'fix-all' for 'fix ownership and permissions' in 'webserver configure'
-
Status: Connection attempt failed with "ETIMEDOUT - Connection attempt timed out".
Error: Could not connect to server
-
Maybe related to your issue: https://forum.filezilla-project.org/viewtopic.php?t=7964
-
To make sure, try ftp connection to server use IP (instead domain).
-
same configuration, same settings, another server is working!
i think problem on ftp server.
-
Inform here 'dir -l /etc/xinetd.d; dir -l /etc/init.d; ps aux|grep ftp'.
-
[root@server ~]# dir -l /etc/xinetd.d; dir -l /etc/init.d; ps aux|grep ftp
total 44
-rw------- 1 root root 1157 Oct 7 2013 chargen-dgram
-rw------- 1 root root 1159 Oct 7 2013 chargen-stream
-rw------- 1 root root 1157 Oct 7 2013 daytime-dgram
-rw------- 1 root root 1159 Oct 7 2013 daytime-stream
-rw------- 1 root root 1157 Oct 7 2013 discard-dgram
-rw------- 1 root root 1159 Oct 7 2013 discard-stream
-rw------- 1 root root 1148 Oct 7 2013 echo-dgram
-rw------- 1 root root 1150 Oct 7 2013 echo-stream
-rw------- 1 root root 1212 Oct 7 2013 tcpmux-server
-rw------- 1 root root 1149 Oct 7 2013 time-dgram
-rw------- 1 root root 1150 Oct 7 2013 time-stream
lrwxrwxrwx 1 root root 11 Jan 30 13:40 /etc/init.d -> rc.d/init.d
root 7295 0.0 0.0 6444 704 pts/1 S+ 03:39 0:00 grep ftp
-
Try 'yum reinstall pure-ftpd -y; chkconfig pure-ftpd on; sh /script/restart-ftp -y'.
-
YESsss, now FTP is OK!
but in Prestashop Image upload i got this message. No change after chmod.
Error while creating additional image
-
For directory of upload (find out where is), use 'file manager', change ownership to 'apache:apache'. That it.
-
Not working! after change apache:apache or [user:apache] or [apache:user] or [user:user]
none of working!
(http://forum.mratwork.com/kloxo-mr-technical-helps/prestashop-problem-when-image-upload/?action=dlattach;attach=1236;image)
-
Find out in 'log manager' for web server (nginx and apache) and php and php-fpm related to 'permission denied'.
-
Thanks for reply MR but cant see any error. I am helpless. :(
-
Read http://www.templatemonster.com/help/prestashop-troubleshooter-how-to-solve-image-upload-problem-an-error-occurred-while-copying-image.html
-
Thanks. It helps. Directory only 755 and files 644 can do it manually then works. I dont know how much time it work.
-
If you run 'sh /script/fix-chownchmod', Kloxo-MR will try fix ownership and permissions of files and directories for document root of website. That it.