[01:21] sommer, do you have any more information on using gidNumber to make the quota through ldap work? [01:22] I haven't had much success finding _good_ info on it [01:26] teamcobra: are you using OpenLDAP? [01:26] yes sir :) [01:26] I was told that a slapd overlay might be the way to go, but info on that is kind of scarce too [01:26] and you have user entries in your directory? [01:27] I use objectClass=posixAccount for my user entries and I think gidNumber is part of that [01:27] yes, but only a couple... and I don;t care if the quota doesn't apply to them [01:28] so are you migrating existing user's into LDAP? [01:29] I guess I don't remember where or when I started using gidNumber, but it must have been part of some default config :) [01:29] seems like user posixAccounts need both a uidNumber and gidNumber [01:29] actually, no... liferay (www.liferay.com) creates the users in ldap [01:29] for permissions and such [01:29] and I have autodir working [01:30] anyone know anything about IP PBX systems? I am trying to do some research on upgrading our office (one phone line) into multiple phones, extensions, and voicemail. Ive heard theres a linux distro or app that i should look into. [01:30] so each user gets a home [01:30] and can be added to the nxserver/other services [01:30] Silv: I've set up one before [01:30] asterisk is the app, and I'll find the distro [01:31] asterisk is actually a lot of fun ;) [01:31] awesome! thanks teamcobra. [01:31] http://slast.org/ looks nice ;) [01:32] teamcobra: ah, never seen liferay before... can you get a list of attributes that they use in their LDAP entries? [01:32] do you configure your server to use their LDAP for auth, permissions and suck? [01:32] such rather [01:32] heh [01:33] teamcobra: mind if I PM? [01:33] sure, give me a couple minutes and I'll make a pastebin [01:34] silv: no problem [01:43] If I log in to a remote machine in a terminal using ssh -X username@xxx.xxx.xxx.xxx and then start a program such as firefox, is the program actually running on the remote machine? [01:44] tes [01:44] or yes [01:45] Wow, so simple and powerful [01:46] be careful with the powe... it's intoxicating :) [01:46] or power... heh [01:46] hahahaha, yes.... [01:47] keithclark: dont know what sort of link your using but ssh -CX would be good on slow links [01:47] keithclark: dont know what sort of link your using but ssh -CX would be good on slow [01:47] kgoetz, what is the difference? [01:47] keithclark: -C is compression [01:47] ah, let me try that! [01:49] if you have a slow cpu at either end you may find (or a fast link, ofr that matter) that compression causes more overhead then it saves (just a warning) [01:49] It is working about as fast a local! [01:50] :) [01:50] if just running on a LAN, -C is useless, if running over slow-medium grade internet, it's great :) [01:50] the next step is to make hpn-ssh the default in ubuntu [01:50] now _that_'d be killer [01:50] Ah, I am running local. [01:50] multithreaded ssh, ftw [01:51] local network that is. [01:51] I am running firefox on a remote machine and it is just as fast as it is running on the local machine. (too many local uses to confuse things) [01:54] now play with ssh keys, and setup 2 dozen linux workstations, keep everyones home directories and setting on the central server :) a few ssh tweaks, and some adjustments of desktop shortcuts, and everyone runs off the server without knowing it :) [01:55] andguent.....That was kind of the idea, on a much smaller scale. [01:55] andguent, I'm just learning here. [01:56] I know I know, I like thinking big, kinda shows the power of it :) use it in whatever way works best for you, therein lies the greatest power -- flexibility [01:56] I have a lot to read and learn, but I got this far and am proud and pretty happy. I just wanted to confirm that it is actually working as I think it is. [02:03] It can take years to feel fully comfortable in it, just learn to back things up, then break them, then teach yourself why it is broken. The information is out there on how to teach yourself anything Linux, just not always in one concise place... [02:05] Oh yeah, I understand that all too well. I have my main server machine that I don't fool with. I have this machine I'm on now that I use as the beta test machine. It is running 8.04 now. I have two other laptops and a kids machine that runs pclos with xfce. Lots of machines to learn with! [02:13] Just how does this ssh work though? Does everything run on the remote machine, and then send it to the local machine over the network? Even the graphics? [02:15] Maybe I should be using client/server terminology instead of local/remote? [02:15] keith: what is it? [02:15] yeah, ssh works like that, I use nx on servers to serve up remote desktops [02:16] teamcobra, it is just so fast. [02:16] apps run on the server, graphics/mouse are tunneled through ssh to keep it encrypted, very nice [02:17] teamcobra, yeah, I can invest in the one server machine and use cheapies for the rest of the machines. [02:17] sommer: had to fix another problem, my layout went crazy... fixed it now, getting those ldap settings [02:18] keith: I'm launching a platform for business to do that w/o buying the server... hopefully tonight/tomorrow ;) [02:18] 1 more thing to iron out [02:19] teamcobra, exciting stuff! [02:20] I am apparently missing something with ntp, I install ntp with 'apt-get install ntp', I point a windows machine to the ubuntu machine to sync time and the windows machine says "the peer's stratum is less then the host's stratum", any suggestions? [02:21] teamcobra, so all I really need is just a basic ubuntu installation on the client machines then? No apps really? [02:22] right... some apps are better suited to being on the machine, but only really heavy stuff [02:22] I don't really use heavy stuff....No big gaming. Just one flight sim that I can run on the server when nobody is looking [02:24] teamcobra, I'm actually thinking about re-doing my network here....moving the machines around but I'm unsure what machine would be best and where! [02:25] well, not even gaming... more like blender, etc [02:25] heavy gimp usage [02:26] vid editing [02:26] teamcobra, not too much. DVD copying from time to time and DVD creation. [02:29] sommer, sorry for the long wait, here's the screenshot of the ldap confg page in liferay: http://img127.imageshack.us/img127/4503/liferayldaptp5.png [02:30] the admin dn is just cn=admin,dc=mydomain,dc=com [02:34] teamcobra: I could be wrong, but it looks like you need to add objectClass=posixAccount [02:34] quick question: how to prove why an email won't arrive to local mailbox well in fact I could send and receive mails if doing it locally? I am using postfix and courier imap with squirrelmail. thanks! [02:34] that should give you the gidNumber attribute, but there maybe another attribute you can use for what you're trying to accomplish [02:35] and I add that to the Import Search Filter? [02:35] under groups [02:36] ya, I'm not too sure === jjesse_ is now known as jjesse [02:37] you could definitely try that [02:37] my experience with LDAP is administering my own server, which gives you the control to add those type of things :) [02:37] sommer: aha, that does show groups now [02:37] but I'm sure if you ask the admins they'll be able to help you out [02:38] cool [02:38] heh, unfortunately, I'm the one adminning this ;p [02:38] evening :) [02:38] and well, I've been having a weeklong crash-course in ldap ;p [02:38] evening jjesse [02:39] uhhh, maybe then I don't understand, are you liferay? [02:39] hey jjesse [02:39] ohh, no [02:39] teamcobra: as in are you hosting liferay [02:39] or a customer of liferay? [02:39] haha, no... and I've been searching the forums for that [02:40] just a liferay user... admin of the server that is being configged [02:40] sorry for the confusion there ;) [02:41] okay, I'm with ya, you should then just need to configure your server look into libnss-ldap [02:41] if you haven't already :-) [02:43] I believe it's set up properly, ldap works fine [02:43] Sorry to bother again....I just deleted a user and wanted to recreate him again but it does not seem to allow me to do so. [02:45] http://ubuntuforums.org/showthread.php?t=689229, should help [02:45] I'm lagged [02:46] quick question: how to prove why an email won't arrive to local mailbox well in fact I could send and receive mails if doing it locally? I am using postfix and courier imap with squirrelmail. thanks! [02:49] teamcobra, no, not working...hmmmm [02:51] hrmm [02:52] It allows me to recreate, but the new user just does not appear....no errors. [02:52] odd [02:53] maybe a reboot (to quote Windows) [02:54] heheh [02:55] In Windows it seems to solve every problem! [02:55] I have not rebooted my main server for like 3 months! [02:56] No, sorry....I lied....two months [02:57] Actually, I should not make fun, I once went about 2 months with XP [02:58] ONCE [02:58] Ok, reboot does not work.\ [02:59] hrmm [02:59] not sure, will keep looking in a sec, fighting w/ my own user battle (should be done soon) [02:59] (my earlier ramblings were meant as comedy relief btw) [03:02] Every time I see "A reboot fixed it" I can't help but think of WinNT, a reboot fixed everything, and everything required a reboot, it felt like 2-3 dozen reboots just to patch it all the way from SP0 fresh install [03:03] andguent, oh yeah....everything windows is "reboot" [03:03] my windows servers I only reboot for patches [03:03] keithclark: remember the days where changing your IP address required a reboot? yea.... [03:03] everything else runs stable and rock solid [03:04] I don't miss that [03:04] heh, I stopped using windows w/o a vm when I did an xp sp1 install that was rooted 5 mins after being connected via dialup (I didn't even get to go to any websites [03:04] so not even an IE pwning... it was scanned and rooted before any patches could be applied ;p [03:05] andguent....a software install required a reboot!!!!!!!!!!!!!!!!!!!!!!!!1 [03:05] andguent....an actual software install.....I cannot believe that. Buy me, install me and stop whatever you are doing and restart your machine so you can use me [03:06] lol I love it how all the installers still tell yoy to shut down all other programs on your computer before installing [03:06] yes, but that still happens today, even Windows 2000 can handle an IP address change without rebooting [03:06] Windows 2000 was ok [03:07] win 2k3 doens't have that problem [03:07] I did not say great, I said ok [03:08] I hope all of the silent 20yr+ computer vets are easily amused by the rantings of young computer users, we never had to walk in the snow up hill both ways :) [03:09] hahahhahahahahahah......... [03:09] with no shoes [03:12] quick question: how to prove why an email won't arrive to local mailbox well in fact I could send and receive mails if doing it locally? I am using postfix and courier imap with squirrelmail. thanks! [03:14] rhineheart_m, in all my years I've learned that there are no quick questions! [03:14] okay.. so it is not.. :) [03:15] no, just an observation, sorry [03:15] mmm.. so have an idea? keithclark? [03:16] thinking...... [03:16] searching....... [03:16] hehehehe.. that's great! :) [03:17] When I have users fail sudo authentication (eg not in sudoers), a email gets sent to the root account... how can I change the email address the message is sent to? [03:22] Sorry, had to protect my son's computer with dansguardian.....no more "Monster" sites.... [03:27] :) [03:28] rhineheart_m: look in your bloody logs for once [03:28] jords: edit /etc/aliases and edit the root: line [03:29] keithclark: no more wedding sites either ;) [03:29] or any site that talks about "cocktails" [03:29] kgoetz, I cannot see any logs there telling me errors why it can't accept mails from yahoo.com [03:29] bahaha ;) [03:30] teamcobra: you can laugh :p [03:30] kgoetz:???? [03:30] keithclark: :) [03:31] Why would flash not work on a user when it works on an administrator? [03:31] the cocktails one was punny ;) [03:31] because it wasnt intalled globally? [03:31] I needed a lauch, watching Hitman and working w/ ldap, 2 very grim things [03:31] laugh [03:32] kgoetz, and to do so? [03:32] keithclark: no idea. i dont use flash [03:32] althought it sounds like an #ubuntu question to me [03:32] teamcobra, kgoetz, yes, cocktail was funny [03:33] do I sound like a straight nerd here? [03:34] everyone has a nerd moment sometime ;p ;p [03:35] Ok, my son just wants to play a game that requires flash........and it does not. [03:37] Ok, nevermind, it's his bedtime.....maybe nextime! Thanks. [03:40] keith: using gnash? [03:40] gnash? [03:40] gnash doesn't play _everything_ yet.... it's getting there, but not quite [03:41] yeah, the gpl flash plugin [03:41] Hey, we got so far today.....let's see what tomorrow brings. [03:41] Thank you all for the help [03:41] for max compatibility, I'd say just use the lame adobe one [03:41] k, gnit [03:41] gnite [03:41] No, I'm not tired [03:41] Just so much fun here [03:43] :) [03:45] I still cannot believe that this is a connection between this feeble machine and the server upstairs. [03:46] :) webdav is the next step [03:46] it'll rock your world [03:46] ;) [04:25] ghostnob: hostname -f returns the fully qualified domain. What were you expecting? [04:25] can plesk be installed in ubuntu? is it supported by cannonical [04:25] i was expecting hostname to return ghost1.mydomain.com [04:25] isnt plesk commercial/not open source? [04:26] Silvanov, it is commercial [04:27] the tutorial said: "Both should show server1.example.com. If they do not, reboot the system:" when you run hostname and hostname -f [04:28] hostname (no params) only returns the short hostname, so in the example you just gave it would return "ghost1" [04:29] !commercial [04:29] Sorry, I don't know anything about commercial - try searching on http://ubotu.ubuntu-nl.org/factoids.cgi [04:29] o ok... thanks dthacker [04:30] ghostnob: you may want to look at "man hostname" to check out the options. [04:31] ok... [04:32] and I can't run GUI in the server edition. when I type startx it gives me error even though I installed init [04:33] ghostnob, do you really want the GUI? [04:34] yeah... [04:34] rhineheart_m: I did a quick search on packages.ubuntu.com, and I don't see plesk. [04:34] dthacker, thanks for your fingers for doing the search.. [04:34] ghostnob: use the command line force. let go of your gui-ness ;) [04:34] just want to see how it looks before I setup everything finally on my second computer [04:34] coolll [04:35] I just force [04:35] I should just type force [04:35] rhineheart_m: you might want to bookmark that page, very handy [04:35] !restricted [04:35] For multimedia issues, this page has useful information: https://help.ubuntu.com/community/RestrictedFormats - See also http://help.ubuntu.com/ubuntu/desktopguide/C/common-tasks-chap.html - But please use free formats if you can: https://help.ubuntu.com/community/FreeFormats [04:36] * dthacker shakes his head and mutters. [05:13] hello [05:13] is anyone here? [05:14] patoe1: Ask your question, always. [05:15] ok im thinging about downloading and installing unbuntu server for this computer, but i was wondering how diffrent it is from kubuntu and xubuntu [05:15] ubuntu server doesn't have X, it's all command line [05:15] oh... [05:15] lol that sounds really difficult [05:16] well whats the best linux os for a less experienced person [05:16] Ubuntu server is meant to be run on a server [05:16] "best" is subjective. kubuntu or ubuntu should be fine [05:17] is xubuntu good to? [05:17] i find the Xfce better :p [05:18] Or, that too. Again, "best" is subjective. Try them, see what you like, and stick with it :) [05:18] ok :D [05:19] and can i run like mac programs on linux? or windows programs on linux or does it have to be linux based (made for) [05:20] Depends. You can run some windows programs with WINE [05:20] I haven't ever tried / needed to run mac programs on linux, so I'm not sure... but there might be a project out there [05:23] ok thanks [05:28] hi guys, I'm doing an upgrade of torrentflux-b4rt and running into a wall repeatedly. [05:29] whenever I enter " tar -xjvf torrentflux-b4rt_1.0-beta2.tar.bz2" [05:30] I get "bzip2: (stdin) is not a bzip2 file. [05:30] tar: Child returned status 2 [05:30] tar: Error exit delayed from previous errors" [05:31] would be eternally grateful if anyone can offer a smidgen of advice!:) [05:31] are you sure the file isn't corrupted? [05:32] the bzip file that is [05:32] try file torrentflux-b4rt_1.0-beta2.tar.bz2 [05:32] and see what it says [05:33] * rhineheart_m wants to ask sommer if he knows a better combination of webhosting panel for gutsy server [05:33] what's a webhosting panel? [05:34] hey sommer, it says it's an HTML document text. I used Wget to dl it - what am I doing wrong? [05:35] here is the website I'm dling from: https://developer.berlios.de/project/showfiles.php?group_id=7000&release_id=14392 [05:35] ya, seems like it didn't actually download a bzip file [05:36] have you tried a regular browser? [05:36] you could then copy the file to your server or whatever [05:36] well, I'm trying to dl it to my Ubuntu Server via SSH via my terminal [05:37] sure, but sometimes downloads are "wrapped" by server side scripts... which probably confuses wget [05:38] i see [05:38] you can use scp to copy the file from a client to your server [05:39] ok - i will look up the man page on scp. But there's no way to dl it via my terminal onto my server? [05:39] not sure try wget --help [05:40] I don't mean to rtfm you, but I"m not that familiar with wget's options [05:40] totally cool. I major appreciate you taking the time! [05:40] np [05:40] i will check out the help section, see if there's some insight there. [05:40] thanks a lot [05:44] murray98: welcome [05:44] rhineheart_m: what web hosting panel are you looking for? [05:45] sommer, the one that could manage basic services for webhosting. like that of plesk [05:45] I guess the only one I know of would be eBox [05:45] do you host websites? [05:47] sommer, yeah I do [05:47] ah, cool [05:48] I hate to say it, but I think at this point there may not be too many options for that kind of thing [05:49] but there's always the configuration files :-) [05:49] sommer: ever use lamdaemon? [05:50] nope, can't say I have [05:55] ok [05:55] is that a management app? [05:58] yes, and it can handle quotas through a script supplied [05:58] cool [05:59] I've been contemplating cfengine and puppet myself [05:59] lately anyway :) [06:00] but it keeps telling me that my admin user (ldap admin dn) must be a valid unix account to work... and admin is a user [06:00] :/ [06:00] oh woops, didn't realize you were talking about LDAP [06:00] is that the groups thing? [06:01] yea [06:01] ya, that's kind of a hard situation for me... I've only dealt with situations where I control the LDAP server and the client server [06:02] are the attributes in the screenshot the only ones you get? [06:02] yeah, I'm having a near aneurysm ;p [06:03] heh, I can relate to that [06:03] I think the issue is that you don't have the attributes for what you are trying to accomplish [06:03] yes, but if I can make a group (ldap or posix), I can force each new user to be a member of a group in liferay [06:04] sure [06:04] so depending on how you create the user would determine how they are added to the group [06:05] yes, but there's a configuration box to add users to a group automatically [06:05] but is that group LDAP or posix? [06:05] pretty sure it's ldap, 1 sec [06:06] are you familiar with Active directory? [06:06] ldap defined posixGroup [06:07] not very :/ a little bit, I've gotten auth working, and creating users on 2 different machines [06:07] cool, I was just going for an anology to help explain [06:08] either way, what you have is an LDAP group and an local system, or posix group, and the Group ID number needs to match between the two [06:08] if that makes sense [06:08] ahh, I wasn't sure if they could share numbers [06:09] that clears up a _LOT_ [06:09] brb [06:09] sure they can they're two different systems :-) [06:09] at least that's the way I think of it [06:10] but they can serve the same function, so it can be confusing [06:11] and the ldap group will inherit the posix group's quota? [06:11] basically [06:11] yes [06:12] if you configure the system to look at ldap for group information [06:12] which is where nss-ldap/libpam-ldap comes in [06:13] err, libnss-ldap [06:19] ok, I do have that installed, will look at its conf [06:20] there's also a guide in the ubuntu wiki, not sure how up to date it is though [06:21] should point you in the right direction [06:22] interesting to see that Sun are looking to Ubuntu Servers for the development in the future [06:22] http://seekingalpha.com/article/71011-sun-microsystems-next-linux-move [06:26] also interesting that they've grabbed virtualbox [06:27] yeah I hope MySQL and virtualbox don't change their licensing [06:27] is virtualbox sun? [06:28] it is now [06:28] eh, didn't know that, kinda cool [06:29] if Sun want to work more closely with Ubuntu Server hopefully we can get things like ZFS ported over [06:29] seems to me that sun sees the value of the community around MySQL so I don't think they'd change the license [06:29] zfs would be cool too :) [06:31] raidz would be very cool ;) [06:37] Cannot write to `radiofreefinland_20051030_Matti_Hautsalo_KEPA_global_trade_WTO_32kbps.mp3' (Disk quota exceeded). [06:38] :D :D now to try it with liferay, brb, victory cigarette is in order ;) [06:38] I'm with that [06:39] hey summer - so I found my dl link thanks to you and got that sorted. Now I'm having a bit of trouble with my db-config file [06:39] oops, sommer! [06:39] bleary eyed misspelling [06:39] db-config? [06:39] for you site? [06:40] yes, this file: inc/config/config.db.php [06:40] for my TF-b4rt [06:40] ah, what db are you using? [06:40] mysql (did I answer that right? Sorry, kind of a noob with this) [06:41] yep, sounds about right [06:41] murray98: have you setup a database and database user for you site? [06:42] yes. I had tf-b4rt running great on my server. I have since tried to upgrade to a newer version and am having probs. In the upgrade instructions, they say "Restore your db-config-file (inc/config/config.db.php)" [06:43] ah, did it get overwritten in the upgrade? if so do you have a backup? [06:44] of the config file that is [06:44] well, it seems like my "upgrade" only consisted of dl'ing one file, replacing my html dir with the new one, then restoring this config file. [06:44] i don't have a backup. nothing super valuable on there, fwiw. [06:45] not to throw a manual your way (!) but here are the 4-step instructions, if you have a sec: http://tf-b4rt.berlios.de/forum/index.php/topic,1200.0.html [06:45] i'm merely upgrading [06:46] what I did was change the config.db.php.dist file to "config.db.php." [06:47] i saw that mentioned in a previous forum so I tried it out. Would that be the source of my problem? [06:47] ah, did you try renaming config.db.php. back to the original name? [06:47] no! [06:47] ok, lemme try now. [06:48] I'd to a copy instead of a mv... so that you have a backup :) [06:48] k [06:48] now reboot? [06:48] not sure, probably shouldn't need to [06:49] maybe try refreshing our browser [06:49] can someone help. I need to run my ubuntu server edition in GUI mode. How can I do that? [06:49] !servergui [06:49] Ubuntu server does not install a desktop environment or X11 by default in order to enhance security, efficiency and performance. !eBox provides a GUI system management option via a web interface. See https://help.ubuntu.com/community/ServerGUI for more background and options. [06:50] ghostnob: the above site should document the process [06:50] ok.. thanks... I'm just testing thing and I will surely go through the documentation... thanks [06:50] no problem [06:52] darn it. still says my Tf-b4rt is not found. [06:52] how can I verify that I have the correct settings for my config.db.php file? [06:53] Hello, my Ubuntu server is having problems staying connected. I honestly dont have the slightest idea of where to start. Can someone help me with this? [06:53] is "Tf-b4rt" the name of your site? [06:53] the URL I'm acccessing when I use tf-b4rt, from my other computer, is http://192.168.1.124/torrentflux/index.php [06:54] murray98: does it work from a browser? or just from a torrent client? [06:54] as in should it work from a regular browser? [06:54] sommer: yes, it works from a browser. [06:55] did your apache configuration change? [06:57] not intentionally :( . How can I verify I have the correct settings in place? All I was trying to do was delete my docroot path [06:58] yaaa, that could be an issue... which files did you delete? [06:58] the default is /var/www [06:58] zylstra555: what do mean by staying connected? network? [06:59] sommer: Its suddenly not accessible to the outside for an unknown period of time [06:59] is there anything in the logs? [06:59] /var/log/syslog ? [06:59] sommer: I am not sure where they would be located [06:59] sommer: I deleted /usr/share/torrentflux/www [07:00] that should be /usr/share/torrentflux/www/ [07:00] sommer: Theres a slight problem... I cannot access it at at the moment.. (I usually am right next to it, but, I am currently attempting remote access) and its not responding.. [07:00] murray98: ya, I'd be that apache is still looking for that directory [07:00] sommer: I'm pinging it continuously in hopes that it might come back up. [07:00] murray98: you should try extracting the new version into there [07:01] zylstra555: ya, could be anything then... hardware, network, etc [07:01] sommer: extract the entire original tarball into there? [07:02] murray98: from what I can tell that's what the upgrade instructions say... then copy your db.config.php, or whatever, into there [07:02] or just the html dir? [07:03] hmmm. interesting. will give it a whirl and report back. Thanks! [07:03] np [07:04] sommer: Well, during any time, it is accessible to the local network that its connected to. Its something to do with how the external connection is being kept, I dont think its a router issue though. I wonder if its my ISP dropping the connection [07:05] zylstra555: possibly, but it's hard to tell without input from the box itself [07:05] how long has it been inaccessible? [07:06] sommer: Thats the other problem, I dont know how long exactly it stays connected for. [07:07] okay, because you're not connected now? or because you can't connect? [07:07] sommer: I am not able to connect at the moment. (I know I should have waited until I could, but, I was hoping to get some ideas of what might be the problem) [07:08] how do you connect ssh? [07:08] sommer: Yes. Its a webserver, its not responding to the following (that I have tested so far) Pinging, FTP, SSH, or just attempting to visit it [07:09] for me that would mean something serious, but depending on your ISP they could be blocking I guess [07:10] the next time you have access you could try changing the ssh port to something non-standard... that should help determine if the ISP is doing something anyway [07:10] sommer: I read their policy, theres nothing against home servers, and its a small ISP (I doubt they even monitor bandwidth, which, I hardly use any of as well) [07:21] can anybody here help me to diagnose why I am not receiving mails from yahoo.com? [07:22] sure, describe the problem [07:22] you have your own domain and do your own DNS and MTA? [07:23] yeah.. actually.. it did work before.. [07:23] sommer: thx for your advice. I've got to figure out more info about what my docroot path even is. I may have deleted some valuable stuff and not known it. Anyway - more tomorrow. thanks for your help. [07:23] how would I know if it is related to firewall configurations. [07:23] murray98: welcome, I think I'm done for night as well [07:23] it just started when I changed router.. but I port forwarded already 143 and 110 [07:24] do you get mail from anyone rhinehart_m? [07:24] concatenate, within the system. I can receive mails.. like sending from other user in the same domain [07:24] but from yahoo.. it won't [07:25] rhineheart_m: you have a dumb home router like a linksys? So you have MX records pointing to your domain? [07:25] if so what's the domain? [07:26] yeah.. I have it.. linksys [07:27] rhineheart_m: I want to make sure that you're talking about a full internet mail setup where anyone can send mail to your domain, and you have a mail server like postfix or sendmail or exim that accepts it and delivers it [07:27] you only mentioned POP/IMAP so far [07:28] concatenate, I have postfix and courrier-imap running in my box [07:28] rhineheart_m: ok so what's the domain? I can test it remotely quite easily [07:29] concatenate, can I send it in PM? [07:29] sure [07:30] or just email me at nate at campin.net and I'll see it [07:31] how about just telling me how to test it? I am working remotely.. [07:32] rhineheart_m: you should have MX records or an A record for the domain, then ppl should be able to telnet to port 25 on the host and see a SMTP server there accepting mail for the domain [07:33] rhineheart_m: I normally type in the "rcpt to:" and "mail from" and such right into telnet to test it out - send an email manually [07:33] concatenate, you mean.. I need port 25 to be open not just ports 110 and 143? [07:33] rhineheart_m: correct that's the SMTP port [07:33] concatenate, that's the port I missed to open [07:33] sometimes you'll open up some higher ports for non STARTTLS encrypted mail too, but that's not required or even normal [07:34] so, if ports 110 143 are only open.. it can't receive mails from the outside, concatenate? [07:34] rhineheart_m: correct [07:34] 110 and 143 are POP and IMAP [07:34] you don't really want those unless you force STARTTLS - those aren't encrypted [07:34] concatenate, and they are for fetching mails from postfix only.. correct? [07:35] you want the SSL wrapped version [07:35] correct,from courier or whatever you're using [07:35] postfix is just SMTP and delivery, strictly speaking [07:35] rhineheart_m, you need port 25 forwarded if your SMTP server is ever to recieve mails from another [07:35] concatenate, within the LAN [07:35] it doesn't do POP or IMAP [07:36] rhineheart_m: once your mail works just do away with POP and IMAP and use a SSL version (or wrap with stunnel) and use the SSL ports for them [07:37] concatenate, that's a great idea! how to do it? [07:37] egrep 'imaps|pop3s' /etc/services [07:37] you'll see the port numbers [07:37] on ubuntu server? I seem to only have Debian boxes handy ;) [07:38] I am using ubuntu... egrep 'imaps|pop3s' /etc/service gives me an error [07:38] with stunnel it's easy, and surely documented on the stunnel site, it was there years ago anyways, sure to still be there, this is really common [07:38] oh /etc/services [07:38] sorry [07:39] rhineheart_m: oh I had it right, you musta cut-n-pasted and missed a char [07:41] I got 993 and 995 [07:44] rhineheart_m: yup that's them, now google for how to configure courier to do SSL or for how to wrap it with stunnel [07:44] the first it better, since it can do STARTTLS for nicely behaved clients [07:44] but the wrapper thing works fine [07:44] then don't even support unencrypted POP or IMAP [07:45] those days are over, don't even do it [07:45] thanks.. what client you use to fetch mail? [07:46] rhineheart_m: depends on whether it's work or home - at work I use fetchmail to get mail from exchange then a local postfix/procmail and I read it with mutt [07:46] personal used to be postfix and local mutt on my mail server [07:47] these days it's actually hosted by google after my mail server died :( [07:47] and I just use the web interface for now [07:47] do you host multiple websites concatenate ? [07:48] rhineheart_m: well just for me and family, my job is running web sites though, but not a hosting company, online advertising [07:48] do you use web based control panel ? [07:49] rhineheart_m: no, it's only me administering it, so no need [07:50] okay.. I have plans actually to host some sites...maybe 4 [07:50] it's just for family so I do all the work for them, at work it's all done by SA's so it's file-based changes, pushed by cfengine [07:50] but I need web interface for them...got an idea? [07:51] rhineheart_m: I wouldn't actually know, I don't deal with those - I hear about cpanel all the time but I don't even know if it's open source [07:56] concatenate, yeah.. its not free [08:00] rhineheart_m: webmin might be able to help, but I've really never used that either [08:00] you should find some mailing list full of web hosting types and ask them [08:01] where? [08:07] rhineheart_m: check the debian lists - I seem to remember a debian hosting/ISP list or something [08:08] concatenate, have you heard about ISPConfig? === rhineheart_m is now known as rhineheart_m_ === rhineheart_m_ is now known as rhineheart_m [08:58] hey guys...hoping someone can help me restore a postgres db...never done this b4 and don't even know if I can [09:00] situation is that i had a working db on one server, then I rebuilt the server and have the environment ready to restore the dump I'd done from old server...hostname is different tho, so ??? [09:00] <-------total newb when it comes to postgres [09:01] pg_restore ...??? [10:39] Hi, i could use some opinions on wether to use lvm or or not when setting up a new server (quad xeon, 4gb, 4x 500 GB, probably in some raid 5 setup). Anyone uses vm ? [10:39] *lvm [11:40] I ordered a Ubuntu server CD via shipit. Where can I see a photo of what the CD case looks like? [11:45] stefg: yes and no is the basic opinion [11:46] LVM is great, if you are familiar with how it works and how it handles RAID [11:46] however, I see many many problems with admins who are unfamiliar with it when a disk issue arises [11:47] as such, I would suggest reading up on LVM and what LVM can do for you before making a decision to use it [11:47] (note, especially in a raid1 config) [11:47] faulkes-: haha .... so is the extra complexity worth the benefits.... and that's the point: what happens in case of disk failure. i know i will have to fmiliarize myself with it, but what about the other admins, who are challenged enough with windows [11:48] the most typical problem I see with LVM is folks who use it in a raid1 config, unfortunately there is an issue right now, in that if there is a dirty disk in raid1 config, it won't mount [11:49] faulkes-: i see... i'm envisioning raid 5 anyway, [11:49] s/dirty/failed/etc.. as raid would think of the disk, not in general if it just requires an fsck [11:50] stefg: a good starting point would be the official forums to see some of the issues, which may be more specific to your own case [11:50] http://ubuntuforums.org/forumdisplay.php?f=7 [11:50] are the server forums [11:51] i.e. are you using dell perc, etc.. [11:52] faulkes-: yup, i skimmed over some forum posts already, and generally understand what it is about. i just have a hard time judging if the added complexity and (possible) i/o overhead pays off in my case [11:52] depends on your case ;) [11:53] faulkes-: samba/ftp and LAMP only for Intranet purposes. some vmware virtual machines. not likely to need more storage space in the next 2 years (so being able to enlarge volumes is nice to have, but not mandatory) [11:53] i/o overhead is generally overrated in my opinion except in very specific situations [11:54] and in those situations you just mentioned, even with heavy use on the samba/ftp/lamp side of things, the i/o overhead is minimal [11:55] as it would seem you are configuring for disaster situation in which a disk dies and such [11:55] the underlying bad feeling i have is: i'd like to have an idea what data go where in physical terms, and i fell i'll never know on which disk an array is actually placed when using lvm [11:57] a not unreasonable fear [11:57] but not one I can address [11:57] * faulkes- is not an lvm expert [11:58] then again though, you do take backups right? ;) [11:59] faulkes-: real men ftp their stuff and let the world mirror it :-) .... of course i'll have a backup server in another building [15:15] any ideas how i can get root privileges on ubuntu server? [15:15] 7.10 [15:15] sudo /bin/bash -i [15:15] from the user i created when i installed system [15:15] returns [15:15] user not in the sudoers file [15:16] the initial user should be in sudoers [15:16] although these days, I think that's via %admin or such [15:16] %admin? [15:16] whats that? [15:17] the admin group [15:17] see man 5 sudoers :) [15:18] worst case, rebooting in single user mode (recovery), or from a livecd will allow one to fix the disk [15:18] sudo su - [15:19] mralphabet: that assumes that the user is in sudoers.... [15:19] true [15:21] * lamont -> yard work [15:33] otherwise: reboot with live disk , chroot into disk environment and set rootpasswd "passwd root" [15:35] Need help with php5-mysql not workping properly [15:35] trying to use e107 cms and all i get back is "e107 requires PHP to be installed or compiled with the MySQL extension to work correctly, please see the MySQL manual for more information." [15:54] i managed to get root [15:54] now how do i configure network card to use dhcp [15:55] ? [15:55] is there a tool for this? [15:55] or do i have to manually edit a file? [15:55] like /etc/network/interfaces? [15:55] iface eth1 inet dhcp [15:55] man interfaces [15:56] Need help with php5-mysql not workping properly [15:56] trying to use e107 cms and all i get back is "e107 requires PHP to be installed or compiled with the MySQL extension to work correctly, please see the MySQL manual for more information." [15:56] did you install php5-mysql? [15:57] acording to the admin yes [15:57] was apache restarted? [15:57] he says he ran apt-get install php5-mysql [15:57] and it stated it was installed [15:57] not sure about that [15:57] create a phpinfo page to confirm the module is loaded correctly [15:58] Hod do i do that [15:58] create a php file containing: [15:58] and open that in your browser [15:58] and search for mysql [16:00] Hey, my server has just started giving me issues [16:00] when it boots, it hits rc.local, and then crashes - before it crashes its pingable by the network, but then it just dissapears again, and wont accept keyboard input (but still displays a picture on the screen) [16:00] is there any particular log i should look at that might help? (it works fine in recovery mode, and memtest looked ok for the 5 or so mins i ran it for) [16:01] what's in your rc.local? [16:01] nothing [16:01] its a tiny bit after rc.local (when the boot process is finished i guess) that it actually stops responding [16:02] then start your system in rescue mode [16:02] and start services one by one [16:03] my server just froze or something (became un pingable and unreachable via ssh at least) so I plugged the old CRT back in and rebooted it, now it just freezes at "loading GRUB" : / [16:04] Kahan: sounds like a disk problem, try a livecd and an fsck, if it makes it through that, try reinstalling grub on the disk [16:05] Deeps, just fsck with no additional args? [16:06] Kahan: well you'll need to specify the target file system [16:07] Death_Sargent: http://i28.tinypic.com/2z3nmg3.png you'll want to see something like that in your phpinfo output [16:07] Death_Sargent: or rather, within the output, they'll be more sections than just the mysql one [16:07] Deeps, kk thanks, I'll check the man page, gonnae give that a try (AFK) [16:10] Deeps, ok I am just having trouble with making the php document as web design is new for me [16:11] how can i work out what starts at boot? [16:17] Yahooadam: look in /etc/rc2.d. links starting with S are started at runlevel 2, which is the default multiuser runlevel in ubuntu [16:17] Yahooadam: the number following the S denotes priority, and the order in which services are started [16:20] ooo [16:20] it appears mysql just crashed my computer [16:20] yep, mysql did it ... [16:21] ok, so how do i stop mysql crashing my computer, preferably without loosing all my data .... [16:21] look through the logs in /var/log (syslog + mysql's) [16:22] thanks Deeps, that fixed it [16:22] your databases should be in /var/lib/mysql [16:22] * Yahooadam goes to reboot his server [16:22] make a backup of that [16:22] Kahan: good stuff! :) [16:23] mysql crashed it? [16:25] ivoks - yep [16:26] i don't see how mysql could crash it [16:26] mysql could consume your CPU, or RAM, or rape your disk, but if it crashed, you have a hardware problem [16:27] well i started mysql and the server stopped responding ... [16:27] that doesn't mean a thing [16:27] start it in resuce mode hit tail -f /var/log/kern.log [16:27] and wait for 5 minutes [16:31] right, ive started everything i had last time except mysql [16:31] waiting 5-10 mins [16:33] if nothing occurs in the next 5-10min, try an fsck [16:38] still responding ok [16:38] how would i run fsck on the root filesystem? [16:38] (i mean, due to it being mounted ...) === dantal1zing is now known as dantalizing [16:40] Yahooadam, it's best done offline [16:47] like, use a livecd or something [17:13] all fs's are clean, but mysql is starting now [17:13] so it mustve been something else [17:22] check logs [17:23] they might some information [17:43] I got something strange going on here. Since a server reboot yesterday, I get about 20 of these messages when i log in: -bash: [: !=: unary operator expected [17:43] furthermore, ls gives this errror: ls: unrecognized prefix: do [17:44] and rm simply does not work [17:44] Haven't tried other command, but i doubt they're all ok [17:44] obviously something is damaged on my system, but what? [17:45] youngmusicorg: all are your partitions mounted? [17:46] yes, they are [17:46] df -h [17:46] mmmm... di you see any error messages during boot? [17:46] did [17:46] I'm on ssh, but let me check the messagelog [17:47] youngmusicorg: you also might check /var/log/boot [17:49] dmesg seems normal [17:49] and log/boot is empty [17:49] :q [17:49] (sorry about the commands) [17:51] it seems nothing has been logged since that new startup [17:51] what heppens if you start another shell using the bash command? [17:52] I started sh yesterday. I can do that and it doesn't give an error. But commands like ls still give the same errors. [17:53] the other commands give the same error? [17:54] ah, i see my system name has also disappeared. The prompt now shows yvan@(none):~$ [17:54] well, not every command gives an error [17:55] it almost seems like something didn't get executed during boot, can you reboot the system? [17:55] it might be better to have physical access to see any errors [17:55] touch works, but rm gives a segmentation fault [17:56] problem is, if i reboot the machine and it doesn't come up, I'll have to travel 2 hours to get there :-( [17:56] ya, I figured that would be an issue [17:56] but it might be my only option indeed [17:56] it just sounds like there a major problems with the system [17:57] that's what i thought. But it's a bit strange because nothing really changed on it [17:57] if it was one command that would be one thing, but since it's multiple commands... [17:58] could be a hardware issue, as well [17:58] wel, i'd better get over there in the morning. [17:58] you could always try rebooting and hope :) [17:58] are other services working? [17:58] thanks for trying to help though [17:58] you're welcome [17:59] i need ssh to this server to reach the rest of the servers. And still have work on those. So it's best to leave it up for now === blue-frog_ is now known as blue-frog [18:18] Since there isn't an ubuntu-server+1, i'll ask this here also. I don't know if it has anything to do with this being a hardy machine anyway. But I tried to start apache on a new machine just now, and it couldn't start because port 80 is in use by a program called "iroffero". I've never heard of that though. Does anyone here know what it is? [18:20] http://forum.joomlafacile.com/showthread.php?p=280880 [18:21] that's in french... [18:22] but there is indeed a joomla site on this server. [18:55] Is it possible to do a ssh session over the internet through a firewall? [18:56] yes [18:56] Nafallo, do I have to modify the firewall settings on the server? [18:57] keithclark: how do you expect me to answer that question? [18:59] keithclark: if i'm not mistaken, ssh listens on port 22. So you'll have to make sure your firewall allows access to that port [18:59] Nafallo, not at all, thanks.....I'll keep searching. I'm new to this ssh and firewall stuff and I thought it was a legitimate question. [19:00] keithclark: all firewalls are different. [19:00] youngmusicorg, thanks.....I'll check that! [19:01] Nafallo, understood. I was just looking for port advice and such. I guess I didn't really provide enough information [19:16] hmm...I am trying to rstart a ssh session over the internet and the terminal just sits there with no response. Any ideas what I'm doing wrong? [19:17] ah, ok, timeout. This is where the firewall is taking effect. [19:38] ok, firewall solved [19:38] next to the ssh service [19:44] hmm, firewall disabled and ssh enabled yet I cannot make contact, any ideas? [19:53] hmm, I can't get seem to get connecte [19:53] d [19:55] let me try rebooting into pclos so that I will be pclos to pclos machines [19:58] ok, that worked, I guess pclos likes pclos and not ubuntu [20:02] but not in ubuntu...hmmm [20:05] ok, I guess I'm stuck in pclos when networking between these two machines.... [20:06] No big deal [20:11] no other solution? [20:23] Tatster: How did you do with the RAID 1 LVM problem? [20:24] Haven't had another chance to look at it yet. [20:24] I'm choosing to tread very carefully because I very keen to keep the data safe that's on there, at least until I can get an up to date backup from it! [20:26] I've been trying to get my 'index.html' file to link to an OO Presentation file...with no luck [20:27] under apache ? [20:27] Yes [20:28] does apache serve the OO file correctly via direct URL ? [20:29] I can get it to link at the server, but not from another machine. === c0ldfusion_ is now known as c0ldfusion [20:30] how about from an IP address based URL rather than a name ie http://1.2.3.4/name-of-oo-file.ext [20:33] I've set it up on the LAN only with 192.168.x.x. (I don't have a domain name yet). I can link to www. ok [20:35] ok, so your webserver is somewhere on the LAN and you are trying to access via http://192.168.x.x./nameoffile [20:37] I've been trying to access http://192.168.x.x/......and have tried to make the link to file that i've put in /home, and /var/web directories [20:38] I'm so new at this its hard to ask a good question. Just harmering away trying to learn something [20:39] Loosewheel: so you don't have a link to the document when you access http://192... [20:40] is that what u mean [20:40] yes [20:40] Do you know how to write html code? [20:41] I used oowriter to make the page and can link to http://www.somewhere but have problem trying to link to the presentation file. and no I don't [20:42] OK; so oowriter created your index.html? [20:43] what did you save the file oowriter created as? [20:43] Where should I put the oo file, (directory)? Yes [20:44] I save as html [20:44] you need to name the file "index.html" and place it in the /var/www/ directory [20:44] unless we're talking about your presentation [20:47] ok. I have one index.html file with a link to the internet. Works. I shoved the presentation file in a folder under /var/www [20:48] ok now you need to edit your index.html and create a link to the presentation [20:48] so what is the path/filename of the presentation [20:48] I tried [20:48] I'm going to give you an example but I need the path/filename [20:49] /var/www/Security/system-security.html [20:50] in your index.html you will find a line that begins with [20:50] on the next line, for example, put this: [20:50] My Presentation [20:52] Ok, and thank you. I'll fire it up and give that a whirl [20:52] yw [21:39] I just installed 7.10; when I boot it goes through all the messages but stops before it gives me a prompt... once I hit a key I get a prompt... how do I set it so it doesn't wait for that key stroke? [21:39] is there something in the bios or is it something in ubuntu server? [22:06] ksclarke, I'm afraid I don't know, does that for my 7.04 as well [22:39] sommer: You dont happen to still be there, do you? [23:32] zylstra555: just came back :) [23:32] sommer: Would you mind kind of resuming from last [night]? I can access my server again [23:33] sure, I need some refreshing though [23:33] sommer: Okay, randomly, my server just goes offline for unknown periods of time [23:33] It just starts timing out [23:34] this only happens to the external network, the localnetwork can continue to access it fine [23:34] ah, I remember now... [23:34] did you try changing the ssh port? [23:34] sommer: That would be through the router (which, I do not have access to remotely) [23:34] ah, gotcha [23:35] my thought then is to look through the logs for network errors [23:35] sommer: But, I do know one thing, its definitely not a port being blocked by the ISP. I have a web application that I access via a port that is not known to be dedicated to a specific service [23:35] sommer: Which logs specifically? [23:35] try /var/log/syslog, and /var/log/daemon.log [23:36] maybe dmesg as well [23:36] grep -i ssh /var/log/syslog will check for ssh issues, for example [23:37] sommer: Well, its not a problem specific to SSH. Its everything, it just becomes completely inaccessible. (> grep -i ssh /var/log/syslog didnt return anything though) [23:38] mmm... and clients on the lan can access the server when it's unavailble from the Internet? [23:38] sommer: That is correct [23:38] does your router have any errors? [23:39] so, that causes me to suspect three things, router, ISP, or an unlikely but possible messed up configuration file [23:39] sommer: It does have a log, I have checked it before, it didnt say anything out of the norm. [23:39] I agree, I'd look into the router next [23:39] ah [23:39] DNS maybe? [23:40] sommer: What could DNS possibly be causing? [23:40] when you can't access the server from the Internet, can it access services on the Internet? [23:40] DNS unavailable perhaps? [23:40] from the server's prospective that is [23:41] sommer: I am pretty sure that it can access the internet while users cannot connect to it. (Since I frequently run sudo apt-get update and that works fine) [23:42] do you run that from a cron job? [23:42] sommer: No, I usually run the update command manually [23:42] (the server is usually literally right behind me, I am in a remote location at the moment) [23:43] ah, so even when access from outside is unavailable you can still apt-get update? [23:43] sommer: Yes, when I am there, I am able to run apt-get update when its not able to access anything from the outside [23:44] hrmmm... that does then seem to be something with the ISP to me [23:44] sommer: Perhaps. Is there any way to rule that out? [23:45] maybe contact your ISP when the service is unavailable and get their input [23:45] maybe they can access the service since they're closer on the network, kind of thing [23:45] This is the only error in the daemon.log file that I see having to possibly do with the internet: Apr 3 21:15:28 ubuntu dhclient: can't create /var/lib/dhcp3/dhclient.eth0.leases: Permission denied [23:46] are you using the Ubuntu Server Edition or server applications installed on the desktop edition? [23:47] I guess I've assumed that the server has a static IP [23:47] sommer: I am using Ubuntu Server 8.4 Hardy Heron. I had the same problem when using 7.10 [23:47] and it's configured with a static IP? [23:47] sommer: Well, its a dynamic IP that never changes [23:48] (if that makes any sense) [23:48] ah, configured in your dhcp server? are you sure it never changes ;) [23:48] The server itself connects to the router (directly) and obtains the same address every time: 192.168.1.7 [23:49] just to rule that possiblity out I'd recommend setting a static IP on the server [23:49] All the necessary ports are forwarded. I can guarantee you the address never changes though [23:50] http://66.172.101.25 [23:50] (www.zylstrablog.co.nr) [23:52] Which, is running right now [23:52] is that a static IP from your ISP ? [23:53] sommer: No, not static. I believe the main reason why the address never changes, besides they do always reassign the same address as most ISP's do, is because to connect to my ISP, you need to sign into it via PPoE, which, is configured in the router. (Its a Fiberoptic connection) [23:54] from my experience I usually get the same IP from my ISP, but if my router goes down due to power outage, or whatever, I sometimes get a new one. [23:54] sommer: I never do (and I just had a 2.5 hour power outage) [23:55] ah, I'd bet it's either something with your ISP, or with your IP address, public or private [23:56] some ISPs will block you from running a website on a home type of account... at least in the US [23:56] sommer: I suppose I can call them. (Ill just tell them its a remote FTP backup that I do from my computer that keeps disconnection, in case they dont want home servers, which, isnt against their policy) [23:56] sommer: Thanks for your help [23:56] some require a business level account which means more $$$ you have to pay them [23:57] zylstra555: no problem [23:57] sommer: Its a small ISP, they have business accounts, but, the only difference is a higher price. Its the equivalent of the home account, but, with a bit more bandwidth [23:58] Does a default Ubuntu Server install automatically apply security updates? [23:58] BarryToeman: The last time I checked, no. You can schedule it to do so through cron jobs (which, I dont personally use, so, you would have to ask someone else) [23:59] zylstra555: thanks.