Cannot start Firefly in FC6

Viewing 10 posts - 11 through 20 (of 21 total)
  • Author
    Posts
  • #10493
    zak_neutron
    Participant

    Ron

    Done all that – still no change in error message

    contents of ld.so.conf

    #include ld.so.conf.d/*.conf
    /usr/local/lib

    contents of /usr/local/lib is:

    drwxr-xr-x 2 root root 4096 May 1 22:04 .
    drwxr-xr-x 14 root root 4096 Nov 4 22:24 ..
    -rw-r–r– 1 root root 233966 May 1 22:04 libid3tag.a
    -rwxr-xr-x 1 root root 822 May 1 22:04 libid3tag.la
    lrwxrwxrwx 1 root root 18 May 1 22:04 libid3tag.so -> libid3tag.so.0.3.0
    lrwxrwxrwx 1 root root 18 May 1 22:04 libid3tag.so.0 -> libid3tag.so.0.3.0
    -rwxr-xr-x 1 root root 178600 May 1 22:04 libid3tag.so.0.3.0

    ran idconfig no errors

    started service mt-daapd – same message… πŸ˜₯

    #10494
    rpedde
    Participant

    @zak_neutron wrote:

    started service mt-daapd – same message… πŸ˜₯

    It can’t find I library, I think… what does:

    $ ldd /usr/sbin/mt-daapd

    show?

    #10495
    zak_neutron
    Participant

    Ron

    I think you’re right:

    results –

    ldd: /usr/sbin/mt-daapd: No such file or directory

    #10496
    fizze
    Participant

    This all sounds very weird.
    Let me add my 0.02€ πŸ˜‰

    what gives:

    ls -l /bin/bash

    ls -l /bin/sh

    and

    ls -l /usr/sbin/mt-daapd

    and

    ls -l /usr/bin/ldd

    ?

    #10497
    zak_neutron
    Participant

    OK – Thanks fizze – **deep breath*** here goes

     ls -l /bin/bash
    -rwxr-xr-x 1 root root 722684 Jul 12 2006 /bin/bash

    ls -l /bin/sh
    lrwxrwxrwx 1 root root 4 Nov 4 11:30 /bin/sh -> bash

    ls -l /usr/sbin/mt-daapd
    ls: /usr/sbin/mt-daapd: No such file or directory

    ls -l /usr/bin/ldd
    -rwxr-xr-x 1 root root 5762 Jan 5 17:04 /usr/bin/ldd

    Thanks again

    #10498
    fizze
    Participant

    ok, there you have it, the executable is not present at that location.

    whats the output when you do “make” in the directory where you keep the sources of mt-daapd?

    Two chances: Either the prefix etc is still wrong, or the make failed, with some error message.

    Chances are some external dependencies are not met.

    #10499
    zak_neutron
    Participant

    OK – here goes again – spot any errors!

    using rpedde suggestion for ./configure

    ./configure –with-id3tag=/usr/local –prefix=/etc

    Results-


    [root@feddesk mt-daapd-0.2.4]# ./configure --with-id3tag=/usr/local --prefix=/etc
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for bison... no
    checking for byacc... no
    checking for flex... no
    checking for lex... no
    checking for yywrap in -lfl... no
    checking for yywrap in -ll... no
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for pthread_creat in -lc_r... no
    checking for pthread_create in -lpthread... yes
    Host type is i686-pc-linux-gnu
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking gdbm.h usability... yes
    checking gdbm.h presence... yes
    checking for gdbm.h... yes
    checking for gdbm_open in -lgdbm... yes
    Have gdbm
    Adding dynamic libgdbm
    checking id3tag.h usability... yes
    checking id3tag.h presence... yes
    checking for id3tag.h... yes
    checking for id3_file_open in -lid3tag... yes
    Have id3tag
    Adding dynamic libid3tag
    checking for strcasestr... yes
    checking for strsep... yes
    checking for atoll... yes
    checking for ANSI C header files... (cached) yes
    checking for sys/wait.h that is POSIX.1 compatible... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking syslog.h usability... yes
    checking syslog.h presence... yes
    checking for syslog.h... yes
    checking for unistd.h... (cached) yes
    checking sys/filio.h usability... no
    checking sys/filio.h presence... no
    checking for sys/filio.h... no
    checking termio.h usability... yes
    checking termio.h presence... yes
    checking for termio.h... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking whether gcc needs -traditional... no
    checking whether setpgrp takes no argument... yes
    checking return type of signal handlers... void
    checking for select... yes
    checking for socket... yes
    checking for strdup... yes
    checking for strerror... yes
    checking for socket in -lsocket... no
    configure: creating ./config.status
    config.status: creating src/Makefile
    config.status: creating admin-root/Makefile
    config.status: creating contrib/Makefile
    config.status: creating debian/Makefile
    config.status: creating Makefile
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands

    [root@feddesk mt-daapd-0.2.4]# make
    make all-recursive
    make[1]: Entering directory `/root/downloads/mt-daapd-0.2.4'
    Making all in src
    make[2]: Entering directory `/root/downloads/mt-daapd-0.2.4/src'
    make all-am
    make[3]: Entering directory `/root/downloads/mt-daapd-0.2.4/src'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory `/root/downloads/mt-daapd-0.2.4/src'
    make[2]: Leaving directory `/root/downloads/mt-daapd-0.2.4/src'
    Making all in admin-root
    make[2]: Entering directory `/root/downloads/mt-daapd-0.2.4/admin-root'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/root/downloads/mt-daapd-0.2.4/admin-root'
    Making all in contrib
    make[2]: Entering directory `/root/downloads/mt-daapd-0.2.4/contrib'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/root/downloads/mt-daapd-0.2.4/contrib'
    Making all in debian
    make[2]: Entering directory `/root/downloads/mt-daapd-0.2.4/debian'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/root/downloads/mt-daapd-0.2.4/debian'
    make[2]: Entering directory `/root/downloads/mt-daapd-0.2.4'
    make[2]: Leaving directory `/root/downloads/mt-daapd-0.2.4'
    make[1]: Leaving directory `/root/downloads/mt-daapd-0.2.4'

    [root@feddesk mt-daapd-0.2.4]# make install
    Making install in src
    make[1]: Entering directory `/root/downloads/mt-daapd-0.2.4/src'
    make[2]: Entering directory `/root/downloads/mt-daapd-0.2.4/src'
    /bin/sh ../mkinstalldirs /etc/sbin
    /usr/bin/install -c mt-daapd /etc/sbin/mt-daapd
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/root/downloads/mt-daapd-0.2.4/src'
    make[1]: Leaving directory `/root/downloads/mt-daapd-0.2.4/src'
    Making install in admin-root
    make[1]: Entering directory `/root/downloads/mt-daapd-0.2.4/admin-root'
    make[2]: Entering directory `/root/downloads/mt-daapd-0.2.4/admin-root'
    make[2]: Nothing to be done for `install-exec-am'.
    /bin/sh ../mkinstalldirs /etc/share/mt-daapd/admin-root
    /usr/bin/install -c -m 644 ftr.html /etc/share/mt-daapd/admin-root/ftr.html
    /usr/bin/install -c -m 644 linkOpaque.gif /etc/share/mt-daapd/admin-root/linkOpaque.gif
    /usr/bin/install -c -m 644 status.html /etc/share/mt-daapd/admin-root/status.html
    /usr/bin/install -c -m 644 aspl-license.txt /etc/share/mt-daapd/admin-root/aspl-license.txt
    /usr/bin/install -c -m 644 gpl-license.txt /etc/share/mt-daapd/admin-root/gpl-license.txt
    /usr/bin/install -c -m 644 linkTransparent.gif /etc/share/mt-daapd/admin-root/linkTransparent.gif
    /usr/bin/install -c -m 644 config-update.html /etc/share/mt-daapd/admin-root/config-update.html
    /usr/bin/install -c -m 644 hdr.html /etc/share/mt-daapd/admin-root/hdr.html
    /usr/bin/install -c -m 644 mt-daapd.css /etc/share/mt-daapd/admin-root/mt-daapd.css
    /usr/bin/install -c -m 644 mt-daapd.png /etc/share/mt-daapd/admin-root/mt-daapd.png
    /usr/bin/install -c -m 644 config.html /etc/share/mt-daapd/admin-root/config.html
    /usr/bin/install -c -m 644 index.html /etc/share/mt-daapd/admin-root/index.html
    /usr/bin/install -c -m 644 required.gif /etc/share/mt-daapd/admin-root/required.gif
    /usr/bin/install -c -m 644 gpl-license.html /etc/share/mt-daapd/admin-root/gpl-license.html
    /usr/bin/install -c -m 644 aspl-license.html /etc/share/mt-daapd/admin-root/aspl-license.html
    /usr/bin/install -c -m 644 thanks.html /etc/share/mt-daapd/admin-root/thanks.html
    /usr/bin/install -c -m 644 feedback.html /etc/share/mt-daapd/admin-root/feedback.html
    make[2]: Leaving directory `/root/downloads/mt-daapd-0.2.4/admin-root'
    make[1]: Leaving directory `/root/downloads/mt-daapd-0.2.4/admin-root'
    Making install in contrib
    make[1]: Entering directory `/root/downloads/mt-daapd-0.2.4/contrib'
    make[2]: Entering directory `/root/downloads/mt-daapd-0.2.4/contrib'
    make[2]: Nothing to be done for `install-exec-am'.
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/root/downloads/mt-daapd-0.2.4/contrib'
    make[1]: Leaving directory `/root/downloads/mt-daapd-0.2.4/contrib'
    Making install in debian
    make[1]: Entering directory `/root/downloads/mt-daapd-0.2.4/debian'
    make[2]: Entering directory `/root/downloads/mt-daapd-0.2.4/debian'
    make[2]: Nothing to be done for `install-exec-am'.
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/root/downloads/mt-daapd-0.2.4/debian'
    make[1]: Leaving directory `/root/downloads/mt-daapd-0.2.4/debian'
    make[1]: Entering directory `/root/downloads/mt-daapd-0.2.4'
    make[2]: Entering directory `/root/downloads/mt-daapd-0.2.4'
    make[2]: Nothing to be done for `install-exec-am'.
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/root/downloads/mt-daapd-0.2.4'
    make[1]: Leaving directory `/root/downloads/mt-daapd-0.2.4'

    [root@feddesk init.d]# ./mt-daapd start
    Starting DAAP server: /bin/bash: mt-daapd: command not found
    [FAILED]

    Sorry still a N00b -if you can spot the error(s) – please let me know -so I can learn
    πŸ™‚

    #10500
    rpedde
    Participant

    @zak_neutron wrote:

    OK – here goes again – spot any errors!

    using rpedde suggestion for ./configure

    ./configure –with-id3tag=/usr/local –prefix=/etc

    That should be:


    ./configure --with-id3tag=/usr/local --prefix=/usr

    — Ron

    #10501
    fizze
    Participant

    Yup, that would be it. Currently yout mt-daapd is located in /etc/usr/sbin, which isnt exactly where the init script is looking for it πŸ˜‰

    Apart from that it looks fine. Way to go! πŸ™‚

    #10502
    zak_neutron
    Participant

    Fizze & Ron

    Many Thanks – the service now starts – hurray πŸ˜€

    BUT..The webpage wont connect and the ./mt-daapd status = “mt-daapd dead but pid file exists”

    I have explicity opened the firewall on port 3689 and SElinux is temporarily disabled

    Contents of logfile

    2007-05-06 10:12:00: Starting rendezvous daemon
    2007-05-06 10:12:00: Starting signal handler
    2007-05-06 10:12:01: Loading playlists
    2007-05-06 10:12:01: Initializing database
    2007-05-06 10:12:01: Starting mp3 scan
    2007-05-06 10:12:01: Error scanning MP3 files: Permission denied
    2007-05-06 10:12:01: Aborting
    2007-05-06 10:12:01: Rendezvous socket closed (daap server crashed?) Aborting.
    2007-05-06 10:12:01: Aborting
    2007-05-06 10:21:50: Starting rendezvous daemon
    2007-05-06 10:21:50: Starting signal handler
    2007-05-06 10:21:51: Loading playlists
    2007-05-06 10:21:51: Initializing database
    2007-05-06 10:21:51: Starting mp3 scan
    2007-05-06 10:21:51: Error scanning MP3 files: Permission denied
    2007-05-06 10:21:51: Aborting
    2007-05-06 10:21:51: Rendezvous socket closed (daap server crashed?) Aborting.
    2007-05-06 10:21:51: Aborting

    Cheers

Viewing 10 posts - 11 through 20 (of 21 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.