teamcobra | sommer, do you have any more information on using gidNumber to make the quota through ldap work? | 01:21 |
---|---|---|
teamcobra | I haven't had much success finding _good_ info on it | 01:22 |
sommer | teamcobra: are you using OpenLDAP? | 01:26 |
teamcobra | yes sir :) | 01:26 |
teamcobra | I was told that a slapd overlay might be the way to go, but info on that is kind of scarce too | 01:26 |
sommer | and you have user entries in your directory? | 01:26 |
sommer | I use objectClass=posixAccount for my user entries and I think gidNumber is part of that | 01:27 |
teamcobra | yes, but only a couple... and I don;t care if the quota doesn't apply to them | 01:27 |
sommer | so are you migrating existing user's into LDAP? | 01:28 |
sommer | 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 |
sommer | seems like user posixAccounts need both a uidNumber and gidNumber | 01:29 |
teamcobra | actually, no... liferay (www.liferay.com) creates the users in ldap | 01:29 |
sommer | for permissions and such | 01:29 |
teamcobra | and I have autodir working | 01:29 |
Silvanov | 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 |
teamcobra | so each user gets a home | 01:30 |
teamcobra | and can be added to the nxserver/other services | 01:30 |
teamcobra | Silv: I've set up one before | 01:30 |
teamcobra | asterisk is the app, and I'll find the distro | 01:30 |
teamcobra | asterisk is actually a lot of fun ;) | 01:31 |
Silvanov | awesome! thanks teamcobra. | 01:31 |
teamcobra | http://slast.org/ looks nice ;) | 01:31 |
sommer | teamcobra: ah, never seen liferay before... can you get a list of attributes that they use in their LDAP entries? | 01:32 |
sommer | do you configure your server to use their LDAP for auth, permissions and suck? | 01:32 |
sommer | such rather | 01:32 |
sommer | heh | 01:32 |
Silvanov | teamcobra: mind if I PM? | 01:33 |
teamcobra | sure, give me a couple minutes and I'll make a pastebin | 01:33 |
teamcobra | silv: no problem | 01:34 |
keithclark | 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:43 |
sommer | tes | 01:44 |
sommer | or yes | 01:44 |
keithclark | Wow, so simple and powerful | 01:45 |
sommer | be careful with the powe... it's intoxicating :) | 01:46 |
sommer | or power... heh | 01:46 |
keithclark | hahahaha, yes.... | 01:46 |
kgoetz | keithclark: dont know what sort of link your using but ssh -CX would be good on slow links | 01:47 |
kgoetz | keithclark: dont know what sort of link your using but ssh -CX would be good on slow | 01:47 |
keithclark | kgoetz, what is the difference? | 01:47 |
kgoetz | keithclark: -C is compression | 01:47 |
keithclark | ah, let me try that! | 01:47 |
kgoetz | 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 |
keithclark | It is working about as fast a local! | 01:49 |
kgoetz | :) | 01:50 |
andguent | if just running on a LAN, -C is useless, if running over slow-medium grade internet, it's great :) | 01:50 |
teamcobra | the next step is to make hpn-ssh the default in ubuntu | 01:50 |
teamcobra | now _that_'d be killer | 01:50 |
keithclark | Ah, I am running local. | 01:50 |
teamcobra | multithreaded ssh, ftw | 01:50 |
keithclark | local network that is. | 01:51 |
keithclark | 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:51 |
andguent | 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:54 |
keithclark | andguent.....That was kind of the idea, on a much smaller scale. | 01:55 |
keithclark | andguent, I'm just learning here. | 01:55 |
andguent | 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 |
keithclark | 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. | 01:56 |
andguent | 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:03 |
keithclark | 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:05 |
keithclark | 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:13 |
keithclark | Maybe I should be using client/server terminology instead of local/remote? | 02:15 |
teamcobra | keith: what is it? | 02:15 |
teamcobra | yeah, ssh works like that, I use nx on servers to serve up remote desktops | 02:15 |
keithclark | teamcobra, it is just so fast. | 02:16 |
teamcobra | apps run on the server, graphics/mouse are tunneled through ssh to keep it encrypted, very nice | 02:16 |
keithclark | teamcobra, yeah, I can invest in the one server machine and use cheapies for the rest of the machines. | 02:17 |
teamcobra | sommer: had to fix another problem, my layout went crazy... fixed it now, getting those ldap settings | 02:17 |
teamcobra | keith: I'm launching a platform for business to do that w/o buying the server... hopefully tonight/tomorrow ;) | 02:18 |
teamcobra | 1 more thing to iron out | 02:18 |
keithclark | teamcobra, exciting stuff! | 02:19 |
mralphabet | 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:20 |
keithclark | teamcobra, so all I really need is just a basic ubuntu installation on the client machines then? No apps really? | 02:21 |
teamcobra | right... some apps are better suited to being on the machine, but only really heavy stuff | 02:22 |
keithclark | 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:22 |
keithclark | 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:24 |
teamcobra | well, not even gaming... more like blender, etc | 02:25 |
teamcobra | heavy gimp usage | 02:25 |
teamcobra | vid editing | 02:26 |
keithclark | teamcobra, not too much. DVD copying from time to time and DVD creation. | 02:26 |
teamcobra | 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:29 |
teamcobra | the admin dn is just cn=admin,dc=mydomain,dc=com | 02:30 |
sommer | teamcobra: I could be wrong, but it looks like you need to add objectClass=posixAccount | 02:34 |
rhineheart_m | 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 |
sommer | that should give you the gidNumber attribute, but there maybe another attribute you can use for what you're trying to accomplish | 02:34 |
teamcobra | and I add that to the Import Search Filter? | 02:35 |
teamcobra | under groups | 02:35 |
sommer | ya, I'm not too sure | 02:36 |
=== jjesse_ is now known as jjesse | ||
sommer | you could definitely try that | 02:37 |
sommer | my experience with LDAP is administering my own server, which gives you the control to add those type of things :) | 02:37 |
teamcobra | sommer: aha, that does show groups now | 02:37 |
sommer | but I'm sure if you ask the admins they'll be able to help you out | 02:37 |
sommer | cool | 02:38 |
teamcobra | heh, unfortunately, I'm the one adminning this ;p | 02:38 |
jjesse | evening :) | 02:38 |
teamcobra | and well, I've been having a weeklong crash-course in ldap ;p | 02:38 |
teamcobra | evening jjesse | 02:38 |
sommer | uhhh, maybe then I don't understand, are you liferay? | 02:39 |
sommer | hey jjesse | 02:39 |
teamcobra | ohh, no | 02:39 |
sommer | teamcobra: as in are you hosting liferay | 02:39 |
sommer | or a customer of liferay? | 02:39 |
teamcobra | haha, no... and I've been searching the forums for that | 02:39 |
teamcobra | just a liferay user... admin of the server that is being configged | 02:40 |
teamcobra | sorry for the confusion there ;) | 02:40 |
sommer | okay, I'm with ya, you should then just need to configure your server look into libnss-ldap | 02:41 |
sommer | if you haven't already :-) | 02:41 |
teamcobra | I believe it's set up properly, ldap works fine | 02:43 |
keithclark | 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:43 |
teamcobra | http://ubuntuforums.org/showthread.php?t=689229, should help | 02:45 |
teamcobra | I'm lagged | 02:45 |
rhineheart_m | 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:46 |
keithclark | teamcobra, no, not working...hmmmm | 02:49 |
teamcobra | hrmm | 02:51 |
keithclark | It allows me to recreate, but the new user just does not appear....no errors. | 02:52 |
teamcobra | odd | 02:52 |
keithclark | maybe a reboot (to quote Windows) | 02:53 |
teamcobra | heheh | 02:54 |
keithclark | In Windows it seems to solve every problem! | 02:55 |
keithclark | I have not rebooted my main server for like 3 months! | 02:55 |
keithclark | No, sorry....I lied....two months | 02:56 |
keithclark | Actually, I should not make fun, I once went about 2 months with XP | 02:57 |
keithclark | ONCE | 02:58 |
keithclark | Ok, reboot does not work.\ | 02:58 |
teamcobra | hrmm | 02:59 |
teamcobra | not sure, will keep looking in a sec, fighting w/ my own user battle (should be done soon) | 02:59 |
keithclark | (my earlier ramblings were meant as comedy relief btw) | 02:59 |
andguent | 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:02 |
keithclark | andguent, oh yeah....everything windows is "reboot" | 03:03 |
jjesse | my windows servers I only reboot for patches | 03:03 |
andguent | keithclark: remember the days where changing your IP address required a reboot? yea.... | 03:03 |
jjesse | everything else runs stable and rock solid | 03:03 |
andguent | I don't miss that | 03:04 |
teamcobra | 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 |
teamcobra | so not even an IE pwning... it was scanned and rooted before any patches could be applied ;p | 03:04 |
keithclark | andguent....a software install required a reboot!!!!!!!!!!!!!!!!!!!!!!!!1 | 03:05 |
keithclark | 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:05 |
jords | lol I love it how all the installers still tell yoy to shut down all other programs on your computer before installing | 03:06 |
andguent | yes, but that still happens today, even Windows 2000 can handle an IP address change without rebooting | 03:06 |
keithclark | Windows 2000 was ok | 03:06 |
jjesse | win 2k3 doens't have that problem | 03:07 |
keithclark | I did not say great, I said ok | 03:07 |
andguent | 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:08 |
keithclark | hahahhahahahahahah......... | 03:09 |
keithclark | with no shoes | 03:09 |
rhineheart_m | 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:12 |
keithclark | rhineheart_m, in all my years I've learned that there are no quick questions! | 03:14 |
rhineheart_m | okay.. so it is not.. :) | 03:14 |
keithclark | no, just an observation, sorry | 03:15 |
rhineheart_m | mmm.. so have an idea? keithclark? | 03:15 |
keithclark | thinking...... | 03:16 |
keithclark | searching....... | 03:16 |
rhineheart_m | hehehehe.. that's great! :) | 03:16 |
jords | 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:17 |
keithclark | Sorry, had to protect my son's computer with dansguardian.....no more "Monster" sites.... | 03:22 |
teamcobra | :) | 03:27 |
kgoetz | rhineheart_m: look in your bloody logs for once | 03:28 |
kgoetz | jords: edit /etc/aliases and edit the root: line | 03:28 |
kgoetz | keithclark: no more wedding sites either ;) | 03:29 |
kgoetz | or any site that talks about "cocktails" | 03:29 |
rhineheart_m | kgoetz, I cannot see any logs there telling me errors why it can't accept mails from yahoo.com | 03:29 |
teamcobra | bahaha ;) | 03:29 |
kgoetz | teamcobra: you can laugh :p | 03:30 |
keithclark | kgoetz:???? | 03:30 |
kgoetz | keithclark: :) | 03:30 |
keithclark | Why would flash not work on a user when it works on an administrator? | 03:31 |
teamcobra | the cocktails one was punny ;) | 03:31 |
kgoetz | because it wasnt intalled globally? | 03:31 |
teamcobra | I needed a lauch, watching Hitman and working w/ ldap, 2 very grim things | 03:31 |
teamcobra | laugh | 03:31 |
keithclark | kgoetz, and to do so? | 03:32 |
kgoetz | keithclark: no idea. i dont use flash | 03:32 |
kgoetz | althought it sounds like an #ubuntu question to me | 03:32 |
keithclark | teamcobra, kgoetz, yes, cocktail was funny | 03:32 |
keithclark | do I sound like a straight nerd here? | 03:33 |
teamcobra | everyone has a nerd moment sometime ;p ;p | 03:34 |
keithclark | Ok, my son just wants to play a game that requires flash........and it does not. | 03:35 |
keithclark | Ok, nevermind, it's his bedtime.....maybe nextime! Thanks. | 03:37 |
teamcobra | keith: using gnash? | 03:40 |
keithclark | gnash? | 03:40 |
teamcobra | gnash doesn't play _everything_ yet.... it's getting there, but not quite | 03:40 |
teamcobra | yeah, the gpl flash plugin | 03:41 |
keithclark | Hey, we got so far today.....let's see what tomorrow brings. | 03:41 |
keithclark | Thank you all for the help | 03:41 |
teamcobra | for max compatibility, I'd say just use the lame adobe one | 03:41 |
teamcobra | k, gnit | 03:41 |
teamcobra | gnite | 03:41 |
keithclark | No, I'm not tired | 03:41 |
keithclark | Just so much fun here | 03:41 |
teamcobra | :) | 03:43 |
keithclark | I still cannot believe that this is a connection between this feeble machine and the server upstairs. | 03:45 |
teamcobra | :) webdav is the next step | 03:46 |
teamcobra | it'll rock your world | 03:46 |
teamcobra | ;) | 03:46 |
dthacker | ghostnob: hostname -f returns the fully qualified domain. What were you expecting? | 04:25 |
rhineheart_m | can plesk be installed in ubuntu? is it supported by cannonical | 04:25 |
ghostnob | i was expecting hostname to return ghost1.mydomain.com | 04:25 |
Silvanov | isnt plesk commercial/not open source? | 04:25 |
rhineheart_m | Silvanov, it is commercial | 04:26 |
ghostnob | the tutorial said: "Both should show server1.example.com. If they do not, reboot the system:" when you run hostname and hostname -f | 04:27 |
dthacker | hostname (no params) only returns the short hostname, so in the example you just gave it would return "ghost1" | 04:28 |
dthacker | !commercial | 04:29 |
ubotu | Sorry, I don't know anything about commercial - try searching on http://ubotu.ubuntu-nl.org/factoids.cgi | 04:29 |
ghostnob | o ok... thanks dthacker | 04:29 |
dthacker | ghostnob: you may want to look at "man hostname" to check out the options. | 04:30 |
ghostnob | ok... | 04:31 |
ghostnob | and I can't run GUI in the server edition. when I type startx it gives me error even though I installed init | 04:32 |
rhineheart_m | ghostnob, do you really want the GUI? | 04:33 |
ghostnob | yeah... | 04:34 |
dthacker | rhineheart_m: I did a quick search on packages.ubuntu.com, and I don't see plesk. | 04:34 |
rhineheart_m | dthacker, thanks for your fingers for doing the search.. | 04:34 |
dthacker | ghostnob: use the command line force. let go of your gui-ness ;) | 04:34 |
ghostnob | just want to see how it looks before I setup everything finally on my second computer | 04:34 |
ghostnob | coolll | 04:34 |
ghostnob | I just force | 04:35 |
ghostnob | I should just type force | 04:35 |
dthacker | rhineheart_m: you might want to bookmark that page, very handy | 04:35 |
dthacker | !restricted | 04:35 |
ubotu | 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:35 |
* dthacker shakes his head and mutters. | 04:36 | |
patoe1 | hello | 05:13 |
patoe1 | is anyone here? | 05:13 |
foo | patoe1: Ask your question, always. | 05:14 |
patoe1 | 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 |
foo | ubuntu server doesn't have X, it's all command line | 05:15 |
patoe1 | oh... | 05:15 |
patoe1 | lol that sounds really difficult | 05:15 |
patoe1 | well whats the best linux os for a less experienced person | 05:16 |
foo | Ubuntu server is meant to be run on a server | 05:16 |
foo | "best" is subjective. kubuntu or ubuntu should be fine | 05:16 |
patoe1 | is xubuntu good to? | 05:17 |
patoe1 | i find the Xfce better :p | 05:17 |
foo | Or, that too. Again, "best" is subjective. Try them, see what you like, and stick with it :) | 05:18 |
patoe1 | ok :D | 05:18 |
patoe1 | 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:19 |
foo | Depends. You can run some windows programs with WINE | 05:20 |
foo | 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:20 |
patoe1 | ok thanks | 05:23 |
murray98 | hi guys, I'm doing an upgrade of torrentflux-b4rt and running into a wall repeatedly. | 05:28 |
murray98 | whenever I enter " tar -xjvf torrentflux-b4rt_1.0-beta2.tar.bz2" | 05:29 |
murray98 | I get "bzip2: (stdin) is not a bzip2 file. | 05:30 |
murray98 | tar: Child returned status 2 | 05:30 |
murray98 | tar: Error exit delayed from previous errors" | 05:30 |
murray98 | would be eternally grateful if anyone can offer a smidgen of advice!:) | 05:31 |
sommer | are you sure the file isn't corrupted? | 05:31 |
sommer | the bzip file that is | 05:32 |
sommer | try file torrentflux-b4rt_1.0-beta2.tar.bz2 | 05:32 |
sommer | and see what it says | 05:32 |
* rhineheart_m wants to ask sommer if he knows a better combination of webhosting panel for gutsy server | 05:33 | |
sommer | what's a webhosting panel? | 05:33 |
murray98 | hey sommer, it says it's an HTML document text. I used Wget to dl it - what am I doing wrong? | 05:34 |
murray98 | here is the website I'm dling from: https://developer.berlios.de/project/showfiles.php?group_id=7000&release_id=14392 | 05:35 |
sommer | ya, seems like it didn't actually download a bzip file | 05:35 |
sommer | have you tried a regular browser? | 05:36 |
sommer | you could then copy the file to your server or whatever | 05:36 |
murray98 | well, I'm trying to dl it to my Ubuntu Server via SSH via my terminal | 05:36 |
sommer | sure, but sometimes downloads are "wrapped" by server side scripts... which probably confuses wget | 05:37 |
murray98 | i see | 05:38 |
sommer | you can use scp to copy the file from a client to your server | 05:38 |
murray98 | 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 |
sommer | not sure try wget --help | 05:39 |
sommer | I don't mean to rtfm you, but I"m not that familiar with wget's options | 05:40 |
murray98 | totally cool. I major appreciate you taking the time! | 05:40 |
sommer | np | 05:40 |
murray98 | i will check out the help section, see if there's some insight there. | 05:40 |
murray98 | thanks a lot | 05:40 |
sommer | murray98: welcome | 05:44 |
sommer | rhineheart_m: what web hosting panel are you looking for? | 05:44 |
rhineheart_m | sommer, the one that could manage basic services for webhosting. like that of plesk | 05:45 |
sommer | I guess the only one I know of would be eBox | 05:45 |
sommer | do you host websites? | 05:45 |
rhineheart_m | sommer, yeah I do | 05:47 |
sommer | ah, cool | 05:47 |
sommer | I hate to say it, but I think at this point there may not be too many options for that kind of thing | 05:48 |
sommer | but there's always the configuration files :-) | 05:49 |
teamcobra | sommer: ever use lamdaemon? | 05:49 |
sommer | nope, can't say I have | 05:50 |
teamcobra | ok | 05:55 |
sommer | is that a management app? | 05:55 |
teamcobra | yes, and it can handle quotas through a script supplied | 05:58 |
sommer | cool | 05:58 |
sommer | I've been contemplating cfengine and puppet myself | 05:59 |
sommer | lately anyway :) | 05:59 |
teamcobra | 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 |
teamcobra | :/ | 06:00 |
sommer | oh woops, didn't realize you were talking about LDAP | 06:00 |
sommer | is that the groups thing? | 06:00 |
teamcobra | yea | 06:01 |
sommer | 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:01 |
sommer | are the attributes in the screenshot the only ones you get? | 06:02 |
teamcobra | yeah, I'm having a near aneurysm ;p | 06:02 |
sommer | heh, I can relate to that | 06:03 |
sommer | I think the issue is that you don't have the attributes for what you are trying to accomplish | 06:03 |
teamcobra | 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:03 |
sommer | sure | 06:04 |
sommer | so depending on how you create the user would determine how they are added to the group | 06:04 |
teamcobra | yes, but there's a configuration box to add users to a group automatically | 06:05 |
sommer | but is that group LDAP or posix? | 06:05 |
teamcobra | pretty sure it's ldap, 1 sec | 06:05 |
sommer | are you familiar with Active directory? | 06:06 |
teamcobra | ldap defined posixGroup | 06:06 |
teamcobra | not very :/ a little bit, I've gotten auth working, and creating users on 2 different machines | 06:07 |
sommer | cool, I was just going for an anology to help explain | 06:07 |
sommer | 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 |
sommer | if that makes sense | 06:08 |
teamcobra | ahh, I wasn't sure if they could share numbers | 06:08 |
teamcobra | that clears up a _LOT_ | 06:09 |
teamcobra | brb | 06:09 |
sommer | sure they can they're two different systems :-) | 06:09 |
sommer | at least that's the way I think of it | 06:09 |
sommer | but they can serve the same function, so it can be confusing | 06:10 |
teamcobra | and the ldap group will inherit the posix group's quota? | 06:11 |
sommer | basically | 06:11 |
sommer | yes | 06:11 |
sommer | if you configure the system to look at ldap for group information | 06:12 |
sommer | which is where nss-ldap/libpam-ldap comes in | 06:12 |
sommer | err, libnss-ldap | 06:13 |
teamcobra | ok, I do have that installed, will look at its conf | 06:19 |
sommer | there's also a guide in the ubuntu wiki, not sure how up to date it is though | 06:20 |
sommer | should point you in the right direction | 06:21 |
creAtion | interesting to see that Sun are looking to Ubuntu Servers for the development in the future | 06:22 |
creAtion | http://seekingalpha.com/article/71011-sun-microsystems-next-linux-move | 06:22 |
teamcobra | also interesting that they've grabbed virtualbox | 06:26 |
creAtion | yeah I hope MySQL and virtualbox don't change their licensing | 06:27 |
sommer | is virtualbox sun? | 06:27 |
teamcobra | it is now | 06:28 |
sommer | eh, didn't know that, kinda cool | 06:28 |
creAtion | if Sun want to work more closely with Ubuntu Server hopefully we can get things like ZFS ported over | 06:29 |
sommer | 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 |
sommer | zfs would be cool too :) | 06:29 |
teamcobra | raidz would be very cool ;) | 06:31 |
teamcobra | Cannot write to `radiofreefinland_20051030_Matti_Hautsalo_KEPA_global_trade_WTO_32kbps.mp3' (Disk quota exceeded). | 06:37 |
teamcobra | :D :D now to try it with liferay, brb, victory cigarette is in order ;) | 06:38 |
sommer | I'm with that | 06:38 |
murray98 | 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 |
murray98 | oops, sommer! | 06:39 |
murray98 | bleary eyed misspelling | 06:39 |
sommer | db-config? | 06:39 |
sommer | for you site? | 06:39 |
murray98 | yes, this file: inc/config/config.db.php | 06:40 |
murray98 | for my TF-b4rt | 06:40 |
sommer | ah, what db are you using? | 06:40 |
murray98 | mysql (did I answer that right? Sorry, kind of a noob with this) | 06:40 |
sommer | yep, sounds about right | 06:41 |
sommer | murray98: have you setup a database and database user for you site? | 06:41 |
murray98 | 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:42 |
sommer | ah, did it get overwritten in the upgrade? if so do you have a backup? | 06:43 |
sommer | of the config file that is | 06:44 |
murray98 | 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 |
murray98 | i don't have a backup. nothing super valuable on there, fwiw. | 06:44 |
murray98 | 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 |
murray98 | i'm merely upgrading | 06:45 |
murray98 | what I did was change the config.db.php.dist file to "config.db.php." | 06:46 |
murray98 | i saw that mentioned in a previous forum so I tried it out. Would that be the source of my problem? | 06:47 |
sommer | ah, did you try renaming config.db.php. back to the original name? | 06:47 |
murray98 | no! | 06:47 |
murray98 | ok, lemme try now. | 06:47 |
sommer | I'd to a copy instead of a mv... so that you have a backup :) | 06:48 |
murray98 | k | 06:48 |
murray98 | now reboot? | 06:48 |
sommer | not sure, probably shouldn't need to | 06:48 |
sommer | maybe try refreshing our browser | 06:49 |
ghostnob | can someone help. I need to run my ubuntu server edition in GUI mode. How can I do that? | 06:49 |
sommer | !servergui | 06:49 |
ubotu | 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:49 |
sommer | ghostnob: the above site should document the process | 06:50 |
ghostnob | ok.. thanks... I'm just testing thing and I will surely go through the documentation... thanks | 06:50 |
sommer | no problem | 06:50 |
murray98 | darn it. still says my Tf-b4rt is not found. | 06:52 |
murray98 | how can I verify that I have the correct settings for my config.db.php file? | 06:52 |
zylstra555 | 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 |
sommer | is "Tf-b4rt" the name of your site? | 06:53 |
murray98 | the URL I'm acccessing when I use tf-b4rt, from my other computer, is http://192.168.1.124/torrentflux/index.php | 06:53 |
sommer | murray98: does it work from a browser? or just from a torrent client? | 06:54 |
sommer | as in should it work from a regular browser? | 06:54 |
murray98 | sommer: yes, it works from a browser. | 06:54 |
sommer | did your apache configuration change? | 06:55 |
murray98 | 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:57 |
sommer | yaaa, that could be an issue... which files did you delete? | 06:58 |
sommer | the default is /var/www | 06:58 |
sommer | zylstra555: what do mean by staying connected? network? | 06:58 |
zylstra555 | sommer: Its suddenly not accessible to the outside for an unknown period of time | 06:59 |
sommer | is there anything in the logs? | 06:59 |
sommer | /var/log/syslog ? | 06:59 |
zylstra555 | sommer: I am not sure where they would be located | 06:59 |
murray98 | sommer: I deleted /usr/share/torrentflux/www | 06:59 |
murray98 | that should be /usr/share/torrentflux/www/ | 07:00 |
zylstra555 | 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 |
sommer | murray98: ya, I'd be that apache is still looking for that directory | 07:00 |
zylstra555 | sommer: I'm pinging it continuously in hopes that it might come back up. | 07:00 |
sommer | murray98: you should try extracting the new version into there | 07:00 |
sommer | zylstra555: ya, could be anything then... hardware, network, etc | 07:01 |
murray98 | sommer: extract the entire original tarball into there? | 07:01 |
sommer | 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 |
murray98 | or just the html dir? | 07:02 |
murray98 | hmmm. interesting. will give it a whirl and report back. Thanks! | 07:03 |
sommer | np | 07:03 |
zylstra555 | 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:04 |
sommer | zylstra555: possibly, but it's hard to tell without input from the box itself | 07:05 |
sommer | how long has it been inaccessible? | 07:05 |
zylstra555 | sommer: Thats the other problem, I dont know how long exactly it stays connected for. | 07:06 |
sommer | okay, because you're not connected now? or because you can't connect? | 07:07 |
zylstra555 | 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:07 |
sommer | how do you connect ssh? | 07:08 |
zylstra555 | 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:08 |
sommer | for me that would mean something serious, but depending on your ISP they could be blocking I guess | 07:09 |
sommer | 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 |
zylstra555 | 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:10 |
rhineheart_m | can anybody here help me to diagnose why I am not receiving mails from yahoo.com? | 07:21 |
concatenate | sure, describe the problem | 07:22 |
concatenate | you have your own domain and do your own DNS and MTA? | 07:22 |
rhineheart_m | yeah.. actually.. it did work before.. | 07:23 |
murray98 | 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 |
rhineheart_m | how would I know if it is related to firewall configurations. | 07:23 |
sommer | murray98: welcome, I think I'm done for night as well | 07:23 |
rhineheart_m | it just started when I changed router.. but I port forwarded already 143 and 110 | 07:23 |
concatenate | do you get mail from anyone rhinehart_m? | 07:24 |
rhineheart_m | concatenate, within the system. I can receive mails.. like sending from other user in the same domain | 07:24 |
rhineheart_m | but from yahoo.. it won't | 07:24 |
concatenate | rhineheart_m: you have a dumb home router like a linksys? So you have MX records pointing to your domain? | 07:25 |
concatenate | if so what's the domain? | 07:25 |
rhineheart_m | yeah.. I have it.. linksys | 07:26 |
concatenate | 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 |
concatenate | you only mentioned POP/IMAP so far | 07:27 |
rhineheart_m | concatenate, I have postfix and courrier-imap running in my box | 07:28 |
concatenate | rhineheart_m: ok so what's the domain? I can test it remotely quite easily | 07:28 |
rhineheart_m | concatenate, can I send it in PM? | 07:29 |
concatenate | sure | 07:29 |
concatenate | or just email me at nate at campin.net and I'll see it | 07:30 |
rhineheart_m | how about just telling me how to test it? I am working remotely.. | 07:31 |
concatenate | 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:32 |
concatenate | 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 |
rhineheart_m | concatenate, you mean.. I need port 25 to be open not just ports 110 and 143? | 07:33 |
concatenate | rhineheart_m: correct that's the SMTP port | 07:33 |
rhineheart_m | concatenate, that's the port I missed to open | 07:33 |
concatenate | sometimes you'll open up some higher ports for non STARTTLS encrypted mail too, but that's not required or even normal | 07:33 |
rhineheart_m | so, if ports 110 143 are only open.. it can't receive mails from the outside, concatenate? | 07:34 |
concatenate | rhineheart_m: correct | 07:34 |
concatenate | 110 and 143 are POP and IMAP | 07:34 |
concatenate | you don't really want those unless you force STARTTLS - those aren't encrypted | 07:34 |
rhineheart_m | concatenate, and they are for fetching mails from postfix only.. correct? | 07:34 |
concatenate | you want the SSL wrapped version | 07:35 |
concatenate | correct,from courier or whatever you're using | 07:35 |
concatenate | postfix is just SMTP and delivery, strictly speaking | 07:35 |
unop_ | rhineheart_m, you need port 25 forwarded if your SMTP server is ever to recieve mails from another | 07:35 |
rhineheart_m | concatenate, within the LAN | 07:35 |
concatenate | it doesn't do POP or IMAP | 07:35 |
concatenate | 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:36 |
rhineheart_m | concatenate, that's a great idea! how to do it? | 07:37 |
concatenate | egrep 'imaps|pop3s' /etc/services | 07:37 |
concatenate | you'll see the port numbers | 07:37 |
concatenate | on ubuntu server? I seem to only have Debian boxes handy ;) | 07:37 |
rhineheart_m | I am using ubuntu... egrep 'imaps|pop3s' /etc/service gives me an error | 07:38 |
concatenate | 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 |
concatenate | oh /etc/services | 07:38 |
concatenate | sorry | 07:38 |
concatenate | rhineheart_m: oh I had it right, you musta cut-n-pasted and missed a char | 07:39 |
rhineheart_m | I got 993 and 995 | 07:41 |
concatenate | 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 |
concatenate | the first it better, since it can do STARTTLS for nicely behaved clients | 07:44 |
concatenate | but the wrapper thing works fine | 07:44 |
concatenate | then don't even support unencrypted POP or IMAP | 07:44 |
concatenate | those days are over, don't even do it | 07:45 |
rhineheart_m | thanks.. what client you use to fetch mail? | 07:45 |
concatenate | 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 |
concatenate | personal used to be postfix and local mutt on my mail server | 07:46 |
concatenate | these days it's actually hosted by google after my mail server died :( | 07:47 |
concatenate | and I just use the web interface for now | 07:47 |
rhineheart_m | do you host multiple websites concatenate ? | 07:47 |
concatenate | rhineheart_m: well just for me and family, my job is running web sites though, but not a hosting company, online advertising | 07:48 |
rhineheart_m | do you use web based control panel ? | 07:48 |
concatenate | rhineheart_m: no, it's only me administering it, so no need | 07:49 |
rhineheart_m | okay.. I have plans actually to host some sites...maybe 4 | 07:50 |
concatenate | 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 |
rhineheart_m | but I need web interface for them...got an idea? | 07:50 |
concatenate | 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:51 |
rhineheart_m | concatenate, yeah.. its not free | 07:56 |
concatenate | rhineheart_m: webmin might be able to help, but I've really never used that either | 08:00 |
concatenate | you should find some mailing list full of web hosting types and ask them | 08:00 |
rhineheart_m | where? | 08:01 |
concatenate | rhineheart_m: check the debian lists - I seem to remember a debian hosting/ISP list or something | 08:07 |
rhineheart_m | concatenate, have you heard about ISPConfig? | 08:08 |
=== rhineheart_m is now known as rhineheart_m_ | ||
=== rhineheart_m_ is now known as rhineheart_m | ||
dennister | hey guys...hoping someone can help me restore a postgres db...never done this b4 and don't even know if I can | 08:58 |
dennister | 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 |
dennister | <-------total newb when it comes to postgres | 09:00 |
dennister | pg_restore ...??? | 09:01 |
stefg | 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 |
stefg | *lvm | 10:39 |
theunixgeek | I ordered a Ubuntu server CD via shipit. Where can I see a photo of what the CD case looks like? | 11:40 |
faulkes- | stefg: yes and no is the basic opinion | 11:45 |
faulkes- | LVM is great, if you are familiar with how it works and how it handles RAID | 11:46 |
faulkes- | however, I see many many problems with admins who are unfamiliar with it when a disk issue arises | 11:46 |
faulkes- | 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 |
faulkes- | (note, especially in a raid1 config) | 11:47 |
stefg | 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:47 |
faulkes- | 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:48 |
stefg | faulkes-: i see... i'm envisioning raid 5 anyway, | 11:49 |
faulkes- | s/dirty/failed/etc.. as raid would think of the disk, not in general if it just requires an fsck | 11:49 |
faulkes- | 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 |
faulkes- | http://ubuntuforums.org/forumdisplay.php?f=7 | 11:50 |
faulkes- | are the server forums | 11:50 |
faulkes- | i.e. are you using dell perc, etc.. | 11:51 |
stefg | 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 |
faulkes- | depends on your case ;) | 11:52 |
stefg | 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 |
faulkes- | i/o overhead is generally overrated in my opinion except in very specific situations | 11:53 |
faulkes- | 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:54 |
faulkes- | as it would seem you are configuring for disaster situation in which a disk dies and such | 11:55 |
stefg | 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:55 |
faulkes- | a not unreasonable fear | 11:57 |
faulkes- | but not one I can address | 11:57 |
* faulkes- is not an lvm expert | 11:57 | |
faulkes- | then again though, you do take backups right? ;) | 11:58 |
stefg | faulkes-: real men ftp their stuff and let the world mirror it :-) .... of course i'll have a backup server in another building | 11:59 |
symtab | any ideas how i can get root privileges on ubuntu server? | 15:15 |
symtab | 7.10 | 15:15 |
symtab | sudo /bin/bash -i | 15:15 |
symtab | from the user i created when i installed system | 15:15 |
symtab | returns | 15:15 |
symtab | user not in the sudoers file | 15:15 |
lamont | the initial user should be in sudoers | 15:16 |
lamont | although these days, I think that's via %admin or such | 15:16 |
symtab | %admin? | 15:16 |
symtab | whats that? | 15:16 |
lamont | the admin group | 15:17 |
lamont | see man 5 sudoers :) | 15:17 |
lamont | worst case, rebooting in single user mode (recovery), or from a livecd will allow one to fix the disk | 15:18 |
mralphabet | sudo su - | 15:18 |
lamont | mralphabet: that assumes that the user is in sudoers.... | 15:19 |
mralphabet | true | 15:19 |
* lamont -> yard work | 15:21 | |
fromport | otherwise: reboot with live disk , chroot into disk environment and set rootpasswd "passwd root" | 15:33 |
Death_Sargent | Need help with php5-mysql not workping properly | 15:35 |
Death_Sargent | 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:35 |
symtab | i managed to get root | 15:54 |
symtab | now how do i configure network card to use dhcp | 15:54 |
symtab | ? | 15:55 |
symtab | is there a tool for this? | 15:55 |
symtab | or do i have to manually edit a file? | 15:55 |
symtab | like /etc/network/interfaces? | 15:55 |
ivoks | iface eth1 inet dhcp | 15:55 |
ivoks | man interfaces | 15:55 |
Death_Sargent | Need help with php5-mysql not workping properly | 15:56 |
Death_Sargent | 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 |
ivoks | did you install php5-mysql? | 15:56 |
Death_Sargent | acording to the admin yes | 15:57 |
ivoks | was apache restarted? | 15:57 |
Death_Sargent | he says he ran apt-get install php5-mysql | 15:57 |
Death_Sargent | and it stated it was installed | 15:57 |
Death_Sargent | not sure about that | 15:57 |
Deeps | create a phpinfo page to confirm the module is loaded correctly | 15:57 |
Death_Sargent | Hod do i do that | 15:58 |
Deeps | create a php file containing: <? phpinfo(); ?> | 15:58 |
Deeps | and open that in your browser | 15:58 |
Deeps | and search for mysql | 15:58 |
Yahooadam | Hey, my server has just started giving me issues | 16:00 |
Yahooadam | 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 |
Yahooadam | 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:00 |
Deeps | what's in your rc.local? | 16:01 |
Yahooadam | nothing | 16:01 |
Yahooadam | its a tiny bit after rc.local (when the boot process is finished i guess) that it actually stops responding | 16:01 |
ivoks | then start your system in rescue mode | 16:02 |
ivoks | and start services one by one | 16:02 |
Kahan | 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:03 |
Deeps | 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:04 |
Kahan | Deeps, just fsck with no additional args? | 16:05 |
Deeps | Kahan: well you'll need to specify the target file system | 16:06 |
Deeps | Death_Sargent: http://i28.tinypic.com/2z3nmg3.png you'll want to see something like that in your phpinfo output | 16:07 |
Deeps | Death_Sargent: or rather, within the output, they'll be more sections than just the mysql one | 16:07 |
Kahan | Deeps, kk thanks, I'll check the man page, gonnae give that a try (AFK) | 16:07 |
Death_Sargent | Deeps, ok I am just having trouble with making the php document as web design is new for me | 16:10 |
Yahooadam | how can i work out what starts at boot? | 16:11 |
Deeps | 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 |
Deeps | Yahooadam: the number following the S denotes priority, and the order in which services are started | 16:17 |
Yahooadam | ooo | 16:20 |
Yahooadam | it appears mysql just crashed my computer | 16:20 |
Yahooadam | yep, mysql did it ... | 16:20 |
Yahooadam | ok, so how do i stop mysql crashing my computer, preferably without loosing all my data .... | 16:21 |
Deeps | look through the logs in /var/log (syslog + mysql's) | 16:21 |
Kahan | thanks Deeps, that fixed it | 16:22 |
Deeps | your databases should be in /var/lib/mysql | 16:22 |
* Yahooadam goes to reboot his server | 16:22 | |
Deeps | make a backup of that | 16:22 |
Deeps | Kahan: good stuff! :) | 16:22 |
ivoks | mysql crashed it? | 16:23 |
Yahooadam | ivoks - yep | 16:25 |
ivoks | i don't see how mysql could crash it | 16:26 |
ivoks | mysql could consume your CPU, or RAM, or rape your disk, but if it crashed, you have a hardware problem | 16:26 |
Yahooadam | well i started mysql and the server stopped responding ... | 16:27 |
ivoks | that doesn't mean a thing | 16:27 |
ivoks | start it in resuce mode hit tail -f /var/log/kern.log | 16:27 |
ivoks | and wait for 5 minutes | 16:27 |
Yahooadam | right, ive started everything i had last time except mysql | 16:31 |
Yahooadam | waiting 5-10 mins | 16:31 |
Deeps | if nothing occurs in the next 5-10min, try an fsck | 16:33 |
Yahooadam | still responding ok | 16:38 |
Yahooadam | how would i run fsck on the root filesystem? | 16:38 |
Yahooadam | (i mean, due to it being mounted ...) | 16:38 |
=== dantal1zing is now known as dantalizing | ||
unop__ | Yahooadam, it's best done offline | 16:40 |
Yahooadam | like, use a livecd or something | 16:47 |
Yahooadam | all fs's are clean, but mysql is starting now | 17:13 |
Yahooadam | so it mustve been something else | 17:13 |
ivoks | check logs | 17:22 |
ivoks | they might some information | 17:23 |
youngmusicorg | 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 |
youngmusicorg | furthermore, ls gives this errror: ls: unrecognized prefix: do | 17:43 |
youngmusicorg | and rm simply does not work | 17:44 |
youngmusicorg | Haven't tried other command, but i doubt they're all ok | 17:44 |
youngmusicorg | obviously something is damaged on my system, but what? | 17:44 |
sommer | youngmusicorg: all are your partitions mounted? | 17:45 |
youngmusicorg | yes, they are | 17:46 |
youngmusicorg | df -h | 17:46 |
sommer | mmmm... di you see any error messages during boot? | 17:46 |
sommer | did | 17:46 |
youngmusicorg | I'm on ssh, but let me check the messagelog | 17:46 |
sommer | youngmusicorg: you also might check /var/log/boot | 17:47 |
youngmusicorg | dmesg seems normal | 17:49 |
youngmusicorg | and log/boot is empty | 17:49 |
youngmusicorg | :q | 17:49 |
youngmusicorg | (sorry about the commands) | 17:49 |
youngmusicorg | it seems nothing has been logged since that new startup | 17:51 |
sommer | what heppens if you start another shell using the bash command? | 17:51 |
youngmusicorg | 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:52 |
sommer | the other commands give the same error? | 17:53 |
youngmusicorg | ah, i see my system name has also disappeared. The prompt now shows yvan@(none):~$ | 17:54 |
youngmusicorg | well, not every command gives an error | 17:54 |
sommer | it almost seems like something didn't get executed during boot, can you reboot the system? | 17:55 |
sommer | it might be better to have physical access to see any errors | 17:55 |
youngmusicorg | touch works, but rm gives a segmentation fault | 17:55 |
youngmusicorg | 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 |
sommer | ya, I figured that would be an issue | 17:56 |
youngmusicorg | but it might be my only option indeed | 17:56 |
sommer | it just sounds like there a major problems with the system | 17:56 |
youngmusicorg | that's what i thought. But it's a bit strange because nothing really changed on it | 17:57 |
sommer | if it was one command that would be one thing, but since it's multiple commands... | 17:57 |
sommer | could be a hardware issue, as well | 17:58 |
youngmusicorg | wel, i'd better get over there in the morning. | 17:58 |
sommer | you could always try rebooting and hope :) | 17:58 |
sommer | are other services working? | 17:58 |
youngmusicorg | thanks for trying to help though | 17:58 |
sommer | you're welcome | 17:58 |
youngmusicorg | 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 | 17:59 |
=== blue-frog_ is now known as blue-frog | ||
youngmusicorg | 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:18 |
Nafallo | http://forum.joomlafacile.com/showthread.php?p=280880 | 18:20 |
youngmusicorg | that's in french... | 18:21 |
youngmusicorg | but there is indeed a joomla site on this server. | 18:22 |
keithclark | Is it possible to do a ssh session over the internet through a firewall? | 18:55 |
Nafallo | yes | 18:56 |
keithclark | Nafallo, do I have to modify the firewall settings on the server? | 18:56 |
Nafallo | keithclark: how do you expect me to answer that question? | 18:57 |
youngmusicorg | 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 |
keithclark | 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. | 18:59 |
Nafallo | keithclark: all firewalls are different. | 19:00 |
keithclark | youngmusicorg, thanks.....I'll check that! | 19:00 |
keithclark | Nafallo, understood. I was just looking for port advice and such. I guess I didn't really provide enough information | 19:01 |
keithclark | 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:16 |
keithclark | ah, ok, timeout. This is where the firewall is taking effect. | 19:17 |
keithclark | ok, firewall solved | 19:38 |
keithclark | next to the ssh service | 19:38 |
keithclark | hmm, firewall disabled and ssh enabled yet I cannot make contact, any ideas? | 19:44 |
keithclark | hmm, I can't get seem to get connecte | 19:53 |
keithclark | d | 19:53 |
keithclark | let me try rebooting into pclos so that I will be pclos to pclos machines | 19:55 |
keithclark | ok, that worked, I guess pclos likes pclos and not ubuntu | 19:58 |
keithclark | but not in ubuntu...hmmm | 20:02 |
keithclark | ok, I guess I'm stuck in pclos when networking between these two machines.... | 20:05 |
keithclark | No big deal | 20:06 |
keithclark | no other solution? | 20:11 |
Loosewheel | Tatster: How did you do with the RAID 1 LVM problem? | 20:23 |
Tatster | Haven't had another chance to look at it yet. | 20:24 |
Tatster | 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:24 |
Loosewheel | I've been trying to get my 'index.html' file to link to an OO Presentation file...with no luck | 20:26 |
Tatster | under apache ? | 20:27 |
Loosewheel | Yes | 20:27 |
Tatster | does apache serve the OO file correctly via direct URL ? | 20:28 |
Loosewheel | I can get it to link at the server, but not from another machine. | 20:29 |
=== c0ldfusion_ is now known as c0ldfusion | ||
Tatster | how about from an IP address based URL rather than a name ie http://1.2.3.4/name-of-oo-file.ext | 20:30 |
Loosewheel | 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:33 |
Tatster | ok, so your webserver is somewhere on the LAN and you are trying to access via http://192.168.x.x./nameoffile | 20:35 |
Loosewheel | 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:37 |
Loosewheel | I'm so new at this its hard to ask a good question. Just harmering away trying to learn something | 20:38 |
c0ldfusion | Loosewheel: so you don't have a link to the document when you access http://192... | 20:39 |
c0ldfusion | is that what u mean | 20:40 |
Loosewheel | yes | 20:40 |
c0ldfusion | Do you know how to write html code? | 20:40 |
Loosewheel | 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:41 |
c0ldfusion | OK; so oowriter created your index.html? | 20:42 |
c0ldfusion | what did you save the file oowriter created as? | 20:43 |
Loosewheel | Where should I put the oo file, (directory)? Yes | 20:43 |
Loosewheel | I save as html | 20:44 |
c0ldfusion | you need to name the file "index.html" and place it in the /var/www/ directory | 20:44 |
c0ldfusion | unless we're talking about your presentation | 20:44 |
Loosewheel | 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:47 |
c0ldfusion | ok now you need to edit your index.html and create a link to the presentation | 20:48 |
c0ldfusion | so what is the path/filename of the presentation | 20:48 |
Loosewheel | I tried | 20:48 |
c0ldfusion | I'm going to give you an example but I need the path/filename | 20:48 |
Loosewheel | /var/www/Security/system-security.html | 20:49 |
c0ldfusion | in your index.html you will find a line that begins with <body> | 20:50 |
c0ldfusion | on the next line, for example, put this: | 20:50 |
c0ldfusion | <a href=Security/system-security.html>My Presentation</a> | 20:50 |
Loosewheel | Ok, and thank you. I'll fire it up and give that a whirl | 20:52 |
c0ldfusion | yw | 20:52 |
ksclarke | 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 |
ksclarke | is there something in the bios or is it something in ubuntu server? | 21:39 |
Cahan | ksclarke, I'm afraid I don't know, does that for my 7.04 as well | 22:06 |
zylstra555 | sommer: You dont happen to still be there, do you? | 22:39 |
sommer | zylstra555: just came back :) | 23:32 |
zylstra555 | sommer: Would you mind kind of resuming from last [night]? I can access my server again | 23:32 |
sommer | sure, I need some refreshing though | 23:33 |
zylstra555 | sommer: Okay, randomly, my server just goes offline for unknown periods of time | 23:33 |
zylstra555 | It just starts timing out | 23:33 |
zylstra555 | this only happens to the external network, the localnetwork can continue to access it fine | 23:34 |
sommer | ah, I remember now... | 23:34 |
sommer | did you try changing the ssh port? | 23:34 |
zylstra555 | sommer: That would be through the router (which, I do not have access to remotely) | 23:34 |
sommer | ah, gotcha | 23:34 |
sommer | my thought then is to look through the logs for network errors | 23:35 |
zylstra555 | 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 |
zylstra555 | sommer: Which logs specifically? | 23:35 |
sommer | try /var/log/syslog, and /var/log/daemon.log | 23:35 |
sommer | maybe dmesg as well | 23:36 |
sommer | grep -i ssh /var/log/syslog will check for ssh issues, for example | 23:36 |
zylstra555 | 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:37 |
sommer | mmm... and clients on the lan can access the server when it's unavailble from the Internet? | 23:38 |
zylstra555 | sommer: That is correct | 23:38 |
sommer | does your router have any errors? | 23:38 |
zylstra555 | so, that causes me to suspect three things, router, ISP, or an unlikely but possible messed up configuration file | 23:39 |
zylstra555 | sommer: It does have a log, I have checked it before, it didnt say anything out of the norm. | 23:39 |
sommer | I agree, I'd look into the router next | 23:39 |
sommer | ah | 23:39 |
sommer | DNS maybe? | 23:39 |
zylstra555 | sommer: What could DNS possibly be causing? | 23:40 |
sommer | when you can't access the server from the Internet, can it access services on the Internet? | 23:40 |
sommer | DNS unavailable perhaps? | 23:40 |
sommer | from the server's prospective that is | 23:40 |
zylstra555 | 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:41 |
sommer | do you run that from a cron job? | 23:42 |
zylstra555 | sommer: No, I usually run the update command manually | 23:42 |
zylstra555 | (the server is usually literally right behind me, I am in a remote location at the moment) | 23:42 |
sommer | ah, so even when access from outside is unavailable you can still apt-get update? | 23:43 |
zylstra555 | 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:43 |
sommer | hrmmm... that does then seem to be something with the ISP to me | 23:44 |
zylstra555 | sommer: Perhaps. Is there any way to rule that out? | 23:44 |
sommer | maybe contact your ISP when the service is unavailable and get their input | 23:45 |
sommer | maybe they can access the service since they're closer on the network, kind of thing | 23:45 |
zylstra555 | 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:45 |
sommer | are you using the Ubuntu Server Edition or server applications installed on the desktop edition? | 23:46 |
sommer | I guess I've assumed that the server has a static IP | 23:47 |
zylstra555 | sommer: I am using Ubuntu Server 8.4 Hardy Heron. I had the same problem when using 7.10 | 23:47 |
sommer | and it's configured with a static IP? | 23:47 |
zylstra555 | sommer: Well, its a dynamic IP that never changes | 23:47 |
zylstra555 | (if that makes any sense) | 23:48 |
sommer | ah, configured in your dhcp server? are you sure it never changes ;) | 23:48 |
zylstra555 | The server itself connects to the router (directly) and obtains the same address every time: 192.168.1.7 | 23:48 |
sommer | just to rule that possiblity out I'd recommend setting a static IP on the server | 23:49 |
zylstra555 | All the necessary ports are forwarded. I can guarantee you the address never changes though | 23:49 |
zylstra555 | http://66.172.101.25 | 23:50 |
zylstra555 | (www.zylstrablog.co.nr) | 23:50 |
zylstra555 | Which, is running right now | 23:52 |
sommer | is that a static IP from your ISP ? | 23:52 |
zylstra555 | 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:53 |
sommer | 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 |
zylstra555 | sommer: I never do (and I just had a 2.5 hour power outage) | 23:54 |
sommer | ah, I'd bet it's either something with your ISP, or with your IP address, public or private | 23:55 |
sommer | some ISPs will block you from running a website on a home type of account... at least in the US | 23:56 |
zylstra555 | 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 |
zylstra555 | sommer: Thanks for your help | 23:56 |
sommer | some require a business level account which means more $$$ you have to pay them | 23:56 |
sommer | zylstra555: no problem | 23:57 |
zylstra555 | 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:57 |
BarryToeman | Does a default Ubuntu Server install automatically apply security updates? | 23:58 |
zylstra555 | 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:58 |
BarryToeman | zylstra555: thanks. | 23:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!