detect ramtype

2009-07-31 Thread michal krajcirovic
Hi, I need to determine the type of RAM in the server, I could add more. 
Is it a program that know what memory is currently in the server, 
without it I had to disassemble? Dmidecode command output, although the 
size of RAM, etc., but find out what it's slot, etc.


Thanks


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




transparent port/ip forward

2009-07-18 Thread michal krajcirovic

hello,
I have server which has several IP. there come requests for port 80 and 
i want this forward requests to other server, where web is running. I 
need that but completely transparent - in the logs on the destination 
server where the webs must be running as well as to direct the opening 
page. Then the real visitor IP, the browser, ...


solutions via rinetd there is now is quite poor, because in logs (and 
stats) are the only ip forward server.


Any ideas on solutions? maybe some squid / apache + proxy / nginx 
forward on the server?


thanks

m.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




network data mirroring

2009-06-09 Thread michal krajcirovic

hello,
solves a simple problem complicated solution:)

I have two servers, one on the disk any data that need to the second. 
Currently exports to the disc via NFS, however, load the disk is too big 
and the whole is slow.


Then I need in two places at the same time maintain the same data. Among 
other reasons, can not be used glusterfs.


has anybody experience with a very easy solution?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




powerdns not get zone

2009-06-09 Thread michal krajcirovic

hi,
we have problem with powerdns.

Jun  9 09:01:16 uplin01 pdns[6709]: Domain puzzle-trade.com is stale, 
master serial 2006012301, our serial 0
Jun  9 09:01:16 uplin01 pdns[6709]: Domain spsobeslav.cz is stale, 
master serial 2008020301, our serial 0
Jun  9 09:01:16 uplin01 pdns[6709]: Domain shokarta.net is stale, master 
serial 2006012301, our serial 0


of this is probably the obvious problem - it can see the slave that has 
a different serial than the master, but not download zone at each other.

met with this problem anyone? Google helping me so far.

thanks a lot.

m.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




more than one drbd in heartbeat

2009-05-24 Thread michal krajcirovic

Hi,
I got a little problem, but I can not find a solution.

I have several sections DRBD - /dev/drbd0, /dev/drbd1, /dev/drbd2, etc.  
on two arrays. On them I have the heartbeat. Above them is to run NFS.


/etc/hearbeat/haresources looks like this:

array1   IPaddr::217.31.62.10/24/eth0 drbddisk::r0 
Filesystem::/dev/drbd0::/data::xfs nfs-kernel-server


That's all right. Problem is how to get there second partitions. When 
you do this line a second time it does not work when the part 
"drbddisk:: ...:: xfs" do it twice, either.


Does not anyone tried this combination?

Thanks a lot.


m.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: trivial voip client

2009-04-25 Thread michal krajcirovic
Yes, of course, this can be done and phone spam, but to me it is :-) me 
on that, instead of mobile phone connected to the server and calls 
through it I want to use VOIP as a more elegant solution, which may not 
be in the server that the phone calls .


I tried pjsip, but failed to start it with me to the point where I was 
able to dial any number.


Since I have a number of ISP data - SIP server, login and password.

thanks,

m.

Dieder Vervoort napsal(a):

I hope this note for phone spam,  I heat it.

itTzafrir Cohen wrote:

On Sat, Apr 18, 2009 at 08:05:16PM +0200, michal krajcirovic wrote:
 

Hello,
someone has experience with a simple VOIP client directly applicable 
in  SSH?


I need to simply automatically (for example script load monitoring) 
call  VOIP client that made dial a phone number and the lift on the 
other  hand, play the MP3.


It is with a similar solution to anyone some experience?



Err... "dial a phone number": in what way? through SIP? through PSTN?

  




No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 8.5.287 / Virus Database: 
270.12.0/2065 - Release Date: 04/17/09 17:52:00


  






--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: trivial voip client

2009-04-19 Thread michal krajcirovic

Tzafrir Cohen napsal(a):

On Sat, Apr 18, 2009 at 08:05:16PM +0200, michal krajcirovic wrote:
  

