File size: 15,678 Bytes
4aa5fce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
[00:09] <prey_alone> RubyGems runs really slowly on my Ubuntu server. I've done gem update --system, but it still takes some thirty minutes to get SQLite or even JSON.
[00:47] <flyingparchment> i'm having problems install 7.10 on a sparc enterprise T5120 - it's hung twice during package installation.  is this a known issue?
[01:06] <Deeps> urr
[01:06] <Deeps> i dont think sparc is supported, only x86 and 64bit amd/intel
[01:07] <flyingparchment> if it wasn't supported i think the installation would stop a little bit earlier than that ;)
[01:07] <flyingparchment> it's not supported in 8.04, but 7.10 is
[01:08] <Deeps> true
[01:23] <flyingparchment> hmm.. maybe this time it didn't hang, it just took an hour to get past whatever it was doing
[01:24] <Deeps> alt+f4
[01:24] <Deeps> switches you to the logging vt
[01:24] <flyingparchment> serial console
[01:25] <Deeps> oh, heh
[01:25] <flyingparchment> the system doesn't even have a graphics card ;)
=== RoAk is now known as RoAkSoAx
[03:02] <flyingparchment> heh, managed to install it, now i get segfaults while compiling php.  guess the T2 isn't quite supported yet ;)
[03:19] <cody-somerville> Woot. :)
[03:19] <cody-somerville> I got work to use Ubuntu on its two new servers. <g>
[03:23] <cyris|> Hey everyone.  I've just finished installing cups. I've added a printer and now want to push drivers to windows clients. i'm running the command cupsaddsmb -a but it seems to just hang after I enter my root password, any ideas?
[03:24] <cyris|> The server is a p3 900mhz
[03:24] <cyris|> running 8.04
[03:30] <cody-somerville> cyris|, I've never set that up before but I found a pretty comprehensive tutorial: http://www.enterprisenetworkingplanet.com/netsysm/article.php/3621876
[03:40] <cyris|> cody-someville thanks I will take a look.
[03:48] <cody-somerville> Where is the survey described at https://wiki.ubuntu.com/ServerTeam/Survey/Launch ?
[05:14]  * nealmcb hopes atomicsparc doesn't run into avahi problems with his own .local domain....
[06:22] <osmosis> what time would /etc/logrotate.d/apache2  run?
[06:49] <hads> osmosis: It's run from /etc/cron.daily/ which is defined in /etc/crontab as 25 6    * * *
[06:49] <hads> (it being logrotate)
[06:50] <hads> In case you arent familiar with cron, that means 0625 every day.
[06:54] <hads> What's the way to keep guests clocks in sync with KVM?
[06:54] <hads> s/the way/the recommended way/
[06:55] <osmosis> hads:   can you tell me what this means?
[06:55] <osmosis> 0,10,20,30,40,50 * * * * www-data [ -x /usr/lib/cgi-bin/awstats.pl -a -f /etc/awstats/awstats.conf -a -r /var/log/apache/access.log ] && /usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null
[06:56] <osmosis> I dont understand what the whole part in brackets is for.
[06:58] <hads> osmosis: [ is an alias for the test command (a builting in bash or executable in sh). You can get information about builtin commands by using help, e.g. help [ or help test
[06:59] <hads> Basically it's doing a bunch of tests before it runs the script (after the &&). Making sure files exist and are executable etc.
[07:00] <osmosis> hads: I had to remove that block because it was stopping it from working.
[07:01] <hads> I assume one of the tests was failing then. They're probably there for a reason :)
[07:04] <osmosis> hads: good point
[07:05] <osmosis> hads: it was just bugging me that it wasnt working, but now that I know it works, maybe ill reinvestigate
[07:05] <osmosis> hads: one of the issues im having right now is if the first cron process doesnt finish within 10 min, it launches another and they start overlaping.
[07:16] <hads> osmosis: I don't know that much about awstats really.
[07:55] <sten_> Hi.  anyone here?
[08:57] <LMJ> question around fetchmail/procmail : fetchmail pick up my emails from a remote pop3 server but delivery them on /var/mail/~ instead of the rule i've put in /etc/procmailrc to put them in ~/mail/INBOX  do you know where could be the issue ?
[09:12] <_ruben> LMJ: apparently fetchmail is doing the local delivery itself, and not using procmail to do so, its probably a configuration setting somewhere (in fetchmail)
[09:13] <LMJ> hum, let me see _ruben , thanks
[09:13] <Kamping_Kaiser> \o/ got anonftparchive syncing
[09:25] <LMJ> strance _ruben, I can't see any fetchmail information to configure it on that way
[09:26] <_ruben> http://www.ilkertemir.com/document/fetchmail-procmail.html .. first link on google for "fetchmail procmail"
[09:27] <_ruben> the "mda" option seems to be what you're looking for
[09:29] <Kamping_Kaiser> is packages.u.c running like treakle for anyone else?
[11:18] <nrpil> hello people, i'm trying to install ubuntu server edition but the installer cannot find the package efi-modules
[11:18] <nrpil> i've looked on the cdrom and it's indeed not there, it's not even an ubuntu package, it is however a debian package
[11:21] <nrpil> could someone help me ?
[11:23] <Deeps> !info efi-modules
[11:23] <ubottu> Package efi-modules does not exist in hardy
[11:23] <Deeps> sounds like it could be a bug assuming you're attempting to install a hardy server
[11:24] <Deeps> have you looked on launchpad to see if there are any other reports of thi?
[11:25] <nrpil> Deeps: yes i did, one moment
[11:26] <nrpil> Deeps: https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/144207
[11:26] <uvirtbot> Launchpad bug 144207 in debian-installer "gusty installation failed with "Hash Sum mismatch"" [Undecided,Invalid]
[11:26] <nrpil> Deeps: same error so i can conferm it's still valid
[11:26] <nrpil> confirm
[11:27] <Deeps> same error? "DEBUG: resoluver (efi-modules): package doesn't exist (ignored)" ?
[11:27] <Deeps> that's not actually the error being reported btw
[11:28] <Deeps> and infact, that's not a show-stopping error
[11:28] <Deeps> "Failed to fetch cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.1)/pool/main/x/auth/xauth_1.0.2-0ubuntu1_i386.deb Hash Sum mismatch" is the error being reported here, and chances are that's due to a defect on the CD
[11:28] <Deeps> (the physical media)
[11:28] <nrpil> Deeps: i've tested the cdrom
[11:28] <Deeps> you need to find your actual error
[11:28] <nrpil> Deeps: and it is a showstopper, since i cannot continue
[11:29] <Deeps> as that efi-modules line, if it's as mentioned in the bug report you've listed, is not an error
[11:29] <Deeps> but rather some debug output (notice the "ignored" at the end of the line)
[11:29] <Deeps> look higher up for what's stopping you
[11:29] <nrpil> ok, one moment
[11:31] <nrpil> i also see a bad md5sum but i tested the cd ?
[11:32] <Deeps> it's all about context, if the md5sum error results in more significant failures, then i'd recommend reburning
[11:32] <Deeps> compare the md5 of the iso with that listed on the download page
[11:32] <Deeps> before reburning
[11:34] <nrpil> Deeps: ok, i'll download it again, md5sum it and burn it, seems like the cd test isn't doing what i expected
[11:49] <nrpil> Deeps: thanks !
[11:50] <Deeps> np
[11:59] <digitalspaghetti> Hey folks, I'm trying to upgrade my remote server to 8.04, but at the moment I keep getting this issue:  http://dpaste.com/48175/
[12:00] <digitalspaghetti> i've run aptitude clean and i also ran  dpkg --configure -a
[12:00] <ogra> did you use th eupdate-manager as recommended ?
[12:00] <digitalspaghetti> orga, i used do-release-update, as it's a CLI server, no X on it
[12:00] <ogra> apt and aptitude wont do the right thing here, its expected that you have to install stuff manually alongside and work aournd probs
[12:00] <ogra> right
[12:01] <ogra> thats the cli variant
[12:01] <ogra> (still update-manager though :) )
[12:01] <digitalspaghetti> i did try that first, but when i broke, i tried to use aptitude full-upgrade
[12:02] <digitalspaghetti> when i do update manager, i get a different, but similar error:
[12:02] <ogra> did you update to the patest packages before starting (from gutsy-updates) ?
[12:02] <ogra> *latest
[12:02] <digitalspaghetti> http://dpaste.com/48176/
[12:02] <digitalspaghetti> yes
[12:02] <ogra> hmm, that looks like the volid package was corrupted during download or so
[12:03] <digitalspaghetti> i've cleared out the package cache
[12:03] <ogra> (the locale warnings are ok)
[12:03] <ogra> well, the package cache only hodls the debs
[12:03] <ogra> *holds
[12:03] <digitalspaghetti> also, i had issues yesterday because my server is only 256mb, and i kept getting a seg fault when running it
[12:04] <digitalspaghetti> i had my server upgraded to 1gb today to run the upgrade
[12:04] <ogra> what you look for is the .list file for volumeid in /var/lib/dpkg/info/
[12:04] <digitalspaghetti> ok
[12:04] <ogra> hmm
[12:05] <cody-somerville> If there is a website that has register globals enabled and there is a page that checks to see if "sql" is set in $_GET and if so doesn't set $sql but later executes $sql, what is the quantified risk acknowledging that there are no form inputs that pass sql via GET to this page?
[12:05] <ogra> but such a package doesnt even exist
[12:05] <digitalspaghetti> you want me to remove it?
[12:05] <ogra> i wonder where it comes from first place
[12:06] <ogra> apt-cache madison volumeid
[12:06] <ogra> what does that give you ?
[12:07] <digitalspaghetti> nothing
[12:09] <ogra> weird
[12:10] <ogra> do you get it as well if you try to remove evms-ncurses manually ?
[12:11] <digitalspaghetti> yes :/
[12:12] <ogra> grep volumeid /var/lib/dpkg/info/evms-ncurses.list
[12:12] <ogra> ?
[12:12] <digitalspaghetti> nope, nothing - the file just contains some paths, thats it
[12:14] <ogra> dpkg -l evms-ncurses ?
[12:14] <ogra> grab the package with the right version  from http://archive.ubuntu.com/ubuntu/pool/main/e/evms/ and manually install it with dpkg -i, then try again
[12:14] <digitalspaghetti> http://dpaste.com/48177/
[12:15] <ogra> could it be that you ran out of diskspace or so during the upgrade ? that would explain the corruption
[12:16] <digitalspaghetti> no, got unlimited diskspace
[12:16] <digitalspaghetti> i downloaded the .deb for my system, still getting the error
[12:17] <digitalspaghetti> http://dpaste.com/48178/
[12:18] <ogra> the thing is that there is never been a package like "volumeid" ever in ubuntu, i dont understand why it looks for it
[12:19] <ogra> do you have any non ubuntu entries in your sources.list ?
[12:30] <digitalspaghetti> i'll check
[12:30] <digitalspaghetti> nope, just standard hh updates
[12:34] <ogra> hmm, could be realted to https://bugs.launchpad.net/ubuntu/+source/update-manager-core/+bug/217574
[12:34] <digitalspaghetti> i just pointed my sources back to gutsy, and tried aptitude update && aptitude upgrade, and now i get the same error with a different package :/
[12:34] <uvirtbot> Launchpad bug 217574 in update-manager-core "Could not calculate the upgrade" [Undecided,New]
[12:50] <digitalspaghetti> removing /var/lib/dpgk/info seemed to do it
[13:11] <dmnd> hi
[13:15] <dmnd> are there vserver kernel images for 64 bit cpu's available?
[14:07] <dmnd> hi
[14:58] <ctx144k> hello all
[14:59] <ctx144k> is there a way to start own scripts while startup/shutdown in ubuntu-server?
[14:59] <ctx144k> something like autoexec.bat under dos
[14:59] <Kamping_Kaiser> crons @reboot option?
[14:59] <Kamping_Kaiser> or create an init script
[15:00] <ctx144k> is there existing a ready script for that?
[15:00] <ctx144k> cause, i dont want create something what is already existing
[15:00] <AlexC_> hey all
[15:01] <Kamping_Kaiser> yes. .. crontab
[15:02] <AlexC_> if I get something like this in my logs: 'su[28535]: Successful su for tangocms by root' that means that 'root' switched user to 'tangocms' correct?
[15:02] <Kamping_Kaiser> and perhaps /etc/rc.local
[15:06] <mralphabet> AlexC_: yes
[15:07] <AlexC_> mralphabet, thanks
[15:28] <ctx144k> Kamping_Kaiser, thx
[15:29] <Kamping_Kaiser> ctx144k, np
[16:14] <AlexC_> how can I get the disk-space usage via CLI?
[16:23] <Nafallo> df -h
[16:24] <AlexC_> thanks,
[19:14] <osmosis> how do I get the uuid for a disk, for the fstab ?
[19:18] <blue-frog>  vol_id /dev/sda1
[19:40] <AlexC_> guys, I've got a really weird problem with 'tar'. I am running this as root:  # tar -xzf php-5.2.6.tar.gz  and I am getting an error similar to this for every single file in the archive:  tar: php-5.2.6/CREDITS: Cannot change ownership to uid 1002, gid 1002: Disk quota exceeded
[19:40] <AlexC_> why on earth is it trying to change the ownership to 1002?
[19:41] <hattrick> why is your disk quota exceeded?
[19:41] <hattrick> guys...is munin not working out of the box on ubuntu 8.04?
[19:41] <AlexC_> hattrick, no, it is no where near. I am using 2.1gb out of 30gb
[19:42] <hattrick> usermod -u 1002
[19:42] <hattrick> usermod: user 1002 does not exist
[19:43] <AlexC_> ...
[19:43] <hattrick> anyone using munin?
[19:48] <blue-frog> AlexC_: what is   quota    saying?
[19:49] <AlexC_> blue-frog, Disk quotas for user root (uid 0): none
[19:49] <AlexC_> blue-frog, this is on a VPS, I have contacted them and they are looking into the issue. I just thought I'd ask here to see if I can help solve it
[20:10] <Deeps> AlexC_: any quotas for uid 1002 and/or gid 1002?
[20:10] <AlexC_>  /dev/simfs   51200*  51200   51200            5619       0       0
[20:11] <Deeps> that'll be the problem then
[20:11] <Kamping_Kaiser> anyone here used anonftpsync? i was wondering if you'd customised it to only mirror selected releases
[20:15] <fromport> kamping_kaiser: i'm using anonsync. But it's all in the script itself, isn't it ? I'm basically mirroring only i386/amd64.
[20:16] <Kamping_Kaiser> fromport, my problem is i only want to mirror dapper+hardy, but it seems i can only filter out arches, not releases
[20:16]  * Kamping_Kaiser is trying to think of the best way to hack around it
[20:17] <Kamping_Kaiser> i think i have one, but it'll be ugly :)
[20:18] <Kamping_Kaiser> fromport, i assume your mirroring all releases?
[20:20] <AlexC_> hey,
[20:20] <AlexC_> Deeps, sorry, lightning took out my router. Did you get my message?
[20:20] <Deeps> nope
[20:21] <AlexC_> Deeps, I said that is only half the problem - why is it trying to change ownership to 1002?
[20:21] <Deeps> that'll be defined within the tar file
[20:21] <Deeps> and being root, it's able to do that
[20:22] <AlexC_> wait, what? The tar file can specify what ownerships the files should have, if it can do?
[20:22] <Deeps> i believe so
[20:23] <AlexC_> O_o
[20:23] <Deeps> there'll be a flag (archive i guess) to preserve ownership and permission settings
[20:23] <AlexC_> ah
[20:27] <AlexC_> ok, that makes sense - going to work with that now
[20:28] <fromport> kamping_kaiser: yes all releases: 125G    /archive/pub/mirror/ubuntu/
[20:29] <Kamping_Kaiser> fromport, ok. thanks for that :)
[20:37] <AlexC_> Deeps, thank you so much, this was the cause. Applying the --no-same-owner flag worked great on the tar command
[20:37] <Deeps> :)
[20:49] <_ruben> Kamping_Kaiser: dunno about anonftpsync, but debmirror can filter on arch/release/pool/etc
[20:50] <Kamping_Kaiser> _ruben, thats what i've used so far, but i need all the extra dirs like /tools/ /doc/ etc for cd building
[20:50] <_ruben> ah
[20:51] <Kamping_Kaiser> so i'm going to try and leetly haxor (read: ugly hack) anonftpsync so it only downloads the releases i want
[20:53] <_ruben> ;)
[20:57] <Kamping_Kaiser> ;)
[21:21] <AlexC_> where would be the best place to put PHP 5.2.6 in? /usr/local/php-cgi and /usr/local/php-cli ?
[22:38] <mouser25> Hello, Im looking at setting up an e-mail server to replace microsoft exchange and was wondering what my options where on keeping personal address books synced to the server?
[23:59] <carignou> hello