[00:32] hey does anyone know of a good remote desktop viewing program? the one that comes with jaunty is much too slow [00:46] hey guys [00:47] i've installed subversion on my server [00:47] i want to make it so that any member of the group 'svn' can access the server [00:47] how might i do this? i believe i have the group setup appropriately [03:48] my ubuntu server lts hangs on commands such top htop ps aux ls something [03:48] now is the second time that does that [03:49] how can I trace that :( [03:50] I trought it was some cron job but it isnt [03:52] now it works [03:52] can be an attack :S? [03:54] is the system fully-upgraded? [03:55] though, how is it hanging? [03:55] like, you type the command, and it sits there trying to run it? [03:56] does the screen blank when you run htop? [03:56] yep [03:56] I cant see [03:56] HellMind: are you using LDAP, or NIS? [03:56] yep exactly [03:56] no [03:57] so I do a psaux [03:57] but never ends and when it ends [03:57] the cpu use is ok [03:57] so I dont know where is the bottleneck [03:57] I uninstalled muni because it istarted at that time [03:57] but I wonder if that is the fix [03:57] open two tty's, have one run htop, and the other one doing other things. [03:58] IME it is usually due to hard-binding directory services. [03:58] (AWOL ones, that is.) [03:58] whats IME? [03:58] in my experience [03:58] HellMind: are you logged in as root? [03:58] yes [03:58] HellMind: does your working directory exist? [03:59] yes [03:59] HellMind: does dmesg contain anything about the disk shitting itself? [03:59] no [03:59] "tail -f /var/log/messages" telling you anything? [04:00] ctrl-c to stop tail, btw. :) [04:00] HellMind: pastebin the contents of /etc/nsswitch.conf and /etc/pam.d/common-* [04:00] no, I already looked for that [04:01] http://pastebin.com/m5fae9842 [04:02] Does "echo *" return immediately, and "ls" hang? [04:02] http://pastebin.com/m37ebad [04:02] now it works [04:02] but i know now why it works :( [04:02] HellMind: which is? [04:05] ls worked fine when the folder has very little files [04:07] You're going to tell me the directory had 8192 files in it? [04:07] no [04:07] but in ls /var/log [04:07] it didnt finished [04:07] but in root worked fine [04:08] neat. [04:08] HellMind: so what do you think the error is? [04:08] rm -rf ~/.* :) [04:08] munin [04:08] but i dont understand how ubuntu/linux [04:08] can be bricked like that [04:09] mushroomblue: ITYM ~/.??* [04:09] yah [04:09] I will come back if this happen again [04:09] I daresay [04:11] find: WARNING: Hard link count is wrong for /proc: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf opti [04:11] whats that? [04:11] HellMind: that's you forgetting to pass -xdev to find [04:12] its from munin log [04:12] my box is promiscued :( [04:15] why did you choose ubuntu instead of debian [04:15] is debian better? [04:16] because ubuntu server is stupid fast to get up and running [04:16] sure? [04:16] from USB boot, I have a new install set up as a PDC in under 30 minutes [04:16] debian is fast too :( [04:16] in fact, that's what I'm doing atm. [04:17] I dont like ufw [04:17] ufw is fine when you get used to the syntax [04:17] sucks [04:17] how can I turn of the logs ? [04:17] of ufw [04:17] what's ufw? [04:17] sudo ufw logging off [04:17] typing "sudo ufw" gives you a list of options [04:18] tsrk_ the n00b-friendly firewall. [04:18] I'm quite happy with it, actually. [04:18] mushroomblue, is it included by default? [04:18] yep. [04:18] but turned off right? [04:18] yep. [04:18] i don't understand why i'd want a firewall on a server... [04:19] sudo ufw allow 22/tcp && sudo ufw enable [04:19] could you explain? [04:19] tsrk_: because eventually, someone will get past your firewall. [04:19] mushroomblue, i have no other firewall... [04:19] on your entire network? [04:19] right [04:20] i only have the services i need running [04:20] isn't that enough? [04:20] 67.189.63.62 [04:20] yes [04:20] if you keep it updated, you only risk 0-day exploits [04:20] if you don't have SSH enabled, you're fine. [04:20] i need to ssh in from outside [04:21] then limit connection attempts to something real slow. [04:21] does ssh tend to have vulnerabilities? [04:21] how do you forward ports or nat with ufw -_-? you must edit files right [04:21] I had a win7 box on my network with preinstalled malware (pirated windows). bruteforced a 25-key password in less than 2 days. [04:21] tsrk_: everything has vulnerabilities. [04:22] ssh has had vulnerabilities, but passwords are inherently invulnerable depending on the security practices of the account owner. [04:22] s/invulnerable/vulnerable/ [04:22] tsrk_: OpenSSH, and OpenBSD in general, make an abnormally large effort to avoid security vulnerabilities. [04:22] HellMind: ufw allow portnum [04:22] HellMind: i.e. ufw allow 80 [04:22] or 80/tcp, if you only want tcp traffic open [04:22] -_- forward [04:22] twb, sorry that's what I mean. [04:22] not accept [04:23] PhotoJim, ssh keys only? [04:23] tsrk_: ask PhotoJim points out, if you have a world-facing SSH service there are best practices to minimize risk. [04:23] tsrk_: better, for sure. but not invulnerable. [04:23] hrm. I don't think you can. [04:23] tsrk_: non-standard ports help. [04:23] tsrk_: using only key-based authentication is a bloody good start [04:23] PhotoJim, but i can be scanned anyway? [04:23] tsrk_: all apps that are broadcasting from a port can be scanned. [04:23] PhotoJim: I'm not convinced that helps a lot. I'll concede it helps a little -- but it also breaks QoS. [04:24] er [04:24] tsrk_: any machine can be port scanned, and it will discover any services that are open to the world. firewalls minimize the services that are open. but the remaining services still have to be done securely to avoid or mitigate risk. [04:24] PhotoJim, i prefer to just not run services rather than firewall them [04:24] Which is to say that QoS typically prioritizes port 22, not ssh traffic. Running SSH on another port means it'll get treated as bulk traffic. [04:25] twb: I don't understand TCP/IP well enough to see how key encryption versus password encryption on SSH would affect QoS. [04:25] tsrk_: a firewall prevents you from having to remember to protect a service. you have to remember to open it up. that's all. [04:25] PhotoJim: I was talking about using a nonstandard port. [04:25] PhotoJim: and it's authentication, not encryption. [04:25] twb: ahh. maybe. but that's remediable. it's not hyper-secure, it's security by obscurity, but it is quite effective. [04:26] twb: I stand corrected. [04:26] The encryption mechanism negotiated between client and server (e.g. blowfish) is orthogonal to the auth method. [04:26] twb: Brain cramp. [04:26] np [04:26] there's nothing wrong with adding obscurity to an already hardened security scheme [04:26] so long as you remember to document. :) [04:27] mushroomblue: apart from the QoS suck :-) [04:27] heh. [04:28] My actual changelog reads [04:28] "Move ssh back to port 22. I haven't had to deal with corporate firewalls, but I have had to deal with QoS and I want to clean up my .ssh/config some." [04:29] 443 being your typical strategy for drilling through stupid corporate firewalls. [04:29] twb: my network is a personal network, so I'm less concerned about it. at enterprise level I probably would use port 22 and ramp up the authentication via keys. [04:30] I remember when my personal network was unsecured. [04:30] then I got hacked via wifi [04:31] turns out, there was a massive exploit for DD-WRT firmware [04:31] mushroomblue: perimeter-only hardening is depressing when you see it in a multinational :-( [04:31] hah. [04:31] agreed. [04:31] brb [05:31] Good Day All :-) [05:44] has some one install liferay5.2 on ubuntu server I despirately need your help please [05:45] !anyone [05:45] A large amount of the first questions asked in this channel start with "Does anyone/anybody..." Why not ask your next question (the real one) and find out? [05:49] ubottu, thanks for the reply, I am unable to delete the demo content which is 7cogs.com and configure for our intranet [05:49] Error: I am only a bot, please don't think I'm intelligent :) [06:06] I am very disappointed :( [06:09] ozysimpson: Since I don't think that's an Ubuntu package, you'll probably do better to ask for help where you got the package. [06:09] ScottK: I was trying to confirm that, but p.u.c is down [06:10] twb: https://launchpad.net/ubuntu/+search?text=liferay [06:11] ScottK, thanks scotty [07:08] For a set of hosts at my work i use office.pub and office, and for others i use office2.pub and office2. Can i use just two entries in config file specifying the group of hosts and then key file? or do i need to create a separate Host with HostName for every machine? [07:16] error404notfound: r u trying to make sshd use ur key based on where u login ? [07:17] gnuyoga, nope, its pure keybased, no passwd, no passphrase [07:17] yes :P [07:17] sorry, i am drunk [07:17] Its like there are 50 machines, 45 use one key pair and 5 use other key pair. [07:19] error404notfound: why not just tell ssh to try both keys for all hosts? [07:20] twb, how can i do that? [07:20] http://twb.ath.cx/Preferences/.ssh/config is mine [07:20] error404notfound: u can use ssh -F ... and alias this to ssh2 [07:20] * gnuyoga feels what twb says will work [07:20] It tries id_rsa, but it also tries id_twb and id_example.net if I ssh to twb@example.net [07:21] twb: will that not take more time ... (what's is the average connecting time ?) [07:21] It's that last stanza that does that [07:21] gnuyoga: well, sure. [07:21] gnuyoga: but IMO it's negligible extra time, unless you're on a 33kbps line. [07:21] hi I am just wondering if anybody here has had any success with recompiling php to include the bundled gd support? [07:21] noob: why don't you just install the gd package? [07:21] apt-get install php5-gd [07:22] I have tried the gd package available via apt-get but that is an older version of gd that does not have support for the newer functions in the bundled gd available with php [07:22] I will not help you circumvent apt. Sorry. [07:22] noob: http://www.howtoforge.com/recompiling-php5-with-bundled-support-for-gd-on-ubuntu [07:23] gnuyoga, that was the guide I followed last night, but it seemed to get stuck in some kind of endless loop? [07:24] noob: ah okay, where did u get stuck (can u pastebin the error pls) [07:26] well I have just turned my pc back on, so I have no error log, but... I got to the stage where you being to dpkg the new php5, and it ran for about half an hour, with information scrolling on the screen, but it really did appear to loop as I saw similar stuff coming back after ten minutes or so. I am sorry if this isn't a helpful decsription of my problem [07:27] this was the last command I executed... dpkg-buildpackage -rfakeroot [07:27] then it ran for over half an hour, is that normal? [07:27] Depends on the package. [07:28] And on your hardware, of course. [07:28] libwebkit would take about four hours on a Pentium III, for example. [07:28] dual core processor at 2.6 ghz with 3gb of ram [07:33] anyway thank you for your help I will try again === alex_jon1 is now known as alex_joni [09:42] I have a VPS which doesn't have much free space on its own for backups, plus having the backups on the same system sounds like a pretty bad idea for me... [09:43] I have a laptop with 500G HD, but problem is i am on the move, so internet connectivity can't be guranteed, any ideas? [09:44] error404notfound: you trigger the backups from your laptop when you're connected and not from the host that needs to be backuped. [09:46] ewook, it would consume quite some bandwidth and my boss would get suspicous :P i am using rsnapshot and the biggest image is 390M [09:47] any hosts that provide free FTP/SSH for backups? i just need 500M or so space at most. [09:47] mount your gmail-account on the vps? [09:47] ewook, can i do that? [09:48] error404notfound: you could a while ago. never tried it. [09:49] ewook, i mean like how? [09:49] error404notfound: http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html [09:51] ewook, thanks, checking it [09:57] you can do "apt-get install gmailfs" :P [09:58] oh. [09:58] neat. [10:01] ewook, creating a new account for backups on my domain, btw its legal w.r.t to google's policy? right? [10:05] error404notfound: that I do not know. Read the agreement when signing up I guess. [10:06] ewook, i guess its no different from using the account for backups of your documents, like i used to do on windows [10:06] plus, if it was illegal, google wont have sit silently while the package also shipped in ubuntu official repo [10:14] error404notfound: that's not a safe assumption. [10:15] If you are worried that gmailfs is not legal, you should get professional legal advice. [10:15] It may be that it *is* illegal, and that Google simply hasn't noticed or doesn't want to pursue the developer about it. [10:16] twb, lemme ask google official groups about this [10:16] Ubuntu will try to avoid shipping stuff that it shouldn't, but there are certainly works in Ubuntu right now that are not licensed for redistribution. [10:17] For example, Darcs' functional test scripts mostly lack license declarations, but they can be downloaded from Ubuntu using "apt-get source darcs". [10:30] when i mount gmailfs, it says "Ignored Option:rw" later when i go there and try "ls" it says" no space left on disk" [10:31] even though i have "python 7.2G 0 7.2G 0% /media/vps-gmail" [10:36] any idea what could be wrong even though i upgraded libgmail? [10:40] when i get it mount, its shown as "d????????? ? ? ? ? ? gmailfs" in ls -al [10:43] twb: It's very common to have source packages with files in them that do not contain explicit license/copyright information. [10:43] twb: This is not an oversight nor an accident. [10:45] twb: It'd be difficult to argue that those test files are not covered by the GPL or LGPL seeing as they are shipped as part of the darcs source distribution. [10:48] ewook, ever saw: http://pastebin.com/m73900945 ? [10:50] error404notfound: nope. I've never used it nor toyed with it, just knew it existed. [10:50] soren: simply having a file called COPYING in the tarball, containing a copy of GPL-1, does not consitute a license declaration for other works in the tarball. You might ARGUE that this was the intent, but an explicit license declaration means you don't have to argue. [10:51] It would probably be adequate to have a single license declaration in the tarball that said "everything in this tarball is licensed under ", but at least for Darcs, this is not the case. [10:52] twb: It's of course always preferable to not have to argue. [10:52] twb: Are you suggesting that those test files are indeed covered by a different license? [10:53] I'm saying that it's not clear that those works (the tests) are licensed AT ALL. [10:53] They call directly into darcs, and are distributed along with darcs. Thus, they are infected by darcs' license. [10:53] soren: sorry, I don't agree. === BlueT__ is now known as BlueT_ [10:55] If anyone ever intended them to not be licensed as GPL, they gave up that right when they started distributing them and letting them call directly into GPL code. [10:56] GPL infects when linking, not when calling. [10:57] It's also perfectly valid to distribute works that are not licensed for REdistribution. [10:57] When we review code for acceptance into Ubuntu, we're not trying to keep code out by nitpicking for stuff that could conceivably (however unlikely) be argued as being a problem. [10:58] We try to evaluate whether stuff is an /actual/ problemm. [10:58] Well, indeed. [10:59] And while we /prefer/ that everything has perfect copyright/license information, if we /required/ that, we'd have /extremely/ few packages left in Ubuntu. [10:59] Even if Ubuntu does violate copy rights, that means nothing unless the copyright holder chooses to pursue Ubuntu. [11:00] You can always find a file that hasn't had its copyright information updated to the year of the latest change or whatever. [11:00] Right. [11:00] Noone gains anything by keeping code out like that. [11:01] I agree from a pragmatic view that this is extraordinarily low risk. But the risk is non-negligible, and maintainers (and upstreams) should endeavour to be clear about licensing instead of simply taking a view that "it doesn't matter, everyone knows what I mean" [11:01] And of course this isn't limited to Ubuntu. [11:03] For the sufficiently paranoid, there is gnewsense :-) [11:04] darcs is included in gnewsense. [11:05] Clearly they (gnewsense) aren't doing their job, then. [11:05] BTW, I only single out Darcs because I'm the maintainer for it. [11:06] Why haven't you just yanked out those tests, then? [11:07] Because I'm a hipocrite [11:07] Ah :) [11:07] And theoretically I spend a little time every day adding license declarations upstream [11:07] But that got pretty boring [11:11] twb: I'm looking at the GPL now, and I can't actually spot the part that speaks about linking and whatnot. [11:12] soren: sorry, that info was from tertiary sources. [11:12] soren: if you google for LLGPL[sic], you will hopefully find some info about it. [11:13] (Licensing of Common Lisp runtimes under GPL has some funny implications, because binaries compiled with it can include the runtime.) [11:27] is there a command line version for ubuntu one? [11:31] error404notfound: dont think so [11:31] gnuyoga, :'( [11:33] any good hosts that give free backup accounts or such? coz gmailfs is not working any more, developer says that libgmail is out of maintenance, and ubuntu one needs UI. [11:33] error404notfound: package ubuntuone-client-tools provides u1sync command line tool [11:34] alexm, whats that? [11:34] "This package provides the u1sync command line tool for syncing individual files and folders to and from the Ubuntu One file storage and sharing service." [11:35] http://en.wikipedia.org/wiki/Ubuntu_One [11:36] Bleh, more proprietary software from Canonical... [11:39] At least launchpad is AGPL now, though I would have quite liked to RTFS the landscape backend [12:28] can i mount webdav on my ubuntu-server? if no is there any other method to interact with it? [12:32] bump [12:36] apt-cache search webdav|grep mount lists davfs2 and fusedav [12:37] alexm, yup, got that but in etc/fstab how do i specify username and password [12:42] i want to shutdown my ubuntu box by pressing `power off` button on keyboard.. any ideas ? [12:43] error404notfound: i don't know, sorry [12:43] alexm, got it, /etc/davfs/secrets [12:43] but i am still looking for a good free ftp server for my system backups which arent more than 300M [12:45] vsftpd? [12:47] alexm, thats a server software that you need to run your own, i need a service. [12:48] ok, i see [12:49] alexm: I would normally say "aptitude search ~dwebdav~dmount" [12:49] dzzz: you need to install acpid. [12:50] dzzz: personally I think it's bloody stupid to not install that by default, but I'm told that "people might accidentally bump the power button" [12:50] i have acpid installed, but apci-listen gets nothing when i pressing the button [12:50] dzzz: oh wait, sorry, I thought you meant the power button on the case [12:50] twb: thanks for the tip :) [12:51] dzzz: if acpi-listen doesn't see it, I'm out of ideas -- short of installing Xorg, at least... :-( [12:53] twb: thanks [12:54] I suppose you might be able to tell upstart/console-setup to "see" it as ctrl-alt-del or something... [12:54] I noticed that console-setup has some peculiar relationship with xkb-data [13:07] what's the file that starts a service after reboot? [13:10] quizme: upstart, probably via sysvinit-compat [13:11] quizme: if you want to disable a service from starting at boot, I suggest using the rcconf tool [13:11] Simply deleting the symlinks in /etc/rc?.d/ is wrong, in a way that will bite you on the arse months later. [13:12] (I had to vigorously educate a co-worker about that recently.) [13:15] update-rc.d [13:15] i guess that was the name [13:16] how do regain root ? [13:17] quizme: give him a password [13:17] quizme: sudo -i, or pick the "rescue" (single) option in the bootloader [13:18] i can't sudo anymore as ubuntu [13:18] Failing that, fight through various iterations of live CDs, CMOS resets, alternate hardware, butterfly effects, etc. [13:18] cuz i was messing with the sudoers file [13:18] ah [13:18] quizme: well, don't do that [13:18] now that i can't sudo [13:18] what can i do ? [13:18] quizme: reboot and pick "rescue" in the bootloader, then run "visudo" as root. [13:18] recovery mode [13:18] i'm on ec2 [13:18] i don't think i can do that [13:18] quizme: then you're fucked [13:19] .. *sigh* [13:19] quizme: put the image somewhere you can mount it [13:19] quizme, reboot into single user mode and use root account, or if you dont have a root password, use a live cd and reset it [13:19] quizme, and next time be careful, nix literally lets you shoot in your foot. [13:20] error404notfound: he can't get single because it's a VPS, and he's (presumably) connecting via ssh only once it boots [13:20] quizme: you're out of luck i'm afraid [13:20] i'm gonan try to to login as root .. i think i put id_rsa.pub in authorized_keys [13:20] quizme, twb, try if they provide a serial console like my vps does... [13:20] or ask them [13:20] error404notfound: which provider is that? [13:21] fuck yes [13:21] it worked [13:21] twb, prgmr, not very famous, but i am really happy with them [13:21] quizme, happy for you... === TeLLuS_ is now known as TeLLuS [13:21] error404notfound: do you know what technology they're using (e.g. KVM, Xen)? [13:21] quizme: you allowed ssh root logins with a key? [13:21] how do I switch from hardware raid 1 to software raid 1 ? [13:21] twb, Xen [13:21] error404notfound: righto [13:22] step 1 would be how to detach the one of the disk from hardware raid 1 [13:22] twb, i would say have a try, atleast i am really satisified, they have great support, irc channel, great prices, and what not. [13:22] step 2 would be how to install ubuntu server on second disk while running the server ? [13:23] axisys: step #1 would ideally be to buy two new disks [13:24] *phew* that was a close one [13:25] pmatulis: yeah [13:25] pmatulis: is that bad ? [13:25] pmatulis: cuz it just saved my bootie [13:26] quizme: allowing root to login is generally frowned upon [13:26] pmatulis: key-based only isn't so bad [13:36] what i do is create an account named toor (yes, same concept as FreeBSD's toor) and use that for such emergencies [13:47] error404notfound: apt-get install sashroot, follow the prompts [13:47] Sorry, "sash" not "sashroot" [13:48] twb, me? [13:48] Eh, I thought it was a "how do I" [13:48] twb, :P [13:48] twb, whats sashroot? something like port knocking? [13:49] No, it's just a statically-linked shell. But its debconf code sets up a second uid=0 account with sash as its default shell [13:49] twb, so its basically same thing as my manual approach...? [13:53] error404notfound: yep, except it's "turn key" [13:54] twb, turn-key? [13:54] ,turnkey [13:54] ubottu: turnkey [13:54] Sorry, I don't know anything about turnkey [13:54] Bah! [13:54] :D === Guest94361 is now known as Authority === Authority is now known as Guest79958 [14:14] Hi, I recently installed 9.04 server alternate. Im running into prblems now that i didnt have with fedora 10 [14:15] when I install Mysql etc and i run my setup.php for the database feild creations, the fields dont seem to be getting enterd now [14:15] also when I request the time stamp in my php script from the database record I get 1st January 1970 [14:15] ? [14:24] garymc: does the mysql user you're using in the setup.php script have appropriate rights to the database? [14:27] yes [14:28] im doing a reinstall i think i set something up wrong [14:28] will be back shortly for an update [14:33] --help [14:33] Ng: ok [14:34] * Ng awards himself many many "I fail at irssi today" points [14:40] i have a system with 1x 60gb pata (for system) - and 6x 200gb for data .... i mount the 60gb partition as ext4, with mount / [14:41] now it needs to be a smb / ftp / mediastreaming service... [14:41] should i mount the huge partition as /var - as /home or as /srv ???? [14:42] twb: i have only two disks on this system .. i am assuming i can switch to softwareraid 1 from hardware raid 1 w/o buying new disks.. it is very simple with solaris .. i can't imagine it being that difficult w/ linux [14:42] ichat: mount it as /mnt/storage [14:42] afaik there is no rule where to mount it [14:43] stefan__: ??? and than add the home vars accordingly in the ftpd conf samba.conf and other? === Guest79958 is now known as Authority [14:43] yes [14:44] btw is there an easy way to synchronize smb users with the ftpd and the system [14:45] not that I know, but maybe users that used this more than me can add other thoughts [14:45] afaik i cant let samba authenticate against any database other than an LDAP service - but thats verry dificult to manage - i fear [14:46] ichat: you can integrate samba with LDAP [14:47] I think you should be able to integrate samba with pam [14:47] http://wiki.samba.org/index.php/Samba_&_LDAP [14:48] you can integrate it with pam [14:48] but I don't know exactly what ichat wants to do [15:02] i want an easy to manage - setup where i can store files and stream media accoss a network (smb) and wan (FTP) - [15:02] and for users to be easy added [15:05] so either by - getting the services intergrated into local users management - or by - anyother means... as long as its not impossible to setup [15:05] how do I detach second disk from hardware raid 1 ? [15:06] axisys: in the raid bios setup [15:08] sgsax: i am not sure.. it has been while since i build this X4100 .. i think it has some fake raid or something.. but it has been while.. i know i have two disks .. but fdisk -l shows only one.. so that confirms i am using hardware raid 1 right now [15:09] I know the X2100 uses fakeraid, dunno about the X4100 [15:10] if it is fakeraid, then you probably can't just pull a disk out with losing all the data [15:15] ichat: if you are accustomed to ldap then integrate it with that and when you add/remove users in ldap than they also have access to smb shares [15:16] sgsax: i might be confusing x4100 w/ x2100.. i am working on x4100 now [15:16] Hi can anyone help me installing php and mysql server [15:16] in ubuntu 9.04? [15:16] stefan__: - im not :( (yet) - i'd love to try ... [15:16] dont know if im using the correct commands etc [15:16] sgsax: how do I detach a disk from real hardware raid 1 ? my goal is to switch to software raid [15:17] axisys: i think you do it in the bios [15:18] garymc: search help.ubuntu.com [15:18] garymc: - just install them and browse to /etc/apache/httpd.conf and edit it according to your needs [15:19] ichat: so what did you mean by "getting the services intergrated into local users management" [15:19] ok in install these packages [15:19] install php5 libapache2-mod-php5 php5-mysql mysql-server [15:19] are they correct [15:19] ? [15:19] axisys: you'll have to reboot and watch the bios messages for the keys to get into the raid setup [15:20] axisys: normaly F8 [15:20] they look correct apart from mysql-server , i thought the name is mysql-server-5.1 or something like that [15:20] you seriously want to switch from hardware raid to software? [15:20] usually it's the other way around [15:20] stefan_ how would i find out the correct stuff [15:20] sgsax: how would i know when a disk go bad with hardware raid ? [15:20] garymc: to sudo aptitude search mysql-server and install 5.0 or 5.1 whichever one is there [15:21] axisys: - it would still give some smart errors - dbus should be able to tell on failure - but i didn't ever try [15:22] axisys: if it's a good raid controller, the driver should alert you [15:22] sgsax: it will send it to the syslog ? [15:22] it's likely [15:23] can somebody go to this site: http://cardinaleducation.thirdreplicator.com <--- do you see a login form ? [15:24] quizme: "address not found" [15:24] quizme: not found [15:25] quizme: same here, DNS doesn't resolve [15:26] ok thanks guys [15:26] sgsax: http://pastebin.com/f5565f185 i got these messages yesetrday.. is that mean hardware raid 1 having issue ? [15:26] device-mapper is lvm [15:27] which can be used for software raid [15:28] i am not using software raid http://pastebin.com/f58860abf .. so don't messages are not relevant to my hardware raid ? [15:28] http://pastie.org/578474 <--- it was working before on my other server ..... the subdomains i mean.... [15:32] axisys: pastebin output from lsmod and lspci, pls [15:33] sgsax: http://pastebin.com/f513a283e from smartctl .. let me get the other info [15:34] lsmod -> http://pastebin.com/f532cce57 [15:34] lspci -> http://pastebin.com/f4b3cd416 [15:35] yeah, so you've got an X4100, with LSI Logic SAS controller [15:35] that uses the mpt module [15:35] I don't see any lvm modules loaded [15:36] X4100 has two sas drives (X4200 has four) [15:36] iirc, that's a hardware raid card [15:38] little bit detail about that lsi controller http://pastebin.com/f530356d6 [15:39] chances are, if you reboot and get into the raid setup, it should be able to tell you if one of the disks is degraded [15:40] sgsax: would be nice if there is any raid tool to find the status .. that is why i like software raid 1 [15:44] there should be mpt tools [15:45] mpt-status [15:46] sgsax: can you tell which one do I have http://picpaste.com/Screenshot-6_1.png .. i may not able to access the disk by passing that internal sas controller [15:46] I think should give you the info you need [15:47] not sure what the difference between the forst two is [15:47] but from your lspci: [15:47] LSI Logic / Symbios Logic SAS1064 PCI-X Fusion-MPT SAS (rev 02) [15:47] that's what you've got [15:49] http://pastebin.com/f48962573, so now i need to fidn the mptctl kernel module correct ? [15:49] morning everyone! [15:49] sgsax: http://pastebin.com/f48962573, so now i need to fidn the mptctl kernel module correct ? [15:49] axisys: yes [15:49] you can probably just try "modprobe mptctl" [15:50] if you don't get any errors, then it loaded just fine [15:50] can check lsmod to verify it is loaded [15:50] stefan__: - > ichat: so what did you mean by "getting the services intergrated into local users management" <--- - id like to have smb intergrated with pam (so native *nix user accounts, cuze thats probably the easiest way ... - or else for example a user-db that ALL service atuhenticate against [15:50] sgsax: that did it [15:51] ichat: http://www.samba.org/samba/docs/man/Samba3-HOWTO/pam.html [15:51] Steve[mbp]: howdy [15:52] sgsax: http://pastebin.com/d4d8cbefe sweet! [15:52] axisys: there you go [15:53] sgsax: so, the kernel module will stay loaded in next reboot ? [15:53] check the man pages for mpt-status for more usage info [15:53] re ichat [15:53] I would just use pam [15:53] vsftpd will use system users, and pam-smbpass will sync samba with local users [15:53] axisys: if not, you can always add it to /etc/modules [15:54] LDAP will get it done too, but it's a bit more work [15:54] sgsax: thanks a lot [15:56] sgsax: wow! really good info http://pastebin.com/f14babea4 [15:56] qman, anny help configuring these services would be verry apreaciated as soon as the system boots (after install) - i never did this... - [15:56] i have to find out how to have smartctl probe both disks [15:57] axisys: looks like you're on the right track now [15:57] sgsax: i sure am.. thank you very much! [15:57] np [15:59] I have similar question about x2100 raid.. can I ask away ? [15:59] I know that's fakeraid, but give it a shot [16:00] sgsax: lspci -> http://pastebin.com/f4209008 [16:00] sgsax: lsmod -> http://pastebin.com/f54b83b65 [16:00] what tool can I use to check the status ? [16:01] x2100 uses an nvidia nforce chipset [16:02] plain old sata controller with software raid [16:02] sgsax: yikes! hehe [16:03] what about fdisk -l [16:03] https://help.ubuntu.com/community/FakeRaidHowto [16:04] note the strongly recommend against using it on your boot drive [16:04] my adobe flash doesnt work so well in ubuntu 9.04 server [16:04] sgsax: fdisk -l -> http://pastebin.com/f468a4754 [16:04] i got it to work but speech is out of sync etc [16:04] bit jerky too [16:04] sgsax: df -h -> http://pastebin.com/f27f5b92a [16:04] then sometimes sound doesnt work [16:04] axisys: yeah, it shows two seperate drives there, sda and sdb [16:05] it appears that both are partitioned the same, so at some point, they were probably in a mirror [16:05] but since there are no dm (device-mapper) modules loaded, the current system just thinks they are seperate disks [16:05] sgsax: during install it said, hey i found a raid controller.. u want to use it.. i think i said yes [16:06] garymc: I think there was just an update to flash, dunno if it was a bugfix. or a security patch [16:06] and it did the mirror during install .. it has been a while too [16:06] sgsax: df -h -> http://pastebin.com/f599a6e85 thinks it is a device mapper [16:07] sgsax: is there a tool to see what it is like underneath the device mapper.. is it one disk or two disks ? [16:10] anybody know how to configure bind well ? [16:10] i am trying to set up subdomains.. [16:11] cardinaleducation.thirdreplicator.com <--- ain't being found [16:12] sgsax: http://pastebin.com/fc504a30 does not tell me much about the raid 1 device mapper I am using nvidia_eeffhbef1 === thirsteh is now known as patrick === patrick is now known as Guest35807 === Guest35807 is now known as thirsteh [16:19] anyone know why I cant add users in ubuntu 9.04 server? [16:19] The unlock thingy doesnt highlight now? [16:21] garymc, I'm not sure what you're referring to [16:22] in the ubuntu gui I goto system admin users [16:22] It wont let me add any [16:22] ubuntu server does not have a GUI by default [16:23] are you using desktop? [16:23] im logged in using a thin client [16:23] im using an LTSP version [16:23] oh, the alternate disc [16:23] make sure you're logged in as a user with sudo privileges [16:24] (an administrator) [16:25] iam [16:25] well, you could always do it the old fashioned way [16:25] in a terminal, sudo adduser username [16:26] sorry, I don't know much about how the GUI apps actually work [16:28] axisys: I'm afraid I've never used fakeraid myself [16:28] that link I pasted earlier is probably your best place to start [16:30] another one: http://wiki.debian.org/DebianInstaller/SataRaid [16:30] garymc, one other thing to try, log into the server locally and try it [16:30] I'm not sure if it allows you to open administrator type stuff from a thin client or not [16:31] sgsax: thanks a lot [16:31] sgsax: i should probably switch to software raid for that box [16:31] sgsax: i have anothe x2100 where that is exactly what i did [16:31] sgsax: software raid that is [16:32] sgsax: but that was from initial install [16:32] fwiw, I use mdraid on several machines, and it's done me well [16:32] even through hardware upgrades [16:32] sgsax: wonder if i can detach a disk from fake raid and make the disk bootable by itself.. [16:32] sgsax: then i could boot from detached disk and setup software raid [16:33] axisys: all I can see is hardware raid is typically more robust than software raid [16:33] Hi, I'm running a bridging squid proxy. We developed a web gui show some stats and configure ip address but when I change the ip address using the web gui, I get an error on the console : unregister_netdevice: Waiting for br0 to become free. Then I have to reboot the server because this error never stops.. Can anyone help me with that &? [16:33] s/see/say/ [16:33] I forgot to mention... it works 50% of the time [16:33] sgsax: where does fakeraid stand here? [16:34] fakeraid isn't really any more robust than software raid [16:34] axisys: fakeraid is software raid [16:34] the only reason I think it really exists is to make things easier on people who use windows [16:35] sgsax: in that case i should just switch to md [16:35] probably [16:36] qman__: well then it is not for me.. i have not use windows for 2 yrs.. well i usually prefer doors ;-) [16:36] Max007, it's most likely an issue with the way your application changes the address [16:36] sgsax: it will be a challenge to switch to software raid from fakeraid.. [16:37] qman__: it edits /etc/network/interfaces and then run /etc/init.d/networking restart [16:37] sgsax: short from rebuilding the box .. yikes! [16:37] yeah, don't think it's possible while retaining your existing partition [16:37] (another plus for hardware raid) [16:39] Max007, that should work with just a standard interface, so I think the issue is with the bridging [16:39] maybe some program is preventing the bridge from going down? [16:40] also, bringing down your interface should also bring down your web server [16:40] so you need to make sure you execute the script in a way that allows it to continue to run even if the web server goes down [16:41] qman__: I see.. it only run the command "sudo /etc/init.d/networking restart" from PHP [16:41] after it makes the change to /etc/network/interfaces [16:41] yeah, that probably won't work [16:42] you should spawn a job separate from the php code [16:42] do you have another idea ? [16:42] well [16:42] I'm trying to think of something a bit less convoluted than what's in my head right now [16:43] you could set up a cron task, that checks a file [16:43] and have the php code edit the file [16:43] if the file is changed, the cron task commits the changes and restarts networking [16:43] sgsax: with mdadm it would be easy too.. [16:44] sgsax: but ofcourse not with fakeraid that i know of [16:44] the only downside is the time gap versus overall system performance [16:45] the other option would be setting up a daemon that the php code forwards the data to, which would manage the whole thing [16:46] that would be ideal performance wise, but presents quite a lot of work to write [16:47] you could also make your php code such that it creates a new cron task when you make the changes, which runs and then deletes itself [16:48] that'd be simpler than a daemon to write [16:49] the only real downside is that it could take up to a minute to do the reboot, since you can't cron tasks any sooner than every minute [16:49] err [16:49] restart of networking [16:51] qman__: hmmm [16:52] qman__: what other distro with web gui do ? like ipcop, pfsense... etc [16:55] qman__: if I edit the file and then run "ifconfig br0 X.X.X.X netmask Y.Y.Y.Y [16:55] what do you tnk ? [16:57] that might work since it doesn't actually bring down the interface [16:57] but your services would have to listen on all interfaces/addresses, not a specific one, in order to keep functioning [17:00] !bmotion-lib [17:00] Sorry, I don't know anything about bmotion-lib [17:03] New bug: #308952 in vsftpd (main) "FireFTP(Mozilla) cannot LIST files" [Undecided,Won't fix] https://launchpad.net/bugs/308952 [17:37] I have had a problem with my network interface, that it slows down dramatically after a while of sending and receiving large amounts of data. However, running sudo ifdown eth0 && sudo ifup eth0 seems to fix it. However, this feels dangerous to me. What are the consequences of running that command, how does it affect active connections, etc? [17:58] umm... mysql-server-5.0 in hardy can't be built [17:58] ssl related tests fail with timeout [18:00] can somebody help me with bind ? [18:00] i'm clueless [18:02] quizme, if you're clueless, then you probably want to look at the server guide on help.ubuntu.com. It will give you at least a clue. It's difficult to answer questions like that. [18:02] i'm trying to get my website up: thirdreplicator.com/ [18:05] How do I install phpmyadmin in ubuntu 9.04? [18:05] quizme, follow the guide on help.ubuntu.com. It's very easily explained, and it's not complicated at all, I promise. :) [18:05] garymc, sudo apt-get install phpmyadmin [18:05] garymc: you just install it [18:06] ok [18:07] done that [18:07] how do i use it~? [18:11] right ive installed phpmyadmin how do i use it? [18:14] ???? [18:18] sussed it [18:19] garymc: Read the docs? [18:44] how do i define secondary name servers in my primary server's zone file ? [18:52] New bug: #358723 in awstats (main) "awstats.pl does not close table row" [Undecided,Fix released] https://launchpad.net/bugs/358723 [18:59] hey - I've edited /etc/network/interfaces to change my ip from a.b.c.d to a.b.c.e (incremented it) - now I want to ifdown / ifup - but... I really want to be sure it comes back up [19:00] is there something wrong with this zone file? http://pastie.org/578790 [19:00] will sudo ifdown eth0 & sudo ifup eth0 work? [19:00] after installing ubuntuserver, it tells me that its installed - 'grub' is installed but after reboot i get an error that there is no operating system .. (noting else) [19:00] btw its installed on pata (pri master) [19:01] How to reliably restart network interface when connected remotely - since I only have one shot at this without it being a real pain [19:01] New bug: #358715 in awstats "Syntax error in search engine list" [Undecided,Confirmed] https://launchpad.net/bugs/358715 [19:01] r3rman_: i would make another connetion via ssh and go 'sudo service networking restart' [19:02] pmatulis, if I make a second connection, the original would still survive? :-/ [19:02] despite ip change? [19:04] pmatulis, I have been assigned 6 ips from my server provider - I guess that means I can choose any to assign as my static ip to my eth0? (also have eth1, and I guess the others are for if I have other devices behind that............ right?) [19:11] New bug: #398132 in awstats (main) "awstats uses the wrong access.log, wrong permissions (dup-of: 319871)" [Undecided,New] https://launchpad.net/bugs/398132 [19:21] r3rman_: the safest way would be to first make a copy of your old interfaces file [19:24] pmatulis, I did that, but you are missing the point [19:24] I don't have a stick that long (oer) to poke it back online again if it buggers up [19:24] anyway, I did it now [19:25] r3rman_: i was going to suggest to use the 'at' command to use it at a later time [19:25] today I also realised what a FUSKING idiot I am [19:25] I was pasting some long commands that were seqeunces into the console [19:25] the remote console... and I didn't realise that most were being pasted into the STDIN / null area of before bash was returning [19:26] I am sure on the other server, it traps the enter and keeps doing all the commands [19:43] karmic alpha 3 server installs gcc by default?? [19:46] oh nm. not the actual program, but 'gcc-4.4-base' package. thats confusing. [19:54] Anyone here familar with POSIX ACLs and Samba? I set a few POSIX ACLs on a few share directories, but my user still can't write to the directory. Any ideas? [20:16] Hi gusy. I have a question about bind server. I hope some one here on the kind community will help me. [20:17] I have two doman xyz.com, abc.com registered at www.name.com. I want to run them from my inhouse server. [20:17] Do i need bind9 server to configure them? [20:18] Well i think, i should not? [20:21] New bug: #319871 in awstats (main) "suboptimal defaults in awstats (LogFile and LogFormat)" [Undecided,New] https://launchpad.net/bugs/319871 [20:23] is there anybody who could help me? === zul_ is now known as zul [20:31] tarun_: well, they may provide complete domain hosting for you [20:31] tarun_: unless you want full control over it...making changes as you like. [20:32] if you want control (and all the fun that goes with it), you can run bind or some other nameserver [20:32] Sam: It mean i do not need to install bind9 server on my machine. [20:32] it does IF you're listed as the SOA/NS for the domain [20:32] I can easily configure mailserver and apache server with my existing server? [20:33] yeah, if they handle A/PTR records for you [20:33] like... you tell them where you want www.xyz.com to point [20:33] and they do the work [20:34] mean, i only need to put domain records in the dns manager provided by name.com. and it will work. [20:35] yes [20:35] Sam-I-Am: Actually i did this. But www.xyz.com and xyz.com are pointing to different locations of the server. Even i configured virtual host. [20:36] [20:36] ServerAdmin admin@tarunjangra.com [20:36] ServerName tarunjangra.com [20:36] ServerAlias tarunjangra.com [20:36] DocumentRoot /home/tarun/tarunjangra.com/public_html [20:36] ErrorLog /home/tarun/tarunjangra.com/error.log [20:36] CustomLog /home/tarun/tarunjangra.com/access.log combined [20:36] [20:36] Here is my virtual host configurations. [20:37] dont post big stuff in here... use pastebin or something [20:37] oh sorry for that. [20:38] can anyone point out a ctcp/dcc compatible irc client for winodws ? [20:38] drurew: uh, mirc? [20:38] * Sam-I-Am looks at channel name [20:38] i dont think its ctcp/dcc compatible [20:38] Sam-I-Am: here are my virtual host configuration: http://pastebin.com/d575d2677 [20:39] Sam-I-Am: im running an eggdrop on my ubuntu-server, where windows users need to be able to interact with the eggdrop [20:40] tarun_: do you have namevirtualhost in your config? [20:40] drurew: does xchat run on windows these days? [20:41] Sam-I-Am: No. Is it contains my static IP? [20:41] tarun_: in order for virtual hosts in apache to work, domain1.com and domain2.com point to the same IP ... then apache uses the http headers to point to the correct files [20:42] Do i need to configure virtual hosts for both "xyz.com" and "www.xyz.com"? [20:42] not if they're the same place... most people just point the A record for domain.com to the same IP as www.domain.com ... so if you forget www, you still get to the web site [20:43] now, if you want different sites for www.domain.com and domain.com, then you might consider virtual hosts [20:43] I just CNAME domain.tld to www.domain.tld. [20:43] or that [20:43] They both work. [20:46] Sam-I-Am: sname wouldn't work well, you'd want NS and probably MX records at the domain.tld level [20:46] s/sname/cname/ [20:46] maswan: i use A [20:46] drurew, mIRC does ctcp and dcc, though it is in serious violation of standards, especially in regard to unicode [20:47] Sam-I-Am: yes, that's what works, cname wouldn't [20:47] drurew, there are builds of xchat for windows, but generally they don't work too well due to the way GTK is used in them [20:47] drurew, silverex.org [20:47] Sam-I-Am: Sorry i was disconnected. [20:47] thanks qman__ === jdstrand1 is now known as jdstrand [20:54] irssi also supports ctcp and dcc, though the interface for dcc is a bit harder to use [21:01] i think the issue with eggdrop is the ssl encryption that mirc dosnt like [21:10] Hey, I'm looking for a package in the ubuntu repositories that you could run on two machines, one was the server, and then you could test speeds from clients with it - was very simply and handy - but can't recall the name of it - any ideas? [21:11] just pure data transfer over the network? === e-jat is now known as Guest24062 === ejat is now known as e-jat [21:12] Yes, it was a handy little package though - I know I could use rsync or dd.... [21:12] netcat? [21:13] No, not netcat or netrw [21:14] MianoSM: iperf [21:14] YES [21:14] thank you [21:14] dunno if there's a package for it, though [21:14] guess there is, for jaunty at least [21:15] hardy, too [21:16] so nm my complaining [21:17] Great tool, really makes things a breeze. :) [21:17] it is pretty slick [21:22] New bug: #411615 in lsb (main) "lsb_release crashed with ImportError in () (dup-of: 383697)" [Undecided,New] https://launchpad.net/bugs/411615 === cemc is now known as reallyshortandfu === reallyshortandfu is now known as cemc