Hello,
someone has experience with a simple VOIP client directly applicable in  
SSH?


I need to simply automatically (for example script load monitoring) call  
VOIP client that made dial a phone number and the lift on the other  
hand, play the MP3.


It is with a similar solution to anyone some experience?



Err... "dial a phone number": in what way? through SIP? through PSTN?

  

hi,

sorry, my English is not the best :-(

yes, through the SIP, my ideal vision is something like this:

# ideal-voip-client --phone-number=00420123456789 --timeout=60 
--play=test.mp3


:)

m.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




attack pop3/imap/smtp

2009-04-19 Thread michal krajcirovic

Hello,
addresses the delicate problem :-) The customer has on our mailserver 
your domain, there about 10 mailboxes. The problem is that the 
connections are constantly on the pop3/imap/smtp 
ran...@customerdomain.cz. That sometimes appears the attack is normal, 
but this problem more than a month, for example, now over 12 hours we 
have more than 340 000 invalid login (or attempting to them) to an 
invalid address.


I installed fail2ban, but the problem persists, the majority of the IP 
request comes just a few.


Can someone have a solution?

m.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




trivial voip client

2009-04-18 Thread michal krajcirovic

Hello,
someone has experience with a simple VOIP client directly applicable in 
SSH?


I need to simply automatically (for example script load monitoring) call 
VOIP client that made dial a phone number and the lift on the other 
hand, play the MP3.


It is with a similar solution to anyone some experience?

Thanks a lot

m.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




not replicate

2009-04-17 Thread michal krajcirovic

Hello,
i create new tercial dns and copy ns2 table with domains (with power dns).

but ns2 say to log this:

Apr 17 22:06:42 mon pdns[1344]: Domain sarji.net is stale, master serial 
2006012312, our serial 0
Apr 17 22:06:42 mon pdns[1344]: Domain sarkan.cz is stale, master serial 
2006012301, our serial 0
Apr 17 22:06:42 mon pdns[1344]: Domain sartor.cz is stale, master serial 
2006012301, our serial 0
Apr 17 22:06:42 mon pdns[1344]: Domain sas-army.com is stale, master 
serial 2006012301, our serial 0
Apr 17 22:06:42 mon pdns[1344]: Domain sasko.sk is stale, master serial 
2006012303, our serial 0
Apr 17 22:06:43 mon pdns[1344]: Domain sasme.cz is stale, master serial 
2006012301, our serial 0
Apr 17 22:06:43 mon pdns[1344]: Domain saspark.eu is stale, master 
serial 2006012307, our serial 0



etc.

and no download records from ns1.

where i have bug, please?

thank you very much.


m.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




spam/virus filter

2009-04-08 Thread michal krajcirovic

Hello,
from our current mailserver I want to build another server (which then 
set up an MX for domains), which will serve as an antispam / antivirus. 
I want through the mail, those who are out spam / viruses, and the rest 
forward, or to localize the subject *** SPAM ***, etc., which may then 
classify the existing mailserver.


It must be assumed that the role of "anti-spam gateway" to perform no 
one mailserver, but for several mailserver, it is therefore necessary to 
define something which he has subsequently served mails.


