=== dendrobates is now known as dendro-away | ||
Burgundavia | dendro-away: there is a history of the desktop people not really caring about large deployments | 02:01 |
---|---|---|
Burgundavia | dendro-away: basically, I think the server team will need to push this | 02:01 |
Innatech | I could use a little practical advice on satisfying a client requirement for a site with a handful of Ubuntu servers and routers. I'm going on vacation, and they would like some kind of procedure to, essentially, shut down and restart everything. I'm hesistant to give them a procedure to follow at the consoles or over SSH, even if it's just running a script. Is there a more elegant way? | 02:04 |
infinity | A more elegant way to type "reboot"? | 02:05 |
Innatech | I don't really want them to touch the consoles. I'd rather give them some application they can run from their desktop that will invoke an automatic shutdown script on each machine. | 02:06 |
Innatech | They are really not technical people. | 02:06 |
Innatech | Maybe even one of the open source monitoring/management packages with a Web interface? | 02:07 |
infinity | So, I guess you get to write a big GUI button that, on the backend, does an ssh trigger that... Reboots. | 02:07 |
Innatech | Yeah. I suppose that would be simple enough. OK. | 02:07 |
infinity | If you have VB or C#, should take about 3 minutes. | 02:08 |
infinity | 4, if you fuss over the size of the button. | 02:08 |
Innatech | I don't really code, but I'll see what I can scrape together. Heh. | 02:08 |
jetole | hey guys | 03:20 |
jetole | does anyone know of a way to measure network throughput at any given time? | 03:21 |
jetole | basically to measure how much data your computer is sending at any one point | 03:21 |
jetole | or recieving | 03:21 |
jetole | ?? | 03:21 |
nealmcb | jetole: iptraf | 03:34 |
jetole | nealmcb: thanks | 03:35 |
nealmcb | also iftop, ntop, mrtg, cricket | 03:35 |
nealmcb | cacti... | 03:35 |
Innatech | iptstat | 03:35 |
jetole | well I will look at iftop and cricket but I want a way to poll it on the command line, something I can use to pipe into mysql | 03:36 |
nealmcb | ifconfig :-) | 03:36 |
nealmcb | or the ip command | 03:37 |
jetole | well I will look into ip but I didn't know I could get that from ifconfig | 03:37 |
Innatech | is there anything in /proc/net ? | 03:37 |
* jetole has some RTFM to do | 03:37 | |
jetole | Innatech: I would imagine but I don't know where | 03:38 |
Innatech | cat /proc/net/dev | 03:38 |
Innatech | that looks promising | 03:38 |
Innatech | then feed it through awk when you decide what you want. | 03:38 |
jetole | /proc/net/dev looks like it tells me a total of data sent | 03:39 |
jetole | as opposed to how much data is travelling at the moment | 03:39 |
Innatech | hrrrm. | 03:39 |
Innatech | Well, watch it and do math. | 03:39 |
* nealmcb wonders if iptables can tell you | 03:40 | |
Innatech | probably can. | 03:40 |
jetole | well I have asked in #iptables and they suggested bwmon which I havn't compiled yet | 03:40 |
jetole | they just mentioned that a few mins ago | 03:41 |
* jetole is still looking into this | 03:42 | |
Innatech | I found a few perl scripts that just track /proc/dev/net and update an env variable with the throughput at a user defined interval | 03:43 |
Innatech | >shrug< | 03:43 |
jetole | hmmm | 03:43 |
jetole | maybe | 03:43 |
Innatech | err, /proc/net/dev that is. | 03:43 |
jetole | I would tend to think there is a more native way | 03:44 |
Innatech | jetole: how about ifstat | 03:48 |
Innatech | it watches /proc/net/dev like everything else, but it's cleaned up for you. | 03:49 |
* jetole looks | 03:51 | |
Innatech | also bwm-ng | 03:54 |
Innatech | again, it just watches proc | 03:54 |
jetole | ifstat looks good so far | 03:55 |
Innatech | ethstats is another option | 03:56 |
Innatech | ;P | 03:56 |
* jetole will look at both those but ifstat seems good as well | 03:56 | |
Innatech | jetole: there's something called ftm you can try if you prefer to use the netfilter packer counters. It might be cheaper than scraping ethstats. | 04:03 |
jetole | ethstats doesn't seem too interesting, from what I have seen it won't do a single dump... | 04:04 |
jetole | and I want to monitor only every 5 mins so a single command that can be cron tab'd will do | 04:04 |
jetole | ifstat seems to do that | 04:04 |
nealmcb | yeah - ifstat is very clean and reminds me of iostat | 04:05 |
nealmcb | jetole: thanks for both the question and followup :-) | 04:05 |
jetole | no prob, I really wanted to know | 04:06 |
jetole | ;) | 04:06 |
jetole | and I am still looking into it | 04:06 |
jetole | actually right now I am looking at writting a little c script that reads in and out on one interface and posts it to the mysql | 04:20 |
kraut | moin | 06:26 |
=== dendro-away is now known as dendrobates | ||
qiyong | is it safe for production server to upgrade from feisy to gusty? | 12:51 |
qiyong | generally | 12:51 |
Kamping_Kaiser | yes, if you take precautions | 12:51 |
qiyong | Kamping_Kaiser: the key softwares are postfix | 12:52 |
qiyong | Kamping_Kaiser: i guess everthing can go smoothly | 12:52 |
qiyong | Kamping_Kaiser: it is wise to catch up the latest release, right? | 12:53 |
Kamping_Kaiser | qiyong, if theres no backports, minimal universe and no external packages the upgrade should be fairly painless | 12:53 |
qiyong | even if it's a production server | 12:53 |
Kamping_Kaiser | qiyong, not necesarily. it works. | 12:53 |
Kamping_Kaiser | if you need a functionality from gutsy, upgrade. otherwise, stay where you are. | 12:53 |
qiyong | Kamping_Kaiser: 2.3 postfix doesn't work with milter, so i'd upgrade to 2.4 postfix with gusty | 12:54 |
qiyong | Kamping_Kaiser: if i stay with feisty, then years later | 12:54 |
qiyong | when feisty and feisty upgrade are no longer supported, problem comes then | 12:55 |
qiyong | Kamping_Kaiser: in terms of backports, there maybe some from ubuntu security repos | 12:55 |
Kamping_Kaiser | qiyong, when hardy comes out, you can upgrade to that via gutsy and its a supported update still | 12:55 |
qiyong | nothing else | 12:55 |
Kamping_Kaiser | -security is fine. the -backports repository is what i was thinking about | 12:56 |
ScottK | qiyong: Postfix 2.3 works with milters that do not modify the body of the message. | 12:56 |
qiyong | Kamping_Kaiser: still i have to jump to gusty in order to get on to hardy, even i don't actully use gusty | 12:56 |
Kamping_Kaiser | qiyong, sure. | 12:57 |
qiyong | ScottK: actually, it just simply doesn't work | 12:57 |
ScottK | qiyong: Maybe for your milter, but I used dkim-milter with it just fine. | 12:57 |
qiyong | ScottK: i tried the one for sendmail | 12:58 |
ScottK | qiyong: I've upgraded several servers from Feisty to Gutsy with no significant problem. | 12:58 |
qiyong | ScottK: that encourages me | 12:58 |
qiyong | so i'd upgrade in the weekend | 12:58 |
ScottK | qiyong: Do you use clamav? | 12:58 |
qiyong | if something broken, i have time to fix | 12:59 |
qiyong | ScottK: yes, i was trying to use clamav via milter | 12:59 |
ScottK | Ah. That was actually a clamav-milter config issue, not a Postfix limitation. | 12:59 |
ScottK | It's (I think) fixed in Gutsy. | 13:00 |
ScottK | The one small caution I would give you (that's not in the release notes, read those) is Bug #172925 | 13:00 |
ubotu | Launchpad bug 172925 in postfix "postfix upgrade does not add 'retry' service" [Medium,In progress] https://launchpad.net/bugs/172925 | 13:00 |
qiyong | ScottK: clamav-milter was broken in feisty, right? | 13:00 |
ScottK | For using with Postfix. | 13:00 |
ScottK | I believe, but have not tested, it'd work just fine with Sendmail. | 13:03 |
qiyong | sure, it's designed for sendmail | 13:05 |
qiyong | the bug you show me means every postfix upgrade would be borken? | 13:05 |
qiyong | ScottK: | 13:05 |
qiyong | oh, a postfix reload is ok? | 13:06 |
qiyong | s/oh/or/ | 13:06 |
ScottK | qiyong: Postfix works just fine, just doesn't have the new retry service. | 13:06 |
ScottK | That's why it wasn't noticed during development. | 13:07 |
ScottK | But you run the script mentioned in the but and all is well. | 13:07 |
qiyong | is the retry in some conf file, like master.cf? | 13:07 |
ScottK | Yes. | 13:07 |
ScottK | dendrobates and lamont`: We really ought to add Bug #172925 to the Gutsy release notes. | 13:08 |
ubotu | Launchpad bug 172925 in postfix "postfix upgrade does not add 'retry' service" [Medium,In progress] https://launchpad.net/bugs/172925 | 13:08 |
qiyong | ScottK: it wouldn't hurt me, i never touch my master.cf | 13:09 |
ScottK | qiyong: No, it wouldn't hurt you. | 13:09 |
qiyong | :) | 13:09 |
* Nafallo is scared of sendmail | 13:09 | |
ScottK | qiyong: Additionally, if you did run the upgreade script, it makes the master.cf change for you, so you still don't have to touch it manually. | 13:10 |
* Nafallo rather makes postfix deliver mails into a postgresql db ;-) | 13:10 | |
* ScottK doesn't fear Sendmail, he just thinks his life is complicated enough already without it. | 13:10 | |
* ScottK goes to the fridge for another cold, dead, wet fish. | 13:10 | |
Nafallo | I had to deal with it in my last job :-P | 13:10 |
ScottK | postgresql or dead fish? | 13:12 |
Nafallo | sendmail | 13:12 |
Nafallo | and mysql | 13:12 |
ScottK | Ah. Even scarier. | 13:13 |
Nafallo | I can't avoid mysql however much I try :-/ | 13:13 |
Nafallo | at least my current work run exim. | 13:13 |
Nafallo | on centos... | 13:13 |
Nafallo | with cpanel :-P | 13:14 |
ScottK | That sounds, um, limiting. | 13:15 |
Nafallo | indeed. | 13:16 |
oly- | <-- wonders whats wrong with mysql ? | 13:16 |
Nafallo | oh well. gives me money to play with my own toys ;-) | 13:16 |
Nafallo | is not as fun and good as postgresql | 13:17 |
oly- | how so ? | 13:17 |
oly- | just curious, always used mysql just wonder if i should look into postgres | 13:17 |
Nafallo | personal preference more then anything. | 13:17 |
Nafallo | I used mysql, tried postgresql, and was blown away. | 13:18 |
Nafallo | it really fits me much better. | 13:18 |
oly- | aha, always liked mysql cuz its very easy to setup and administer with the mysql-admin and mysql-query-browser | 13:18 |
Nafallo | postgresql vs mysql on google gives a pretty list ;-) | 13:19 |
oly- | does postgres do clustering and replication type features as well ? | 13:19 |
Nafallo | yes | 13:49 |
Nafallo | hmm | 14:50 |
Nafallo | anyone played with Cobalt RaQ 4 and Ubuntu yet? ;-) | 14:50 |
avatar_ | Cobalt? is that hardware still around? | 14:53 |
Nafallo | yes :-) | 14:53 |
Nafallo | picked one up from work ;-) | 14:54 |
Nafallo | just need some replacement memory and fans now :-) | 14:54 |
Nafallo | and well, replace the OS ;-) | 14:54 |
avatar_ | succes on that one! | 14:55 |
Nafallo | I thought about Strongbolt, but I think I rather run Ubuntu :-) | 14:58 |
rodpod | anyone ever had a problem with installing from cd-rom getting stuck, then to check the integrity to be ok, then it still hangs, ive swapped 3 different cd-roms and have tried 2 different disks | 15:53 |
sommer | does anyone have a recommendation on a dynamic dns service? | 15:55 |
Kamping_Kaiser | sommer, dyndns is fairly common. hasnt fsked up on me to badly yet | 15:56 |
sommer | Kamping_Kaiser: thx I was using them, but all of the sudden my account has been dropped | 15:56 |
Kamping_Kaiser | !tell rodpod about ask | 15:56 |
Kamping_Kaiser | sommer, probably 30 days without IP change | 15:57 |
sommer | Kamping_Kaiser: that's what I'm thinking, but I know I logged in the last time they sent the email | 15:57 |
sommer | must not have updated correctly... garrr | 15:57 |
Kamping_Kaiser | sommer, never dealt with the email - i usually have a blackout at least once every 30 days and get a new IP from that :\ | 15:58 |
sommer | just wondering if anyone is using another service? | 15:58 |
* Kamping_Kaiser needs another UPS or two :( | 15:58 | |
sommer | Kamping_Kaiser: ah... ya, all I really use is for is ssh access from work to home. | 15:58 |
Kamping_Kaiser | sommer, me to, with the occasional link to a file over http (like the idea i put in here a few days ago) | 15:59 |
sommer | Kamping_Kaiser: I'm not sure I caught that idea? | 16:00 |
Kamping_Kaiser | sommer, well, in short it was to provide a default template for using apache vhosts on ubuntu-server by shipping a /etc/apache2/sites-available/template (or similar). <kgoetz> http://k-k.homelinux.net:81/~kgoetz/apache2-vhost-template.txt is the link, the .txt is so lighhtttpd doesnnt try and server it as binary :\ | 16:01 |
Kamping_Kaiser | i've been kicking it around in my mind from various angles for the last few days trying to work out how practical it is | 16:01 |
=== away is now known as stickystyle | ||
sommer | Kamping_Kaiser: ah... I think I remember now. Doesn't the default config use a vhost? | 16:03 |
Kamping_Kaiser | two key issues i noticed were the amount of doco that could need changing, and the requirement to have a DNS server to use it | 16:03 |
Kamping_Kaiser | sommer, yes, but its not very easy to wokr out from there how to DIY vhosts | 16:03 |
ScottK | sommer: My usual answer is that if you think dydns will help you, you're probably trying to solve the wrong problem. | 16:03 |
mralphabet | sommer: there is a 'long term dns' option for dyndns | 16:04 |
sommer | ScottK: heh... seems simple enough | 16:04 |
mralphabet | sommer: so that it doesn't require being touched every 30 days | 16:04 |
sommer | mralphabet: ya... I just haven't ponied up the cash | 16:04 |
ScottK | sommer: If you actually need a static presence on the net, then it's virutally always better to open the wallet and get an actual static IP IMO. | 16:05 |
mralphabet | sommer: cash? o0 I've never yad to pay for mine | 16:05 |
mralphabet | s/yad/had | 16:05 |
sommer | mralphabet: really I thought you needed to pay for not having to update? | 16:05 |
sommer | ScottK: agreed, but so far my needs have been quite small | 16:06 |
mralphabet | sommer: I've never paid | 16:06 |
sommer | mralphabet: awesome I'll do more digging on thier siete | 16:06 |
sommer | site rather | 16:06 |
sommer | mralphabet: are you using a ddns update client? | 16:08 |
mralphabet | sommer: I'm looking too, I remember two different kinds of dyndns services, a short term and long term configuration. short term had to be touched fairly often, long term just sat there | 16:08 |
mralphabet | sommer: I am now, a buffalo router using ddwrt, but I wasn't for . . .2 years? or so. Still never had the issue | 16:09 |
sommer | mralphabet: ah... I think I tried configuring my wireless ap to do the update, but I don't think I ever got it working correctly | 16:10 |
mralphabet | sommer: this is from an email a few years ago, "This hostname deletion is due to an idle timeout on all Dynamic DNS | 16:11 |
mralphabet | hostnames; they are deleted after 35 days without updates. We are sending | 16:11 |
mralphabet | you this notification to avoid confusion about the deletion of your host, | 16:11 |
mralphabet | and to let you re-create the host at your earliest convenience. Hosts with | 16:11 |
mralphabet | static IP addresses should be in the Static DNS system, which does not have | 16:11 |
mralphabet | a 35 day timeout." | 16:11 |
mralphabet | at that point the "static dns system" was a selectable option | 16:11 |
sommer | mralphabet: ah... I'm with ya | 16:11 |
sommer | I'll probably just create another account | 16:12 |
mralphabet | sommer: and looking at the page, I go to Account > My Hosts > Hostname > and configure the name | 16:13 |
mralphabet | sommer: https://www.dyndns.com/support/kb/static_dns_end_of_life.html | 16:15 |
mralphabet | well, there's my answer | 16:15 |
mralphabet | my router apparently is keeping the updates going | 16:15 |
sommer | mralphabet: ah... thanks for the link. | 16:16 |
Kamping_Kaiser | wish i kept my IP for 30 days at a time :( | 16:16 |
sommer | I'll probably take a serious look at purchasing an account | 16:16 |
Kamping_Kaiser | i coudl point some/one of my domains home | 16:16 |
* mralphabet hasn't had an IP change in months | 16:17 | |
* mralphabet should power cycle his modem more often | 16:17 | |
* Kamping_Kaiser wonders why you would reboot a modem | 16:18 | |
mneisen | Hi, I have trouble getting postfix/SMTP AUTH working wiht mysql. It seems that there is not even a connection attempt to the database. I have postfix/courier/saslauthd running on Ubuntu Gutsy. Anybody here who might want to help?! Thanks in advance! | 16:19 |
lamont` | mneisen: does it work if you tell postfix to not chroot the daemon? (or if you link the socket into the same place under /var/spool/postfix? | 16:20 |
mneisen | lamont`: Let me try. | 16:20 |
mneisen | lamont`: how would i do that, btw? | 16:22 |
lamont` | there's a column in /etc/postfix/master.cf for 'chroot' or such. save master.cf and change all those to the not-chroot value | 16:23 |
* lamont` doesn't remember which way the switch is | 16:23 | |
lamont` | then restart postfix | 16:23 |
Kamping_Kaiser | its the middle column | 16:23 |
mneisen | well, thats the way i know how to do it. | 16:25 |
mneisen | trouble is: does "-" in a column mean yes or no? | 16:26 |
mneisen | since there is no single "y" in this column in my master.cd | 16:26 |
mneisen | master.cf | 16:26 |
lamont` | # service type private unpriv chroot wakeup maxproc command + args | 16:29 |
lamont` | # (yes) (yes) (yes) (never) (100) | 16:29 |
lamont` | that pair of lines is the meaning, and the default | 16:29 |
lamont` | - == yes for chroot | 16:29 |
lamont` | so make 'em all 'n' :0) | 16:29 |
mneisen | well, changed that to "n" for smtp and smtps - no luck. | 16:32 |
mneisen | lamont`: I just found, that a problem I thought was solved is still there: | 16:44 |
mneisen | warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied | 16:44 |
mneisen | Can you give me a hint what is wrong? | 16:45 |
ScottK | mneisen: That's what you get if sasldb2 isn't in the chroot. | 16:45 |
ScottK | Did you restart or reload Postfix? | 16:46 |
mneisen | Yes, I did. | 16:46 |
mneisen | well, I did a restart. | 16:46 |
ScottK | Which? | 16:46 |
ScottK | OK | 16:46 |
mneisen | :-D | 16:46 |
mneisen | ScottK: But i do not want to use sasldb2 | 16:47 |
mneisen | I have my user data in a mysql db. | 16:47 |
leonel | check your file /etc/postfix/sasl/smtp.conf | 16:47 |
ScottK | OK. Well it's trying to use saslbd2. | 16:47 |
mneisen | or is it that the sasldb2 just have to be there. | 16:47 |
mneisen | ? | 16:47 |
ScottK | Dunno. I actually use sasldb2, so I want it there. | 16:48 |
ScottK | Does /etc/sasldb2 actually exist on your system? | 16:48 |
mneisen | leonel: my smtpd.conf is here: http://paste.ubuntu-nl.org/47236/ | 16:48 |
mneisen | ScottK: I have an sasldb2 in /etc. | 16:48 |
ScottK | mneisen: Then your postfix is almost certainly still looking in the chroot. | 16:49 |
mneisen | well, I edited the master.cf and put the "n" in the lines defining smtp and smtps. | 16:50 |
leonel | mneisen: remove saslauthd from the pwcheck methos | 16:50 |
leonel | mneisen: remove saslauthd from the pwcheck method | 16:50 |
mneisen | leonel: Thanks for the tip. | 16:50 |
leonel | because you are not using saslauthd really | 16:50 |
mneisen | ok. | 16:51 |
mneisen | but still the same. | 16:51 |
leonel | restarted postfix ? | 16:52 |
mneisen | ScottK: Now i did /etc/init.d/postfix stop && /ect/init.d/postfix start - still the same. | 16:52 |
ScottK | OK. That's odd then. | 16:53 |
mneisen | Just what I think ... :-D | 16:53 |
mneisen | ScottK: BTW, i have the sasldb2 in /var/spool/postfix/etc, so even *if* postfix were still running chrooted, it should find what it needs. | 16:54 |
=== dendrobates is now known as dendro-away | ||
leonel | sasldb2 is used when you are not using libsasl2-modules-sql | 16:55 |
ScottK | OK Then it's another issue | 16:55 |
mneisen | ii libsasl2-modules-sql 2.1.22.dfsg1-9ubuntu2 Pluggab[...] | 16:56 |
mneisen | it is installed. | 16:56 |
mneisen | and in smtpd.conf (with auxprop and sql) it should select the right backend. | 16:57 |
mneisen | but it does not. | 16:57 |
mneisen | it is not even logging anything, afaics. Where should the whole thingy log into: mail.info? | 16:59 |
mneisen | well, its logging a bit, but i wanted something more. | 17:00 |
leonel | mail.log and syslog | 17:00 |
mneisen | i just get: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied | 17:01 |
mneisen | whoppsie, that could be it. | 17:01 |
mneisen | wrong perms? | 17:01 |
leonel | I don't have /etc/sasldb2 .. | 17:02 |
mneisen | well, I would rather not, either. | 17:02 |
mneisen | But i have to go by the errors i get, sadly. :-D | 17:03 |
mneisen | ok, now i have postfix configured to authenticate against /etc/sasldb2 | 17:04 |
mneisen | great! | 17:04 |
mneisen | but not what i want. | 17:04 |
=== stickystyle is now known as stickystyle|Away | ||
ScottK | It's a start | 17:05 |
ivoks | hi | 17:06 |
mneisen | ScottK: :- | 17:06 |
mneisen | :-D | 17:06 |
mneisen | well, how do i change the auth backend if not by /etc/postfix/sasl/smtpd.conf | 17:06 |
mneisen | ? | 17:06 |
leonel | there is where youcontrol that | 17:07 |
mneisen | so i thought. | 17:07 |
ivoks | with postconf :) | 17:07 |
mneisen | but it does not seem to work. | 17:07 |
mneisen | ivoks: :-D | 17:07 |
ivoks | *everythin* else is optional | 17:07 |
ivoks | postconf is the only tool | 17:07 |
ivoks | begining and the end of the whole mankind | 17:07 |
mneisen | ivoks: well, then shoot. | 17:08 |
ivoks | what? | 17:08 |
ScottK | mneisen: You might have a look at http://www.postfix-book.com/download/smtpauth_mysql_database.sql.gz | 17:08 |
mneisen | what is the right 'postconf -e' line to change SMTP AUTH backend to use mysql? | 17:08 |
mneisen | ScottK: thanks for the link. | 17:08 |
ivoks | mneisen: none | 17:08 |
ivoks | for AUTH you can use sasl or dovecot | 17:08 |
ivoks | and then sasl or dovecot uses mysql/ldap/whatever | 17:09 |
mneisen | yeah, right. But it does not in my case, unfortunately. | 17:09 |
mneisen | it uses sasl, all right. | 17:09 |
mneisen | but sadly with the BDB sasldb2 backend. | 17:09 |
ivoks | then set up sasl | 17:09 |
ivoks | dovecot does have an example in dovecot.conf for mysql auth | 17:10 |
mneisen | ivoks: that's what I try to do. | 17:10 |
mneisen | ivoks: thanks for the hint. do you have an URL? | 17:10 |
ivoks | you mean bank account number? :) | 17:10 |
ivoks | i don't have an url, there are examples in dovecot.conf, provided by dovecot-common package | 17:11 |
mneisen | ok. | 17:11 |
ivoks | bye | 17:56 |
=== stickystyle|Away is now known as away | ||
=== away is now known as stickystyle | ||
=== dendro-away is now known as dendrobates | ||
=== dendrobates is now known as dendro-away | ||
=== dendro-away is now known as dendrobates | ||
=== stickystyle is now known as away | ||
=== away is now known as stickystyle | ||
lonecrow | heya.. having a noob issue. I'm sure most of you have seen this before :) | 19:35 |
=== mathiaz_ is now known as mathiaz | ||
sommer | lonecrow: I've seen it. | 19:46 |
sommer | You're going to need a net some duct tape and a pound of chewing gum! | 19:47 |
sommer | just kidding... | 19:51 |
mralphabet | sommer == mcgyver? | 19:55 |
=== ember_ is now known as ember | ||
sommer | mralphabet: he's actually my uncle. Uncle Mac I call him. | 19:58 |
mralphabet | . . . | 20:01 |
sommer | you're right that's not true, you caught me... heh | 20:01 |
* sommer wonders what lonecrow's question is | 20:04 | |
mralphabet | heh | 20:05 |
lonecrow | sorry lol | 20:31 |
lonecrow | I had to go afk stopped what I was typing mid way | 20:32 |
lonecrow | I installed ubuntu with lamp and postresql.. | 20:32 |
lonecrow | it boots up and gives me an error with apache2 saying I don't have a fqdn. I remember fixing this in the past by adding somerthing to /etc/hosts but I dont know what. Its just a pc wth dhcp turned on for right now | 20:33 |
lonecrow | my hosts has 127.0.0.1 localhost which is right but then 127.0.1.1 mycomputername | 20:34 |
lonecrow | in the apache2.conf I dont see anything that says "servername=" anywhere should I add it? | 20:34 |
lonecrow | please help.. shouldn't this type of thing work after the install? | 20:46 |
mralphabet | I don't have a servername directive in my conf and it works | 20:47 |
lonecrow | I've done this install like so many different ways. I've installed bare bones and then apt-get install apache2 and it still gives same error. | 20:48 |
stickystyle | lonecrow: are you talking about the "Could not determine the server's fully qualified domain" message that you get where restarting/reloading apache2 | 20:48 |
stickystyle | ? | 20:48 |
lonecrow | yes | 20:49 |
lonecrow | I've fixed this before in a the past I just forget where... | 20:49 |
lonecrow | I've looked it up and can't find any fix for it, nor does it say in the ubuntu website page for apache2 | 20:50 |
stickystyle | its really not much of an error, just kind of a 'by the way'. It's normally cleared up with ServerName in your apache2.conf file. you may want to check the output of $hostname --fqdn | 20:51 |
stickystyle | ServerName www.example.com | 20:52 |
stickystyle | no '=' sign. | 20:52 |
stickystyle | I'm betting that hostnanme --fqdn does not spit out a true fqdn. since apache first looks for ServerName, then trys to determine the fqdn itself. | 20:54 |
stickystyle | and if it cannot it lets you know. | 20:54 |
stickystyle | http://httpd.apache.org/docs/2.0/mod/core.html#servername | 20:55 |
lonecrow | Oh no = sign ok thanks | 20:57 |
lonecrow | yeah there is no www just the name of the computer for now | 20:57 |
lonecrow | ok that worked.. :) thanks.. now I'm getting install:cannot change owner and or group of /var/lock/apache2 | 20:59 |
lonecrow | then permission denied make_sock couldn't bind to 80 etc.. which is probbly due to the first error. | 20:59 |
lonecrow | this is a standard lamp install of gutsy .. wtf set the root username and password its all good.. | 21:00 |
stickystyle | Did you try restarting it without using sudo? e.g. $sudo /etc/init.d/apache2 start that is the kind of error you get when you try to start/restart as a normal user. | 21:01 |
lonecrow | no I used sudo | 21:03 |
lonecrow | or not | 21:03 |
lonecrow | doh | 21:03 |
lonecrow | me so smart | 21:03 |
lonecrow | thanks guys :) | 21:04 |
stickystyle | :-D It happens, don't worry. | 21:04 |
Goosemoose | coffeedude, you around? | 21:10 |
Gargoyle | Hello | 21:19 |
mralphabet | hello | 21:19 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!