Re: [CentOS] Outliner

2019-04-14 Thread Jussi Hirvi via CentOS
On 14.4.2019 13.42, H wrote: I would love to find an old-fashionedoutliner, like the ones that used to exist prior to the modern GUIs. It would make writing structured documents, or organizing thoughts in general, so much more convenient, productive and faster. Ideally it should allow saving file

Re: [CentOS] VPN suggestions centos 6, 7

2016-04-04 Thread Jussi Hirvi
On 4.4.2016 22.01, Eero Volotinen wrote: And openvpn. Avoid ipsec as it's too complex and pptp is unsecure. This made me google around a little, and I found some good info here. They, too, kind of recommend openvpn. http://www.howtogeek.com/211329/which-is-the-best-vpn-protocol-pptp-vs.-open

Re: [CentOS] VPN suggestions centos 6, 7

2016-04-04 Thread Jussi Hirvi
My partner has been using Openvpn extensively. It looks very reasonable and has been quite trustworthy. It is configured via commandline. The server seems to work on Windows, too ("Vista and later"). There are good tutorials for CentOs, for example https://www.digitalocean.com/community/tutor

Re: [CentOS] Error when installing mysql package

2015-11-15 Thread Jussi Hirvi
I would try yum --disablerepo=\* --enablerepo=base --enablerepo=updates install mariadb That would exclude possible conflicts between the base & update repos and more exotic software from other repos. - Jussi ___ CentOS mailing list CentOS@centos.or

Re: [CentOS] Backup PC or other solution

2015-05-07 Thread Jussi Hirvi
On 7.5.2015 14.24, Mauricio Tavares wrote: I admit one think it does miss is having a convenient way to look for a file, specially if you physically rotate drives. If rdiff-backup will tell when was the last time a file has been backed up/touched even if drive with said file is not mounted, I wil

Re: [CentOS] Backup PC or other solution

2015-05-07 Thread Jussi Hirvi
I wonder why nobody has yet mentioned rdiff-backup. It combines browsable directories with multiple versions - the version data is stored in a separate rdiff-backup-data subdirectory (one per backup task). One downside is that rdiff-backup causes a lot of network traffic. For that reason I cur

Re: [CentOS] Hdd maximum size

2015-03-31 Thread Jussi Hirvi
On 31.3.2015 14.43, donais wrote: Server is a Lenovo RV-340 E2420 build 70AB001VUX 8go Support for Sata-3 6gbps and Raid-5 Did someone can tell if it can handle 6tb hard drives? See this. It depends on the operating system version and filesystem (ext4, xfs etc.). http://wiki.centos.org/A

Re: [CentOS] yum upgrade not working

2014-12-22 Thread Jussi Hirvi
This often helps to avoid broken dependencies: yum --disablerepo=\* --enablerepo=base --enablerepo=updates update After that, a regular yum update. - Jussi On 22.12.2014 17.39, Tim Dunphy wrote: Removing that libyaml package allowed me to upgrade! Thanks for the tip! ___

Re: [CentOS] Amavisd-new delivers spam emails

2014-09-11 Thread Jussi Hirvi
On 11.9.2014 15.09, Eliezer Croitoru wrote: I think amavisd-new mailing list is the better place for that. Ok, I will ask there. Ideas are still welcome via this list, too. - Jussi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mai

[CentOS] Amavisd-new delivers spam emails

2014-09-11 Thread Jussi Hirvi
I recently noticed that my email server now delivers spam to final recipients even though the spam score is more than the $sa_kill_level_deflt. A probable reason is that some amavisd update has introduced new configuration variables, which I have not defined in my configuration, and the defau

Re: [CentOS] USB thermometer - perl script - problem

2014-03-24 Thread Jussi Hirvi
On 23.3.2014 16.29, Darr247 wrote: > Do you find a temper-poll script in/usr/local/bin/ ? > (I found that mentioned athttps://github.com/padelt/temper-python ) No. That seems to be a different approach in using the thermometer. The one I tried was made with perl, temper-poll is python. I tried

[CentOS] USB thermometer - perl script - problem

2014-03-23 Thread Jussi Hirvi
Hopefully someone here could help. I need to debug, but I don't know much about perl. I bought a cheap USB thermometer: http://www.amazon.com/dp/B002VA813U?tag=grepular02-20 And found directions for use (for Linux) here: https://grepular.com/Using_Linux_to_Monitor_Room_Temperature_Remotely_and

Re: [CentOS] Memory leak - how to investigate

2014-02-04 Thread Jussi Hirvi
On 3.2.2014 19.58, m.r...@5-cent.us wrote: > That's a*lot* of apache. Is that really correct? Do you really need that > many threads? How heavily is the webserver used? Is this a good measure? At least it's exact. :-) # du -sh /var/log/httpd 261M/var/log/httpd Those logs are rotated with def

