Article 4PYD4 Program worked one day, but after the weekend and a reboot it broke.

Program worked one day, but after the weekend and a reboot it broke.

by
little necro
from LinuxQuestions.org on (#4PYD4)
So I currently have PHP program using PHP serial to send a TAP protocol message to a paging system. The PHP program calls a python program in order to get information from another serial port. This was working on Friday, but then I shutdown the server and went home for the weekend. I came back in today and booted it back up to find my program no longer works. On Friday I remember I started the GUI and got some error about access denied to the port that talks to the paging system.

Does anyone know why my program worked one day but not the other?

Edit:
So I swapped the ports, I had receiver on ttyS0, and pager on ttyUSB0. I swapped these around and edited the program to reflect the swap and everything worked. Anyone know how this solved the problem so don't have to do that swap in the future. It's fine for testing, but not for the final solution.latest?d=yIl2AUoC8zA latest?i=mYVxI-N6kdA:ZW5uJwZ-2ag:F7zBnMy latest?i=mYVxI-N6kdA:ZW5uJwZ-2ag:V_sGLiP latest?d=qj6IDK7rITs latest?i=mYVxI-N6kdA:ZW5uJwZ-2ag:gIN9vFwmYVxI-N6kdA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments