=== zul_ [n=chuck@mail.edgewater.ca] has joined #ubuntu-server | ||
nealmcb | infinity: Well, I'm sure bugged by plain-text passwords in unsecured POP and IMAP and FTP.... But clueless users using clueless software for publishing is indeed a tough problem to solve. I'm hoping sftp will catch on. Or webdav - Is anyone out there having any luck offering webdav over https for their users to publish on the web? | 12:27 |
---|---|---|
mattwalston | nealmcb: negative but sftp is very well adopted | 12:30 |
mattwalston | nealmcb: anyone that should be touching there own site should be able to use it | 12:31 |
mattwalston | nealmcb: also, somewhere their is a windows client that mounts an sftp site as a folder on the local machine | 12:31 |
=== Pumpernickel [n=Pumperni@about/essy/bacon/PuMpErNiCkLe] has joined #ubuntu-server | ||
=== BFTD [n=thomas@67-150-244-71.oak.mdsg-pacwest.com] has joined #ubuntu-server | ||
=== Innatech [n=it@netblock-68-183-140-137.dslextreme.com] has joined #ubuntu-server | ||
Innatech | having some trouble getting Bind9 up and running on a simple Ubuntu 7.04 server box. Geting SERVFAIL when I try to run dig. Config files and command output is here: http://www.pastebin.ca/648128 . I'd much appreciate advice from anyone willing to take a look. | 01:31 |
=== Lunex_ [n=nix@pD9EEB995.dip0.t-ipconnect.de] has joined #ubuntu-server | ||
=== tck [n=tck@A-109-113.cust.iol.ie] has joined #ubuntu-server | ||
=== jbrouhard [n=jbrouhar@cm-24-121-67-210.stjoseph.mo.npgco.com] has joined #ubuntu-server | ||
=== kwierso_ [n=kwierso@12-208-57-144.client.mchsi.com] has joined #ubuntu-server | ||
nealmcb | Innatech: I'm pretty rusty on bind stuff, but perhaps if you lead me thru that step by step we'll run across what's wrong. to start with, I see no servfail error in what you pasted | 02:16 |
=== pschulz01 [n=pschulz0@ubuntu/member/pschulz01] has joined #ubuntu-server | ||
boxrock | anyone know where Screen Resolution values come from (on a thin-client GUI)? widescreen are missing for me. thanks. | 02:53 |
=== stiv2k [n=steve@c-76-108-235-201.hsd1.fl.comcast.net] has joined #ubuntu-server | ||
stiv2k | ok got a really weird problem here | 03:03 |
stiv2k | i assigned my server a static IP (naturally) | 03:03 |
stiv2k | and it works fine | 03:03 |
stiv2k | except it seems about once every 24 hours | 03:03 |
stiv2k | i check the ifconfig eth0 | 03:03 |
stiv2k | and it has an ip of 192.168.1.100 (an address in the DHCP range!!!!) | 03:03 |
stiv2k | consequently all the services go down because its not 192.168.1.10 | 03:04 |
stiv2k | i have to manually ifdown/ifup eth0 | 03:04 |
stiv2k | to get it back to normal | 03:04 |
stiv2k | its so frustrating, what could be causing this | 03:04 |
ScottK | stiv2k: Two things must be true then... | 03:04 |
ScottK | 1. Your server must be running a dhcp client. | 03:05 |
ScottK | 2. Something in your local link is offering dhcp. | 03:05 |
stiv2k | ScottK: my router is probably offering dhcp | 03:05 |
stiv2k | but, my /etc/network/interfaces spefically says | 03:05 |
ScottK | Do you need it? | 03:05 |
stiv2k | iface eth0 inet static | 03:05 |
stiv2k | kinda... the other machines on my network, well, some of them use dhcp | 03:06 |
ScottK | OK. | 03:06 |
stiv2k | i never had ths problem before i reformatted (before the hard drive failed) | 03:06 |
ScottK | Hmmm | 03:06 |
ScottK | What version of Ubuntu are you running on the server? | 03:07 |
stiv2k | feisty | 03:07 |
ScottK | DHCP requests get logged to /var/log/daemon.log. | 03:08 |
stiv2k | ok | 03:08 |
ScottK | First thing to do I'd say is look there and see what's going on when it happens. | 03:08 |
stiv2k | alright | 03:09 |
stiv2k | most of the log is "last message repeated x times" | 03:09 |
stiv2k | but i see a bunch of dhclient here | 03:09 |
ScottK | That's the one. | 03:09 |
stiv2k | OK to paste 6 lines here? | 03:09 |
stiv2k | Aug 6 03:48:56 galatea dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 | 03:10 |
stiv2k | Aug 6 03:48:57 galatea dhclient: DHCPOFFER from 192.168.1.1 | 03:10 |
stiv2k | Aug 6 03:48:57 galatea dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67 | 03:10 |
stiv2k | Aug 6 03:48:57 galatea dhclient: DHCPACK from 192.168.1.1 | 03:10 |
stiv2k | Aug 6 03:48:57 galatea dhclient: can't create /var/lib/dhcp3/dhclient.eth0.leases: Permission denied | 03:10 |
stiv2k | Aug 6 03:48:57 galatea dhclient: bound to 192.168.1.100 -- renewal in 32860 seconds. | 03:10 |
jbrouhard | oO | 03:11 |
jbrouhard | did you run dhclient eth0 as sudo ? | 03:11 |
stiv2k | i have never once issued the command dhclient | 03:11 |
ScottK | He doesn't want it to run at all. | 03:11 |
stiv2k | i just edited /etc/network/interfaces accordingly, then ifdown/ifup eth0 | 03:11 |
stiv2k | ScottK: is dhclient an init service? can i get away with just apt-get remove | 03:12 |
ScottK | dhclient is probably part of another package that you don't wont to remove | 03:12 |
stiv2k | okay | 03:12 |
stiv2k | so how do i stop it from running | 03:12 |
ScottK | What comes right before the dhclient in the log? | 03:13 |
stiv2k | like at least a hundred lines of | 03:14 |
stiv2k | "last message repeated x times" | 03:14 |
ScottK | OK. | 03:14 |
stiv2k | more than a hundred... several hundred | 03:14 |
stiv2k | the very first line, before all of those is this | 03:14 |
stiv2k | Aug 5 13:26:08 galatea dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67 | 03:15 |
ScottK | What does ps -AF|grep dhcp produce? | 03:16 |
stiv2k | steve 1598 1545 1 720 748 0 21:16 pts/2 00:00:00 grep dhcp | 03:16 |
stiv2k | dhcp 3477 1 0 612 856 0 Aug03 ? 00:00:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib/dhcp3/dhclient.eth0.leases eth0 | 03:16 |
=== kupesoft [n=dave@bas11-toronto12-1088939439.dsl.bell.ca] has joined #ubuntu-server | ||
ScottK | That's the guy that's doing it. | 03:16 |
ScottK | So next step is to figure out what's starting it. | 03:17 |
stiv2k | sounds about riht | 03:17 |
stiv2k | right | 03:17 |
ScottK | I've only got a laptop with dhcp running, so it may be different... | 03:18 |
ScottK | Try grep dhcp /etc/init.d/* | 03:18 |
stiv2k | no result | 03:18 |
ScottK | or grep dhclient | 03:18 |
ScottK | sorry | 03:18 |
stiv2k | same, no results | 03:19 |
ScottK | Odd | 03:19 |
ScottK | You don't have X running on this server do you? | 03:19 |
stiv2k | nope | 03:19 |
stiv2k | i know this may seem stupid but | 03:22 |
stiv2k | the machine hasn't been rebooted once since it's very first bootup about a week ago | 03:22 |
ScottK | That shouldn't matter. | 03:23 |
stiv2k | perhaps the service running dhclient never acknowledged /etc/network/interfaces when i set it to a static IP | 03:23 |
ScottK | I'm googling about readahead boot right now. | 03:23 |
ScottK | That may well explain your problem. | 03:23 |
stiv2k | do tell | 03:23 |
ajmitch | given that the dhclient process was started a few days ago, when did you set it to use a static ip address? | 03:24 |
ScottK | As nearly as I can tell, readahead loads everthing in /etc/readahead/boot. | 03:24 |
stiv2k | ajmitch: as soon as i booted up the machine for the first time | 03:24 |
ScottK | At last, someone who knows what they are doing shows up. | 03:25 |
stiv2k | one of the first things i did was set it to a static ip | 03:25 |
ajmitch | stiv2k: which was when? | 03:25 |
stiv2k | umm | 03:25 |
ajmitch | aug 3rd or later? | 03:25 |
stiv2k | i cant remember exactly... 5 days or so | 03:25 |
ajmitch | ScottK: oh, where are they? | 03:25 |
stiv2k | oh 1 sec | 03:25 |
stiv2k | uptime will tell me | 03:25 |
ScottK | That would be you. | 03:25 |
stiv2k | 21:25:35 up 3 days, 17:36, 3 users, load average: 1.00, 1.01, 1.00 | 03:25 |
ajmitch | ScottK: lies | 03:25 |
ajmitch | stiv2k: so it was using dhcp when you booted up for the first time | 03:25 |
stiv2k | yes | 03:26 |
=== ScottK tiptoes out of the room while ajmitch helps. | ||
stiv2k | as every default ubuntu install does ? | 03:26 |
ajmitch | and you changed /etc/network/interfaces to static | 03:26 |
stiv2k | yes | 03:26 |
ajmitch | and then did ifdown eth0 | 03:26 |
ajmitch | so it didn't know to kill dhclient | 03:26 |
stiv2k | i guess | 03:26 |
ajmitch | so you can just kill dhclient & it'll be happy | 03:26 |
ajmitch | and it won't start again | 03:26 |
stiv2k | ok... you're sure | 03:26 |
ajmitch | fairly sure :) | 03:27 |
stiv2k | k | 03:27 |
stiv2k | why didnt it do it the first time? | 03:27 |
ScottK | When did you tell it to? | 03:27 |
ajmitch | why didn't it do what? | 03:27 |
stiv2k | why didnt it kill dhclient when i first set it to a static IP | 03:27 |
stiv2k | it sounds like that would have been the right course of action | 03:27 |
ajmitch | if you reconfigure it to having a static ip address before bringing the interface down, then it won't know to kill it | 03:27 |
stiv2k | ohhh | 03:27 |
=== ScottK learns something. Makes total sense. | ||
stiv2k | yea | 03:28 |
ScottK | I've always just set up servers static in the installer, so this never came for me before. | 03:28 |
stiv2k | i dont remember the installer asking me if i could set it static | 03:29 |
=== ajmitch hasn't done an ubuntu server install for awhile now | ||
stiv2k | i would have done it if it asked me | 03:30 |
ScottK | The alternate installer gives you that option. | 03:31 |
stiv2k | oh | 03:31 |
ScottK | Dunno about the regular one. | 03:31 |
stiv2k | well i used 7.04 feisty server x86 | 03:31 |
stiv2k | whats the point of alternate ? | 03:31 |
ScottK | Different installer. | 03:31 |
stiv2k | better/worse? | 03:32 |
ajmitch | different set of packages | 03:32 |
ScottK | Regular one uses the Ubuntu installer, Ubiquity or some such spelling and the alternate uses the Debian Installer. | 03:32 |
stiv2k | i see | 03:32 |
ScottK | I've never had much luck desktop or server with the Ubuntu installer. I always seem to end up using D-I for one reason or another. | 03:33 |
ajmitch | 'alternate' cd gives you a normal desktop system | 03:33 |
ScottK | Alternate CD (last I looked) had a server/cli option too. | 03:33 |
stiv2k | alright well i have to go... thanks for helping me fix this (i hope it did the trick for good)... it was so annoying | 03:33 |
ScottK | Thanks for bailing me out ajmitch. | 03:34 |
stiv2k | lol | 03:35 |
=== ScottK goes back to trying to query PostgreSQL with his Python app. | ||
=== ajmitch has to return to php+mysql | ||
=== kupesoft [n=dave@CPE003018b02a53-CM0018c0c44e76.cpe.net.cable.rogers.com] has joined #ubuntu-server | ||
=== PanzerMKZ [i=Panzer@04-140.136.popsite.net] has joined #ubuntu-server | ||
=== kupesoft [n=dave@bas11-toronto12-1088939439.dsl.bell.ca] has joined #ubuntu-server | ||
=== hiroshiX [n=hiroshi@c-75-64-55-89.hsd1.tn.comcast.net] has joined #ubuntu-server | ||
hiroshiX | hey, I was wondering how you actually connect to an iscsi with open-iscsi installed. | 04:51 |
ScottK | This is not a terribly active time of day here. | 04:51 |
ScottK | So don't feel slighted if no one answers.... | 04:51 |
hiroshiX | ah | 04:52 |
hiroshiX | maybe I should ask tomorrow afternoon | 04:52 |
hiroshiX | thanks ^_^ | 04:53 |
ScottK | If you can hit European afternoon, US morning, that's your best bet. | 04:53 |
hiroshiX | cool | 04:55 |
PanzerMKZ | wow | 04:57 |
PanzerMKZ | us morn | 04:57 |
=== dthacker [n=dthacker@ip68-107-233-209.om.om.cox.net] has joined #ubuntu-server | ||
=== justinwray [n=justinwr@c-68-34-224-91.hsd1.md.comcast.net] has joined #ubuntu-server | ||
=== Dessan [n=andrew@ip68-105-63-168.pn.at.cox.net] has joined #ubuntu-server | ||
=== totalnewbie [n=totalnew@58.147.187.14] has joined #ubuntu-server | ||
=== mralphabet [n=username@71-10-125-165.dhcp.stpt.wi.charter.com] has joined #ubuntu-server | ||
=== OGDA [n=thomas@67-150-244-71.oak.mdsg-pacwest.com] has joined #ubuntu-server | ||
=== jbrouhard [n=jbrouhar@24.121.169.166] has joined #ubuntu-server | ||
=== totalnewbie [n=totalnew@58.147.187.14] has joined #ubuntu-server | ||
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server | ||
=== kupesoft [n=dave@CPE003018b02a53-CM0018c0c44e76.cpe.net.cable.rogers.com] has joined #ubuntu-server | ||
=== kupesoft [n=dave@bas11-toronto12-1088939439.dsl.bell.ca] has joined #ubuntu-server | ||
=== infinity [n=adconrad@cerberus.0c3.net] has joined #ubuntu-server | ||
=== YourMomsHero [n=cirish@ip24-251-191-203.ph.ph.cox.net] has joined #ubuntu-server | ||
=== ICU [n=me@sechzig.dd.ewetel.de] has joined #ubuntu-server | ||
=== thomas__ [n=thomas@67-150-254-208.oak.mdsg-pacwest.com] has joined #ubuntu-server | ||
=== kupesoft [n=dave@CPE003018b02a53-CM0018c0c44e76.cpe.net.cable.rogers.com] has joined #ubuntu-server | ||
=== ||arifaX [n=||arifaX@inetpop1.witron.de] has joined #ubuntu-server | ||
=== coNP [n=conp@unaffiliated/conp] has joined #ubuntu-server | ||
=== juliux [n=juliux@ubuntu/member/juliux] has joined #ubuntu-server | ||
kraut | moin | 09:19 |
=== cyclops [n=cyclops@195.166.238.130] has joined #ubuntu-server | ||
juliux | good morning | 09:35 |
juliux | does somebody knows a simple ticket system? i only need it for tracking e-mails | 09:35 |
Burgundavia | juliux: rt? | 09:35 |
juliux | Burgundavia, it is simple? | 09:36 |
Burgundavia | fairly | 09:36 |
juliux | Burgundavia, i want one email address shirt@juliux.de and all e-mails to that address should go to the ticketsystem and there i can track the email contact with everybody who wants a shirt;) | 09:37 |
Burgundavia | ahh | 09:37 |
Burgundavia | rt can do that | 09:37 |
juliux | good | 09:38 |
juliux | i will take a look at it | 09:38 |
lcdd | roundup is another system | 09:40 |
=== CrummyGummy [n=CrummyGu@dsl-244-247-163.telkomadsl.co.za] has joined #ubuntu-server | ||
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server | ||
CrummyGummy | Hi all, I noticed today that my server time was out. I have been running ntpd for ages so I thought everything was ok. There are no errors on startup of ntpd. What could I have missed? | 10:37 |
lcdd | CrummyGummy: you could run ntpq and use the command 'peers' to show whether ntpd is actually able to talk to any time servers | 10:46 |
CrummyGummy | It pulled up 3 servers. I wonder if it isn't using local because the delay is the lowest. | 10:47 |
lcdd | local is only supposed to be a fallback in case all other servers fail | 10:52 |
lcdd | somebody correct if i'm wrong, but it's essentially the same as system clock | 10:53 |
CrummyGummy | Thats the way the conf file reads. I'm just not sure at which point the server decides to use that "last resort" | 11:03 |
=== dexem [n=dani@14.Red-88-26-177.staticIP.rima-tde.net] has joined #ubuntu-server | ||
=== spike [n=spike@unaffiliated/spike] has left #ubuntu-server ["."] | ||
=== boxrock [n=chatzill@197.147.121.70.cfl.res.rr.com] has joined #ubuntu-server | ||
=== SWAT [n=SWAT@ubuntu/member/swat] has joined #ubuntu-server | ||
=== puxton [n=death@59.93.16.195] has joined #ubuntu-server | ||
puxton | 11:16:53AM -!- ERROR Warning: Permission problem: Can't read/write from/to /var/lib/bitlbee/. <--- How do I fix this? | 11:37 |
=== cyrenity [n=cyrenity@202.141.252.162] has joined #ubuntu-server | ||
cyrenity | hi all | 11:56 |
cyrenity | i want only one user modify user home dirs to change ownerships and permissions but not as root | 11:56 |
cyrenity | any idea | 11:56 |
juliux | did somebody tries to setup rt with qmail? | 11:59 |
cyrenity | helo | 12:15 |
cyrenity | any idea | 12:15 |
Pumpernickel | cyrenity: Sounds like you're trying to reinvent root. | 12:15 |
cyrenity | well some how | 12:15 |
cyrenity | i want to delegate system admin tasks | 12:15 |
cyrenity | some times we need to move users home dirs with correct permissions which only root can do | 12:16 |
lcdd | use sudo perhaps | 12:17 |
cyrenity | well | 12:27 |
cyrenity | i have a user noman.yousuf | 12:27 |
cyrenity | i move that to noman.yousuf1 | 12:28 |
cyrenity | then recreate that | 12:28 |
cyrenity | and move all noman.yousuf1 data to noman.yousuf | 12:28 |
lcdd | you need root | 12:28 |
cyrenity | how i do from sudo | 12:28 |
cyrenity | for that i need root | 12:28 |
cyrenity | right | 12:28 |
cyrenity | but i add admin to any system admin group admin will be able to do this | 12:29 |
cyrenity | if sudo can do this its ok | 12:29 |
cyrenity | what u say | 12:29 |
lcdd | sudo allows only certain people to become root | 12:33 |
lcdd | its benefit compared to 'su' is that you don't have to share the root password with anyone, which means it's possible to take away the root rights | 12:34 |
cyrenity | hum | 12:43 |
cyrenity | true | 12:43 |
cyrenity | how i do this | 12:43 |
cyrenity | any idea | 12:43 |
cyrenity | would ldap users be able to do that or only system users do | 12:43 |
lcdd | see the file /etc/sudoers. local and ldap users should make no difference | 12:44 |
cyrenity | well frankly | 12:54 |
cyrenity | ldap users wont work | 12:54 |
cyrenity | i did this admin ALL = NOPASSWD: /usr/bin/gnome-printer-view | 12:55 |
cyrenity | admin ALL = NOPASSWD: /usr/bin/gnome-cups-manager | 12:55 |
cyrenity | admin ALL = NOPASSWD: /usr/bin/gnome-cups-add | 12:55 |
cyrenity | admin ALL = NOPASSWD: /opt/ltsp/i386/etc/lts.conf | 12:55 |
cyrenity | admin ALL = NOPASSWD: /usr/bin/vi | 12:55 |
cyrenity | for ldap user it wont work | 12:55 |
cyrenity | for locaql user its working | 12:55 |
cyrenity | helo | 01:10 |
infinity | 20:55 < cyrenity> admin ALL = NOPASSWD: /usr/bin/vi | 01:33 |
infinity | You're kidding, right? | 01:33 |
infinity | You may as well just give them full sudo, bcause that's what that does. | 01:33 |
=== pschulz01 [n=pschulz0@ubuntu/member/pschulz01] has joined #ubuntu-server | ||
cyrenity | why? | 01:43 |
cyrenity | sure | 01:44 |
cyrenity | but only for vi or particaular things | 01:44 |
cyrenity | how i do perimissions change and folder moves | 01:44 |
cyrenity | through sudo | 01:44 |
=== PanzerMKZ [i=Panzer@dialup-4.88.72.158.Dial1.Atlanta1.Level3.net] has joined #ubuntu-server | ||
ICU | omg | 01:48 |
ICU | cyrenity: what would prevent the user from editing /etc/sudoers with a "sudo vi"? | 01:48 |
ICU | or modifying the shadow | 01:49 |
ICU | passwd | 01:49 |
ICU | and so on | 01:49 |
infinity | Exactly. | 01:49 |
infinity | Glad someone else is awake. | 01:50 |
cyrenity | well user cant open vi /etc/suderos file | 01:50 |
cyrenity | i dont think soo | 01:50 |
ICU | they can | 01:51 |
infinity | Of course you can. | 01:51 |
infinity | "sudo vi /etc/sudoers" | 01:51 |
kraut | oO | 01:52 |
kraut | cyrenity: you didn't understood sudo! | 01:52 |
kraut | cyrenity: sudo is just a user-wrapper, you fork vi via sudo as user root! | 01:52 |
ICU | sudo will allow the users to run vi with root priviledges and so are able to open any file on your system (and write it) | 01:52 |
kraut | cyrenity: think about this! | 01:52 |
cyrenity | what u mean | 01:52 |
cyrenity | i try to open vi /etc/suders | 01:53 |
cyrenity | i ant open permission denied | 01:53 |
infinity | cyrenity: "sudo vi /etc/sudoers" | 01:54 |
kraut | cyrenity: the line "admin ALL = NOPASSWD: /usr/bin/vi" allows the user vi to open vi as user ROOT. so with "sudo /usr/bin/vi /etc/shadow" you open vi as root and you're able to manipulate the shadow! | 01:54 |
infinity | cyrenity: Your sudo rule allowd anyont in the admin group to elevate to full root. | 01:55 |
kraut | isn't %group the marker for a group?! | 01:55 |
infinity | Oh, fair point, it's the admin user. | 01:55 |
kraut | only 'admin' should point to the user admin and not to the group | 01:55 |
kraut | ah, ok. got confused by that ;) | 01:56 |
infinity | But whatever. He *meant* %admin, I'm sure. :) | 01:56 |
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server | ||
ICU | cyrenity: what was your intention with "admin ALL = NOPASSWD: /usr/bin/vi"? | 01:57 |
cyrenity | true | 01:59 |
=== dendrobates [n=rclark@adsl-065-005-186-012.sip.asm.bellsouth.net] has left #ubuntu-server [] | ||
cyrenity | well my intention was to open a file /opt/ltsp/i386/etc/lts.conf | 02:00 |
cyrenity | by admin user and edit it | 02:00 |
cyrenity | well i just want to delegate admin rights | 02:00 |
cyrenity | any idea for that | 02:01 |
cyrenity | if admin wants to modify /opt/ltsp/i386/etc/lts.conf | 02:02 |
cyrenity | then what should i do | 02:02 |
ICU | do a wrapper for example | 02:07 |
ICU | a shell script named "modify_lts.sh" which starts "vi /opt/ltsp/i386/etc/lts.conf" and allow that script to the user | 02:07 |
=== mralphabet [n=username@71-10-125-165.dhcp.stpt.wi.charter.com] has joined #ubuntu-server | ||
infinity | ICU: That's still no safer, once I've opened the editor, I can switch open files.. | 02:23 |
cyrenity | true | 02:28 |
cyrenity | but what to do | 02:28 |
cyrenity | then | 02:28 |
lcdd | cyrenity: just adding group write permissions to that specific file might work | 02:28 |
cyrenity | hum | 02:29 |
cyrenity | and what abt permissions | 02:29 |
cyrenity | for folders i told above | 02:29 |
lcdd | i have no idea | 02:31 |
cyrenity | ok thanks | 02:31 |
=== tck [n=tck@213-202-161-88.bas503.dsl.esat.net] has joined #ubuntu-server | ||
=== jdstrand [n=james@mail.strandboge.com] has joined #ubuntu-server | ||
=== mdz [i=mdz@nat/canonical/x-ed7fabc188de4d59] has joined #ubuntu-server | ||
ICU | infinity: indeed | 02:57 |
=== cyclops [n=cyclops@195.166.238.130] has joined #ubuntu-server | ||
=== dendrobates [n=rclark@m815f36d0.tmodns.net] has joined #ubuntu-server | ||
=== kupesoft [n=dave@red-gw.cs.toronto.edu] has joined #ubuntu-server | ||
=== PanzerMKZ_ [i=Panzer@07-069.136.popsite.net] has joined #ubuntu-server | ||
=== asisak [n=conp@unaffiliated/conp] has joined #ubuntu-server | ||
=== mathiaz [n=mathiaz@dsl-207-112-54-10.tor.primus.ca] has joined #ubuntu-server | ||
=== sacater [n=sacater@ubuntu/member/colchester-lug.sacater] has joined #ubuntu-server | ||
=== juliux [n=juliux@ubuntu/member/juliux] has joined #ubuntu-server | ||
=== CrummyGummy [n=CrummyGu@dsl-244-247-163.telkomadsl.co.za] has joined #ubuntu-server | ||
=== coNP [n=conp@unaffiliated/conp] has joined #ubuntu-server | ||
=== sls_ [n=stephans@mail.farorbit.com] has joined #ubuntu-server | ||
=== gamble6x [i=bbg@gateway/tor/x-26c4906b4dcf9b50] has joined #ubuntu-server | ||
=== arturaz_ [n=arturaz@2002:57f7:4d58:0:0:0:0:3] has joined #ubuntu-server | ||
=== mathiaz [n=mathiaz@dsl-207-112-77-195.tor.primus.ca] has joined #ubuntu-server | ||
=== dendrobates [n=rclark@adsl-065-005-186-012.sip.asm.bellsouth.net] has joined #ubuntu-server | ||
=== YourMomsHero [n=cirish@74.202.196.195] has joined #ubuntu-server | ||
=== BFTD [n=thomas@67-150-244-173.oak.mdsg-pacwest.com] has joined #ubuntu-server | ||
=== Mussi [n=bah@unaffiliated/mussi] has joined #ubuntu-server | ||
=== Mussi [n=bah@unaffiliated/mussi] has joined #ubuntu-server | ||
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-server | ||
=== daq4th [n=darkness@netstation-005.cafe.zSeries.org] has joined #ubuntu-server | ||
gamble6x | I'm trying to setup a static interface on my 6.06LTS, IP, Gateway, and all seem fine, but resolv.conf keeps being overwritten. According to the documentation: https://help.ubuntu.com/6.06/ubuntu/serverguide/C/network-configuration.html I should be able to simply write in my DNS and lookups to resolv.conf, but it doesn't keep. Is this something I need to do through debconf? Is there documentation on this anywhere? | 07:13 |
nealmcb | CrummyGummy: still looking for ideas on your ntp problem? | 07:22 |
nealmcb | gamble6x: is a dhcp still running by any chance? if you change your interfaces file before ifdown, the default dhcp will still be active | 07:23 |
gamble6x | ps -A | grep dhcp doesn't return anything. there are only lo and eth0 in my interfaces file, "dhcp" isn't in the interfaces file, and the server isn't currently live so I'm rebooting to make sure all the server apps come up correctly. But every time I reboot my resolv.conf is blank except two comment lines at the top: | 07:29 |
gamble6x | # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) | 07:29 |
gamble6x | # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN | 07:29 |
gamble6x | which the comments tell me what is happening, but not where I need to make the change. | 07:29 |
nealmcb | it is probably called "dhclient" | 07:33 |
nealmcb | gamble6x: you can change the dns addresses in the interfaces file | 07:33 |
nealmcb | s/change/set | 07:33 |
nealmcb | hmm - I'm not seeing it in the interfaces man page - still looking.... | 07:35 |
nealmcb | ahh - I use /etc/resolvconf/ | 07:36 |
infinity | gamble6x: apt-get --purge remove resolvconf | 07:37 |
nealmcb | :-) | 07:37 |
nealmcb | or read `man resolvconf` first to see if you want to use it | 07:37 |
infinity | No one with a static interface would want to use it. | 07:38 |
nealmcb | is it installed by default in dapper? | 07:38 |
infinity | And most people with a dynamic one don't. | 07:38 |
infinity | It might have been. We don't install it by default anymore. | 07:38 |
infinity | In fact, we're so over it that we punted it to universe. | 07:38 |
infinity | We don't even support it anymore. | 07:38 |
gamble6x | AH! resolvconf was installed by dhcp3-client (which I'm assuming is installed by default). | 07:40 |
gamble6x | hmm... ubuntu-minimal depends on dhcp3-client | 07:42 |
infinity | Not the end of the world. | 07:42 |
gamble6x | Ok. dhcp wasn't starting at boot. I left dhcp3-client installed but just removed resolvconf and rebooted. Now the /etc/resolv.conf is staying. | 07:51 |
=== juliux [n=juliux@ubuntu/member/juliux] has joined #ubuntu-server | ||
gamble6x | I am currently getting a security error: unable to lookup <hostname> via gethostbyname(). But I'm guessing that's a network issue. Maybe the server isn't listed in DNS atm. will keep plugging away. | 07:53 |
=== daq4th [n=darkness@netstation-005.cafe.zSeries.org] has joined #ubuntu-server | ||
gamble6x | wow stupid. *smacks forehead* I had my FQDN in my hosts file, but not the hostname. | 07:57 |
gamble6x | fixed that problem. | 07:57 |
=== boxrock [n=chatzill@197.147.121.70.cfl.res.rr.com] has joined #ubuntu-server | ||
=== boxrock_ [n=chatzill@197.147.121.70.cfl.res.rr.com] has joined #ubuntu-server | ||
=== osmosis [n=steven@63.139.86.3] has joined #ubuntu-server | ||
osmosis | which one should I try? awstats - powerful and featureful web server log analyzer | 08:10 |
osmosis | awffull - web server log analysis program | 08:10 |
osmosis | modlogan - A modular logfile analyzer | 08:10 |
osmosis | webalizer - web server log analysis program | 08:10 |
=== boxrock__ [n=chatzill@197.147.121.70.cfl.res.rr.com] has joined #ubuntu-server | ||
coNP | maybe look for sites, that use either of them and try their output | 08:10 |
coNP | or install all of them for a week and compare :) | 08:11 |
=== coNP uses webalizer, that is very common IMO | ||
=== boxrock___ [n=chatzill@197.147.121.70.cfl.res.rr.com] has joined #ubuntu-server | ||
=== EtienneG [n=etienne@ubuntu/member/EtienneG] has joined #ubuntu-server | ||
=== dexem [n=dani@212.97.172.119.dyn.user.ono.com] has joined #ubuntu-server | ||
nealmcb | osmosis: I've used awstats and liked it, and previously analog. haven't tried the others | 09:13 |
osmosis | nealmcb: cool. i think they are all pretty basic. I mostly want something that is easy to setup and give me some basic info about daily hits ...that is easier then parsing the apache log manually. | 09:13 |
=== gubluntu [n=gsilver@70.19.6.130] has joined #ubuntu-server | ||
=== boxrock___ [n=chatzill@197.147.121.70.cfl.res.rr.com] has joined #ubuntu-server | ||
=== justinwray [n=justinwr@c-68-34-224-91.hsd1.md.comcast.net] has joined #ubuntu-server | ||
=== Beirdo [n=gjhurlbu@unaffiliated/beirdo] has left #ubuntu-server ["Leaving"] | ||
=== OGDA [n=thomas@67-150-252-96.oak.mdsg-pacwest.com] has joined #ubuntu-server | ||
=== justinwray [n=justinwr@c-68-34-224-91.hsd1.md.comcast.net] has joined #ubuntu-server | ||
=== Innatech [n=it@netblock-68-183-140-137.dslextreme.com] has joined #ubuntu-server | ||
Nafallo | eep | 11:24 |
Nafallo | apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName | 11:24 |
Nafallo | how to get rid of that? :-) | 11:24 |
kraut | Nafallo: watch out the docu on apache.org | 11:25 |
kraut | you should find it there easilly | 11:25 |
Nafallo | but would that be the Ubuntu way? :-) | 11:26 |
kraut | i don't think that the ubuntu-way would take the part of the people to teach themself | 11:26 |
kraut | and anyhow, that's a standard-question wich should be figured out in the apache-faq | 11:27 |
kraut | also google would give you a faster answer then here in the channel | 11:27 |
gamble6x | Nafallo: if you're on a static IP then you can just put your hostname and FQDN next to your IP addy in your /etc/hosts file | 11:27 |
kraut | alltogether the most fastest way would be, to read the warning carefully | 11:27 |
Nafallo | gamble6x: FQDN * :-) | 11:28 |
=== ConfidentiaL [n=anders@163.80-202-198.nextgentel.com] has joined #ubuntu-server | ||
ConfidentiaL | first time setting up a linux server, fairly new user to linux, although I got the basics. What do you recommend, feisty server or dapper server? for home use. Quite powerful PC. | 11:28 |
kraut | ConfidentiaL: for home usage -> feisty | 11:29 |
Nafallo | oh. that was easy :-) | 11:29 |
kraut | ConfidentiaL: but remeber, that feisty isn't mostly the stable release | 11:29 |
ConfidentiaL | ok, thanks:) | 11:30 |
kraut | ConfidentiaL: if you prefer mostly actual packages, take feisty, if you prefer a stable-system, use dapper. | 11:30 |
=== Yahooadam [n=ubuntu@host81-156-10-23.range81-156.btcentralplus.com] has joined #ubuntu-server | ||
Yahooadam | hey guys, srsly need some help :( | 11:40 |
Yahooadam | ./dev/hda1 is unrecognised | 11:40 |
Yahooadam | and its my boot partition :o | 11:40 |
ScottK | Yahooadam: What release? | 11:40 |
Yahooadam | how would i find out (7.04 server i think) | 11:40 |
Yahooadam | im running the 7.04 live cd atm | 11:41 |
boxrock___ | anyone, i'm having a problem w/7.04 hanging (console GUI, net, (shell commands work however)), any clues on how to diagnose? | 11:41 |
gamble6x | Yahooadam: do you know why it's not being recognized? disk going bad? did you accidentally write something you didn't mean to to /boot. Is boot fine and your MBR is just flubbed up? | 11:42 |
ScottK | Yahooadam: It should be working by UUID then, not by device name. | 11:42 |
Yahooadam | i think the disc is fine. hda2 is fine | 11:42 |
=== Innatech [n=it@netblock-68-183-140-137.dslextreme.com] has left #ubuntu-server ["Leaving"] | ||
=== Innatech [n=it@netblock-68-183-140-137.dslextreme.com] has joined #ubuntu-server | ||
Yahooadam | i havent touched it, but the computer may have been badly shut down while running | 11:43 |
ScottK | Yahooadam: Find the UUID /dev and try and boot by UUID. | 11:43 |
Yahooadam | when i try to boot i get grub error 24 | 11:43 |
Yahooadam | i cant even get at the grub config therefore | 11:43 |
Innatech | So, I'm dealing with LDAP having not needed it in a while. Can anyone refresh my memory: Is there any compelling reason to use company.local or company.lan over company.com in setting up a new LDAP directory for a small network? | 11:43 |
Yahooadam | isnt grub supposed to be in /boot/grub btw ? | 11:45 |
Yahooadam | cos if so, i cant see it | 11:45 |
gamble6x | you might want to start with some fscking | 11:47 |
gamble6x | if you didn't write anything to the disk. It's possible an improper shutdown could muck it up. But pretty unlikely. If the files aren't on the partition it sounds more like bad sectors to me. | 11:47 |
mathiaz | Innatech: I think that .local is been used by zeroconf or something like that. | 11:48 |
Yahooadam | im getting mount: wrong fs type, bad option, bad superblock on /dev/hda1. mising codepage or other error. in some cases useful info is found in syslog | 11:48 |
mathiaz | Innatech: I wouldn't use domain.local | 11:48 |
Innatech | yeah, there's that kind of multicast stuff, I know. But I seem to recall there being reasons to use domain.local or domain.lan over domain.com . Using domain.com is easiest and most straightforward, so I'm just trying to make sure I'm not missing anything before plunging ahead. | 11:49 |
=== justinwray [n=justinwr@c-68-34-224-91.hsd1.md.comcast.net] has joined #ubuntu-server | ||
Yahooadam | sudo fsck /dev/hda1 | 11:49 |
Yahooadam | fsck 1.40-WIP (14-Nov-2006) | 11:49 |
Yahooadam | e2fsck 1.40-WIP (14-Nov-2006) | 11:49 |
Yahooadam | fsck.ext3: Filesystem revision too high while trying to open /dev/hda1 | 11:49 |
Yahooadam | The filesystem revision is apparently too high for this version of e2fsck. | 11:49 |
Yahooadam | (Or the filesystem superblock is corrupt) | 11:49 |
Yahooadam | and thats about where im stuck at now ..... | 11:50 |
Innatech | liveCD boot & fsck? | 11:50 |
Yahooadam | yes | 11:50 |
Innatech | hrrm. That seems odd. | 11:51 |
Innatech | This might help: describes locating the backup superblocks on ext3: http://www.edseek.com/archives/2004/02/25/ext3-filesystem-bad-superblock-recovery/ | 11:52 |
gamble6x | not a lot of happy info out there concerning corrupted superblocks: http://lists.debian.org/debian-user/2001/04/msg03364.html | 11:55 |
Yahooadam | sigh, stuff like this really puts me off ubuntu | 11:56 |
Yahooadam | windows = chkdsk /r | 11:56 |
Yahooadam | linux = screwed | 11:56 |
Innatech | With windows, you're screwed before you boot. | 11:56 |
gamble6x | chkdsk /r can do a lot in windows, but I've not heard of it fixing corrupted superblocks. | 12:01 |
gamble6x | fsck is the same for linux. | 12:01 |
=== Innatech [n=it@netblock-68-183-140-137.dslextreme.com] has joined #ubuntu-server | ||
Yahooadam | kk | 12:04 |
Yahooadam | well it looks like the first link may have worked | 12:05 |
Yahooadam | or not | 12:05 |
jbrouhard | howdy all | 12:05 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!