Register

Welcome to the RDI-Board Community.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


Donate Now Goal amount for this month: 100 EUR, Received: 100 EUR (100%)
Donate to support this site...

Results 1 to 10 of 10
  1. #1
    Member Mentor
    RDI - Board Default Avatar

    Join Date
    Jun 2008
    Location
    82.7° N 114.4° W
    Posts
    991
    Posts Thanks / Likes

    Default CCcam log monitor pe Linux

    Incerc sa pornesc ccam-ul in mod debug pe un server linux (ubuntu) si sa redirectez output-ul intr-un fisier de log.

    Code:
     
    CCcam -dv > /tmp/cccam.log
    Din pacate, fisierul rezultat este gol. Aveti vreo idee cum se poate configura sa logheze in fisier?

    Am testat si pe un DM si se intampla la fel.

  2. #2
    Member Mentor
    Join Date
    Mar 2003
    Location
    Romania
    Posts
    857
    Posts Thanks / Likes

    Default

    nu am cccam dar poti incerca (poate logurile merg pe stderr):

    CCcam -dv 2>/tmp/cccam.log

    sau

    CCcam -dv 1>/tmp/cccam.log 2>&1

  3. #3
    Member Mentor
    RDI - Board Default Avatar

    Join Date
    Jun 2008
    Location
    82.7° N 114.4° W
    Posts
    991
    Posts Thanks / Likes

    Default

    Am incercat si asa dar tot nu scrie nimic in fisier. Exista o sintaxa diferita in bash fata de alte shell-uri?

  4. #4
    Târnacopist Expert
    Join Date
    Dec 2005
    Location
    /home/satwien/
    Posts
    6,001
    Posts Thanks / Likes

    Default

    Verifica /tmp/, sa aiba drepturi 777 iar owner sa fie "root".

  5. #5
    Member Mentor
    RDI - Board Default Avatar

    Join Date
    Jun 2008
    Location
    82.7° N 114.4° W
    Posts
    991
    Posts Thanks / Likes

    Default

    Fisierul se creeaza in tmp dar e gol:
    root:/tmp# ls -l
    total 48
    -rw-r--r-- 1 root root 0 2009-12-02 13:12 cccam.log

    Alte programe genereaza output in /tmp (ex: newcs)

  6. #6
    Târnacopist Expert
    Join Date
    Dec 2005
    Location
    /home/satwien/
    Posts
    6,001
    Posts Thanks / Likes

    Default

    Nu m-am descurcat niciodata cu notatia "-rw-r--r-- 1" dar am cautat o echivalenta pentru 777 si cica ar trebui sa fie "rw- rw- rw-".
    Oricum, diseara incerc si eu pe serverul meu, acum nu am acces la el.

  7. #7
    Member Mentor
    RDI - Board Default Avatar

    Join Date
    Jun 2008
    Location
    82.7° N 114.4° W
    Posts
    991
    Posts Thanks / Likes

    Default

    user group other
    rwx rwx rwx

    r - read
    w - write
    x - execute

    ~~~~~~~~~~~~~~
    -rw-r--r-- inseamna:
    > read + write pentru owner
    > read pentru grup
    > read pentru other

    777 este echivalent cu rwxrwxrwx.

    dar tot nu-mi merge si nu inteleg de ce. Alte programe varsa output-ul in fisier: ls -l > /tmp/ls.log

  8. #8
    Unemployed Expert
    RDI - Board Default Avatar

    Join Date
    Jan 1970
    Location
    BeneluX
    Posts
    1,329
    Posts Thanks / Likes

    Default

    Eu am in script linia: /emu/cccam/CCcam.x86 -d >> /var/log/cccam.log &
    in var/log imi genereaza fisierul cccam.log cu drepturi rw-r-r
    Eventual creeaza fisierul cccam.log si apoi restarteaza aplicatia (cccam)
    baFTA
    un server câteva receivere si ceva pasiune...

  9. #9
    Moderator Expert
    Join Date
    Sep 2003
    Location
    BRASOV
    Posts
    3,462
    Posts Thanks / Likes

    Default

    -rw-r--r-- inseamna: atribut 644,parca.
    350 kg de scule!

  10. #10
    Member Mentor
    Join Date
    Nov 2006
    Location
    Brasov
    Posts
    951
    Posts Thanks / Likes

    Default

    Eu pe clarkconnect am creat un fisier log.txt acolo unde e si cccam.x86 ( bin )
    Am dat comanda ./CCcam.x86 -d > log.txt si e ok.
    **************************************************
    ClearOS 5.2 Server, 2x Vu+
    offset 1,25m, parabola 1,50m, Focus Sat Full

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to Top