Apache + Open Office Headless

2018-09-25 Thread Piers via luv-main
Hi there, I have a VM with 16GB RAM and 8 Cores. It's job is to accept a HTTP request using PHP, take the data (documents) and run open office to convert it to plain text and return it. Up until now this process has been fine. It seems that the server hangs as it just gets overloaded. I've j

Cron jobs + PHP ~ IMAP polling

2019-02-12 Thread Piers via luv-main
Hi there, I have a server that  regularly runs jobs to import email via IMAP from remote servers. The cron runs a bash scrip that in turn iterates through the customer's install directories and then goes through each mail box that users have configured and parses the email. This is done by g

Re: Cron jobs + PHP ~ IMAP polling

2019-02-13 Thread Piers via luv-main
I'm all for a good excuse for hacking a script, but a long-solved problem isn't such a use case. Erik Thanks Erik, The software is part of a LAMP stack and is used to import documents from attachments into a CRM and attach them to people's records, convert them to text, index them and the

Re: Cron jobs + PHP ~ IMAP polling

2019-02-13 Thread Piers via luv-main
Hi Tony,   You could try creating a new file in the /tmp folder in process then remove it on closing of the script. Subsequent scripts might start then check for for the presence of this file. If it exists simply delay until it is gone or exit the script. I tried this in PHP but must have do

Re: Cron jobs + PHP ~ IMAP polling

2019-02-13 Thread Piers via luv-main
On 13/02/19 14:45, Manoj C Menon via luv-main wrote: Hi Piers, Alternatively, you could use flock to do the same. Something like this, http://www.elevatedcode.com/2013/05/07/flock-for-cron-jobs.html Hi Manoj, I was using the PHP equivalent however I probably did use it correctly (because

Phone App Development Strategies - LAMP backend

2019-02-13 Thread Piers via luv-main
Hi there, We have an existing platform that uses a separate MySQL instance for each customer and a shared application code base in PHP. Our platform has an API but this is mainly used for system admin and not fully featured and is an in-house MVC framework. We have been given a spec from a cu

Fan-less PC - Proxy Server + Fibre NBN | identify hosts on wireless

2019-08-20 Thread Piers via luv-main
Hi there, I'm looking for a fan-less box to put into my home manage kids' access to the internet. (Internet) --- NBN RJ45 --- [This Box] --- Wireless access point ***clients*** Q1: Any ideas of a good, affordable system Q2: Can I bridge the wireless so I can trace / manage MAC address

Re: Fan-less PC - Proxy Server + Fibre NBN | identify hosts on wireless

2019-08-21 Thread Piers via luv-main
Please fix the SPF defnition for your domain name (or have someone fix it for the domain if you are not responsible). I am very responsible for it! Thanks for pointing it out. Cheers P ___ luv-main mailing list luv-main@luv.asn.au https://l

Re: Fan-less PC - Proxy Server + Fibre NBN | identify hosts on wireless

2019-08-21 Thread Piers via luv-main
Brilliant! Spot on! Thank you! P On 21/8/19 5:08 pm, Mike O'Connor via luv-main wrote: On 21/8/19 3:56 pm, Piers wrote: Hi there, I'm looking for a fan-less box to put into my home manage kids' access to the internet. (Internet) --- NBN RJ45 --- [This Box] --- Wireless access point ***

Re: Fan-less PC - Proxy Server + Fibre NBN | identify hosts on wireless

2019-08-21 Thread Piers via luv-main
-nuc-barebone-kit-nuc5cpyh On 21/8/19 4:26 pm, Piers via luv-main wrote: Hi there, I'm looking for a fan-less box to put into my home manage kids' access to the internet. (Internet) --- NBN RJ45 --- [This Box] --- Wireless access point ***clients*** Q1: Any ideas of a good,

Re: Fan-less PC - Proxy Server + Fibre NBN | identify hosts on wireless

2019-08-21 Thread Piers via luv-main
ED MESSAGE- Hash: SHA256 Hi, On 21/8/19 4:26 pm, Piers via luv-main wrote: > > I'm looking for a fan-less box to put into my home manage kids' access to the internet. > > (Internet) --- NBN RJ45 --- [This Box] --- Wireless access point ***clients*** > > Q1: A

VPN Server: Windows + Linux Clients

2019-08-26 Thread Piers via luv-main
Hi there, I am looking to set up a VPN server for my cloud VM's. There will be both windows and linux clients - ideally using certificates to login. - What do you recommend (eg: OpenVPN) and are there any licensing requirements for an open source application? - My preference is to avoid in

Re: Having trouble connecting external USB drive

