Find Jobs
Hire Freelancers

Upload Form (perl) not working after Server Upgrade

$30-250 USD

진행 중
게시됨 약 11년 전

$30-250 USD

제출할때 지불됩니다
[login to view URL] The uploader no longer works - it appears as if it is but the process is not completing and no progress bar and messages appear in the popup like before. This has been working without a problem until a recent server upgrade. The uploader works with PERL - when we asked the host they gave us the below explanation: We tried to upload the file "[login to view URL]" using "[login to view URL]". However, we were not able to upload the file. We suspected that the issue related to uploading files was due to "SELINUX". Please note that Security-Enhanced Linux (SELinux) is a mandatory access control (MAC) security mechanism implemented in the kernel. We checked the server "[login to view URL]" and could see that "SELINUX" is disabled in the server. Please refer the snippet provided below. =========== root@oxygen [~]# cat /etc/sysconfig/selinux # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted # SETLOCALDEFS= Check local definition changes SETLOCALDEFS=0 root@oxygen [~]# sestatus SELinux status: disabled =========== Further checking, we have found the following error from the Apache error logs. Please refer the snippet provided below. =========== root@oxygen [/home/bakerstr/public_html/cgi-bin/old]# tail -100 /usr/local/apache/logs/error_log | grep [login to view URL] [Mon Apr 01 13:32:01 2013] [error] [client [login to view URL]] [Mon Apr 1 13:32:01 2013] [login to view URL]: CGI open of tmpfile: No such file or directory, referer: [login to view URL] root@oxygen [/home/bakerstr/public_html/cgi-bin/old]# =========== From our investigation, we could see that the error occurs due to the variable name "$CGITempFile::TMPDIRECTORY" in the "[login to view URL]" file. We checked the "[login to view URL]" file in the directory "/home/bakerstr/public_html/upload2/" and found that the upload directory of the domain "[login to view URL]" is "/home/bakerstr/public_html//cgi-bin/old/[login to view URL]". Please verify the same from the snippet provided below. =========== root@oxygen [/home/bakerstr/public_html/upload2]# cat [login to view URL] | grep form root@oxygen [/home/bakerstr/public_html/upload2]# =========== Further, we checked the "/home/bakerstr/public_html//cgi-bin/old/[login to view URL]" file for the variable "$CGITempFile::TMPDIRECTORY". Please verify the same from the snippet provided below. =========== root@oxygen [/home/bakerstr/public_html/upload2]# cat /home/bakerstr/public_html//cgi-bin/old/[login to view URL] | grep CGITempFile::TMPDIRECTORY $CGITempFile::TMPDIRECTORY = $TempFile::TMPDIRECTORY = $temp_dir; root@oxygen [/home/bakerstr/public_html/upload2]# =========== We believe that the issue is with the path of the variable "$CGITempFile::TMPDIRECTORY". Hence, we request you to contact your developer to verify whether the path of the variable "$CGITempFile::TMPDIRECTORY" is set correct or not. Moreover, we have found that the use of the module "CPAN module CGI::UploadEasy" can also fix this issue. Please verify the same with your developer. Please check this update and let us know if you have any further concerns.
프로젝트 ID: 4394810

프로젝트 정보

제안서 1개
원격근무 프로젝트
활동 중 11년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
프로젝트를 수여된 사용자:
사용자 아바타
I'm interested in that project. I'm experienced (15+) perl web developer and linux administrator. I've read your description. Looks like a simple job for an hour or two to fix this perl script.
$34 USD 0일에
5.0 (1 건의 리뷰)
1.0
1.0

고객에 대한 정보

국기 (UNITED KINGDOM)
London, United Kingdom
5.0
291
결제 수단 확인
9월 5, 2011부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.