Forum Replies Created
-
AuthorPosts
-
roadshowpro
ParticipantSo I would guarantee that you are right. It’s in the wrong place. But where does it want to be. I’m not quite adjusted to the proper locations for files so the shell can find them. Too many years of just putting it where I felt like it, and it just worked.
I did manage to really upset everything earlier. 2 airport clients listening to music and a 20GB afp transfer to the same server. I was getting brief pauses between songs. Like a CD, about two seconds.
On the other hand, I did get it setup to create a log. daapd normally will dump all of it’s activity to the terminal window. Running [code:1:ea9b299f6c]daapd >> /path/to/file &[/code:1:ea9b299f6c] will dump to a log file, but closing the terminal window kills daapd.
I am currently running it as [code:1:ea9b299f6c]screen daapd >> /path/to/file[/code:1:ea9b299f6c] then detaching the screen (‘ctl-a’ then ‘d’)
roadshowpro
ParticipantBut a man rehash in bash brings up a man page for it… Well, it brings up the builtin commands man page. I guess what I’m confused about then is why I have to specify the path to daapd. Or am i hoping for too much? I thought that rehashing it would allow me to run it from any location in the system. Especially since daapd has to be run from the directory that you want it to search.
Now I need to get mDNS to run, and roll it all up into a script… It’s a good little setup, and I can see where it’s headed. Now the programmer needs to add a few more things (playlists) and I need more time to figure out the existing options (cache file, rescans)…
roadshowpro
ParticipantSO, that long string of errors occurs when you don’t have all of the DEv Tools package installed….. Out comes the Xcode CD, and suddenly most of my problems are gone. I have had success so far. I am currently playing music off of my server, without iTunes running there.
I am having two problems.
1. I am getting a ‘ -bash: rehash: command not found’ when I try to rehash
2. I can’t get Apple’s mDNSResponderPosix to compile. I’m running it through Network Beacon (the product formerly known as Rendezvous Beacon). This defeats the purpose of running a headless server, but it does tell me that I’m on the right path…
Other than that, AAC files and Playlists aren’t supported… yet… The mDNSResponder thing is annoying, but the rehash not found thing concerns me a bit. If I switch shells, I can rehash… but that’s not helping me. DO I need to go to the extreme of reinstalling bash? It’s there in fink, but I’m not sure that I want to… Thoughts?
::::EDIT:::::
I was wrong. All of my .m4a files show up fine, and I’m listening to one right now… However, the tool that parses id3 tags doesn’t know what to do with them, so there is no id3 information. These files are just listed by theif filenames. There are also some .mp3 files scattered in with them. Don’t know why they aren’t showing up properly, but I will invesigate…::::UPDATE:::::5:30 pm PST
Two airport users connected. daapd spikes all the way to 14% of processor use when one of the two users starts playing a new song. Server total throughput is about 34KB/s. WIth one user, it peaks at 10% and 23KB/s. And those are total throughputs, no active afp users at the moment..roadshowpro
ParticipantSo… I got the Dev Tools installed… That was the easy part… Following the instructions on [url]http://www.deleet.de/projekte/daap/daapd[/url] I have all the pieces on my computer and ready to go….
So far I have installed daaplib and libhttpd-persistent. I currently cannot get zlib to compile, and I’m stuck there. Without zlib compiled, trying to compile libid3tag won’t work. And without these, I can’t get daapd to install…
In searching the zlib website, all it says is that zlib is included in OSX. There’s a binary there for installing it on OS9, but no help for OSX. If it is installed in OSX, I can’t find it, and neither can the compiler when I’m trying to compile libid3tag. So that’s where I am tonite…
I’m going to keep at it because I want to learn.,… Or I’m dumb… Something like that…
For anyone keeping up, the instructions say to run ./configure; make test
[code:1:ec6fe0eda8]HolmesIV:/WebApps/daap/zlib-1.1.4 duelld$ ./configure; make test
Checking for gcc…
Building static library libz.a version 1.1.4 with gcc.
Checking for unistd.h… No.
Checking for errno.h… No.
Checking for mmap support… No.
gcc -O3 -DNO_ERRNO_H -c -o example.o example.c
example.c:8:19: stdio.h: No such file or directory
example.c:12:22: string.h: No such file or directory
example.c:13:22: stdlib.h: No such file or directory
example.c: In function `test_compress’:
example.c:69: error: `stderr’ undeclared (first use in this function)
example.c:69: error: (Each undeclared identifier is reported only once
example.c:69: error: for each function it appears in.)
example.c: In function `test_gzio’:
example.c:99: error: `NULL’ undeclared (first use in this function)
example.c:100: error: `stderr’ undeclared (first use in this function)
example.c: In function `test_deflate’:
example.c:177: error: `stderr’ undeclared (first use in this function)
example.c: In function `test_inflate’:
example.c:220: error: `stderr’ undeclared (first use in this function)
example.c: In function `test_large_deflate’:
example.c:255: error: `stderr’ undeclared (first use in this function)
example.c: In function `test_large_inflate’:
example.c:315: error: `stderr’ undeclared (first use in this function)
example.c: In function `test_flush’:
example.c:352: error: `stderr’ undeclared (first use in this function)
example.c: In function `test_sync’:
example.c:394: error: `stderr’ undeclared (first use in this function)
example.c: In function `test_dict_deflate’:
example.c:433: error: `stderr’ undeclared (first use in this function)
example.c: In function `test_dict_inflate’:
example.c:475: error: `stderr’ undeclared (first use in this function)
example.c: In function `main’:
example.c:519: error: `stderr’ undeclared (first use in this function)
make: *** [example.o] Error 1[/code:1:ec6fe0eda8]roadshowpro
ParticipantI found some of what I was looking for at [url]http://www.deleet.de/projekte/daap/daapd/[/url]. It has everything you need to complile and run a daap daemon, and according to the instructions there it will show up as a shared server in your iTunes.app. I am in the process of getting this running over the weekend (as soon as I find my XCode CD, no gcc…). So if I can find it, I’ll try to get it running this weekend, and let you know how it goes…
Also on the site [url]http://www.deleet.de/projekte/daap/[/url] are a couple other things that may be of interest. Especially of interest may be a couple of applications that are capable of picking and choosing songs to download from an iTunes share. I had no luck getting to my iTunes shared list with the Cocoa app that’s there, but there’s also a Perl script and a Java app. (or 2)
More later… [size=9:b2e78efadd]where did I put that damn CD………..[/size:b2e78efadd]
roadshowpro
ParticipantSo I cloned my 10.2.8 Server system over to a new drive, rebooted from it to make sure that it ran ok, and then upgraded 10.3 over the top…. Well, the server assistant set everything up, but never quits. So following the advice of the discussions board at info.apple.com, I got around that, and discovered that the Setup Asst. had in fact set everything up, then just hung.
Then I ran Software Update… 10.3.1, and a couple other things. Reboot, no problem. Run Software Update again, and get the Security Update, whatever the date, and after that, I get the grey bootup screen with the apple, then the apple changes to the circle with a slash, and the boot process ends there. I’ve done this twice now with the same result.
Suggestions or thoughts anyone? I have the install cloned to another drive just after the 10.3 CD install, so i have a couple places to work from.
roadshowpro
ParticipantSo I was bored and I dug out my Jaguar server install disk and tried that on the RAID. No change, it still doesn’t boot from the RAID. But in my snooping around, I did discover that both installers were setting the drive to “Ignore Permissions on this Volume” And that’s never good for the boot drive. But unchecking that and repairing permissions didn’t help me boot from the RAID either.
Off to try something new…. I dunno what yet, but something new…
😯roadshowpro
ParticipantSo, I’m still working on this, and since I’m bored, I’m working harder…. Client won’t install on my RAID at all. It gets to the checking disk stage, and gives me a vague error that something failed. Then it reboots back to the installation CD so I can start it all over again…
Off to try Panther Server again…. It’s past the disk check stage and is installing the Base System Part 2 whatever that is… If it doesn’t boot this time, I’ll see what happens with client if I skip the disk check….
—EDIT—
SO you can skip the check disk section in the client install, and it installs without any erroes, but it again, won’t boot from a RAIDed volume. I know there’s a way… Well, I think there’s a way. I just don’t know it yet…
-
AuthorPosts
Recent Comments