=== erichammond1 is now known as erichammond [01:10] #freebsd-br [01:10] sorry :( === iarp_ is now known as iarp [02:31] hey all, does anyone use MPD to play music locally from their server? i had been using pulseaudio, and it worked OK locally until an update recently broke it, and i uninstalled pulse and went back to alsa. now the music is playing, but every 10 seconds to 30 seconds, the song pauses for about 2-3 seconds. the audio doesn't cut out, the song literally pauses... i don't get why pulse would work and alsa wouldn't. [03:03] Having a really hard time installing 10.04 server on a Dell with mirrored drives. Once the install gets started, it fails on not having a CDRom driver (even though it booted up, fine) [03:03] 10.04 isn't released yet... [03:04] beta 1 [03:04] yea [03:04] not final. did you at least try it with 9.10? [03:04] that would rule out a software issue. it's probably hardware tho. [03:05] Well, I think it is goofy hardware. I just wondered if there was a way to identify the cdrom. I didn't see anything in /dev [03:07] did you try booting a livecd instead of going straight to the server install? [03:09] Yeah, I gave in and set it up with the 10.04 desktop. But I really wanted the server kernel [03:10] hrm [03:24] hmm, I upgraded my server from Intrepid->Jaunty->Karmic->Lucid without restarting in-between each release. Now all my init-related scripts seem to be horked. I can't run anything in /etc/init.d/, they all just point me at "start foo" and "stop foo" and all those commands hang. I got an error on the Lucid upgrade that said "System user messagebus already exists. Exiting." That seems to have left things in an inconsisten [03:25] Without really knowing what I'm doing, I would guess a critical system service is either hung or broken. Based on my googling thus far, I'd think it was DBus, but that's just speculation. [03:25] anyone know what to do when the upstart scripts are totally hung and you no longer have any init.d scripts? [03:26] fresh reinstall & lesson learned? [03:26] I didn't realize I had stumbled into #windows-server [03:27] then spend way more time trying to flail through the mess you made. [03:28] and what would the lesson learned be? don't test out beta releases? [03:29] and don't upgrade thru 5 versions w/o rebooting. [03:29] * the-sandman === the-sandman is now known as the-sandman|away [03:29] and yes, i would not install lucid until it's final on a server unless you don't mind blowing it all away. [03:30] Nah, I don't mind blowing it away. But, once on, the updates are straightforward. [03:31] yeah, I've never had a problem upgrading servers. [03:31] the only time you really need to reboot with upgrades in linux are kernel updates. but you should when you get each update. [03:31] and there's no critical data on this machine, I just thought I'd test it out. That being said, I won't learn anything by blowing it all away. [03:32] you reboot when the system says you should? [03:32] I reboot when it's convenient. [03:33] My other mistake was doing things the old-fashioned way. [03:33] i use do-release-upgrade [03:33] Hand-editing sources.list and doing a dist-upgrade [03:33] blech [03:34] masu3701 what are you wanting to use that server for that you are installing? [03:39] dustin: i am trying to learn servers [03:40] dustin_: so im installin it to practice [03:45] i just installed ubuntu server but when i start the pc i get a black screen that ask me to log in [03:46] i put the password and i dont get nothing (GUI) [03:46] am loged in in command line [03:46] am new to server [03:48] how do i get to see the GUI? [03:48] how do i get off the command line? [03:49] masu3701: There is no gui on Ubuntu Server. That's pretty much the point. [03:52] Scottk: but when i boot the pc it ask me to log in..so i put the user name and pwd but i only get the command line...saying 67 packgaes can be update and 31 update are security update then have a prompte [03:52] masu3701 if you are wanting to just fiddle with an ubuntu server I would reccomend simply adding lamp on a normal ubuntu install [03:54] masu3701 that way you can have the gui for a crutch if you need it [03:57] masu3701, yea you can install the ubuntu-desktop package and get a gui, but that really is not the point of ubuntu-server. [03:58] arrrghhh: wait...am lost...so in ubuntu server you dont have gui? then how do you do things? [03:58] you can install the regular ubuntu and run all of the same "server" programs like apache, mysql, etc... ubuntu-server is just a stripped version to save resources to dedicate to those processes. [03:58] masu3701, by typing in the command line? [03:58] lol [03:58] damn [04:01] if you want a point and click gui server, run windows... [04:02] i just have a network cable and a power cable going to my server. streams video to my ps3, plays music, it's a hub for all my files... who needs a gui? just unnecessary bloat. [04:02] it powers my website. everything. [04:04] zul: Next time before you blog about the availability of packages you might want to see if they build first.... [04:04] zul: Any consideration of doing posgresql 9 snapshots? [04:06] anyhoo.... anybody use MPD to run music locally/ [04:09] arrrghhh: what? [04:10] so its not gui? [04:10] dont make sense [04:11] masu3701: In the case of the pending updates, enter "sudo apt-get dist-upgrade", hit enter, and then put your password in. [04:12] scittk: then how do you set up rules and all that? [04:12] Read what it says and make sure it doesn't want to remove a bunch of stuff. [04:12] rules for what? [04:13] Scottk: have you ever use windows server? [04:13] Not in about 11 years. [04:13] its gui....you just click click and you're there [04:13] I get that. [04:14] it sucks then if its only command line [04:14] how do you join a domain and stuff? [04:14] set up rules? [04:14] I can also deploy a full featured mail system using ~20% the hardware you'd need for a Windows/Exchange system of similar scale. [04:15] masu3701: I'd recommend you have a look at the Ubuntu Server Guide. https://help.ubuntu.com/9.10/serverguide/C/index.html [04:16] It does require more up front learning that Windows, but you get better security, scalability, and a lot more control over your system. [04:17] I did put a GUI on the first Linux server I set up, but I think I only used it for a week or two. [04:59] so ubuntu server is alll command line? [05:00] masu3701: yes [05:00] aetaric: what? [05:00] dont make alot sens [05:00] hey guys, what is the highest load you have ever seen? [05:00] so how is that better then windows server? [05:00] masu3701: a GUI increases the load and uses more resources [05:01] in windows you can just click here click there and you done [05:01] by removing the GUI you server has more resources to use for your 'tasks' [05:02] infact, i'd much rather never use a GUI again [05:05] lol [05:05] so how do i access the server? how to i connect to it? [05:06] uh. ssh is the prefered remote connection method. [05:06] putty will let you connect to it. [05:06] http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html [05:10] aetaric: but Gui is always easier to use [05:10] masu3701: easier doesn't make it better. [05:11] aetaric: but if you dont know anything about command how are you gonna get around? [05:11] how do yo access the server? [05:11] i'm microsoft certified in Windows Server 2003, and i don't even use a microsoft product in my house. [05:11] login via the login prompt [05:12] aetaric: i am logged in but dont know what to do or where to start [05:12] i just get a prompt [05:12] where to go? [05:12] i dont know [05:12] so how is this better? [05:13] masu3701: what do you want to use it for? [05:13] to learn servers [05:13] aetaric: but now am just stock at the command prompt not knowing what to do [05:13] read a guide? you need to install the software for each application you want. [05:14] and on windows you are stuck on a GUI not knowing what to do [05:14] aetaric: no...on windows you can click on things and find out what they do [05:14] if you want a webserver, type sudo apt-get install apache2 php5 [05:15] aetaric: i want to save files on the ubuntu server...how do i do that [05:15] masu3701: samba, which lets you transfer files over the network like windows machines do [05:15] sudo apt-get install samba [05:17] aetaric: and how to i start transfering files from my pc to the server? [05:18] the same way you do on windows? [05:19] aetaric: first how to i connect to the server [05:19] then how do i transfere files [05:21] i can't help you with a step by step way to learn how to use a server. i'd suggest you look at the forums for how to do stuff. [05:21] if you have an error, i'll be glad to help you with that. [05:23] ok [05:25] aetaric: i just install filezilla on my other ubuntu computer...now am trying to connect to the server...how do i do so? [05:25] where do i get the hostname from? [05:25] you set it during setup [05:25] the ip? [05:26] the host is the ip right? [05:26] cause i just have a user name [05:26] you can run ifconfig to get the current ip [05:29] aetaric: i have the inet ip and bcast ip....which one? [05:32] hi there! in setting up dhcp3-server, is it possible to serve an ip to the interface doing the serving? or is this thinking a bit odd...like what came first - the chicken or the egg? [05:57] ubuntologist: I believe I may have accidentally experienced just what you describe today. I forgot to restart the network interface on my DHCP server when I switched the configuration from DHCP to static IP. A few hours later the DHCP IP address lease expired and it got assigned a new IP address by the DHCP server running on that machine. [05:58] ubuntologist: I haven't completed the investigation, but that's what appears to have happened based on my initial scan. [05:59] ubuntologist: However, the machine did have an old IP address already assigned to it when it asked to renew the lease. I don't know if it could be done when the system is booting and the DHCP server itself has no IP address yet assigned. [06:04] hi eric - yes, that sounds like what i am testing. i.e. to define a static ip in the dhcpd.conf file as the interface serving requests and in /etc/network/interfaces allow the interface to be dynamically assigned. doesn't seem to work as planned though. still playing around but i may end up just defining it as static and be done with it. [10:01] Hello there. [10:02] Anyone here. Hope there is one :) [10:02] Can someone explain me in what way GUI on server makes system more vulnerable? [10:08] frojnd, well... running a GUI means you have more stuff installed and running on your system [10:08] frojnd, which means, the probability of having a security-related bug present on your system is bigger [11:18] frojnd: normally it won't hurt much [11:19] frojnd: but then, normally, who would need a gui on a server...? [11:22] frojnd: if you need/want a gui on the server, I'd recommend installing ubuntu desktop and later installing the linux-image-server package for server optimisations and then your services [11:22] ubuntu server and desktop are mostly the same [11:39] frojnd: X Windows is big - lots of code, lot of extra potential vulnerabilities [11:39] frojnd: also lots of extra resources needed (ram,cpu etc.) [11:40] Although I am not a zealot. A server is OK with a GUI if that's what's wanted. [11:40] *A server with a GUI* [11:40] * sherr thinks it's too early ... [11:43] sherr: it doesn't really matter much on most systems - a gui doesn't add more ports to listen to, as with new services. for local vulnerabilities to be exploited, you need a local user account or find another vulnerability through which you can pipe the attack [11:44] but the gui wastes memory (for some time until the swapper takes care of it) [12:43] * the-sandman === the-sandman is now known as sandman|away === sandman|away is now known as the-sandman [12:51] what is a really good book for Intermediate level training for a LAMP Server? [12:51] i am going through the Docs of each system but they aren't really that much help for training other people [13:44] i have two pc's, one laptop, one desktop, both have openssh-server + client installed -- i can ssh from the laptop to the desktop, but not the other way -- hints & tips pls? [13:54] monkey_dust: configuration & logs pls? [13:56] from what? i'm a newbie in networking [13:57] nmap from desktop to laptop says, that ALL ports on my laptop are filtered [14:00] ok, it was caused by ufw [14:03] root@door:~# lsb_release -r [14:03] Release: 10.04 [14:03] whee [14:03] first test server on 10.04 === airells is now known as Airells [15:33] Im trying to setup a virtuhost redirect on a website and am having problems using this conf http://pastebin.ubuntu.com/408622/ [15:33] the server serves the default page, not the redirect [15:40] first, use a separate file to make things look better - second, I have no idea why this doesn't work. I just tried with this http://pastebin.com/c6tHs8LR and it works like a dream [15:43] RoyK, nevermind, i dropped it into apache2.conf and all is working [15:43] heh [15:43] I would recommend not doing that [15:43] thas ok [15:43] i doesnt afraid of anything [15:43] one config file in /etc/apache2/sites-available per site [15:43] then symlink to /etc/apache2/site-enabled [15:43] i just need it working until the main redirect server is back online [15:43] RoyK, i did that, but the default website keeps overriding it [15:44] i split the files [15:44] so i hace 000-default and example in the /etc/apache2/sites-enabled [15:44] enabled the rewrite mod [15:44] etc... [15:44] bah [15:45] this is why i use SLES for any production servers we use [15:46] heh - I use ubuntu on rather large servers in production [15:46] we're moving everything to those these days [15:48] yeah but [15:48] i shouldnt have to spend 45 minutes to an hour figure out something that is documented in the apache2 documentation [15:52] I don't [15:52] but then, I've been using ubuntu/debian for 10 years, so I somehow know my way around them [17:08] is linux-image-virtual now the same as linux-generic-pae? [17:08] or linux-image-generic-pae [17:09] dpkg -L linux-image-2.6.32-19-virtual reports /boot/vmlinuz-2.6.32-19-generic-pae install, no 'virtual' [18:19] when did universe come enabled by default? [18:21] pwnguin: afaics it's enabled by default in 8.04lts [18:48] I think Feisty was the first release, but I'm not sure. [18:59] what is the status of the server edition when it comes to raid? what I mean is, the mdadm/software raid support in ubuntu is really quite broken and outdated. There are a variety of patches, and fixes on launchpad, yet lucid looks destined to ship with an MDADM which is ~ 18 months old, and has some major bugs as well as lacking support for any of the new and interesting features that the kernel 2.6.32 brings [19:00] is there anyone actually maintaining it ? [19:00] (debian testing currently has a much newer mdadm, although triggers raid building using the more traditional method instead of via udev) [19:01] currently i run a new mdadm on my machine, along with a couple of patches so it works from within the ubuntu initramfs [19:01] (but am thinking to switch to debian, where it all seems better supported) === Airells is now known as airells [19:07] * RoyK hands exobuzz an opensolaris cd [19:07] haha [19:08] :-) [19:08] I really dont want to run opensolaris.. [19:08] if you want stable storage, osol beats them all [19:08] i lol'ed. solaris should burn [19:08] zfs ftw [19:09] until btrfs gets stable, zfs is the only good storage platform there is [19:09] I dont need zfs. also, its not really an answer to my problem. its like the old "how do i do this in mysql" "use postsgresql" type thing.. or "use ruby". [19:10] exobuzz: linux md usually works well, and I've been using it a lot. what is your particular problem? [19:10] ext4 despite being quite legacy, is serving me well. and I'm more at home with linux.. i ditched my last sun machine with solaris a long time ago [19:10] RoyK, that ubuntu ships with ancient stuff, and hasnt fixed any of the reported bugs [19:10] which ones? [19:11] ubuntu/debian usually uses old versions with backported fixes [19:11] you can start here https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/136252 [19:11] Launchpad bug 136252 in mdadm "[->UUIDudev] mdadm.conf w/o ARRAY lines but udev/mdadm not assembling arrays. (boot & hotplug fails)" [Medium,Triaged] [19:11] debian has mdadm 3.1.1 ubuntu has 2.6.7 [19:12] i run my own mdadm with some home rolled patches [19:12] (3.1.2) [19:13] also https://wiki.ubuntu.com/ReliableRaid [19:13] which refers to a bunch of bugs [19:14] ic [19:14] * RoyK still sticks to opensolaris for storage :) [19:14] but even a simple upgrade to 3.1.1 or 3.1.2 would solve at least some of the major bugs [19:14] the rebuild failures [19:15] how does it fail? [19:15] and 3.1.2 works with ubuntu, with a small change to the ubuntu initramfs structure (missing a needed folder) [19:15] 2.6.7 has bugs dealing with interrupted reshapes etc [19:15] https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/256666 [19:15] i thought most of that was in kernel [19:15] Launchpad bug 256666 in mdadm "mdadm cannot resume array reshape" [Undecided,Fix released] [19:16] its marked as fixed, but its not actually.. since 2.6.7 has some of the same bugs as 2.6.3 [19:16] RoyK, 2.6.7 has some conditions where it can segfault [19:21] anyway. it jut makes no sense at all to ship a mdadm 2.6.7 with a kernel 2.6.32. [19:22] despite the hotplug construction issues, upgrading mdadm would at least be something, so people can avoid some long standing rebuild bugs, as well as having new features like reshaping between raid levels (1->5 for example). and reshaping with new stripe width [19:24] i actually wonder if moving mdadm to udev was a good idea, just because it seems to have been incomplete, and not tested well. [19:27] exobuzz: Most of the people who would deal with this aren't generally around on the weekend. It might be useful to put this into a message to the ubuntu-server mailing list so it can be discussed. [19:27] k [19:28] thanks [19:30] exobuzz: what happened when you tried to recompile mdadm? [19:32] well. i took the ubuntu mdadm 2.6.7 source, and did a uupdate on it, after manually removing uneeded patches from the ubuntu diff. I then made a change to where mdadm stores its map file for raid construction, so that it would work from the ubuntu initramfs, however an easier fix is to add the missing /var/run/mdadm folder (https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/550131) [19:32] Launchpad bug 550131 in mdadm "initramfs missing /var/run/mdadm/ dir (loosing state, race, misconfig)" [Undecided,Confirmed] [19:33] but anyway. i now have a working 3.1.2 mdadm on my ubuntu karmic. [20:03] <[diablo]> evening [20:04] <[diablo]> guys, anyone know any info on JEOS 10.04 please? [20:04] * [diablo] looks at soren [20:04] <[diablo]> ;-) === dendro-afk is now known as dendrobates [20:46] New bug: #554775 in samba (main) "package samba-common-bin 2:3.4.7~dfsg-1ubuntu1 failed to install/upgrade: (dup-of: 554763)" [Undecided,New] https://launchpad.net/bugs/554775 [20:47] Reading the backlog, I'm suddenly afraid for my Ubuntu fileserver with mdadm... [21:02] New bug: #554782 in samba (main) "package samba-common-bin 2:3.4.7~dfsg-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/554782 [21:03] folder of a windows client computer to be mounted on my ubuntu server. that folder is on a non -administrative user. i had to do it as a Share folder for all users since if i did it other way it won let me..any help..this is the command that i ended using, were the F folder is the share for all users. sudo mount -t cifs -o username=xxxx,password=xxxx //192.168.1.105/F /home/rgotten/FrontDesk.Windows [21:05] Rafael, what you want to do is to share it only for that username and not for everyone else? [21:09] jeffesquivel: if i try only to share it with that username on the windows client when i write the command i get an error [21:10] Rafael, which error? [21:11] permission denied [21:13] Rafael, what version of Windows are you using? [21:13] xp [21:14] xp prof [21:16] Rafael, is it part of a Domain or Active Directory, or is it an standalone computer? [21:18] jeffesquivel:4 windows client workgroup is OFFICE [21:22] Rafael, have you tried to access that share directly with smbclient? [21:22] jeffesquivel: i try but i am newbe so maybe i am doing something wrong...when i did the share of all users it worked [21:25] Rafael, you can try with something like smbclient -U username //192.168.1.105/F [21:25] that will ask you for the password [21:26] jeffesquivel: passowrd of that user not of adminsitrative correct? [21:26] Rafael, right [21:26] password of the user in the windows computer [21:32] jeffesquivel: let me ask you a dum question [21:32] Rafael, yes? [21:34] jeffesquivel: i want to understand this..if let say user John is a limited user and on the D drive has a folder called F under my doucments...will you go from my account whcih is rafael and since i have administrative privilleges go to c: document settings bbb and look for John and rigth click on F or is there other way fo doing this correctly? [21:35] hi, anyone got any experience with setting up file shares on a linux host and authenticate users via likewise with Windows server? I'm stuck at not getting access to the share from client machine accessing the share [21:35] Rafael, I don't understand you... you should be able to share the folder with user John, usually, you don't need to be an administrator to share folders [21:38] jeffesquivel: let me try one more time and see [21:40] Rafael, ok [22:20] jeffesquivel: i try and if you are not a administrator, you can not do it [22:24] Rafael, hmm.... you're right... sorry, the user I tried it with was an administrator and I thought it wasn't... [22:29] Rafael, may be this document can help: http://support.microsoft.com/kb/304040 ? [22:29] jeffesquivel: let me take a look === erichammond1 is now known as erichammond === JanC_ is now known as JanC [22:59] jeffesquivel: what happens if the shared folder has a space in between, let say My Documents how do you type it so it can be mount? [22:59] You have to quote it. [23:00] Either "filename with space" or filename\ with\ space should work. [23:03] so in this case how will you do it..since is giveing me an error: sudo mount -t cifs -o username=Rafael,password=3544 //192.168.1.105/Myplasticare Pictures /home/rgotten/FrontDesk.Windows [23:04] Myplasticare Pictures [23:04] How about Myplasticare\ Pictures [23:04] let me try [23:05] error [23:07] New bug: #554845 in clamav (main) "package clamav-daemon 0.95.3 dfsg-1ubuntu0.09.04 failed to install/upgrade: subprocess post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/554845 [23:07] look at error: http://pastebin.com/qssQrXfi [23:08] Not sure. [23:08] anybody can help? [23:10] Rafael, how about sudo mount -t cifs -o username=Rafael,password=3544 "//192.168.1.105/Myplasticare Pictures" /home/rgotten/FrontDesk.Windows ? === erichammond1 is now known as erichammond [23:14] jeffesquivel: Thanks..it worked [23:14] Rafael, np [23:14] :-) [23:31] when i ssh to my server outside of the local network, am i supposed to use the external ip of my server, or of the router it is connected to? [23:32] ddecator, it depends... can you access the external ip of your server from outside your local network? [23:34] jeffesquivel: not sure. i had to forward the port from the router to the server, so i'm guessing i use the router's ip? [23:35] ddecator, yep, most probably [23:35] jeffesquivel: i have added that lst one to my /etc/fstab do i have to quote it...look: # Samba automatic load [23:35] /192.168.1.101/serverbackup /home/rgotten/mnt cifs credentials=/root/.credentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0 [23:35] /192.168.1.106/Charts /home/rgotten/charts.windows cifs credentials=/root/.credentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0 [23:35] /192.168.1.105/Myplasticare Pictures /home/rgotten/FrontDesk.Windows cifs credentials=/root/.credentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0 [23:37] jeffesquivel: i tested the router's ip and it worked =) thanks [23:38] Rafael, I don't know if you can quote like that on fstab... why don't you try it and tell me? :-) [23:38] ddecator, you're welcome [23:38] ddecator, but I really did nothing... he he [23:39] jeffesquivel...that is my next question..how can i test the fstab? [23:40] jeffesquivel: like reboot and see if it is mounted..or how? [23:40] Rafael, well... first... if you try mount /home/rgotten/FrontDesk.Windows [23:40] Rafael, it should go looking to /etc/fstab to try to get the rest of the info [23:41] Rafael, IIRC, you could try mount -a too (which mounts everything that is set to auto mount on boot) [23:41] this is what i get: rgotten@myplasticare:~$ mount /home/rgotten/FrontDesk.Windows [23:41] [mntent]: line 17 in /etc/fstab is bad [23:41] mount: can't find /home/rgotten/FrontDesk.Windows in /etc/fstab or /etc/mtab [23:43] Rafael, is line 17 the share with the space? [23:43] y [23:44] jeffesquivel...i do not know if i should keep trying the hard way or just change the name of tha fodler to a single word? [23:45] what do you think? [23:48] Rafael, I personally, prefer using single words to avoid all of that... [23:48] your are rigth mu froiend [23:48] my friend [23:53] jeffesquivel: i just want to share with you this...you can use octal representation of the space "\040 and using that it worked: //192.168.1.105/Myplasticare\040Pictures /home/rgotten/FrontDesk.Windows cifs credentials=/root/.credentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0 [23:53] just found that by googling [23:54] Rafael, great! and thanks for the tip [23:54] no..thanks you for your patient with this newby [23:54] newbee