Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#1925 closed defect (worksforme)

oscam.services not working correctly

Reported by: kess78 Owned by:
Priority: minor Component: Reader
Severity: medium Keywords: oscam.services
Cc: Sensitive: no

Description

Revision

#5366

Issue Description

Services defined in oscam.services are not applied to the readers

When the issue occurs

Always

How the issue is reproducable

Just by configuring everything as described in the wiki

<Don't forget to ATTACH (not post here) a log file of oscam in debug mode (start oscam with -d255)!>

Attachments (4)

oscam.services.txt (2.0 KB) - added by kess78 9 years ago.
oscam.services
reader_config.txt (3.1 KB) - added by kess78 9 years ago.
oscam.server
20110608.log (437 bytes) - added by kess78 9 years ago.
oscam.log
webinterface.png (10.9 KB) - added by kess78 9 years ago.
WebIf Screenshot

Download all attachments as: .zip

Change History (12)

Changed 9 years ago by kess78

Attachment: oscam.services.txt added

oscam.services

Changed 9 years ago by kess78

Attachment: reader_config.txt added

oscam.server

Changed 9 years ago by kess78

Attachment: 20110608.log added

oscam.log

comment:1 Changed 9 years ago by kess78

I'm sure that my config is correct, but the service 2C3A is continuously asked to reader skyit even if it's negated by reader config.
Service 2C3A should be directly asked to oscamservr01.
Am I wrong ?

Thank you guys for all your time...

Changed 9 years ago by kess78

Attachment: webinterface.png added

WebIf Screenshot

comment:2 Changed 9 years ago by kess78

Sorry, I forgot to attach a screenshot of the WebIf showing no service checked, but oscam.server contains a list of services to include/exclude.
Thank you again, bye Kess.

Last edited 9 years ago by kess78 (previous) (diff)

comment:3 Changed 9 years ago by Deas

Resolution: worksforme
Status: newclosed

can´t reproduce this here on sh4 and i686 - services defined are applied to the readers and shown in web-if. there must be a config issue on your side. did you created the services by hand or via web-if? do you see this in the log?

2011/06/08 22:29:03 298CF850 s services reloaded: 0 services freed, 2 services loaded

as long this is not a confirmed bug, please discuss in forum!

comment:4 Changed 9 years ago by Booh

Resolution: worksforme
Status: closedreopened

i have the same problem, if the caid is a services negated and applied to the user and applied to the physical reader too, oscam tries the same to ask ecm to card

comment:5 Changed 9 years ago by kess78

I've investigated a little bit more on that. Ad suggested by Deas, I've created all the configuration files using WebIf.
In the readers section I've added and negated services on a specific reader. Everything was fine, everything was showed up correctly in WebIf.
After a restart (I've my sh script that kills the process and starts a new one), the services are no more selected on the reader section. If I check the config through ssh, services are still there.

The services are loaded, I see them in the log and I can see them in the services section in WebIf.

comment:6 Changed 9 years ago by Deas

Resolution: worksforme
Status: reopenedclosed

@Booh: i created a service test, added 0D05:132F and applied it to my dvbapi user and reader as negotiated service. and 0D05:132F is not working as it should be.

2011/06/09 22:35:11 2C0D04E8 c SCHLAFZIMMER (0D05&000004/132F/9C:DFBA): invalid (0 ms) (of 0 avail 0) - ORF1 HD (invalid SID)

whatever you report here is not reproducible - so please discuss in forum first and not in trac!

comment:7 Changed 9 years ago by Admin

It is reproducable but only with exactly the same files like posted above. The "atr =" line was the problem. Should be fixed now in r5369.
Recommendation: Keep your config clean by not saving unneeded parameters (httpsavefullcfg = no). This furthermore makes sure, that changed default values get active when we notice that there are changes needed.

Last edited 9 years ago by Admin (previous) (diff)

comment:8 Changed 9 years ago by kess78

r5369 effectively fixes this issue.
Thank you a lot :-)

Note: See TracTickets for help on using tickets.