Does not someone with some experience in such a solution, possibly a 
reference to some instructions on how to do it? I search via Google, but 
apparently found nothing wrong and asked me not wise :-(


Thanks a lot.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




monitoring with mobile phone

2009-04-08 Thread michal krajcirovic

Hi,
solve the problem with monitoring servers - defacto regards to watch a 
few basic functions of servers (apache, mysql, dns). The problem is not 
so much with monitoring (currently we only statusmon but Nagios + 
centreon or something like that up no problem), but is about the 
connected mobile phone, which in the event of failure of servers not 
send sms, but call. Does not this man a trial solution to monitoring 
software, and possibly a specific mobile phone and its user interface 
from the server on Linux?


Thanks for the tips.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




apache log "rotate"

2009-04-04 Thread michal krajcirovic

Hello,
creating access.log from apache2. I want at the same time (namely, every 
minute) without restart / reload apache start either log into another 
file, or rename the existing log to another file and log to a file with 
the same name. Given that the number of logs up to 30 lines per second, 
it is not possible to make a copy. Then I reset the file. And each new 
minute, net log, and doesnt lost any line.


Any tips on how to? Any experience with this problem?

thank you

mk


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




remote log apache2

2009-04-04 Thread michal krajcirovic

Hello,
I have a simple network architecture in which the need to remotely log 
on apache2. On servers running the same sites for which requests are 
sent via loadbalancers. And I want to periodically (eg every minute) the 
logs "send" to a central log server.



+--+
| apache 1 |->>\
+--+\ ++
>| log server |
+--+/ ++
| apache 1 |->>/
+--+


I tried syslog-ng, but not satisfied me too, someone used some other 
solution that would recommend?


mk


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




unpack and pack initrd

2009-03-21 Thread michal krajcirovic

nice day,
I need to edit the initrd.img, but found that things that seem wrong 
initrd. I do it as follows:


~~
r...@etchrouter:~# md5sum /boot/initrd.img-2.6.25-2-amd64
17e4647d1e75160d474f10385cf63095  /boot/initrd.img-2.6.25-2-amd64

i extract  initrd.img:

r...@etchrouter:~# gzip -dc < /boot/initrd.img-2.6.25-2-amd64  | cpio -i
30459 blocks

i pack it to initrd.img:

r...@etchrouter:~# find . -print -depth | cpio -o -H newc > 
/var/lib/tftpboot/initrd.img
find: warning: you have specified the -depth option after a non-option 
argument -print, but options are not positional (-depth affects tests 
specified before it as well as those specified after it).  Please 
specify options before other arguments.

30459 blocks

and md5sum of new file:

r...@etchrouter:~# md5sum /var/lib/tftpboot/initrd.img
e8fed092730e7d3899d19cb2dda22a75  /var/lib/tftpboot/initrd.img
~~

+ Problem, the new file is that it does not work :-)
Please someone advise me how to do it correctly?

Thanks a lot

m.




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




graph generate for ip areas

2007-08-24 Thread Michal Krajcirovic
Hello,
i want to generate eth graphs (munin, mrtg, or anything other) in this way:
i have some ip areas. i want to generated 20 areas to first graph, 50
areas to second graph and other to third graph.

How to this?

Thank you.

-- 
Michal Krajcirovic


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



areca II - mount array

2007-08-17 Thread Michal Krajcirovic
Hi,
i have server with two areca raid controllers.
First have 15 HDDs, no raid. It´s ok, it´s running 15hdd. no problem.
Second have 2x 1TB HDD and 8x 750GB  HDD.
2x 1TB is added as Pass Through - no raid. Its ok, its running in
system, mount, format, create filesystem, all is ok.
On 8x 750GB HDD i create a array (RAID5, 7+1 HDDs).

Areca create RAID OK, but i didn´t view RAID in system (debian etch).
When i run fdisk -l, i see all HDDs (15 HDDs on first areca and 2 HDDs
on second areca), but i didn´t see RAID.

Where is problem?

-- 
Michal Krajcirovic
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



mount areca array

2007-08-17 Thread Michal Krajcirovic
Hello,
i have areca sata raid controller (ARC-1210). I was create RAID5 - 7+1 x
750GB HDDs.
Areca create it OK -
http://www.sdilej.net/view_image/f83db1607/2007-08-17_161543.png .

How i mount this array to debian etch linux?

Thank you.

-- 
Michal Krajcirovic | KRAJA.cz webhosting
http://konference.kraja.cz/ | konference pro vymenu odkazu


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



mount areca array

2007-08-17 Thread Michal Krajcirovic
Hello,
i have areca sata raid controller (ARC-1210). I was create RAID5 - 7+1 x
750GB HDDs.
Areca create it OK -
http://www.sdilej.net/view_image/f83db1607/2007-08-17_161543.png .

How i mount this array to debian etch linux?

Thank you.

michal krajcirovic


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]