[Boston.pm] [job] Perl Web Programmer, Burlington, MA
Summary of Boston.pm job posting policy: Job postings may not be posted directly to the list. Instead, job postings should be sent to r...@tamias.net and bob.cla...@verizon.net. They will review each posting, and either post it to the list or return it to the sender for editing. For the full job posting policy, see: http://boston-pm.wikispaces.com/Job+Posting+Policy --- Perl Web Programmer, Burlington, MA Skill Set * Proficiency in Perl web development with recent experience * Proficiency in HTML, CSS, JavaScript * Understanding of the traditional LAMP hosting stack * A good understanding of MySQL * Very strong troubleshooting skills * The ability to work with a remote team. Being a good communicator and a self-starter is a must have. * PHP or Ruby are nice to haves, but not required. Direct Hire/Perm position and client is open to taking a contractor as well. $70/hr. max for contract / $115k salary (flexible) I am a recruiter so the placement will be through my company, Softworld Inc. in Waltham, MA but candidate will be a direct hire to my client. Location is Burlington, MA and client is flexible with a couple of days remote if needed or flex hours. Company's service is Web Hosting. Christina Regan cre...@softworldinc.com Delivery Manager Softworld, Inc. 281 Winter St., Suite 301, Waltham, MA 02451 Office: 781.373.8403 | Mobile: 603.988.1398 Toll Free: 877.899.1166 ext. 403 | Fax: 781.466.9603 http://www.softworldinc.com/ ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] website problem
dan wrote: ricky writes: On Jun 25, 2015, at 2:00 PM, dan moylan j...@moylan.us wrote: richard morse writes: SELinux? On Jun 25, 2015, at 1:30 PM, dan moylan j...@moylan.us wrote: . . . oh. sounds like a good lead. i don't want to abuse your generosity but after prowling through the selinux man pages and looking at the files in /etc/selinux i'm somewhat overwhelmed. do you have any specific suggestions as to how i might fiddle selinux to fix my problem? At least in CentOS, you can start out by turning off SELinux enforcing (`setenforce`), and see if things work with permissive mode. If they do, you know that it was the problem. Also, `sestatus` to find out if SELinux is on. I don’t know what distro you’re running, so the commands might be a bit different. tnx, running fc21. root ~[394] setenforce 0 root ~[395] sestatus SELinux status: enabled SELinuxfs mount:/sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: permissive Mode from config file: enforcing Policy MLS status: enabled Policy deny_unknown status: allowed Max kernel policy version: 29 unfortunately, the error persists. not any longer! it was two problems: 1st: in my code: $fll = /home/moylan/www/cgi-bin/stuff/moyts6.log; $fhl = new FileHandle (); $fhl-open ($fll, w) or die couldn't open $fll; $fhl-printf (# MOYTS6\n\n); it was apache trying to write to stuff with permissions 755 owned by moylan.moylan. i added moylan to apache groups and set stuff permissions to 775 and that got fixed. 2nd: selinux permissive mode was required. when those two things were done the script worked just fine. now, do you have any suggestions as to how i might adjust selinux for my particular problem without putting it in the permissive mode? tia, ole dan j. daniel moylan 84 harvard ave brookline, ma 02446-6202 617-777-0207 (cel) j...@moylan.us www.moylan.us [no html pls] ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] website problem
On 06/28/2015 05:44 PM, dan moylan wrote: 1st: in my code: $fll = /home/moylan/www/cgi-bin/stuff/moyts6.log; $fhl = new FileHandle (); i know you haven't touched your code in ages but filehandle.pm has been deprecated for over a decade! in fact it is just a wrapper around IO::Handle. and you don't need that either for basic stuff like this. $fhl-open ($fll, w) or die couldn't open $fll; always print $! when a system call fails so you know why. it might have helped you debug this as a permissions problem if you saw the error message. $fhl-printf (# MOYTS6\n\n); why printf when you have no %patterns or data? use plain print for that. thanx, uri ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] website problem
On Sun, Jun 28, 2015 at 05:44:11PM -0400, dan moylan wrote: 1st: in my code: $fll = /home/moylan/www/cgi-bin/stuff/moyts6.log; $fhl = new FileHandle (); $fhl-open ($fll, w) or die couldn't open $fll; $fhl-printf (# MOYTS6\n\n); it was apache trying to write to stuff with permissions 755 owned by moylan.moylan. i added moylan to apache groups and set stuff permissions to 775 and that got fixed. 2nd: selinux permissive mode was required. when those two things were done the script worked just fine. now, do you have any suggestions as to how i might adjust selinux for my particular problem without putting it in the permissive mode? Is there a special reason why the cgi directory is writable by the web server? It's a more usual practice to place log files in a separate directory from code and make sure that the code directory is NOT writable by the web server. One of the benefits of a separate logging directory is that this problem goes away and your system is more secure. ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm