|
TheHeadSage posted:What's the best resource for Howto's and articles on how to use Debian? I've been pretty much a Gentoo user since Day 1, and now I'm looking to move over to using Debian. I refer to http://www.debian-administration.org/ a lot. I also usually just google "debian _____" and find lots of info that way.
|
# ? Jun 3, 2008 18:23 |
|
|
# ? May 10, 2024 17:51 |
|
Do I need additional plugins to make Amarok stream music from my server? I can stream just fine into VLC but Amarok gives me some nonsense about code:
|
# ? Jun 4, 2008 04:26 |
|
I think you have to make a local mount and then add the files to the amarok library.
|
# ? Jun 4, 2008 11:59 |
|
Mysterious Aftertaste posted:I think you have to make a local mount and then add the files to the amarok library. mega gay. thats weird that such a useful feature wouldnt be present in such a great app
|
# ? Jun 4, 2008 13:04 |
|
Mysterious Aftertaste posted:I think you have to make a local mount and then add the files to the amarok library. I've never done that. I just hit up the samba share, and drag in files. Unfortunately, it seems that I'm unable to drag in folders, I have to drag in individual files (selected in bulk, obviously), or individual M3Us.
|
# ? Jun 4, 2008 13:46 |
|
Zuph posted:I've never done that. I just hit up the samba share, and drag in files. Unfortunately, it seems that I'm unable to drag in folders, I have to drag in individual files (selected in bulk, obviously), or individual M3Us. Thats what Im saying, VLC plays movies and MP3s just fine. I just do: places>network>samba>files
|
# ? Jun 4, 2008 17:19 |
|
This is a question i've had mulling over my head for some time and wanted to know what everyone else thought: I would like to start keeping track of where/what/how our server config files are managed. I was looking into subversion, and was liking what I was seeing. However are there any things that I should know before using subversion for configuration file control, instead of it's "normal" use as for developing applications?
|
# ? Jun 4, 2008 17:48 |
|
Twlight posted:This is a question i've had mulling over my head for some time and wanted to know what everyone else thought: Subversion also won't remember file permissions, can't handle special files, will treat symlinks as real files, and cause other headaches. So you don't want to just svn your /etc/ directory. A better tool is something like Tripwire, or one of it's open source/free alternatives.
|
# ? Jun 4, 2008 18:08 |
|
Twlight posted:This is a question i've had mulling over my head for some time and wanted to know what everyone else thought: There are newer and better SCM's than subversion. Here's a blog entry on how to use git and a apt hook to keep track of /etc.
|
# ? Jun 4, 2008 21:03 |
|
I'm sorry I'm sure this has been asked before but search is down and I'm ing to the point of cerebral hemorrhaging so here goes: I'm trying to build a kernel (for a class, I'm not a masochist) and while I was doing the make menuconfig business I thought "oh what the hey I'll append my name to the version number so it's obvious that I did it" by adding my name to the "Local Release" field, except I capitalized my name which is apparently a big no-no and now the kernel won't compile. I tried deleting my newly created .config file and creating a new one with a lower case name, copying over the existing .config file, doing a make oldconfig which I thought would give me a working .config file and still my drat capitalized name won't leave me. It haunts me. So clearly this has been deposited somewhere other than .config, and rather than trudge through my entire /usr/src/ directory Indiana Jones-style I thought I'd ask you guys for help. My sanity will thank you.
|
# ? Jun 4, 2008 23:17 |
|
Somehow, while configuring rsync I created some directory/file structures that I have no access to whatsoever on my remote host (that I don't have root to). It's simply listed as denied, I even tried removing them from via the host's cpanel-like interface with no luck. Any idea how I can blow these files away? They came in with bad permissions while using rsync's -p flag to persist permissions.
|
# ? Jun 4, 2008 23:35 |
|
Kenfoldsfive posted:So clearly this has been deposited somewhere other than .config, and rather than trudge through my entire /usr/src/ directory Indiana Jones-style I thought I'd ask you guys for help. My sanity will thank you.
|
# ? Jun 5, 2008 05:00 |
|
Grigori Rasputin posted:Any idea how I can blow these files away?
|
# ? Jun 5, 2008 05:03 |
|
Alowishus posted:Well if you don't have root, then at least we know your user owns the files... it's probably just that they're marked something like 000 due to rsync's attempts at preserving permissions. Do you have command line access? If so, you can run through recursively with chmod and fix them all back to something more sane like 755 and then remove them. Thanks, this worked out just peachy.
|
# ? Jun 5, 2008 17:48 |
|
GringoGrande posted:There are newer and better SCM's than subversion. Here's a blog entry on how to use git and a apt hook to keep track of /etc. Man, just what I was looking for, thanks!
|
# ? Jun 6, 2008 14:42 |
|
So I have a Ubuntu Linux Machine that I am trying to install the Java EE SDK so that I can get Tomcat to work. Downloaded the SDK .bin file okay. Just having trouble running it. I am basically following this guide:http://www.sitepoint.com/article/jsp-quick-start-guide-linux/3 Its been chmod'ed +x executable. When it try ./sdk.bin I get the error Error: Unable to execute 'filename': No such file or directory (Which doesn't make sense because the file is definitely there and i have the right path to it) Just trying in the file name in the local directory for it doesn't work Typing in the full path to the sdk also doesn't work. Both of those give: Error: Command not found
|
# ? Jun 6, 2008 18:55 |
|
schzim posted:
That message probably means the #! (shebang) is bad or dos-formatted. tried sh ./sdk.bin? What's 'file' output say? How about head -1 sdk.bin | od -t x1 ?
|
# ? Jun 6, 2008 19:04 |
|
covener posted:That message probably means the #! (shebang) is bad or dos-formatted. doing sh ./sdk.bin gives: syntax error "(" unexpected I don't know what you mean with 'file' output. Trying head thing now.
|
# ? Jun 6, 2008 19:41 |
|
schzim posted:I don't know what you mean with 'file' output. "file sdk.bin" tells you what kind of file Linux thinks sdk.bin is
|
# ? Jun 6, 2008 19:43 |
|
JoeNotCharles posted:"file sdk.bin" tells you what kind of file Linux thinks sdk.bin is j2eesdk-1_4_03-linux.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped herman@hptestserver:/usr/local$ head -1 j2eesdk-1_4_03-linux.bin | od -t x1 0000000 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 0000020 02 00 03 00 01 00 00 00 70 c0 04 08 34 00 00 00 0000040 18 1e 05 00 00 00 00 00 34 00 20 00 06 00 28 00 0000060 1e 00 1b 00 06 00 00 00 34 00 00 00 34 80 04 08 0000100 34 80 04 08 c0 00 00 00 c0 00 00 00 05 00 00 00 0000120 04 00 00 00 03 00 00 00 f4 00 00 00 f4 80 04 08 0000140 f4 80 04 08 13 00 00 00 13 00 00 00 04 00 00 00 0000160 01 00 00 00 01 00 00 00 00 00 00 00 00 80 04 08 0000200 00 80 04 08 20 66 01 00 20 66 01 00 05 00 00 00 0000220 00 10 00 00 01 00 00 00 20 66 01 00 20 f6 05 08 0000240 20 f6 05 08 d4 1c 00 00 1c 1e 00 00 06 00 00 00 0000260 00 10 00 00 02 00 00 00 f4 81 01 00 f4 11 06 08 0000300 f4 11 06 08 00 01 00 00 00 01 00 00 06 00 00 00 0000320 04 00 00 00 04 00 00 00 08 01 00 00 08 81 04 08 0000340 08 81 04 08 20 00 00 00 20 00 00 00 04 00 00 00 0000360 04 00 00 00 2f 6c 69 62 2f 6c 64 2d 6c 69 6e 75 0000400 78 2e 73 6f 2e 32 00 00 04 00 00 00 10 00 00 00 0000420 01 00 00 00 47 4e 55 00 00 00 00 00 02 00 00 00 0000440 02 00 00 00 05 00 00 00 07 01 00 00 38 01 00 00 0000460 00 00 00 00 b8 00 00 00 39 00 00 00 d7 00 00 00 0000500 f5 00 00 00 00 00 00 00 45 00 00 00 00 00 00 00 0000520 0a 0000521
|
# ? Jun 6, 2008 19:54 |
|
schzim posted:herman@hptestserver:/usr/local$ file j2eesdk-1_4_03-linux.bin I asumed it wasn't really a binary; stumped here -- maybe strace -f ./j2eesdk-1_4_03-linux.bin 2>&1 |egrep "stat|exec" | grep -v "= 0" and see what he's poking around for?
|
# ? Jun 6, 2008 20:15 |
|
schzim posted:herman@hptestserver:/usr/local$ file j2eesdk-1_4_03-linux.bin Which version of the linux kernel is running on that server? I'm guessing it's not 2.2.5? I followed the link to the page you're working from, and noticed that it's a 5 year old writeup (the first page of the article is dated February 17, 2003), and the link they give to the jdk takes you to a Sun end-of-life page. If I had to guess, I would say that the .bin file you're trying to run cannot find the libraries it was linked with (because your system has newer libraries), and will fail in the manner you've shown in a prior message. If you need the 1.4.2 SDK, here's a link to Sun's download page: http://java.sun.com/j2se/1.4.2/download.html (click through their menus and such, you should get to a screen that has j2sdk-1_4_2_17-linux-i586.bin as an option, which is the one you want.). Edit2: Tomcat is available on my ubuntu laptop (8.04 installed, and checked for Tomcat via Synaptic), so I'd bet you can simply 'sudo apt-get tomcat5.5 tomcat5.5-admin' xdice fucked around with this message at 22:56 on Jun 6, 2008 |
# ? Jun 6, 2008 21:54 |
|
Ok trying with latest version of java EE sdk. herman@hptestserver:/usr/local$ ls bin etc games include j2eesdk-1_4_03-linux.bin java_ee_sdk-5_05-linux-nojdk.bin lib man sbin share src herman@hptestserver:/usr/local$ sudo chmod +x java_ee_sdk-5_05-linux-nojdk.bin herman@hptestserver:/usr/local$ ./java_ee_sdk-5_05-linux-nojdk.bin -bash: ./java_ee_sdk-5_05-linux-nojdk.bin: No such file or directory herman@hptestserver:/usr/local$ sh ./java_ee_sdk-5_05-linux-nojdk.bin ./java_ee_sdk-5_05-linux-nojdk.bin: 1: Syntax error: "(" unexpected herman@hptestserver:/usr/local$ /usr/local/java_ee_sdk-5_05-linux-nojdk.bin -bash: /usr/local/java_ee_sdk-5_05-linux-nojdk.bin: No such file or directory herman@hptestserver:/usr/local$ file java_ee_sdk-5_05-linux-nojdk.bin java_ee_sdk-5_05-linux-nojdk.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped Oh and for what someone wanted earlier: herman@hptestserver:/usr/local$ -f ./java_ee_sdk-5_05-linux-nojdk.bin 2>&1 | egrep "stat|exec" | grep -v "=0" herman@hptestserver:/usr/local$ (Also nothing with older .bin) And system info: Linux hptestserver 2.6.22-14-server #1 SMP Tue Dec 18 05:52:24 UTC 2007 x86_64 GNU/Linux
|
# ? Jun 6, 2008 22:32 |
|
GringoGrande posted:There are newer and better SCM's than subversion. Here's a blog entry on how to use git and a apt hook to keep track of /etc. As noted in the bottom of that post, etckeeper is designed to do the same thing, and I use it + a cron job to keep /etc versioned across a few machines. It's a really handy feature.
|
# ? Jun 6, 2008 23:57 |
|
xdice posted:
I'm not an experienced user of package managers will that get all the dependancies right? Install Java for me set a $JAVA_HOME etc? If so
|
# ? Jun 7, 2008 00:55 |
|
is there a command to reverse the last made updates? I got some updates from fedora this morning and when i turned my computer back on after work, my resolution was hosed and all my network drivers were gone. thankfully I made an image of my system after installation. In case this happens again tho, what can I do?
|
# ? Jun 7, 2008 01:07 |
|
schzim posted:I'm not an experienced user of package managers will that get all the dependancies right? Install Java for me set a $JAVA_HOME etc? I've not installed it myself, so I can't say for certain. However, if I'm installing it from a package manager, I hope it would do all that ancillary junk as well as install the application. Try it and see. Worst case, you have to uninstall it, which is also easy because you can use the package manager to do that too. Edit: Yep, I fired up the laptop again and looked at the info in Synaptic. It does look like it installs the required dependencies as well. xdice fucked around with this message at 03:40 on Jun 7, 2008 |
# ? Jun 7, 2008 03:29 |
|
Tried apt-get ing tomcat got: Setting up tomcat5.5-admin (5.5.25-1ubuntu1) ... * Stopping Tomcat servlet engine tomcat5.5 invoke-rc.d: initscript tomcat5.5, action "force-reload" failed. dpkg: error processing tomcat5.5-admin (--configure): subprocess post-installation script returned error exit status 255 Processing triggers for libc6 ... ldconfig deferred processing now taking place Errors were encountered while processing: tomcat5.5-admin E: Sub-process /usr/bin/dpkg returned an error code (1) anyone have any ideas?
|
# ? Jun 9, 2008 19:58 |
|
I keep getting random lockups in Ubuntu, and I can't seem to figure out what it is. The machine just locks hard and I cannot do anything except power the machine down. I've went as far as disabling the video drivers, the only other thing I can think of is the wireless drivers. Anyone know where I should start to investigate this?
|
# ? Jun 14, 2008 20:30 |
|
Run MemTest on it overnight.
|
# ? Jun 14, 2008 22:03 |
|
Memtest went all the way through without a problem. I'm going to try to take the wireless card out and see what happens.
|
# ? Jun 14, 2008 23:00 |
|
Well the machine has no problems without the network card. That must be it. I'll just pick up a wireless router and use that to connect to my wireless connection from now on.
|
# ? Jun 15, 2008 14:21 |
|
Right now I'm running ubuntu server with mdadm raid5 setup for all my media storage. I have firefly and Jinzora setup for streaming music. Firefly covers daap, and lets xbmc and itunes connect. Jinzora is just a great overall web interface with a flash player. I'm looking for what I can install on my server to help move my movies and tv shows across the network. I want to be able to have users connect with whatever application they want, whether it be xbmc or another app. I also want a companion website so they can have the metadata and links to watch the files on their computer with their default media player. I want the metadata, like IMDB poo poo stored on the server, not generated for every client. Is this possible? What should I be looking for that is multi platform so my family can watch my content?
|
# ? Jun 15, 2008 17:19 |
|
I'm not sure how well developed it is yet, but XBMC is getting ported over to Linux, Windows and Mac. It does all of this for you (fetches IMDB data, caches it), as well as offers all sorts of metadata for sorting/searching.
|
# ? Jun 15, 2008 18:11 |
|
Slow is Fast posted:What should I be looking for that is multi platform so my family can watch my content? I know there are more then a few mythtv front ends and players for windows. If the front end/player does not provide the metadata you need use mythweb(download/stream links). Which should give you more then enough control. It has been a while since I used a newer version of mythtv so I may be out of the loop but I have a box that has been running a mythtv server built on dapper 24-7. edit: The difference between a player and a front end is that the front ends usually takes more to setup and gives you tons of control. So a player is probably enough for your family. Also I think totem(Movie Player on GNOME) has mythtv player capabilities now so that is a good option for your own use. You can use the XBMC with mythtv as well. tehk fucked around with this message at 18:30 on Jun 15, 2008 |
# ? Jun 15, 2008 18:18 |
|
Okay, my sound card has two separate DACs. And this has been a difficult question to google. I couldn't care less about the lovely onboard quality one, but there's a 192KHz Wolfson DAC on there too. Now when I run anything under wine or firefox it uses the lovely DAC. At least the important things like music runs through the good one, but switching the plug between ports to use ventrilo is kind of annoying. My .asoundrc if it helps... code:
|
# ? Jun 15, 2008 23:49 |
|
Mysterious Aftertaste posted:Okay, my sound card has two separate DACs. And this has been a difficult question to google. Also, if you're interested in a Ventrilo/TeamSpeak alternative, you should check out Mumble. It's free/open source, and by all accounts much better than vent/TS.
|
# ? Jun 16, 2008 04:38 |
|
So given my lovely knowledge of the detailed inner workings on file containers I figure I'll explain my predicament and maybe some of you guys can shine some light on this for me. I used Handbrake to rip nearly my entire DVD collection down to H.264 encoded mp4's so that I could stream them easily to my Xbox and use that as a media center. All is well and then I decide running Zune network share on my PC is way too much work, so I push those movie files off onto my Ubuntu server. I got TwonkyVision installed and running last night and the only H.264 vid it ran was the one I accidentally ripped to an mkv container. So I poked around a little, and found that simply changing the extension of the mp4's to mkv will fix the problem. This worked for about 50% of the files. The others don't seem to be in a format that the Xbox can read (they all streamed fine as mp4's). So my first question is: would finding an app to convert mp4 to mkv do the trick here? And also: is there a Linux based app that would do that? (a batch operation would be tits)
|
# ? Jun 16, 2008 15:09 |
|
I've run into a perplexing performance issue with MDADM on Ubuntu 8.04. I used to have a 3 drive RAID-0 array in my media server (doing multiple audio and video streams over gigabit) which got performance around 60-80 MB/s, or a couple of 40-50 MB/s simultaneously. I finally got enough money to add a fourth drive, and make a RAID-5 array out of it, and now I'm getting at best 20 MB/s or simultaneous 10 MB/s transfers, and a bunch of lag if I don't set buffers in VLC high. I realize that RAID-5 is naturally slower than RAID-0, but I didn't think I would have that much of a hit. Is there anything I can do to make this faster? Also, I've thought about using ZFS, but heard the LVM implementation was slow and a bit buggy still. Is this true? EDIT: Looks like the array decided to rebuild shortly after I created it, so now I'm getting decent speeds again. TheGreenBandit fucked around with this message at 21:37 on Jun 16, 2008 |
# ? Jun 16, 2008 18:56 |
|
|
# ? May 10, 2024 17:51 |
|
TheGreenBandit posted:I realize that RAID-5 is naturally slower than RAID-0, but I didn't think I would have that much of a hit. Is there anything I can do to make this faster? Buy a hardware RAID card. In my experience, software RAIDs take a tremendous performance hit relative to hardware RAIDs in RAID-5.
|
# ? Jun 16, 2008 19:13 |