[CentOS] Memory leak - how to investigate

2014-02-03 Thread Jussi Hirvi
My web & name server runs out of memory from time to time, to the point where it's completely unresponsive to anything. At that point reset is the only alternative. (Or, as this is a virtual guest, I just say "virsh destroy"). But why this happens - I would like to know. The host in question i

Re: [CentOS] Amavisd start - SOLVED

2013-12-23 Thread Jussi Hirvi
On 23.12.2013 13.17, Jitse Klomp wrote: > You should turn SELinux back on and run 'restorecon /etc/amavisd.conf' to > (re)set the correct SELinux context. Thanks, maybe I will try that. I have never learned to use SELinux, and most tutorials on the net - for example on how to install a mail serv

Re: [CentOS] Amavisd start - SOLVED

2013-12-22 Thread Jussi Hirvi
This was connected with SELinux. I disabled SELinux and rebooted (naughty me), and things are back to normal. - Jussi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] Amavisd start

2013-12-22 Thread Jussi Hirvi
This is CentOS 6. Why can it be that when I try to run /etc/init.d/amavisd start ... I get this error: Starting Mail Virus Scanner (amavisd): Config file "/etc/amavisd.conf" is inaccessible: Permission denied, at /usr/sbin/amavisd line 2085. [FAILED] But when I use sh: sh /etc/ini

Re: [CentOS] htaccess is not working

2013-02-13 Thread Jussi Hirvi
Check that you have something like this in the Apache conf for that directory: AllowOverride All Override there means that .htpasswd file can override the main Apache conf. It does not really need to be "AllowOverride All", only some options are needed. But if you have "AllowOverride Non

[CentOS] Monitoring VM loads

2012-09-13 Thread Jussi Hirvi
I am using CentOS 5, and kvm virtualization. My VM stack (about 10 v-machines) now often gets painfully slow, probably because of IO limitations. How could I find out where the load comes from? virt-top on the host only shows the processor load. For this situation, it is not very useful. It w

[CentOS] Monitoring VM loads

2012-09-13 Thread Jussi Hirvi
I am using CentOS 5, and kvm virtualization. My VM stack (about 10 v-machines) now often gets painfully slow, probably because of IO limitations. How could I find out where the load comes from? virt-top on the host only shows the processor load. For this situation, it is not very useful. It w

Re: [CentOS] DNS DoS attack

2012-08-17 Thread Jussi Hirvi
On 17.8.2012 15.04, John Doe wrote: > Maybe it is this: > http://arstechnica.com/business/2012/03/how-anonymous-plans-to-use-dns-as-a-weapon/ Interesting idea. In that case the ip's in my logs would point to the targets of the attact. I checked a few of them, and they look more like hijacked vic

Re: [CentOS] DNS DoS attack

2012-08-17 Thread Jussi Hirvi
On 17.8.2012 8.18, John R Pierce wrote: > meh, if its coming from lots of random hosts, then fail2ban style > techniques won't work. I assume this is an authoritative name server? > does it have recursive queries disabled so it can only return results > for the domain(s) its authoritative for ? Y

[CentOS] DNS DoS attack

