[01:47] hi [01:47] I've installed samba [01:48] this is my smb.conf : http://pastebin.com/ETH5yxLU [01:48] the windows computer can not discover the ubuntu server, \\server doesn't work [01:48] and ubuntu server can't ping the windows computer by name either [01:49] what could be wrong? [01:54] what's a good web panel for the latest ubuntu server? [02:01] cpanel the best known, most use centos with that though [02:01] not sure if it's locked to that distro or not [02:01] directadmin good [02:01] plesk just got hacked so i'd avoid them [02:02] webmin is free [02:07] webmin has a pretty terrible record on debian-based distros too. zentyal is the one I hear being thrown around most often [02:08] (webmin doesn't always do things "the debian way", which causes issues when the distro does. don't fight your distro.) [02:11] Hey can someone help me with this? http://superuser.com/questions/396657/samba-share-can-not-be-discovered-from-windows-7-in-ubuntu [02:19] Skaag: web panel to do what? [02:19] basically add apache sites, create/manage mysql databases, etc. [02:19] I'm trying out ehcp now [02:20] I use DirectAdmin on some systems, It's fine, but I prefer something that relies on the ubuntu packages of php and mysql [02:20] I never heard about Zentyal [02:21] there is also SysCP, which was written for Debian-like systems [02:21] it is no longer supported [02:21] and it's in the Ubuntu repositories [02:21] the owner said he posted it on github so others can perhaps fork it [02:22] there is a fork of SysCP somewhere [02:23] yes, Froxlor [02:24] hm, I used SysCP several years ago, worked well back then [02:25] seems like Froxlor is still active? [02:25] yes it is [02:25] it even looks pretty good [02:25] you can see a demo here: http://demo.froxlor.org/ [02:27] well, sure looks a lot fancier than SysCP, but most important is whether it is working as well as SysCP [02:31] good question - I'm about to investigate [02:32] and somebody should package it instead of SysCP probably ☺ [03:03] So I had some virtual hosts configured in apache, but it was all default mod_php. I was having permissions issues, so I installed SuPHP, but now my PHP pages won't load correctly on the server. I've searched and searched and everything says I just need to make sure my directories are 755 and my files are 644. They are. I still can't get past this. Would love some advice, please. [03:05] my suggestion is mod_ruid2 [03:06] once i get a handle on getting the site(s) to use the handler I want, then I'd love to try something else. But is there anything you can tell me about how to at least make it work with suphp right now? [03:06] hi [03:06] any web server admins here [03:06] pref who run wwordpress [03:06] on my live servers I have WHM/Cpanel or Plesk, and in each there's a simple drop down where I can change the site's PHP handler [03:06] cpane/whm only runs on centos [03:06] rax_: maybe try #wordpress first? [03:07] yeah but I want ubuntu web admins [03:07] :) [03:07] well, whatever it's doing on centos seems to work [03:07] i need to do the same here [03:07] i can see two different php.ini files in my server. one for mod_php and one for cgi [03:07] I'm trying to migrate a site now [03:07] so it seems like maybe my sites are just seeing the wrong one..?? [03:07] causing me problems [03:08] angelleye: so edit one and see if it affects those sites. [03:08] how would I see? i can't get PHP to load at all right now. [03:08] anyone use ebox [03:08] here [03:09] !anyone > rax_ [03:09] rax_, please see my private message [03:09] thanks [03:10] the only one that was there originally was /etc/php5/apache2/php.ini, and everything was working fine except for my permissions issues. Then I just installed suphp following a guide online which matched the same steps I see pretty much everywhere, and everything followed the screenshots accordingly, but now none of my sites load and the guides all act like there's nothing else to it. [03:10] webmin isn't supported officially on ubuntu [03:10] im trying to use ebox to administer a wordpress blog, and its not able to let me in [03:11] Sorry, I do not provide support for any WHCP. [03:11] keep getting my connection refused [03:11] dont' know what a whcp [03:11] its ok [03:11] thanks anyway [03:11] ill keep tinkering away [03:11] ebox is just what is featured here https://help.ubuntu.com/10.04/serverguide/C/ebox.html [03:12] Web Hosting Control Panel -- cpanel, plesk, ebox, webmin, etc. [03:13] twb are you a website host [03:13] how do you manage your sites [03:13] just SSH in ? [03:14] Yes. [03:14] what about monitoring [03:14] nagios and collectd [03:14] you're right [03:14] But because I will not allow PHP on my systems, blog.cyber.com.au is actually managed by wordpress.com, not by me [03:14] ill uninstall ebox [03:15] why no php [03:15] Because PHP is responsible for over one quarter of all security issues every year [03:17] but [03:17] any serious website needs php [03:17] in WHM on my live server there's a section called "Configure PHP and SuExec" and in there is a drop down that allows me to change the PHP 5 Handler from suphp, dso, fcgi, and cgi. so that must issue some sort of command when I submit a change here, right? Any idea what the equivelant is in Ubuntu? [03:18] no clue... :( [03:19] rax_: if by "website" you mean an application, there are non-negligible alternatives to PHP for server-side scripts; from the venerable perl, to python, to new-shiny-js (nodejs), to edge cases like seaside (smalltalk), C, and haskell. [03:19] And of course tomcat, but I am not a fan of Java either. [03:20] you're right [03:20] but theres a lot of cms out there [03:20] like wordpress [03:20] drupal [03:20] joomla [03:20] that rely on mysql and php [03:20] facebook usesp hp [03:20] php** [03:20] you're inferring php is a bad programming language [03:20] rax_: that's because CMSs are built by and for idiots. [03:20] :( [03:21] I'm not *inferring* anything. PHP is an obsenely poor programming language. [03:21] *obscenely [03:21] how come [03:21] due to security flaws? [03:22] he'd just rather waste his time building everything from scratch cuz it makes him feel cool. [03:22] The abysmal security record from PHP is a side effect of its poor (or absent) design, and its large community of undereducated users [03:22] underedcuated users...that's the problem [03:22] php isn't the problem [03:23] perhaps [03:23] all good points though. [03:23] there isn't any absolute answer here though [03:23] angelleye: actually the PHP core has significant issues, too. [03:23] in reality developers and users exist within their realms, and a significant portion of companies and devs use PHP [03:23] angelleye: e.g. the recent hash fix that introduced a remote execution vulnerability. [03:23] id rather work with Ubuntu [03:23] then debian [03:23] or centos [03:23] i have some cpanel/whm servers too [03:24] im trying to move away for my Vps customers [03:24] rax_: obviously if your $boss says you have to use PHP, then you have to either suck it up and use it, convince him otherwise, or get a better job [03:24] what about ASP.NET? [03:25] I know nothing of that because it's proprietary and/or platform-specific. [03:25] a lot of websites rely on Windows [03:27] hello, I am trying to install ubuntu-orchestra. when I login to http://localhost/cobbler_web/ and click any menu like "distros", I enforcely am taken back to login screen. it only happens when I use chrome( IE, firefox, no problem). does anyone know what kind of settings are necessary to chrome? [03:30] never used orchestra [03:30] what is it [03:31] rax_: http://cloud.ubuntu.com/2011/10/getting-started-with-ubuntu-orchestra-servers-in-concert/ [03:32] rax_: some kind of change management / provisioning / cloud thing [03:37] ah cool === Skaag_ is now known as Skaag [04:19] for some reason vsftpd isn't retrieving a directory [04:19] anyone have any ideas? [04:19] im logging in as a user who's a sudo [04:20] who cares [04:20] read the manual [04:22] cd i have [04:22] like 9 times [04:22] every one of them [04:22] and they don't say at the end of them.. [04:22] 'this fundamentally doesn't work' [04:22] er ch33z [04:23] i am using orc to deply to a 10 machines cluster for mpi research [04:23] i encounter all kinds of bs. :0 [04:24] http://mywiki.wooledge.org/FtpMustDie [04:27] yep, FTP was never a good idea, and now that SFTP is so laughably easy to set up and use, there's no excuse for it [04:29] qman___: it was probably a good idea when the incumbent was UUCP [04:29] Back when there were nearly 100 computers in the world [04:37] lol [04:37] wghats this [04:39] thats funny [04:39] sftp huh [04:41] I'm stuck with FTP [04:42] i take it you don't use vstpd [04:42] there's no reason to use FTP at all [04:42] every FTP client worth its salt now supports SFTP [04:42] alright forget it [04:42] im just installing webmin [04:42] this commadn line business is taking too long [04:43] Plonk. [04:44] well, good luck with that, but be aware that once you do that, we can't help you [04:44] webmin breaks things in weird ways and is akin to voiding the warranty [04:44] s/wierd/stupid/ [05:07] what does it break [05:07] webmin is awesome. [05:08] i coldn't get FTP going [05:08] I'm using the file manager in webmin [05:08] to do this [05:13] rax_, the things that webmin breaks are too varied and unpredictable to list or predict, that's why it's not supported [05:15] just a few libraries that aren't. [05:15] debian supports it [05:15] theres no webmin equivalent [05:15] http://www.webmin.com/deb.html [05:17] that's not correct [05:17] debian is supported by webmin, but webmin is not supported by debian [05:17] right [05:17] sorry [05:17] how about this [05:17] installing webmin [05:17] doing all the intiial configuration work [05:17] using their built in tools [05:17] not supported [05:17] then uninstalling, through apt-get remove [05:17] i installed it from binaries [05:17] usnig dpkg [05:18] in that guide [05:18] installing and using is what does the damage [05:18] and that damage is not undone by removing [05:18] what damage does it do [05:19] breaks config files [05:19] doesn't follow the debian way [05:19] webmin's .deb is just a tarball converted to a deb [05:19] oh [05:19] webmin will update itself in-place, breaking checksums against its own deb [05:20] I don't understand all the hate for this great applicatin [05:20] what about virtualmin [05:20] Last time I checked, there were at least three critical errors and over a hundred non-critical errors in webmin's .deb [05:20] but it works so great. [05:20] :( [05:20] if you consider breaking package management great, ok [05:21] but we can't support that, and we can't support your broken system after webmin breaks it [05:21] im not asking for any support - its not like im paying for this OS to begin with [05:22] i appreciate your feedback on the matter though [05:22] i still don't understand why webmin "breaks" anything [05:25] it is well known to break package management and cause other software to not work as expected [05:26] because of that we cannot support or recommend it [05:26] if it works for you, that's your prerogative [05:27] well [05:27] my original problem was managing a website [05:27] im looking for some remote tools to make this easier [05:27] webmin has a lot of built in tools [05:28] like the file manager [05:28] along with the mysql manager too [05:29] qman what do you suggset [05:29] for remote tools [05:30] I don't know exactly what you're getting at [05:30] SFTP works great for file management [05:30] I don't think wordpress supports sftp [05:30] ftps is another story [05:31] I don't know anything about wordpress, but if it's running on ubuntu, you can use sftp [05:32] that is, I don't know anything about using wordpress [05:32] I know plenty about sites that use wordpress getting spammed and hacked [05:32] yeah i manage about 30 [05:32] all on cpanel hosts [05:33] they do fine. [05:33] im trying to get away from cpanel though [05:33] licensing fees and processing overhead [05:33] is killing me [05:33] all websites hosted on dedicated or vps's [05:33] running centos [05:34] well, if I was going to run a wordpress site, I'd start with 'apt-get install wordpress' [05:35] apt-get install wordpress [05:35] i have no idea what that command does [05:35] i need to be able to configure virtual hosts [05:35] name based [05:35] that command overrides a whole bunch of stuff [05:36] name based virtual hosts are easy [05:36] well-covered in the server guide [05:39] yeah but [05:39] well [05:39] to be honest [05:39] im looking at a way to use kvm [05:39] to virtualize environments [05:40] theres an appliance from turnkey linux [05:40] a wordpress appliance [05:40] I want to run the Xen image [05:40] but I have no idea how to configur ekvm [05:40] configure** [05:40] Xen and KVM are two completely different softwares [05:40] you can't use a Xen image on KVM or the opposite [05:41] shows you how much I know about virtualizing on ubuntu [05:41] but you don't need some prepackaged image either [05:42] if all you want is a wordpress server image, just create one [05:42] install blank ubuntu server, apt-get install wordpress, configure basics, and save it [05:42] there's your wordpress appliance [05:43] apt-get install wordpress isn't enough though. I'm trying to migrate a wordpress site over. [05:43] that'd be great if i was just starting a site. [05:44] the turnkey appliance is going to be the same deal [05:44] I don't know wordpress, but importing data is most likely going to be just importing the database and ensuring the right packages are installed [05:44] and maybe a config.php [05:45] yep [05:45] essentially [05:45] then changing the config [05:45] and created a mysql database user [05:45] etc..etc.. [05:45] ill look into apt-get install wordpress [05:45] aalthough i know its not fo rme, ive tried it. [05:46] well, having not used it before, that's where I'd start [05:46] but if you want to get more custom, just install LAMP and work from there [05:46] use the dependencies listed for the wordpress package to know what's required [05:49] yeah dude [05:49] im on it [05:49] just using webmin [05:49] to manage it all [05:49] got htop open in another window [05:49] watching all the files move around [05:50] i really love webmin <3 [05:50] great software. [05:50] completely free to boot. [06:23] damnit [06:23] mysql [06:23] so tricky [06:51] Kids these days... [06:59] hey guys [07:00] i have a question what is the URL that i need to use when trying to do a network install of ubuntu 10.04. when its at the part where it has to look for a release file on a particular mirror it seems like its unable to find the release file regardless of what mirror i give it [07:41] New bug: #946137 in exim4 (main) "4.76.3-3ubuntu3 : update-exim4.conf crashed with SIGSEGV in __libc_start_main()" [Undecided,New] https://launchpad.net/bugs/946137 [08:59] anyone here tried sanlock? [13:46] anyone that knows what might be starting dnsmasq on this machine? it's running kvm on 11.10 [13:47] libvirt? [13:48] RoyK: ^^^ [15:40] someone please for the love of god help me diagnose this [15:40] http://pastebin.com/ByFDFWMB [16:03] wonderman: can I do it just for the love of belgian waffles? [16:03] sure... [16:03] ive looked into everything i can think of [16:04] wonderman: is it ongoing or a one time thing? [16:04] ongoing [16:04] wonderman: perhaps your log format is just wrong? [16:05] like how? [16:05] wonderman: in your config files there's a default LogFormat (assuming thats an apache log?) [16:05] thats not all my log, i grepped it for "408" [16:05] wonderman: ah ok [16:06] wonderman: apache right? [16:06] yes [16:06] wonderman: ah, thats a DoS then [16:06] wonderman: 408, request timeout [16:06] wonderman: means the other side is trying to exhaust your connections [16:06] its not a dos [16:07] its normal traffic, for the most part [16:07] same ip rarely comes up [16:07] wonderman: well why else would you have many IPs failing to submit requests? [16:07] thats why i am here? [16:08] wonderman: unless this server is behind a reverse proxy, and you're logging the Forwarded-For addresess. [16:08] how can i tell that?, ive not touched any settings with ym hosting provider [16:08] it could be DNS issue? [16:08] wonderman: DNS, no. [16:08] well, no proxying here [16:09] wonderman: 408 is issued by apache to a client when it takes too long to make a request [16:09] i know.. [16:10] they have to have made an original request, to get the connection in the first place [16:11] wonderman: the default "Timeout" is 300 seconds http://httpd.apache.org/docs/2.2/mod/core.html#timeout [16:11] correct [16:12] :S [16:12] ive been trying to diagnose this for a week now [16:12] prob is the 408 gives me nothing to go by... [16:12] wonderman: is it causing an actual problem or just the logs? [16:13] just logs, but i cannot tell what these 1000s of clients is experiencing [16:14] wonderman: they're not experiencing anything.. they've connected and failed to do anything with the connection in 300s .. [16:14] wonderman: I have about 0.01% 408's in my server logs [16:15] could my content cause that? [16:15] no idea how many for me, but easily 5% [16:15] I don't think content would cause it.. [16:16] it cant be clients, how could so many people brow a website, and not request anything? [16:16] kind of impossible if you ask me [16:16] via a browser [16:17] ar/$ [16:18] doh [16:18] wonderman: because they're broken [16:19] doesnt make sense [16:19] :) [16:19] wonderman: could be a spider.. some botnet looking for more to compromise [16:19] i checked 50 ips [16:19] they are general traffic [16:21] wonderman: ahh.. any possibility they're getting firewalled somehow? [16:21] i dont have any firewall whatesoever currently, not sure about hardware FW, but i doubt it as i have to pay for that :) [17:01] Anyone else seeing connection failures to us-east-1.ec2.archive.ubuntu.com? === Qalqi is now known as Guest65648 === Guest65648 is now known as pythoner === unreal_ is now known as unreal [18:08] hi all [18:09] I'm trying to run an application on ubuntu [18:09] the app needs to send email [18:09] I've looked at the instructions for installing postfix https://help.ubuntu.com/11.04/serverguide/C/postfix.html [18:09] they seem scary [18:10] and there's lots of different choices presented, most of which I don't understand [18:10] all I want to use the SMTP server for is sending email from my application [18:11] apart from installing the server itself, what do I need to do in terms of configuration? [18:13] donal: see if this helps http://www.postfix.org/STANDARD_CONFIGURATION_README.html#null_client [18:15] thanks viezerd [18:15] yw [18:16] am I right in assuming that postfix can only send mail, i.e. it can't receive mail too ? [18:19] donal: postfix can also receive mail, from other mailservers, and then for example pass it to an IMAP or POP server === sixstringsg|away is now known as sixstringsg === sixstringsg is now known as sixstringsg|away [20:02] JanC: yep [20:53] I TELL YOU!! [20:54] If I want to have two ssh servers on a network. Should I only open a port for one and allow the other's to just be accsessed via the computer connected to the outside server or open ports for all of them? [21:05] philipballew: depends on your use case really, but having only one accessible from outside might be better; just don't relax the security on those who aren't accessible from outside because you think they are safe... [21:06] true, I need to set up rsa keys on them and also today I am setting up a vpn server on one. Is there anything security wise a vpn needs I might not have thought of that i would do normally for ssh? === sixstringsg|away is now known as sixstringsg [21:23] philipballew, having more than one at the same IP on different ports causes key errors if you try to access both from the same host [21:23] SSH key verification doesn't treat different ports as different servers, only IPs [21:23] so, unless you've got a very specific set of circumstances, it's best to have a 'gateway' SSH server to access the rest [21:23] or use a VPN [21:24] yeah. one is .200 and one is 201. the 200 is my ssh and vpn server. the other monitors and logs the network. make sure our neighbors we let share dont look at porn and such [21:29] i like to use vpn to connect to and surf the web. but ssh to connect and play with the shell [21:36] hallyn: http://www.stgraber.org/2012/03/04/booting-an-ubuntu-12-04-virtual-machine-in-an-lxc-container/ [21:39] I'm having some problems with postfix acessing my mysql database. I'm getting `Mar 4 14:37:07 server postfix/trivial-rewrite[18415]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)` in mail.log [21:40] Canadian1296: sounds like mysql isnt running [21:41] ikonia: It is, I just checked [21:41] Canadian1296: how did you check [21:41] ikonia: sudo service mysql status [21:41] Canadian1296: that is not valid [21:42] Canadian1296: try to connect to the database with the mysql client [21:42] Alright [21:42] `mysql -u mail -p` (type password). I get a mysql prompt. [21:43] ikonia: ^^ [21:43] the socket isn't linked inside the chroot and the daemon in question is running chrooted [21:43] lamont: How do I fix it? [21:43] that'd be my guess [21:43] who says he's chrooting ? [21:43] it' wrong [21:43] (mysql doesn't chroot by default) [21:43] that or the daemon doesn't have access to /var/run/mysqld/mysqld.sock [21:43] And i didnt tell it to, so it''s not. [21:43] postfix [21:44] How do I check if it does? [21:44] check if the socket file exists /var/run/mysqld/mysqld.sock [21:44] then check the permissions [21:44] (it should exist if you have connected) [21:45] Canadian1296: mysql -u mail -D $database -p [21:45] ikonia: It exists and is owned my mysql:mysql. Permissions 777 [21:46] ikonia: and I can connect with that command [21:46] trivial-rewrite defaults to chrooted... if this fixes it, then that's the issue. note that the fix is wrong in all kinds of ways I don't have time to go into: [21:46] mkdir -p /var/spool/postfix/var/run/mysqld/; mount -o bind /var/run/mysqld/mysqld.sock /var/spool/postfix/var/run/mysqld/mysqld.sock [21:46] lamont: what are you doing ? [21:47] ikonia: Should I run what he just said? [21:47] ikonia: making the mysql socket available inside the postfix chroot [21:47] lamont: ooh, you mean postfix is chrooted [21:47] ikonia: verily [21:47] lamont: sorry, I thought you where saying mysql was running chrooted [21:47] How do I tell? [21:47] Canadian1296: well, it seems a sensible approach if you are running postfix chrooted [21:47] Canadian1296: look in the config file [21:47] anyway, I'll let you two work through it, I'm supposed to be across town === juicy is now known as herpes [21:48] Canadian1296: if you didn't change master.cf, postfix trivial-rewrite is running chrooted [21:48] and I know for a fact that postfix-mysql maps package does nothing about dealing with the socket [21:48] I didnt change master.cf [21:48] so your issue would (1) make sense, and (2) be a bug that I'd love someone to suggest a proper answer for [21:49] * lamont really flees [21:49] I dont think postfix should create mysql sockets in chroot by default [21:49] that's part of understanding what you are doing [21:49] ikonia: Either way, how do I fix it? [21:50] follow lamont about creating a socket in your postfix chroot [21:56] ikonia: Didn't work. I'm just going to start over :/ [21:56] ok === Lcawte is now known as Lcawte|Away [23:35] is there a GUI to setup RAID 1 on my machine [23:41] How would someone recommend transferring flies over ssh? I know there are so many options and one is better then others [23:42] scp [23:42] rsync [23:46] patdk-lap, thank you. I have used rsync before. Maybe today ill try scp === sixstringsg is now known as sixstringsg|away