[00:23] having an interesting problem with my DVD drive -- it can show the directory listing but can't read any of the data itself. [00:25] http://pastebin.com/3g1TRrV7 [00:29] hi guys i have 50 PC unit want to used UNE to install, how to install them on a fastest way and all pc dont have disc drive..any suggestion...? === tyler_d8 is now known as tyler_d [00:39] I am trying to install 10.04 64 bit and upon detecting the hard-drives it comes up with "Configure iSCSI volumes" I have tried 4 different hard drives, and I don't have an iscsi device, nor even a scsi drive, they are all sata drives....? [00:41] iSCSI is related to SAN. Is it only giving you iSCSI as an option? [00:41] julianc: yes, only the iSCSI option, or roll back, which just kills the system [00:42] it would appear that their is an option that is simply not there, ie. just whitespace that you can select - no menu option associated with it. [00:43] Tried using an alternate install disc or network install? [00:43] I have also tried to install install using a different usb device, thinking that this may be a corrupt installation genre - with the same result [00:43] would love to try a network install, however never done it [00:44] Did you get any messages about needing to load additional drivers for disk controllers? [00:45] no disk controllers involved, straight off the board, an xfx nvidia [00:45] 680i [00:45] ensured that the fakeraid was turned "off" [00:45] and have even flashed the bios for good measure [00:52] I have just changed to a different sata - changed the usb port that was being used, and restarted, and somehow now it has picked it up [00:52] however thats just silly [00:56] You were installing from a flash drive? [00:57] yes, I still am [01:41] does samba share files over the WAN or LAN only? [01:49] Samba can share files over any network (even over the Internet). [01:50] Automatic detection of computers in a workgroup/domain is limited by subnet. [01:52] Ideally, one would keep Samba shares behind a firewall. Even if not using workgroups/domain as a major part of local network infrastructure, it's possible to just point to the Samba share by hostname/IP. [02:04] julianc- thanks. I think what I want to do, is create an openssh or SFTP server then [02:14] Zelda, samba can share on both, and to setup ssh server just go to terminal and type "apt-get install openssh" [02:14] Zelda, sorry its just "ssh" not openssh [02:15] bogey6: thanks! === bogeyd6- is now known as bogeyd6 [02:31] hmm === bogeyd6 is now known as Guest85094 === Guest85094 is now known as bogeyd6- [02:44] Ok, so I'll create a share on my LAN so I can stream stuff to my xbox360. And for the later, should I install openssh? This has sftp correct? This would be for the people that are on different subnets and over the WAN. [02:45] heres what I want to do to make it short. I want to have a server where my family can access it from their computers. They are not on my LAN. however I want to be able to share files and have them backup their machines on my server. Whats the best procedure to do this? (meaning the easiest) [02:46] Or people are using PS3mediaserver.. is that easy to setup for my xbox360? [02:48] trying to create a server, and run sw raid 1 and then backup to a drobo eventually. [02:49] or question, is raid 1 good to run if say your primary hdd gets corrupted, it could corrupt the secondary couldnt it? [02:51] Can the Xbox 360 use SFTP natively, or at all? [02:57] No. You can create like a "share" network drive on the xbox, but no sftp [02:58] hi, why do many prefer command line on servers wothout gui? ive been using ubuntu server with gui and find it easier with gui [02:58] what gui you using? [02:58] A GUI can consume precious resources that the server could otherwise be putting to good use. [02:59] people use servers jmazaredo for resource intensive multiuser applications and adding a GUI where none is called for takes away from those scarce resources [02:59] indeed. [02:59] yes but administering will be lot easier right? [03:00] and with resources nowaday just a little it will consume [03:00] servers ranging from 8 to 16gb ram a gnome or any gui will just use some [03:01] It could be easier, sure. One thing I sometimes do is install a few GUI-based tools, and run them over SSH with X11 forwarding turned on. That way, I have access to GUI tools without needing to have a desktop environment always running. [03:01] New bug: #587717 in mysql-dfsg-5.1 (main) "package libmysqlclient16 (not installed) failed to install/upgrade: intentando sobreescribir «/usr/lib/libmysqlclient.so.16.0.0», que está también en el paquete mysql-cluster-client-5.1 0:7.0.9-1ubuntu7" [Undecided,New] https://launchpad.net/bugs/587717 [03:01] jmazaredo, administration ends up being more complicated the more servers you have running [03:01] yes thats why i use gui [03:01] anyone get my question, as to what im trying to do? [03:02] log into my 850 servers one by one and see why multissh is ftw [03:02] julianc: however like I am finding right now, utils like disk-util don't work well on remote connect, and quite often kill the server on X-forward [03:02] 850 servers damn! [03:02] Zelda, no, im not clear on what you are trying to do [03:02] if im using cli i will be doomed [03:03] Zelda: since the Xbox is Windows-based, it might be a good idea to go with Samba, since it's lowest common denominator for all the systems involved. [03:04] Much easier to set up Samba as a file server if you don't have to have authentication. [03:04] bogeyd6: Im trying to build a server. I want to have my family backup to it and beable to share files and such. These family are not on my LAN, but over WAN. I want to know what I need to do to have them be able to backup/share files on my server. / [03:04] is this WAN internet based? [03:05] julianc: yes. Thats what I was thinking using Samba for my intranet [03:05] bogeyd6: yes [03:05] obviously I want the most secure way of doing that. [03:06] So on the intranet, use samba to share a network drive to other computers, including the xbox360. for Media. (i.e movies, music, photos) [03:06] I can think of no easy way [03:07] however for the family that is on the WAN (internet) whats the easiest way to create a server? [03:07] The most secure method is obviously samba and vpn. The easiest is just samba with security = user. The fastest is probably to think of something else [03:07] create an openssh and have them create accounts? [03:08] yeah I dont want to really use ftp since its terribly slow. [03:08] having your whole family ssh is probably not in the realm of realistic [03:08] yeah. true... [03:08] so what is possible? VPN? [03:09] so ftp would be the easiest then for people outside my lan right? [03:10] i'm really wanting to go with the samba +vpn. if its the most secure. [03:11] My router will support up to 5 VPN tunnels I think so I could have up to 5 people at once. [03:11] Samba is def the way to go [03:11] even with out VPN [03:11] !samba [03:11] Samba is the way to cooperate with Windows environments. Links with more info: https://wiki.ubuntu.com/MountWindowsSharesPermanently and https://help.ubuntu.com/10.04/serverguide/C/windows-networking.html - Samba can be administered via the web with SWAT. [03:11] :) [03:11] !vpn [03:11] For more information on vpn please refer to https://wiki.ubuntu.com/VPN [03:11] I thought samba wasnt secure over WAN. [03:11] :PP [03:12] samba is secure if you set the security level to user [03:12] then each person just maps a network drive with their username and password. easy as pie [03:12] Ok, i'll do some reading. thanks for pointing me in the right directino. [03:12] That will require setting up the Samba server as its own domain controller, IIRC. [03:13] julianc, negative ghostrider [03:13] the pattern is full. ... [03:13] samba will just use its local user/pass file [03:13] zelda setting up samba only takes about 4 minutes or so [03:14] thanks. I will read on it. I may mess with it in a vm first before I acutally implement it out right. [03:14] the guide makes it look overly complicated but in reality you only install it, set security = user, then setup your shares for each person. [03:14] oh thats real easy [03:14] i can post a share if you would like to see how one is setup [03:15] sure, that would be cool [03:15] you think an old p4 2gb ram is enough for that? [03:15] New bug: #587722 in mysql-dfsg-5.1 (main) "package mysql-server-core-5.1 (not installed) failed to install/upgrade: intentando sobreescribir «/usr/bin/my_print_defaults», que está también en el paquete mysql-cluster-server-5.1 0:7.0.9-1ubuntu7" [Undecided,New] https://launchpad.net/bugs/587722 [03:15] New bug: #587724 in mysql-dfsg-5.1 (main) "package mysql-client-core-5.1 (not installed) failed to install/upgrade: intentando sobreescribir «/usr/bin/mysql», que está también en el paquete mysql-cluster-client-5.1 0:7.0.9-1ubuntu7" [Undecided,New] https://launchpad.net/bugs/587724 [03:16] I was thinking about getting something more energy efficient though [03:16] Should be more than enough, as long as it isn't churning 24/7. [03:16] Zelda, http://pastebin.ubuntu.com/442029/ [03:17] think it will be just fine unless you plan on watching dvd quality movies over that net link [03:17] julianc: what if i am planning on running it 24/7 but not accessing it constantly. [03:17] bogeyd6: yeah I may eventually do that. [03:17] Zelda, obviously you dont want public = yes [03:17] Im thinking of getting new hardware.. intel or amd.. I have some specs for though [03:17] glad i could help, gl [03:18] bogeyd6:indeed [03:19] I was planning on getting newer hardware, I have an i3-530 system spec'd out or an amd phenom II x2 specd. sound like that would work fine? [03:19] what kind of hdds? [03:19] storage subsystem is where its going to count the most [03:21] im using windows 7 for work in a vmware image rite now. i gotta say wow, makes me want to leave ubuntu [03:25] bogeyd6-: I'm not stopping you. [03:26] standard sata 3gb 500gb [03:26] sorry had to get the cake iced. :P [03:26] twb, ty trent [03:26] Zelda, prob not fast enough [03:27] sas? [03:27] i would drop the specs on that m/b proc and upgrade to scsi or sas drives, 15k rpms should do it [03:27] or get the 6gb [03:27] cdw outlet prob has some rocking sas drives for around 100 each, score about 8 of them and put into a storageworks card or w/e [03:28] then I might as well get like an hp ml series server. [03:28] depends on your fluidity [03:29] were talking about $1k [03:29] you dont think 3gb sata or 6gb sata would be fast enouhg? [03:29] Zelda: what is this host for? [03:30] samba server [03:30] and backup server. [03:31] We have a lot of hosts like that, serving small businesses (say, twenty people). [03:31] We just use normal SATA in an md RAID1 or RAID5. [03:31] yeah thats what I was thinking. [03:32] sas or scsi yet superior.. gets expensive on a budget [03:32] making a md raid 5 with like 1t or so.. maybe more. [03:32] or raid 1 for 1Tb [03:33] TB rather * [03:33] Well, we'd normally buy disks with the best dollars-per-byte count [03:33] Which is around 750 or 1TB at the moment [03:33] No matter what size you buy, the users will fill it up [03:33] well then i guess its 2 1TB for a TB of storage [03:33] and then just add to it [03:34] With RAID5, you lose one drive to parity, so of 3×1TB you get 2TB effective. [03:34] yeah I know how raid works. [03:34] OK :-) [03:34] :) [03:34] I worked at HP for 3 years, building servers.. heh [03:35] My sympathy [03:35] now I work at Cisco! [03:35] Ha! [03:36] My biggest bitch about cisco is their entry-level units run vxworks or something instead of IOS or linux [03:36] bogeyd6: Thanks for the point in the right direction. [03:36] julianc: you too [03:36] You're welcome. [03:37] hahah ! yeah I know what you mean.. [03:37] To get a shell on this one here I have to ssh in (which gives me a crippled menu interface) then hit ^Z to suspend it and get a shell [03:37] wtf is with the VXworks garbage anyhow? [03:37] Zelda: the advantage over linux is that it can run in 8MB instead of 16MB [03:37] AFAICT [03:38] so you think that getting 3 1TB SATA would be quick enough for say roughly 10 people? [03:38] over the internet [03:38] Well, over the internet, the bottleneck will probably be the internet [03:39] Cf. disk speed, bus speed, and (say) ADSL2+ speed. [03:39] yeah, I wish I got utopia... they dont offer it in my area.. [03:39] :( [03:40] we got docsis 3.0 at my house, 55mbs [03:40] but thats fast enough for people to use for a backup though [03:40] lucky you man.. I only have 20mbps [03:40] bogeyd6-: you can't get more than 22mbps (theoretical maximum) in my country [03:40] I'm slumming on 5. DOCSIS 3.0 is in the works. [03:41] thats a shame [03:41] it bounces from 46-55 but you gonna see 5.6MB/s downloads [03:41] Comcast will support 3.0. I dont have the bandwidth. Im not going to pay them 100+ a month for just me.. heh [03:41] Outside the major cities it's dialup (56kbps) uplink combined with satellite [03:41] twb, ick [03:42] ha, where do you live? Canada? [03:43] that really sucks though. [03:43] .au [03:43] ah... yeah that makes sense. [03:44] lol, give some kangaroo's some adrenaline shots.. heheh [03:45] well thanks twb for the advice as well. === twister is now known as twister1 === twister1 is now known as register === register is now known as Guest94168 === Guest94168 is now known as twister23 [05:28] This is apparmour, right? [05:28] [1077521.388157] audit(1275130499.951:7): type=1502 operation="file_lock" requested_mask="k::" denied_mask="k::" name="/var/run/utmp" pid=5406 profile="/sbin/syslog-ng" namespace="default" [07:20] im having an issue with pure-ftpd. I have all of my drives mounted to /home/ftpusers/username. They are all there with i do ls. i have my ftp user root as /home/userftp/username. when i access the ftp with a remote computer i show zero files in the directory. i can create a folder from remote and then see that on my other systems. but then i cant see that new folder on the server [07:20] corpse: http://mywiki.wooledge.org/FtpMustDie [07:20] Use SFTP. [07:49] hi [07:56] I am running logrotate on ubuntu 8.04 hardy server. It causes high load on the server. I have set the nice priority to 19 Still no improvment [07:56] Please suggest [07:57] The size of the logfile is around 10Gb [08:06] niceness won't reduce load [08:07] rotate that logfile manually. It's probably spending its CPU cycles gzipping it. [08:07] logrotate won't cause significant load if you've been using it already [08:13] twb: yes [08:13] twb: any workaround ? [08:13] 17:07 rotate that logfile manually. It's probably spending its CPU cycles gzipping it. [08:15] twb: i did that [08:15] I usually call it from crontab [08:15] It happens at 1 am [08:17] twb: just want to understand you said to run it manually [08:18] Wrong. [08:18] I mean i did not understand that [08:18] I mean something like "mv foo.log foo.log.oldandstupid" [08:18] I don't mean "run logrotate from the command line" [08:18] twb: its not possible [08:18] That way logrotate won't see your ridiculously large historical logs, and will happily deal with small logs from now on. [08:19] Every day the logfile size is around 10Gb [08:19] Maybe you shouldn't log so much, then [08:20] twb: any other way to handle it [08:20] I don't know. [08:20] sorry if i am bugging a lot [08:22] <\sh> rsyncing the logs on one central logfile server which deals with logfiles much better...decreasing the logging in general...production environment shouldn't log everything...it should log errors and warnings (application logfiles) etc.pp. 10Gb is really a lot of cruft [08:24] \sh: ok [08:24] <_tydeas_> if i want a home dir to be created i must add to the /etc/login.defs the line CREATE_DIR=1? [08:25] <_tydeas_> if i want a home dir to be created when i useradd i must add to the /etc/login.defs the line CREATE_DIR=1? [08:42] <_tydeas_> I am facing a strange behavior. I have installed apache and php to my server but when trying to access a php file it does not rendered to the browser but i am prompt to download the file.why is that? [08:50] <\sh> _tydeas_, check /etc/apache2/mods-enabled/ if php module is enabled...did you restart apache2? [08:51] <_tydeas_> mod-enabled and restarted [09:19] hrm. Seems like I've broken postgrey when doing the upgrade from 8.04 to 10.04. anyone bumped into the same thing? (cant upgrade the package) [09:21] <_tydeas_> how to determine version of my ubuntu server? [09:22] _tydeas_: lsb_release -a [09:29] <_tydeas_> For one more time,php files can be rendered in the browser but only for the once under /var/www. I want the php to render for each user i have this http://pastie.org/985296 in the config. [09:35] _tydeas_: restart apache [09:36] _tydeas_: and access your file with *w3m*, not firefox [09:36] <_tydeas_> w3m? [09:36] command line browser [09:36] <_tydeas_> i have restarted apache [09:36] <_tydeas_> why? [09:37] cause firefox has a wicked cache [09:37] w3m does't have it at all [09:37] that makes it the best tool for testing changes in web pages [09:38] <_tydeas_> ok it renders properly [09:38] a month ago there was someone with the same issue [09:38] and he was using firefox all the time [09:38] <_tydeas_> what do i do know [09:38] <_tydeas_> ? [09:38] <\sh> why not disabling the cache in firefox? ;) [09:38] _tydeas_: nothing, it's working; isn't it? [09:39] <_tydeas_> you mean the problem was client side? [09:39] yes [09:40] <_tydeas_> tried google chrome same result [09:40] does it render with w3m? [09:41] <_tydeas_> yes [09:41] then that's it [09:41] <_tydeas_> and what the server users [09:41] now why someone of your browsers don't reload the page from server [09:41] <_tydeas_> they don't use w3m [09:41] beats me [09:41] try shift+f5 on firefox [09:41] err... ctrl+shift+r [09:42] <_tydeas_> where [09:42] <_tydeas_> ? [09:42] firefox [09:42] <_tydeas_> when i try to access serverhost/~testing/index.php [09:42] <_tydeas_> i get prompt to download the file [09:42] that's firefox's cache [09:42] <_tydeas_> same on google chrome [09:43] cache again [09:43] it's easy to double check [09:43] tail access.log on server and then use firefox on client [09:44] you'll notice that firefox doesn't access your server at all [09:44] or, clear cache in firefox [09:44] ctrl+shift+del [09:44] chrome doesn't cache [09:45] Isn't it backed onto libsoup? [09:45] I vaguely recall that caches [09:45] _tydeas_: You can check with curl or wget [09:45] of course it does :) [09:45] those really don't cache :p [09:45] binBASH: he checked with w3m [09:45] binBASH: and it rendered :) [09:45] <_tydeas_> i appear with firefox in the access.log [09:45] <_tydeas_> I will say it again [09:46] <_tydeas_> if i try to access a php file under Document Root /var/www [09:46] <_tydeas_> it will be rendered properly [09:46] <_tydeas_> if i try to access a php under a users /home/user/public_html [09:46] <_tydeas_> i get prompt to download the file [09:46] _tydeas_: so PHP isn't enabled for users' home directories. [09:46] <_tydeas_> i did enabled it [09:46] twb: he enabled it, restarted apache [09:47] twb: it's client side cache [09:47] OK. [09:47] <_tydeas_> ivoks: that's what i have done [09:47] <_tydeas_> http://pastie.org/985296 & http://pastie.org/985325 [09:47] _tydeas_: even with a retarded cacher, you should be able to move the test.php to test2.php and try again [09:47] btw. from your pastie [09:47] how old is that config? :p [09:47] <_tydeas_> yes [09:47] .php3 and .phtml ? [09:48] <_tydeas_> i downloaded the ubuntu server and was in it [09:48] <_tydeas_> didn't create it [09:48] _tydeas_: what does "lsb_release -c" say? [09:48] <_tydeas_> Codename: lucid [09:49] _tydeas_: what does this outputs? [09:49] <_tydeas_> what? [09:49] wget -qO- http://server/~testing/index.php [09:49] php or html? [09:50] <_tydeas_> html [09:50] try with this [09:50] end of story [09:50] for firefox and chrome, please go to #ubuntu [09:50] or #google and #mozilla or whatever [09:50] <_tydeas_> i have not installed php-cgi [09:51] <_tydeas_> does this matter? [09:51] as i said, for client side questions -> #ubuntu [09:51] your apache is parsing php and renders html [09:52] <_tydeas_> ivoks: thanks ivoks [09:52] <_tydeas_> thank you guys [09:52] <_tydeas_> i cleared the cache in firefox and worked === sourcode_ is now known as sourcode [10:16] New bug: #587810 in samba (main) "pam_winbind reports misleading "Access denied"" [Undecided,New] https://launchpad.net/bugs/587810 [10:18] hi there [11:01] New bug: #587828 in net-snmp (main) "Row creation in snmpTargetAddrTable fails in 64-bit version" [Undecided,New] https://launchpad.net/bugs/587828 === unreal_ is now known as unreal === twister23_ is now known as twister23 === seanr_ is now known as seanr === unreal_ is now known as unreal [11:57] hi, i'm on ubuntu and i've installed fastcgi trough package libapache2-mod-fcgid, how can set the number of php processes running? i've followed this tut http://ubuntuforums.org/showthread.php?t=1038416 [12:01] <\sh> Alblasco1702, http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiServer <- [12:02] <\sh> Alblasco1702, sorry..wrong nick [12:02] <\sh> alex88, http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiServer ;) [12:02] <\sh> alex88, there is a hint on "-processes n" [12:03] Hello everyone :). I have ubuntu 10.04 as my server with linode.com. I'm trying to get my web server to work on it. I just ran this: apt-get install exim4. How do i test to verify if the mail server is actually online without having to send an email? [12:03] \sh: looking at.. thank you [12:03] MasterZuFu: sudo netstat -tapn [12:03] look at port 25 [12:04] tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN and tcp6 0 0 ::1:25 :::* LISTEN means it's working then right? [12:07] hmmmmm.... alex88: I seem to see that the server is running. I have a mybb forum running on my server also via apache. i tried to send myself an email from it 10 minutes ago, it still hasn't gotten here yet [12:11] MasterZuFu: look at logs... /var/log/mail.info for me [12:11] \sh: that's for the cli, not apache module [12:12] it's empty [12:13] so nothing has tried to send mails [12:13] hmmmmm [12:13] ok [12:14] probably php tried to send via sendmail command [12:14] try to use that as test [12:14] anyone ever had problems with raid 1 ? [12:14] i don't know what the sendmail command is [12:14] !anybody >blackthor [12:14] blackthor, please see my private message [12:14] thank you twb;) [12:15] sorry for being unclear [12:15] i have a software raid-1 crash [12:15] one of 2 drives died [12:15] i seem to have lost 2 days of data [12:15] (booting from the remaining drive) [12:15] That doesn't make any sense. [12:15] all kinds of updates and changes are reverted back [12:15] RAID1 is a mirror, not a backup. [12:15] yes [12:16] it is very strange [12:16] it's the second time i am experiencing this [12:16] blackthor: what does /proc/mdstat have to say about it? [12:16] well, the machine doesn't boot anymore with both drives hooked up [12:16] all md? are active 2/1 [12:17] if i dig e.g. into syslog i notice that the black hole takes place from may 27th 6am till today 9am [12:17] and i am 100% positive to have worked on that machine on 28th (files are missing etc) [12:18] it weren't big files, the only explanation i am starting to think about is that the write behind cache or buffer hasn't been committed to the raid [12:18] In what way doesn't it boot with both drives? [12:18] but the weird part is, i have no warning at all [12:19] whileas in mdadm.conf: MAILADDR root [12:19] hmmmmmm......for some reason webmin isn't working. it says file not found O.o [12:19] MasterZuFu: webmin isn't supported. [12:20] what is supported? [12:20] twb: other disk isn't detected anymore in bios [12:20] I suppose ebox is, but really we encourage people to learn the normal command-line tools. [12:20] blackthor: urk [12:20] blackthor: maybe your controller is borked? [12:20] i don't have time to learn normal command-line tools when my website's down :) [12:20] Shrug. [12:21] hmmmm [12:21] blackthor: I haven't seen those symptoms before, so I'm just speculating. [12:21] perhaps [12:22] the same raid did the same thing 2 months ago [12:22] i replaced one drive and rebuilt [12:22] doesn't make any sense why webmin isn't working >_> grrrrr [12:22] now it's the other drive that crashed [12:22] webmin doesn't work because it's shit code [12:23] it worked before [12:23] No, it *appeared* to work. [12:23] code shouldn't matter, and that's personal prefference [12:25] i'm just trying to get my website at optimal functionality. ever since i moved from a shared host where i didn't have any chance to mess with the server and then to a dedicated host where i have a chance to mess with it I am learning how to install all these needed things myself. I didn't realize cpanel wasn't free and everyone told me to get webmin. so, i have it, it's installed, but it's not working [12:25] that's after we did some serious work on apache though [12:32] New bug: #587858 in openssh (main) "update-motd executed even in non-interactive sessions" [Undecided,New] https://launchpad.net/bugs/587858 [12:36] i'm getting this error: http://pastebin.com/ywX7NHPr [12:38] MasterZuFu: looks like port 10000 is already in use. investigate that [12:38] pmatulis, I already did. when i try to go to that port I get the error: "Error-File not found" [12:39] hmmmmmm i think i know what might be the problem [12:42] webmin doesn't go via apache [12:42] By default it listens to all interfaces directly, allowing brute-force attacks from the internet :-/ [12:43] Use ss or netstat to find out what process is currently bound to 10000 [12:43] when i first installed apache i put all my files in /root like an idiot. a friend of mine helped me sort t out to the proper location of /var/www/, there was a folder in that directory called "webmin". I think that may be the case that it's still pointed to /root instead of /var/www/ [12:43] Well, /var/www is really hysterical raisins. Somewhere in /srv/ would be the FHSly way to do it. [12:44] MasterZuFu: webmin doesn't use apache. it has it's own perl-based webserver [12:44] i know that [12:44] when i installed webmin there was a file in my main web files location, or directory i should say, named "webmin". [12:45] i moved it [12:45] now i have to find whatever file is pointing to that directory, and change it to the new one [12:45] i think that's the issue maybe [12:45] and /srv is empty [12:45] MasterZuFu: /srv is REQUIRED to be empty until you put things in it [12:45] ok [12:45] It's reserved for the system administrator [12:46] uh....i am the sysadmin [12:46] Which is why it's empty [12:46] ok [12:46] I mean that packages aren't allowed to place files in there without asking you [12:46] it might have asked me [12:46] i dunno [12:46] what file tells webmin where to look for all the files for it's functionality? [12:46] i can't seem to find anything [12:47] i'm in /etc/webmin/conf right now, it has this line in there: path=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin [12:47] You should probably ask #webmin (or whatever) for help with webmin [12:48] no one's talking in #webmin [12:48] Then be patient [12:48] !webmin [12:48] webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. See !ebox instead. [12:49] MasterZuFu: doesn't it log error messages? [12:49] i'm looking at them now [12:49] MasterZuFu: that should have been your first step [12:49] i'm still learning all this stuff [12:51] 29852/apache2 [12:51] tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN [12:51] wtf? [12:52] nvm [12:52] MasterZuFu: fuser -n tcp 10000 [12:52] IMO webmin borks your system sufficiently that you might as well just reinstall [12:52] 10000/tcp: 31435 [12:52] (At which point you will learn to keep /home and /srv on separate partitions from /) [12:54] yeah i'm just...lost. I've never really had to manage a server myself before. I always just used cpanel. [12:55] You could start by reading the Ubuntu Server Guide and the RUTE [12:56] i wish i had the time to. I'm having to make time just to do this as it is. honestly webmin never really worked for me anyways, half the modules always said they weren't installed when they were. being that this is a new server and i'm having to set it up completely from scratch I'm having to learn the hard way on exactly what I actually need to have installed when running my website. i only just realized email didn't work and members couldn't [12:57] If you want to be a sysadmin, you will have to learn this [12:57] i know that [12:57] it's just difficult because 'm having to juggle so many things at once [12:58] If you know a good linux shop nearby, you could rent one of their sysadmins to help you get up to speed, then gradually take over responsibility yourself [12:58] well...I've got a friend of mine who is an exclillent ubuntu sysadmin, he's just hardly ever on :P [12:59] and i'm in japan :P and don't know the language lol, so i doubt i'll be finding any linux shops around here [13:00] tokyo? [13:01] no, i'm in a smaller town, yokosuka [13:01] Hmph. The .jp resident I know doesn't appear to be around, or I'd ask him to recommend one. === lau is now known as Guest72879 [13:02] it's quite alright. i'll figure it out. i'll just turn off activations required emails until i get this all sorted out. it's just a huge security risk to do so but if i don't i don't get any more members. [13:04] MasterZuFu: perhaps you should just buy a copy of cPanel ;) it will save you a lot of headache, stress and time [13:04] how much do they run? [13:04] or plesk [13:05] Is cpanel really suitable for a single-host VPS? [13:05] MasterZuFu: !webmin [13:05] donno, didn't know that was the point [13:05] I thought it was more for "so, I have a HPC and I want to rent out time on it to my customers" [13:05] i've used ispconfig before [13:05] !webmin [13:05] webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. See !ebox instead. [13:05] i know wise_crypt [13:05] wise_crypt: it's "!datum >user" [13:05] lol [13:06] ok, well...i just sent a message to my friend. I guess I'll have to wait this out till he gets back online next time and can take a look at it. [13:08] MasterZuFu: besides installing webmin, what are you trying to achieve with your Ubuntu server? [13:09] (that we can help with) [13:09] getting xss security holes ;) [13:09] well i was hoping webmin would help me fix my issue with the email === Guest72879 is now known as lau [13:10] plus i'm trying to install ssl and that's also giving me issues [13:12] well hey folks, i really have to go. i have to get back to work. see you all later, thanks very much for the support :) [13:31] New bug: #587881 in php5 (main) "package libapache2-mod-php5 5.3.2-1ubuntu4.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10" [Undecided,New] https://launchpad.net/bugs/587881 [13:36] morning [13:41] hi [13:41] I have a customized init shell script on 8.04 server after reboot it does not come up [13:41] Any clue ? [13:44] any errors in /var/log/boot.log ? [13:47] kaushal: With init shell script you mean a script in /etc/init.d? [13:49] Jeeves_: yes [13:50] Dit you run update-rc.d ? [13:50] yes [13:51] I did update-rc.d resque defaults [13:51] resque is the name of the script [13:51] Hmm, ok. [13:52] And if you run /etc/init.d/resque start, everything is ok? [13:52] yes [13:52] Maybe you're using temporary directories that don't exist yet? [13:52] I dont use temporary directories [13:53] No pidfile? [13:53] Are you using full paths? [13:53] Or are you depending on PATH? [13:53] I am using Absolute path [13:54] Hmm. That's odd than. [13:54] Can you pastbin your script? [13:58] sure === jo-erlend_ is now known as jo-erlend [14:14] Jeeves_: http://fpaste.org/61qB/ [14:20] Jeeves_: did you have a chance to look at it ? === kaushal is now known as krssup [14:33] hggdh, how did the EBS testing went in the end? [14:34] hey, I want my internal DNS to resolv my DynDNS to the internal IP of the www server, rather than passing the request upwards [14:34] could anyone gimme hint on waht I am looking for? [14:38] hggdh, got your comment in the bug, I see it is all good! [14:38] krssup: Sorry, I was afk. [14:39] Can you repaste? === krssup is now known as kaushal [14:39] dpkg-reconfigure php5-cli asks no questions [14:39] Jeeves_: sure [14:39] how can I get the default /etc/php [14:39] http://fpaste.org/yHnu/ [14:40] kaushal: Maybe you should add 'set -e' and exit with explicit exit codes? [14:40] 0 on success and 1 on failure [14:42] Jeeves_: please let me know on that bash script ? [14:42] I mean pastebin [14:43] Hello All. Is there a known issue where Eucalyptus cannot use a bukkits directory that is mounted via SMB? [14:44] http://fpaste.org/FZpx/ [14:45] Jeeves_: so do i need to run it by hand ? [14:45] or check it while booting ? [14:45] kaushal: No, it should work while booting [14:46] oh ok [14:46] (if it depends on this script) [14:46] what does set -e do ? [14:46] No clue what the thing you're starting does :) [14:47] Jeeves_: is there a way to know why it did not come up ? [14:47] kaushal: Add debugging to it [14:47] echo some more [14:54] any way to reconfigure php5 to distribution defaults? [14:55] Jeeves_: it did not worked [14:55] tarvid: 'apt-get remove --purge' 'apt-get install' ? [14:55] kaushal: Did you see any debugging while booting? [14:56] Jeeves_: can i redirect any error to a file ? [14:56] why does dpkg-reconfigure php5 not ask questions? [14:56] Jeeves_: since my server is a remote server [14:56] and I am not able to see the console [14:57] kaushal: You can echo to a file from the script [14:57] Jeeves_: it worked [14:57] tarvid: What should it ask? [14:57] Let me pastebin it [14:57] whether to keep existing configuration or install distribution default [14:58] Jeeves_: http://fpaste.org/fFgY/ [15:00] kaushal: Ok, and you see stuff in /root/status? [15:00] yes [15:00] after removing php5, install php5 does not recreate /etc/php5 [15:00] I see 06:47:03 up 0 min, 0 users, load average: 0.44, 0.10, 0.03 [15:01] tarvid: You should purge all php5 packages, remove /etc/php5 and reinstall them [15:01] At least, that's how I doe it [15:01] Obviously, there migt be more efficient methods [15:02] dpkg-reconfigure php5 should do that [15:02] No, it shouldn't [15:03] why not? [15:03] Or else it would, and it doesn't, so it shouldn't [15:03] The following packages will be REMOVED: [15:03] freeradius-dialupadmin* libapache2-mod-php5* php5* php5-cli* php5-common* [15:03] php5-gd* php5-imap* php5-mcrypt* php5-mysql* php5-xcache* phpmyadmin* [15:04] Jeeves_: any further suggestion ? [15:04] rather destructive [15:06] EtienneG: I think you will have to restart your SC ;-) [15:07] hggdh, ah ... why so? you found a mem leak? [15:10] kaushal: Yes, the script you're calling doesn't work :) [15:11] EtienneG: I do not know, no shell access. But after allocating about 513 volumes, all calls to euca-describe-volumes take forever, and then return errors [15:12] hggdh, I see ... is there anything I could check to help troubleshoot that? [15:14] EtienneG: yes, the SC logs, plus a 'ls -l /var/lib/eucalyptus/volumes' -- thank you BTW [15:15] zul, today is a holiday is the US... [15:16] hggdh: right i forgot enjoy your day "off" :0 [15:16] Jeeves_: where do i seek help ? [15:16] zul: sorry. But I will get to them euca bug tomorrow [15:16] hggdh: no problem [15:18] kaushal: The author of the script you're calling or the product you're using [15:19] Hi.. can anyone help me with debugging a Eucalyptus issue? [15:19] PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imap.ini on line 1 in Unknown on line 0 [15:19] PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0 [15:19] Hello World! [15:20] and phpMyAdmin is now broken [15:20] Cannot load mysqli extension. Please check your PHP configuration [15:22] No wonder people are switching back to php5.2 [15:22] similar issues with python [15:30] sup lads, i have a ubuntu server acting as a gateway with shorewall, is there a way to redirect a certain url to a remote http proxy? the remote proxy has authentication on it? maybe setup a local transparent proxy and redirect port 80 to it and have a rule in local squid to redirect to remote proxy? anybody know squid well enough is this possible? [15:37] VadimCK, setup a static route [15:37] i can do the shorewall redirect to local proxy [15:37] VadimCK, setup static route, put the squid into transparent mode to put everything through that remote proxy [15:38] put up a virtual image of that squid and you wont need any extra hardware either. [15:38] the remote squid needs to have auth [15:38] it will still ask for the authentication [15:39] is it possible to get the local squid to redirect to a remote squid? [15:40] Jeeves_: You around ? [15:41] VadimCK, both will be in transparent mode, so you just set your gateway accordingly [15:41] but the remote has to have auth [15:41] its on the internet [15:41] it was my understanding that transparent meant no auth [15:41] am i mistaken? [15:42] VadimCK, i keep forgetting you need auth [15:43] ill look through the squid documentation there must be a forwarding rule [15:43] for load balancing etc.. [15:48] i want to find out which raid controller is used in my machine, of course, dmesg is truncated. how can i see what hardware is in it ? [15:48] (commandline) [15:49] cat /proc/bus/pci/devices ? [15:50] that doesn't reveal much.. [15:50] what type of interface is on the RAID controller blackthor ? [15:50] probably sata [15:51] board side [15:51] pci [15:51] pci-e [15:51] no idea, it's a machine in a datacenter [15:51] lspci will list your pic devices [15:51] *pci [15:51] aha! [15:52] ok that was what i was looking for! [15:52] thank you;) [15:52] no problem, glad to help [15:54] and another question, how can i convert timestamps such as [22215797.203452] to the actual date they happened ? [15:55] date --date=@22215797.203452 [15:55] should do it [15:55] and is there a way to switch that syslog timestamps it back to the "old" style setting? [15:55] (i reckon this was done for multicore systems?) [15:56] its unix time so its standard for linux logs [15:56] to change it im not sure [16:20] back [16:21] wb SuperLag [16:22] sorry [16:22] that was *not* intentional [16:26] <\sh> anyone who is using PXE + kernel NFSROOT booting...did you try out to set the DEVICE=eth0 in /etc/initramfs-tools/initramfs.conf to DEVICE=all to have dhcp requests on all interfaces? === bogeyd6 is now known as Guest19830 === Guest19830 is now known as bogeyd6- [17:23] Is there any wrapper vm builder script for building rhel vm's? [17:36] hi...I installed mysql-server and it's running. the problem is that the port doesn't show up in nmap/netstat, so I can't connect from a remote machine [17:44] m_tadeu: look at the configuration file, /etc/mysql/my.cnf [17:44] m_tadeu: mysql binds to the loopback interface by default (or socket) [17:47] mathiaz: it's using a socket located at /vat/run/mysqld/mysqld.sock, as usual... [17:48] m_tadeu: you need to configure mysqld to listen on the network interface as it doesn't by default [17:48] m_tadeu: this is done in my.cnf [17:50] mathiaz: I thought recent versions of ubuntu used ip by default, but only bound to localhost [17:50] RoyK: in deed my bind address is 127.0.0.1 [17:51] I'm comparing with my.conf in my laptop and they look the same... [17:51] m_tadeu: then IP should work from localhost, but not from elsewhere [17:52] RoyK: so what should I set in the ip [17:52] how can I harden up SSH? I've got some guy from .tw doing a dictionary attack for username [17:53] Jeeves_, using a non-default port fixes 80% of the invasion attemps. [17:53] KurtKraut, true, but that's kinda not the point with this one. is there a way to ignore connection attemps from an IP after "x#" of failed logins? [17:54] m_tadeu: just remove the line or set it to 0.0.0.0 to allow it to listen to all addresses [17:54] jeeves_Moss: apt-get install fail2ban - configure it... [17:54] RoyK: oki....thanx :) [17:54] hi [17:54] Any clue to my query ? [17:55] RoyK, thanks. will that do what I need? [17:55] Jeeves_, yes. The package denyhosts does this job. [17:55] jeeves_Moss: it blocks incoming requests from a given host/protocol if login attempts fail repeatedly [17:56] RoyK, PERFeCT!! Thanks [17:56] it just parses the logs and adds an iptable block for that host/port in case if repeated failure [17:56] I have posted it to the ubuntu-server mailing list [17:56] Shall i repeat it here ? [17:56] kaushal: pastebin your problem or link to the post [17:57] sure [17:58] RoyK, great. thanks. I'm sitting here watching the log, and I see it's going through user names. There is only ONE account that's allowed SSH login anyways [17:58] RoyK, https://lists.ubuntu.com/archives/ubuntu-server/2010-May/004246.html [17:58] jeeves_Moss: just try fail2ban - works for me :) [17:58] jeeves_Moss, fail2ba. no need to make your server work for nothing [17:59] this is TRUE [17:59] I had a SALA setup issue last week, and someone figured it out to mass mail and backscatter [18:00] jeeves_Moss, sed -i '/bantime/s/600/-1/' /etc/fail2ban/jail.conf will put unlimited ban. dangerous if ssh is your onlay way to connect to the server [18:01] personally I don't care as I have a reconvery console in case ssh is not available [18:01] blue-frog, I've got 2 diff ways into the box, and a third from the inside [18:01] then unlimited ban is for you [18:02] perfect!!! it stopped that noise! [18:02] fail2ban will do more than ssh. check /etc/fail2ban/jail.conf to see what is protected [18:02] thanks again guys! [18:07] RoyK, Did you had a chance to read my post ? [18:07] I did, but I don't really have an answer [18:08] sorry [18:08] RoyK, where do i seek help ? [18:08] just wait for a reply [18:09] you mean on the same post ? [18:12] kaushal: have you liked this script to /etc/rc2.d? [18:16] New bug: #587976 in samba (main) "Panic or segfault in Samba" [Undecided,New] https://launchpad.net/bugs/587976 [18:18] RoyK, ? [18:18] kaushal: ubuntu doesn't run anything under /etc/init.d unless it's symlinked to /etc/rc2.d [18:18] take a look at 'ls -l /etc/rc2.d' [18:20] RoyK, http://fpaste.org/fYD0/ [18:20] perhaps try to move them to somewhere later [18:21] S95, perhaps [18:21] RoyK, how do i do it ? [18:21] I mean S95 [18:22] cd /etc/rc2.d; mv S20resque S95resque [18:22] etc [18:22] oh ok [18:22] what does 95 means ? [18:22] it's just a number defining the order [18:23] S01 is executed first [18:23] etc [18:23] please give me a moment [18:23] and will update you [18:24] RoyK, shall i reboot and check now ? [18:24] yes [18:28] RoyK, no luck [18:28] check the logs [18:29] (Nothing has been logged yet.) in the boot [18:30] under /var/log/boot [18:31] /var/log/messages? [18:36] RoyK, nothing there too [18:48] * RoyK somehow wants to put a ban on all .il users [18:51] RoyK, Any further suggestions ? [18:59] not really [18:59] if the script works from the command line, it should work on boot [18:59] yeah [18:59] its weird [19:32] zul, are you the one working on the iSCSI target daemon, as discussed in the seed review a tlast UDS? [19:32] EtienneG: werent you suppose to send me an email to remind me? [19:33] zul, would an IRC poke be enough? ;) [19:33] zul, j/k [19:33] EtienneG: yeah I can look at it this week [19:33] zul, from what I see, tgt needs 1. an MIR, and 2. an upstart job [19:33] EtienneG: which one was it again? [19:33] zul, do you want me to tile a bug on the upstart job? [19:34] EtienneG: please [19:34] zul, it was either tgt or iscsitarget [19:34] EtienneG: gotcha [19:34] zul, we settled upon tgt [19:34] EtienneG: sounds familar ;) [19:34] zul, I will file a bug on the upstart job. Should/can I file a bug for MIR? [19:34] EtienneG: please and assign it to me [19:35] zul, ok! [19:35] zul, thanks dude! [19:35] EtienneG: mp [19:40] someone already filed a bug for the upstart job part [19:43] zul, looking at the Gobby notes from the seed review session, there is no mention of tgt or iSCSI in general [19:44] EtienneG: yeah I think it was a pseudo hall way conversation [19:44] zul, I cannot remember: was that discussed in another session? [19:44] zul, hurm, ok then. Should we bring this up in the server meeting? [19:44] EtienneG: sounds like a good idea [19:45] alternatively, if the MIR can wait a few weeks, I can take care of it in early June [19:45] err, *July, even [19:46] https://lists.ubuntu.com/archives/ubuntu-server/2010-May/004246.html [19:46] Please suggest ? [19:48] EtienneG: ok just let me know again and Ill do the upstart job [19:49] zul, I have assigned the already existing upstart job bug to you, so it will stay on your radar [19:50] EtienneG: thanks [20:11] How do I use libvirt to create a VM using an ISO? [20:12] !kvm [20:12] kvm is the preferred virtualization approach in Ubuntu. For more information see https://help.ubuntu.com/community/KVM [20:16] MTecknology: plain libvirt or virt-manager (with the latter it's very easy, if you have a GUI) [20:19] JanC: I was trying with virt-manager and it was kicking my butt - I just started looking at virt-install [20:28] ji think gui and I just don't get along.. [20:29] MTecknology, it's easier to use kvm --help: kvm -hdc myiso.iso -boot d -net user -net nic,model=rtl8139 -m 512 etc [20:30] and pass -hda /path-to/file.img [20:31] ChmEarl: thanks - I never caught onto kvm being a command [20:32] MTecknology, its far more intuitive as a cmd. Might want to pass it -vnc too, then use vncviewer :0 & [20:33] thanks :) [20:34] MTecknology, once you use virt-manager it will log your VM builds as commands. So hack its logs and see how it builds commands [20:35] MTecknology, find /var/log/qemu -name 'myVM' [20:36] nifty [20:47] ChmEarl: I'm not seeing where to saet the network card to the bridged interface - it's usually --bridge=br0 or something similar - how do I do it with kvm? [20:48] like -net tap [20:48] I have to look it up [20:49] -net tap,ifname=br0 ? [20:50] ro maybe s/ifname/fd/ ? [20:53] MTecknology, if your bridge is defined (#brctl show) its all automagic with -net tap [20:54] no ifname token is needed [20:54] yay [20:54] ChmEarl: how far off am I with this? http://dpaste.com/201551/ [20:59] MTecknology, add a port to -vnc, like -vnc :0 [21:00] you want to pixie boot the first time you use kvm? [21:01] with a port to vnc the -net will parse OK [21:03] add -boot d [21:03] wait unless the pxe bios implies otherwise [21:06] MTecknology, the pxe bios is usually found in /usr/share/kvm : not sure about karmic/lucid [21:10] MTecknology, you may need a script for qemu-ifup.. lots of examples for using br0 [21:12] how do i run /proc/sys/vm/drop_caches as a nonroot? [21:12] MTecknology, see if your OS has /etc/qemu-ifup... ubuntu should have it === shde is now known as \shade\ === chrismsnz_ is now known as chrismsnz [22:07] would having a gigabit switch between two machines, containing at least a few virtual machines mirrored with DRBD, increase performance or not so much? [22:09] ChmEarl: sorry - had to run [22:17] hey, i'm trying to install the samba package using a simple "apt-get install samba", it unpacks OK but then it says "start: Job failed to start", any ideas? [22:17] i've also tried downloading the deb package from samba's website and installing manually with dpkg but i get the same error ^_^ [22:20] if I recall, samba usually is started by a daemon .. have to go to System > Preferences > Start Applications to have the service start when the computer starts [22:20] vmbuilder [OPTIONS]... Distribution. Valid options: ubuntu [22:20] many choices :P [22:23] thanks for the reply :) unfortunately it doesn't get that far in the installation, on the previous line it says "smbd start /running, process 2431", not sure what smbd even is [22:23] smbd is the samba daemon ... [22:24] !smbd [22:25] ah ok, i was expecting to find a manual startup in /etc/init.d/samba but there is nothing there [22:25] and it doesn't appear under Startup Applications either btw [22:27] don't have samba running on my desktop ... so, can't verify one way or the other ... but, if you run top, you should see smbd running as process 2431 ... or another process id .. [22:27] the man pages for smbd should have all the info you need ... [22:31] ah, just checked the smbd man, and it's just one part of the samba suite [22:32] so it's probably not completely the whole install as smbd is running [22:32] thanks a lot :) [22:41] With vm-builder, --bridge=br0 works exactly as expected - with virt-install --bridge=br0 doesn't make networking work in centos [22:41] this is really really starting to irk me... [22:43] For this I get Device model: Hypervisor default - in every other machine made my vm-builder virt-manager shows it as being Device model: virtio ... [22:52] I have it coming up as a virtio device now .. but now no networking is possible... grr [23:58] hi, I want to have dhcp+dns and have one update the other automagically... what is the recommended way to do that on ubuntu server? On the server guide I only see a reference to Bind and DHCPD, but I think it may be overkill... [23:59] should I just use dnsmasq? any ideas? [23:59] dnsmasq is the easiest way to have them mesh. [23:59] If you only need the basics of both, you should be fine.