2019-08-29 Thread Piers via luv-main
On 30/8/19 1:19 pm, Terry Duell via luv-main wrote: Hello All, I'm running Fedora 30, and have an external USB drive that has been used with a Windows laptop to save photos whilst travelling. Does the drive have a propriety connection software (eg: security system) in Windows? Unplug it

Re: Having trouble connecting external USB drive

2019-08-29 Thread Piers via luv-main
On 30/8/19 2:45 pm, Terry Duell via luv-main wrote: OK...that did something! dmesg just brings up the log. As soon as I ran dmesg the drive icon appeared on the desktop and I can now access all the files...amazing. Not sure why, but it may be a solution. Yet to see if it's repeatable

Re: Fan-less PC - Proxy Server + Fibre NBN | identify hosts on wireless

2019-08-30 Thread Piers via luv-main
On 30/8/19 8:33 pm, Andrew McGlashan via luv-main wrote: Still not fixed yet. the SPF problem that is. Hi Andrew, I've just added one now. Do you want to check it? If there is a caching issue the DNS is at ns1.webgen.com.au Thanks Piers ___

Re: Fan-less PC - Proxy Server + Fibre NBN | identify hosts on wireless

2019-08-30 Thread Piers via luv-main
On 31/8/19 11:25 am, Andrew McGlashan via luv-main wrote: It is not legal to have more than 1 SPF record. $ dig @ns1.webgen.com.au -t txt recruitonline.com.au +short "v=spf1 ip4:119.252.17.64/28 all" "v=spf1 a mx ip4:103.16.128.141/32 ~all" And the first one is wrong with "all", the second

Re: Fan-less PC - Proxy Server + Fibre NBN | identify hosts on wireless

2019-08-30 Thread Piers via luv-main
On 31/8/19 12:09 pm, Mike O'Connor via luv-main wrote: This url has the Mailgun settings for spf https://documentation.mailgun.com/en/latest/quickstart-sending.html#how-to-verify-your-domain Thanks Mike, We have MG on its own cname as per their docs so it isn't part of our main SPF. Ch

CentOS - Logging DNS request from a wifi hotspot.

2019-11-02 Thread Piers via luv-main
Hi there, I have a fans PC that I am using as a wifi hospot that goes into my NBN connection. I haven't really set anything up, just selected create hotspot in Gnome and it just works. I would like to log all of the DNS queries. Is there a simple way of doing that or do I need to set up a

Bash Recursive File Rename

2019-11-14 Thread Piers via luv-main
Hi there, I have a bunch of files that I want to rename: 123.someword.doc > 123.doc 456.someword.pdf > 456.pdf The "someword" is consistent in all the files and they need to be renamed recursively. Something like this but with a different regex: # This is for a completely different file n

Email (SMTP+IMAP) Not working on ONLY my PC

2023-07-31 Thread piers via luv-main
Hi there, - There are no log entries on the server for my connections + all other users are fine - All users on the internal network have no issues, only me - Thunderbird, Other email program, Outlook on Windows VM all fail to connect to MY server GMAIL is fine from my PC - Some days (no

Re: Email (SMTP+IMAP) Not working on ONLY my PC

2023-07-31 Thread piers via luv-main
On 2023-08-01 07:58, Jason White via luv-main wrote: The next step, I suppose, would be to obtain debugging output from an IMAP client to find out whether it's the TCP connection, or TLS (assuming it's connecting over TLS), or IMAP itself. Thanks a million! I am getting two different respo

Re: Ubuntu - Logs out or Crashes - Critical Warning: 0x04 - Am I in the market for a new SSD????

2024-03-08 Thread Piers via luv-main
Redit tells me: Critical Warning: 0x04 Turns out, that according to Page 122 of the NVMe Document , Byte 00, bit 4 (0x04) of the Critical Warning means: If set to ‘1’, then the volatile memory backup device has failed. This field is only valid if the controller has a volatile memory backup

Re: Ubuntu - Logs out or Crashes - Critical Warning: 0x04 - Am I in the market for a new SSD????

2024-03-08 Thread Piers via luv-main
On 9/3/24 13:19, Russell Coker wrote: If that's the case you averaged 2.16*10/4/365/3600=410MB/s 24*7 over the lifetime! How did you do that? I would like to say I'm a workaholic but we both know the truth on that one! Do you just have the system paging non-stop all the time? I d

Re: Ubuntu - Logs out or Crashes - Critical Warning: 0x04 - Am I in the market for a new SSD????

2024-03-09 Thread Piers via luv-main
On 9/3/24 17:26, Russell Coker wrote: Changing to Mint won't make any real difference to the swap. The applications are about the same size on all systems. You probably need to develop habits of shutting down applications when you don't really need them. Having LibreOffice and GIMP running