2012-08-16 Thread Jussi Hirvi
Looks like one of my name servers (CentOS 5) gets a lot of malicious queries. The cpu load is constantly about 3 %. I put on stricter limits on who is allowed recursive queries, but this does not affect the CPU load. I also updated bind. I temporarily turned on querylog (command: rndc querylog)

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 16.5.2012 2.42, Jussi Hirvi wrote: > Now I just have to fix the sendmail ("rx" instance) config so that it > really sends the email to localhost (where amavis is listening), instead > of trying to send directly to the final destination. Ok, I found it, and it is *so* obviou

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 16.5.2012 1.03, Alexander Dalloz wrote: >> define(`ESMTP_MAILER_ARGS',`TCP $h 10024')dnl > Right, here you modify the target port of that Sendmail instance. And I > bet $1.000 that if you tcpdump on the main mail server you will see the > sending attempt to come in there at port 10024 and thus

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 16.5.2012 0.37, Frank Cox wrote: > What's the point of that? (Genuine question.) > > One server here, one across town, or even two separate boxes in a single room > -- sure. But in the same box? If the the box is on fire, now you're out both > your main and your backup server. > > I must be

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 15.5.2012 23.54, Alexander Dalloz wrote: > So there must be "sm-mta-rx" be defined somewhere. Just in case, here is my conf for the rx instance. To repeat, this sendmail instance sends everything to amavisd at port 10024. - Jussi divert(-1)dnl include(`/usr/share/sendmail-cf/m4/cf.m4')dnl VER

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 16.5.2012 0.24, m.r...@5-cent.us wrote: > Hmmm... dumb question: is anything out of disk space? There are no dumb questions here. :-) The culprit has to be something simple like that. However, df shows that there is still room. - Jussi ___ CentOS ma

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 16.5.2012 0.18, John Hinton wrote: > A couple of things to check. I don't know if these servers are in the > same location or not but it is possible if not, that your provider > blocks port 25. Here are two configs to check. Thanks for input. I can make the contact from the backup-mailserver to

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 15.5.2012 23.54, Alexander Dalloz wrote: > What is the content of the submit.mc? Your previous log snipplet showed > >> > May 15 22:21:41 mx2 sm-mta-rx[8674]: q4FIhPij007483: makeconnection > So there must be "sm-mta-rx" be defined somewhere. Yes. In a dual sendmail setup there are two instan

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 15.5.2012 23.33, m.r...@5-cent.us wrote: > Is there any chance that your sendmail is sending an invalid id? Uh, what do you mean by id? Domain name? I assume that comes from /etc/sysconfig/network. which correctly says > HOSTNAME=mx2.greenspot.fi - Jussi __

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
On 15.5.2012 23.22, Alexander Dalloz wrote: > It is technically impossible that the telnet to target port 25 succeeds > from the same system on which the Sendmail gets a connection refused, > unless Sendmail is configured to use a non-standard target port. That is why I am baffled. :-/ I could us

Re: [CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
Some more info. Below is a more complete telnet session from backup mail server (mx2.greenspot.fi) to primary mail server (mail.greenspot.fi). It only proves that sending mail works fine from command-line. But my sendmail setup cannot do the same. I wrote that MAILER-DAEMON can get mail through

[CentOS] Sendmail problem - baffled

2012-05-15 Thread Jussi Hirvi
Our backup mail server (which I have just re-configured) tries to contact the primary mail server, and fails. My log shows repeatedly "connection refused": May 15 22:21:41 mx2 sm-mta-rx[8674]: q4FIhPij007483: makeconnection (mail.greenspot.fi. [83.143.217.182]) failed: Connection refused by ma

Re: [CentOS] Geographic filtering for Sendmail on CentOS 5

2012-05-14 Thread Jussi Hirvi
On 14.5.2012 11.13, Alexander Dalloz wrote: > You are best served if you use a milter. You may find a better suiting > milter onhttps://www.milter.org/, but I think there is no better > flexible choice than MIMEDefanghttp://www.mimedefang.org/ (available > through EPEL). If you speak Perl, you are

[CentOS] Geographic filtering for Sendmail on CentOS 5

2012-05-13 Thread Jussi Hirvi
I tried to google, but find no directions for configuring this. I would like to 1) limit greylisting only for messages that come from other countries 2) give higher spam level to these messages (preferably only for certain receiving email addresses) I already have installed geoip.x86_64 (1.4.6-

Re: [CentOS] your advice on backup procedure

2012-03-24 Thread Jussi Hirvi
For MySQL backups, I think nobody mentioned doing nightly backups with mysqldump and then backing them up with rsync or other tools. That is what I do. No need to stop any services even for a second. I have a two-tier backup solution, where I first backup things with rsync to "backup 1" and the

Re: [CentOS] Constant disk activity

2012-03-22 Thread Jussi Hirvi
On 22.3.2012 8.35, Woodchuck wrote: > I believe the sequence of commands would be Gf5r3ZZ Just a sidenote: what vi/vim command is ZZ? I notice that it saves and quits, but why? I usually to :wq for that. - Jussi ___ CentOS mailing list CentOS@centos.o

Re: [CentOS] C6.2 on DELL E6520

2012-03-02 Thread Jussi Hirvi
On 2.3.2012 15.59, Bernd Bartmann wrote: > The only problem is that the system hangs after > entering "reboot". I can see that several services get stopped, but > after some seconds the screen is just black and nothing happens > anymore. Does it hang after the shutdown process is totally complete,

Re: [CentOS] Strange queries in httpd log

2012-02-24 Thread Jussi Hirvi
On 24.2.2012 12.22, Markus Falb wrote: > It was a check for proxy. > you can try something like this: > > $ telnetwww.my_real_domain.com 80 > Trying ... > Connected towww.my_real_domain.com. > Escape character is '^]'. > GEThttp://financeande.com/feed/feed.php HTTP/1.1 > host:www.my_real_domain.c

Re: [CentOS] Strange queries in httpd log

2012-02-24 Thread Jussi Hirvi
On 24.2.2012 10.27, John R Pierce wrote: > On 02/24/12 12:10 AM, Jussi Hirvi wrote: >> ...when the DNS shows that the domain financeande.com is hosted >> elsewhere? What kind of query can they have used? > > a forged one with a bogus vhost. I get almost similar entry, if I hi

[CentOS] Strange queries in httpd log

2012-02-24 Thread Jussi Hirvi
How is it possible that I get this kind of queries on my webserver (extract from httpd access log): 58.218.199.250 - - [22/Feb/2012:15:23:06 +0200] "GET http://financeande.com/feed/feed.php HTTP/1.1" 404 291 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)" ...when the DNS shows that th

Re: [CentOS] Key auth question

2012-02-12 Thread Jussi Hirvi
On 12.2.2012 11.51, Eero Volotinen wrote: > Check logs for sshd deamon first. It usually gives explanation about issue. Damn, that was simple. /var/log/secure tells it in plain language: > Authentication refused: bad ownership or modes for directory /var/www/railsdev (that is the home dir for the

[CentOS] Key auth question

2012-02-12 Thread Jussi Hirvi
I have a problem getting key authentication to work with one remote user (git), even though it works fine for the remote user "root". The remote file .ssh/authorized_keys is identical for both users - I cp'ed it from the root account to the git home dir. On local machine (OS X, by the way) I ha

[CentOS] Key auth question

2012-02-12 Thread Jussi Hirvi
$ ssh root@remotehost I get in without a password. But when I do $ ssh git@remotehost I will be asked for a password. What should I check? - Jussi -- Jussi Hirvi * Green Spot Suvilahdenkatu 1 B 78 * 00500 Helsinki * Finland Tel. +358 9 493 981 * Mobile +358 40 771 2098 (onl

Re: [CentOS] Htaccess management with GUI

2012-01-31 Thread Jussi Hirvi
On 31.1.2012 16.25, n...@li.nux.ro wrote: > webmin I was thinking about that, as I use webmin myself. I think, however, that webmin is overkill in this case. At the moment I am testing DirectoryPass http://www.DirectoryPass.com/ ...and it looks like nearly perfect for me, except it cannot actu

[CentOS] Htaccess management with GUI

2012-01-31 Thread Jussi Hirvi
My webhotel client wants to be able to manage password protection of their website with GUI. They need to create and destroy directories, set .htaccess authentication, and create usernames and passwords. There seem to be a number of tools that do this, more or less: http://www.debianhelp.co.uk/

Re: [CentOS] Postfix mail server procedure

2011-11-09 Thread Jussi Hirvi
On 9.11.2011 14.04, Jussi Hirvi wrote: > Looks like there is no similar "dual" setup for postfix. This postfix > tutorial does not look bad: > > http://www.wowtutorial.org/tutorial/169.html Uh, now I read some more of this thread and saw some (other) bad tutorials. This one

Re: [CentOS] Postfix mail server procedure

2011-11-09 Thread Jussi Hirvi
On 9.11.2011 13.23, Adam Tauno Williams wrote: > For CLAMAV you need to have clamd running and a milter. I'm not certain > what milter's are current - when I set one up they were all had equally > stale documentation. Does CentOS currently ship a working clamav > milter? Hope this is relevant. I

[CentOS] Fwd: L9 - what is true?

2011-10-19 Thread Jussi Hirvi
Uh, again I posted on the wrong list - sorry! - Jussi Original Message Subject: L9 - what is true? Date: Wed, 19 Oct 2011 15:01:59 +0300 From: Jussi Hirvi To: CentOS mailing list This code: boolean(null); ', '; boolean(string); ', '; boolean(integer)

[CentOS] L9 - what is true?

2011-10-19 Thread Jussi Hirvi
This code: boolean(null); ', '; boolean(string); ', '; boolean(integer);', '; boolean(array); ', '; boolean(map);', '; gives: false, false, false, true, true This is different from L8. Is this intentional? If so, why? This has consequences which I think are counterintuitive: if(

[CentOS] L9 - what is a value

2011-10-17 Thread Jussi Hirvi
This code: var('i') = string; boolean($i); ''; var('i') = array; boolean($i); ''; gives: > false > true So an empty array gives "true" but an empty string "false". This is different from L8. Is this intentional? If so, why? This has consequences which I think are counterintuitive: var('i') =

[CentOS] SORRY - L9 - what is a value

2011-10-17 Thread Jussi Hirvi
Sorry, wrong list! This is Lasso code. - Jussi On 17.10.2011 15.04, Jussi Hirvi wrote: > This code: > > var('i') = string; > boolean($i); ''; > var('i') = array; > boolean($i); ''; ___ Cen

[CentOS] L9 - what is a value

2011-10-17 Thread Jussi Hirvi
This code: var('i') = string; boolean($i); ''; var('i') = array; boolean($i); ''; gives: > false > true So an empty array gives "true" but an empty string "false". This is different from L8. Is this intentional? If so, why? - Jussi ___ CentOS mail

Re: [CentOS] Why are all repos < 5.6 listed?

2011-07-23 Thread Jussi Hirvi
On 23.7.2011 21.58, Ljubomir Ljubojevic wrote: > I just enabled all repos on my system, to enable me to find >> a particular package. This is the first time I have noticed >> all the Centos repos< 5.6 being listed. >> >> Is this a new feature, to include all repos pre 5.6 now? >> I have these

Re: [CentOS] Recommended mailing list manager for CentOS 5.6

2011-07-20 Thread Jussi Hirvi
On 20.7.2011 4.32, Les Mikesell wrote: > One feature you are likely to miss, though, is a good search for the archives. > If it is open to the public I suppose you can let google index it for you. +1 If someone knows a fix, please share. Mailman 3 will most probably have searchable archives, but

Re: [CentOS] Diskdevstat

2011-07-07 Thread Jussi Hirvi
On 7.7.2011 19.46, Giovanni Tirloni wrote: > There are more details about diskdevstat and netdevstat here: > http://goo.gl/pA8Yt > > Since they depend on SystemTap, check this: > http://sourceware.org/systemtap/wiki/SystemTapOnCentOS > > I couldn't find the tuned-utils package for CentOS 5.x but, i

[CentOS] Diskdevstat

2011-07-06 Thread Jussi Hirvi
> Red Hat Enterprise Linux 6 also introduces diskdevstat for monitoring > disk operations and netdevstat for monitoring network operations. How could I monitor disk operations under CentOS 5? The quote is from RHEL 6 release notes http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/htm

Re: [CentOS] Power-outage

2011-07-02 Thread Jussi Hirvi
On 1.7.2011 18.49, m.r...@5-cent.us wrote: > ah, the smell of fresh plastic outgassing, factory > air from China :((( Probably more the smell of fire prevention chemicals outgassing. Be careful! As for me, I am sensitized to that smell. - Jussi ___ Cen

Re: [CentOS] Power-outage

2011-07-02 Thread Jussi Hirvi
On 1.7.2011 18.49, m.r...@5-cent.us wrote: > ah, the smell of fresh plastic outgassing, factory > air from China :((( Probably more the smell of fire prevention chemicals outgassing. Be careful! I am sensitized to that smell. - Jussi ___ CentOS mailing

Re: [CentOS] Kernel Errors

2011-06-29 Thread Jussi Hirvi
>> Is there any mention of a floppy in output of "mount"? > Hello Jussi. > On 29.6.2011 20.51, Keith Roberts wrote: > None at all using 'mount' or 'df -h' Here is somebody having the same problem, though on Suse: http://www.linuxquestions.org/questions/linux-software-2/linux-kernel-end_request-i-

Re: [CentOS] Kernel Errors

2011-06-29 Thread Jussi Hirvi
On 29.6.2011 20.37, Keith Roberts wrote: > Checking my daily logwatch file, I see the following kernel > error: > >- Kernel Begin > >WARNING: Kernel Errors Present > end_request: I/O error, dev fd0, sector ...: 1 Time(s) > >--

Re: [CentOS] yum bug...

2011-06-29 Thread Jussi Hirvi
On 29.6.2011 12.56, John Doe wrote: > I noticed a difference between it and a simple 'yum': > ># yum udpate >Loaded plugins: fastestmirror, priorities >usage: yum [options] COMMAND > > ># yum >Loaded plugins: fastestmirror, priorities >You need to give some command >usag

Re: [CentOS] Vim scripting - cursor motion

2011-06-11 Thread Jussi Hirvi
On 11.6.2011 19.08, Alain Péan wrote: > I hope not to begin a flame war, but I would recommend Python. It can do > the same things as Perl (regexp ansd so on), but is easier and faster to > learn, and the code is also much more readeable... In practice, any language you know well enough... This is

Re: [CentOS] Vim scripting - cursor motion

2011-06-11 Thread Jussi Hirvi
st cycle is slow (modify script, quit the realfile, open realfile again with vim -s script). Verbal error messages would be useful. There is supposed to be "integrated debugger". I would like to know more. - Jussi -- Jussi Hirvi * Green Spot Suvilahdenkatu 1 B 78 * 00500 Helsinki

Re: [CentOS] Vim scripting - cursor motion

2011-06-10 Thread Jussi Hirvi
/g - Jussi -- Jussi Hirvi * Green Spot Suvilahdenkatu 1 B 78 * 00500 Helsinki * Finland Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms) jussi.hi...@greenspot.fi * http://www.greenspot.fi ___ CentOS mailing list CentOS@centos.org http://lists.centos.

Re: [CentOS] Vim scripting - cursor motion

2011-06-09 Thread Jussi Hirvi
On 9.6.2011 18.01, m.r...@5-cent.us wrote: > Why do vim scripting? That's what sed, or awk, or perl, are for. The > latter two, of course, are much easier to comprehend the logic, too. Maybe just because I know vim better than sed, awk or perl, which I haven't used at all. :-) The practical purp

[CentOS] Vim scripting - cursor motion

2011-06-09 Thread Jussi Hirvi
I am working on my first vim script. The script is supposed to do some find/replace on a file, then save the file with a new name and quit vim. I will save the script in a file and then call it from a bash script like this: vim path-to-the-file -s path-to-my-script Maybe I have not fou

Re: [CentOS] hard disk install failure

2011-06-07 Thread Jussi Hirvi
On 7.6.2011 1.19, Timothy Murphy wrote: > But I'm not sure what "image #2" is? Or where it should be put? > images/stage2.img ?? -Jussi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] virt-install hell: how to *force* a local CD-ROM install?

2011-06-01 Thread Jussi Hirvi
On 1.6.2011 19.52, Robert Heller wrote: > I have a CentOS 5.6 system with a AMD Sempron(tm) Processor LE-1300 > (which does not provide hardware virtualization support, so I can't use > the --cdrom option) and I am *trying* to install FC15 as a guest O/S > using a local FC15 DVD-ROM image. Everyth

Re: [CentOS] OT: Why VM?

2011-05-29 Thread Jussi Hirvi
It has been a long thread, but one point that has been mentioned only in passing (VMWares "top 5 reasons") is cutting the electricity consumption. Maybe this is obvious. I recently consolidated 8 hardware servers to a single 1U Dell, which runs KVM virtualization. The power bill was cut to a fr

Re: [CentOS] xferlog not rotating.

2011-05-21 Thread Jussi Hirvi
On 21.5.2011 20.43, R P Herrold wrote: > early in the thread, it was clear from a reply's content that > a locally installed 'ftpd' and not the CentOS vsftpd was > being used I think you are inadvertently confusing the issue. ftpd is mentioned in this file (see below), but still vsftpd is used:

Re: [CentOS] xferlog not rotating.

2011-05-21 Thread Jussi Hirvi
On 21.5.2011 19.02, Lamar Owen wrote: > Now, one of my C5.6 boxen is set up with /etc/vsftpd/vsftpd.conf: > # The name of log file when xferlog_enable=YES and xferlog_std_format=YES > # WARNING - changing this filename affects /etc/logrotate.d/vsftpd.log > #xferlog_file=/var/log/xferlog > # > which

Re: [CentOS] Feed a list of filenames to vim

2011-05-18 Thread Jussi Hirvi
On 18.5.2011 16.54, Bowie Bailey wrote: > You can also do this: > > $ vim `ls -1 *.txt` That one can be accomplished in a simpler way: vim *.txt - Jussi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Feed a list of filenames to vim

2011-05-17 Thread Jussi Hirvi
On 17.5.2011 19.36, Bowie Bailey wrote: > Try this: > > vim `cat list` Thanks, this really works! I tried it with all my combinations: OS X workstation by itself OS X workstation -> ssh -> CentOS 4 OS X workstation -> ssh -> CentOS 5 BTW, with the xargs command, all of these combinations give so

[CentOS] Feed a list of filenames to vim

2011-05-17 Thread Jussi Hirvi
There are some googlable ways to feed a list of filenames to vim, but I stumble on weird results. With my filelist, I try to do cat list | xargs vim ...to edit the files listed in the file "list". Here's what happens: [root@lasso2 tempdir]# ls -l total 8 -rw-r--r-- 1 root root 0 May

Re: [CentOS] Identifying physical disks

2011-05-03 Thread Jussi Hirvi
On 3.5.2011 22.05, Andy Holt wrote: > ls -l /dev/disk/by-id > > which on my system gives me: > > lrwxrwxrwx 1 root root 9 Mar 6 14:34 > scsi-SATA_SAMSUNG_HD154UIS1XWJ1BZ900317 -> ../../sdc > lrwxrwxrwx 1 root root 9 Mar 6 14:34 > scsi-SATA_SAMSUNG_HD154UIS1XWJ1BZ900318 -> ../../sdb > lrwxrw

[CentOS] With kickstart (Re: Install CentOS as KVM guest)

2011-04-30 Thread Jussi Hirvi
> On Thu, 28 Apr 2011, Jussi Hirvi wrote: > >> > BTW, can guests be installed on raw (unformatted or formatted) >> > partitions (not images)? Can virt-install do that? I tried it and had no >> > luck. >> > >> > - Jussi > You can instal

Re: [CentOS] Identifying physical disks

2011-04-30 Thread Jussi Hirvi
On 30.4.2011 12.34, Eero Volotinen wrote: > take look at serial number using smartctl > > http://www.techrepublic.com/blog/opensource/using-smartctl-to-get-smart-status-information-on-your-hard-drives/1389 > Thanks, I did. I am sure they will help me when it is time to actually replace the drive.

[CentOS] Identifying physical disks

2011-04-30 Thread Jussi Hirvi
I am sure this is really simple. I have a setup of 2 disks (sda, sdb) which are outwardly identical, and are mirrors of each other. Together they form 3 raid1 devices. Both disks can boot. Now sda has bad sectors, and I should replace it. But which one of the physical disks is sda?? The machi

Re: [CentOS] Switching to php53

2011-04-30 Thread Jussi Hirvi
ckage would have > obsoleted php-common rather than conflicting with it. > > Is there a clean way to replace php with php53? Or should I just wait > and hope that Centos 6 is released before WP 3.2 :) > > Thanks, > > Dave... > -- Jussi Hirvi * Gree

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Jussi Hirvi
On 28.4.2011 20.29, Tru Huynh wrote: > does that mean that you volonteer to add some pages to wiki.centos.org > (-> centos-docs mailing list for more) ? ;P > Maybe I could, How could that be done? Though I should have started to think about that earlier, now the big install hassle starts to be ov

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Jussi Hirvi
On 28.4.2011 18.58, Emmanuel Noobadmin wrote: > like anaconda not seeing the "dvd" > (mounted ISO specified using --location) that it just booted from. That's ok, once you know that... But I agree, it is frustrating, because of lack of documentation. How much time wasted! I found an interesting

Re: [CentOS] Install CentOS as KVM guest

2011-04-28 Thread Jussi Hirvi
> On 4/28/11, Jussi Hirvi wrote: >>> Try virt-install without creating the image first. On 28.4.2011 9.17, Emmanuel Noobadmin wrote: > I'll give that a spin next, although the disks file I created are RAW > as well. The problem wth using virt-install to create files is

Re: [CentOS] Install CentOS as KVM guest

2011-04-27 Thread Jussi Hirvi
On 28.4.2011 8.11, Emmanuel Noobadmin wrote: > So this is where my installation halts. I will get the message unable > to retrievehttp://12.34.56.78//Centos56/images/stage2.img > You could check your httpd log to see if there is anything, like 404 errors. And if problems persist, you could stop ip

Re: [CentOS] Install CentOS as KVM guest

2011-04-27 Thread Jussi Hirvi
>> > Here is one of my install commands that worked: >> > virt-install --name mail \ >> > --os-variant rhel5.4 --ram 1024 \ >> > --vcpus 2 --accelerate \ >> > --nographics -v \ >> > --location /mnt/centos56/ --network bridge:br0 \ >> > --disk path=/kvmail/mail.img,size=290 \ >> > --extra-

Re: [CentOS] Install CentOS as KVM guest

2011-04-27 Thread Jussi Hirvi
year is going to be victory for VMWare again. > > CC to kvm mailing list but I expect, like my previous request for help > to the list, it will be rejected by mailman or a moderator. > > > Just damn frustrated, even if it's probably just me being too stupid > to know how t

Re: [CentOS] Rsync 3 from rpmforge

2011-04-27 Thread Jussi Hirvi
Thanks for a triple answer. :-) Now I remember - like I said, I solved this problem once already. Hm, I should document better what I do... - Jussi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] Rsync 3 from rpmforge

2011-04-27 Thread Jussi Hirvi
My brain must be on knots somehow. I try to install rsync 3.x, which I know is in rpmforge repo for my architecture: https://www.centos.org/modules/newbb/viewtopic.php?topic_id=22214 http://packages.sw.be/rsync/ But yum does not find it, however I try. I have installed yum-priorities. Rpmforg

[CentOS] mdraid woes (missing superblock?)

2011-04-26 Thread Jussi Hirvi
complain about HFS+ superblock? The fs should be ext3. - Jussi -- Jussi Hirvi * Green Spot Suvilahdenkatu 1 B 78 * 00500 Helsinki * Finland Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms) jussi.hi...@greenspot.fi * http://www.greenspot.fi ___

Re: [CentOS] Install CentOS as KVM guest

2011-04-25 Thread Jussi Hirvi
On 26.4.2011 0.47, Emmanuel Noobadmin wrote: > I'm having problems trying to install CentOS as a KVM guest despite > following the wikis and howtos. I succeeded with this howto: http://sysadminman.net/blog/2011/kvm-virtualization-text-centos-guest-install-2098 Except I skipped the lvcreate part,

Re: [CentOS] Migrating standalone systems to KVM

2011-04-24 Thread Jussi Hirvi
> On Sun, 24 Apr 2011, Jussi Hirvi wrote: >> > Does anyone have the .iso image of virt-p2v? It is not available anymore >> > through that link. The source is available, but building it requires a >> > *lot* of packages, some of which seem to be hard to find. Good

Re: [CentOS] Migrating standalone systems to KVM

2011-04-24 Thread Jussi Hirvi
> Jussi Hirvi writes: > >> > A while ago I got great instructions from Pasi for migrating standalone >> > systems to*xen*. However, now I have decided to use KVM instead, which >> > raises a new question: >> > >> > How to migrate a standalone

Re: [CentOS] KVM, virsh attach-disk error

2011-04-23 Thread Jussi Hirvi
On 23.4.2011 13.31, Kai Schaetzl wrote: > FYI: there is a list centos-virt. Thanks for the tip! I am going to cross-post (sorry) my current questions, but I still welcome answers on this list. - Jussi ___ CentOS mailing list CentOS@centos.org http://li

Re: [CentOS] KVM, virsh attach-disk error

2011-04-23 Thread Jussi Hirvi
ach partitions to guests. - Jussi -- Jussi Hirvi * Green Spot Suvilahdenkatu 1 B 78 * 00500 Helsinki * Finland Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms) jussi.hi...@greenspot.fi * http://www.greenspot.fi ___ CentOS mailing lis

Re: [CentOS] can not install CentOS as VM in KVM

2011-04-23 Thread Jussi Hirvi
On 6.4.2011 15.44, Michael Zoet wrote: > I am trying to install CentOS 5.5 as VM on a KVM server running Ubuntu > 10.04. The Problem: the installer does not find the iso image. (Direct > copy from website downlod.) I can start CentOS from the iso and can even > do some disk checks. But when I go fu

Re: [CentOS] KVM, virsh attach-disk error

2011-04-22 Thread Jussi Hirvi
uest (and if the guest > supports it). Well, in my system there is no scsi disk on the guest (the guest only sees the img on which it runs), and I don't know how I could get one there. :-/ - Jussi -- Jussi Hirvi * Green Spot Suvilahdenkatu 1 B 78 * 00500 Helsinki * Finland Tel. +358 9 4

[CentOS] KVM, virsh attach-disk error

2011-04-22 Thread Jussi Hirvi
oduces this error. I find no google results with this error text. Can someone tell, what causes the error? > error: Failed to attach disk error: operation failed: adding scsi > disk controller failed: type scsi not a hotpluggable PCI device. > failed to add if=scsi - Jussi -- Jussi Hirv

Re: [CentOS] KVM virt-install on disk image - "no space"

2011-04-21 Thread Jussi Hirvi
On 21.4.2011 23.17, Jussi Hirvi wrote: > I wonder if the disk image will be of type > qcow2. I guess I will soon find out. Nope. Command "qemu-img info.." tells me that the image type is "raw". But I don't think I need any of the qcow2 specialties. - Juss

Re: [CentOS] KVM virt-install on disk image - "no space"

2011-04-21 Thread Jussi Hirvi
works! I wonder if the disk image will be of type qcow2. I guess I will soon find out. - Jussi -- Jussi Hirvi * Green Spot Suvilahdenkatu 1 B 78 * 00500 Helsinki * Finland Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms) jussi.hi...@greenspot.f

  1   2   3   >