Re: Help ! /lib64/libglib-2.0.so.0: file too short

2023-02-28 Thread Dotan Shavit
Try to boot from USB, mount the disk and check / replace the file.

בברכה,
דותן שביט,
0544-456656


On Tue, 28 Feb 2023 at 18:10, Aharon Schkolnik  wrote:

>
> Don't know what happened, but my system fails to boot with the above error
> message.
>
> I am clueless.
>
> Anyone have any ideas?
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: slightly OT - backup strategy

2022-07-17 Thread Dotan Shavit
Consider raid + zfs + daily snapshoots

בתאריך יום א׳, 17 ביולי 2022, 16:50, מאת Shlomo Solomon ‏<
shlomo.solo...@gmail.com>:

> I recently lost some files because of a bad disk - hardware problem.
>
> I do regular backups so I was not really worried, but I now see that I
> have a problem with my backup strategy so I'd like to know how others
> handle/prevent what happened to me.
>
> I backup files using rsync and I basically have 2 types of backups.
>
> My most important files are backed up every night. I do incremental
> backups using:rsync -aqrlvtogS --ignore-errors  --backup
> I keep about 4 months of backups. So if a file is damaged,
> missing or accidentally deleted, I can find a good file - even if, for
> example I screwed up the file and only discovered the problem a few
> days later.
>
> BUT, all the rest of my files - music, videos, pictures, etc are backed
> up daily and weekly on 2 different physical drives using:
> rsync -qrlvtogS --delete --ignore-errors
> I use --delete to prevent accumulating garbage on my backup disks.
>
> So here's the problem: Because of a hardware problem, several files on
> one of my disks were lost. As a result, the daily backup script
> "thought" that those files should be deleted from the daily backup.
> Unfortunately, I did not notice the problem. A few days later, those
> same files were also deleted from the weekly backup. So they are lost.
>
> So on one hand, I need --delete to avoid keeping backups of old
> garbage, but on the other hand, the --delete option does not know if I
> deleted the file or if it's gone because of a hardware problem.
>
>
>
> --
> Shlomo Solomon
> http://the-solomons.net
> Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: mail.log

2022-01-17 Thread Dotan Shavit
sed is your friend
Something like:
*sed "s/Jan/01/;s/Feb/02/"*



‪On Mon, 17 Jan 2022 at 10:58, ‫אורי‬‎  wrote:‬

> Hi,
>
> I want to check mail.log for how many emails are sent every day. The
> format of my mail.log is something like this:
>
> Jan 17 08:49:23 www  (the rest of the log)
>
> I'm running a command such as:
>
> cat mail.log* |fgrep "status=sent (250 Ok"|awk '{print $1" "$2}'|sort
> -n|uniq -c
>
> And I receive the number of emails sent every day. But the date doesn't
> contain the year, the months are sorted alphabetically and the line of Jan
> 17 comes before the line of Jan 2. I would like to sort the lines according
> to the date order such as in -mm-dd and with including the year. How do
> I do it?
>
> אורי
> u...@speedy.net
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: [Job Offer] - Linux Sysadmin

2021-10-24 Thread Dotan Shavit
Right; Allow me to elaborate < Looking for an expert who is
comfortable with one-liners :wq

בברכה,
דותן שביט,
0544-456656


On Sun, 24 Oct 2021 at 14:43, Shlomi Fish  wrote:

> Hi Dotan!
>
> On Sun, Oct 24, 2021 at 8:05 AM Dotan Shavit  wrote:
> >
> > Looking for a System Administrator experienced with Linux systems.
> > #
>
> Please provide more details:
> https://shlomif-tech.livejournal.com/63020.html . Thanks!
>
> > ___
> > Linux-il mailing list
> > Linux-il@cs.huji.ac.il
> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
>
> --
> Shlomi Fish https://www.shlomifish.org/
>
> Chuck Norris was challenged to fight the world, and accepted. He bet
> on himself, won, and collected the bet money.
>
> Please reply to list if it's a mailing list post - http://shlom.in/reply .
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


[Job Offer] - Linux Sysadmin

2021-10-23 Thread Dotan Shavit
Looking for a System Administrator experienced with Linux systems.
#
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Riddle me this: unsolicited orderly shutdown

2021-03-12 Thread Dotan Shavit
Nice indeed.
Have you tried starting this app from a different desktop environment?
What syslog says at the shutdown time?

בברכה,
דותן שביט,
0544-456656


On Fri, 12 Mar 2021 at 12:18, Shachar Shemesh  wrote:

> Allow me, if I may, to set up the stage for you.
>
> I don't know the precise scenario that causes this to happen, but one
> thing that triggers it reliably is starting up X-Plane 11 and taking off. A
> few second and up to a minute into the flight, my KDE "shutting down"
> screen comes up. If I cancel the shutdown, the screen comes up one more
> time on its own, and then the computer just shuts down.
>
> Now, I know what you're all thinking. So I ran X-Plane while monitoring
> the CPU's and GPU's temperatures. Sure enough, they get hot. I opened up
> the laptop (Dell XPS 15, a gamer's laptop), cleaned the fans, and ran the
> game again. Temperatures were much more reasonable. But the shutdown screen
> popped up again.
>
> I ran it with dmesg running. While there are some temperature throttling
> messages, not a lot, and none that claim I *have* to shut down.
>
> I am looking for a way to debug this. Obviously, something in the hardware
> gives the command to shut down the computer. I have, however, not been able
> to find out what and why.
>
> Does anyone have any idea which system might be issuing this command, and
> where it might be writing its logs?
>
> Shachar
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


[Job Offer] - Customer Support / PHP Programmer

2014-12-10 Thread Dotan Shavit

  
  
Looking for an experienced PHP programmer with customer support
orientation.
Linux know how is a must.
Work is in Tel Aviv area.

#
  


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: sending to same dest via different interfaces

2014-03-04 Thread Dotan Shavit

  
  
raw socket might help. It will bypass routing, but it will also
bypass the UDP stack...
man 7 raw

You may also try changing the routing rules:
man route

#


On 04/03/14 10:02, Erez D wrote:


  

  

  
Hello
  
  

I have 2 external interfaces via two eth cards, both
connected to the internet

  
  I want to send a udp packet to same host:port, but choose
  dynamically which interface to use.
  

can this be done with linux, and how ?



  
  10x

erez.
  
  
  
  
  ___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



  


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Is forbidding concurrent ssh sessions a good idea?

2012-11-12 Thread Dotan Shavit

  
  

On 11/12/2012 10:05 AM, Elazar
  Leibovich wrote:


  I'm considering to disallow concurrent ssh sessions
on a single-purpose production machine (say, DB server).

You shouldn't...
I'd just add 'who' to the end of the .profile / .bashrc / whatever
and echo some warning.
#


  


I thought of replacing the default shell with a shell that
  keeps its pid file in a central place. If such a file already
  exist, it'll kill the other running shell before logging in.


Something like


  export
LOCKFILE=/tmp/singleshell.pid
  while [ "$(cat
$LOCKFILE)" -eq "$LOCKFILE" ]; do
kill $(cat
"$LOCKFILE")
sleep 1
kill -9 $(cat
"$LOCKFILE")
  
echo $PID
$LOCKFILE
  done
 

exec /bin/sh

  
The benefits of
that are, making sure it is always one man fixing the server
(what can happen is two people get a call "help, server is
not working", and forgetting to check who else is logged in
in the rush). And, the option of streamline logging. I'll
use sudosh2 or some similar recording shell/recording
terminal, and I'll have the exact log of what happened, no
need to correlate events in two shells.

  
I'd like to hear
your opinion and/orexperiencewith such a scheme.

  
Thanks
  
  
  
  
  ___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



  


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Is forbidding concurrent ssh sessions a good idea?

2012-11-12 Thread Dotan Shavit

  
  

On 11/12/2012 09:05 PM, Elazar
  Leibovich wrote:


  On Mon, Nov 12, 2012 at 8:33 PM, Dotan Shavit do...@shavitos.com
wrote:

  

  
 
  On 11/12/2012 10:05 AM, Elazar Leibovich wrote:
  
  
I'm considering to disallow
  concurrent ssh sessions on a single-purpose
  production machine (say, DB server).
  

You shouldn't...
I'd just add 'who' to the end of the .profile / .bashrc
/ whatever and echo some warning.

  



It'd be much more beneficial for everyone, if in
  addition to a yes/no answer, you'll provide reasoning (for
  instance, what mischief can happen).
  

  

Just saying 'kill' is indeed a nice tool, but 'talk' may also come
in handy.
#
  


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Getting rid of proprietary fonts

2012-01-22 Thread Dotan Shavit

On 01/22/2012 04:34 PM, Nadav Har'El wrote:

Hi, I have an 80 page OpenOffice document (Hspell's niqqudless.odt)
which I wrote, shamefully, assuming Microsoft's TrueType fonts.

Now, I wanted to switch this document to use only free fonts, such as
the Culmus fonts for Hebrew, Nimbus Sans for English, and the DejaVu
fonts for other languages in this document (Arabic, Turkish, Greek, Russian,
etc.). The result will not only be freeer - it actually looks better!

Starting the transformation was easy - I modified the few main paragraph
and character styles that I was using, and in a few minutes, most of the
document was converted to the free fonts.

But my problem is that the long document *still* uses the non-free fonts in
some places. I can see this if I export the document to PDF, and run pdffonts
on it. I indeed found a bunch of places where this happened (e.g., I
explicitly used a certain font on some word, instead of relying on a style),
but couldn't find *ALL* of them, so my document still depends on these
non-free fonts.

I wonder if anybody knows how I can use OpenOffice, or some other tool,
to find *where* in the document a certain font is being used?


Hmm... Save as HTML ?

#


As a last resort, I plan to open the .odt file and read the XML where
this information has to exist - but before I do that, I wonder if
someone knows an easier OpenOffice option, or tool, exists.

Thanks,
Nadav.



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: HTML Mail

2012-01-08 Thread Dotan Shavit

On 01/08/2012 09:15 AM, Yedidyah Bar-David wrote:

On Sun, Jan 08, 2012 at 08:50:45AM +0200, Dotan Shavit wrote:

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Dear Linux-IL subscribers,

Should I officially give up and declare text email as a thing of the
past?

Sorry.
As a Thunderbird user I'll have to remember to select Plain text only 
for each message to this list...

Probably one of my plugins' fault.

Any way, wouldn't lynx display HTML only messages?

#


  Should I move to some graphical mail client that displays and
composes html mail? I tried Thunderbird a few times, for a few days
each, over the last 5 or so years, and always went back to mutt.

I see on this list some people that still use mutt. I also have a
feeling that some of the past users of mutt on this list moved to html
mail clients.

I do not intend to start a flame war. Feel free to ignore, give advice,
share your struggles, etc...


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Which technology should I learn to do this?

2012-01-07 Thread Dotan Shavit


  
  
On 01/06/2012 10:02 PM, Shachar Shemesh wrote:

  
  
  Hi all,
  
  I have a setup which is embeddedish (Intel CPU and quite a bit of
  power, but will need most of this power to do stuff with. An Intel
  display adapter). The device has a local display (touch screen
  LCD) that needs to display some UI (implemented by a web server on
  the device) displayed by webkit. The background for the UI needs
  to be a live stream from a local camera connected directly to the
  device.

You mean something like this?
http://www.shavitos.com/sample/video.html

#
 
  There is software written already to do some of this stuff on
  another HW platform, where the display is hard-wired to show a
  background from the camera and a foreground (RGBA). It is working
  with embedded QT (formerly QTopia) and webkit. I need to port this
  to the fore-mentioned Intel platform.
  
  So what I need is this. I need a browser to display UI with
  partial transparency, through which you can see a lower layer that
  is generated anywhere from 25 to 60 times a second from a camera.
  Ideally, I should be able to keep the camera code in a separate
  process from the webkit one. I am unfamiliar with all of the
  technologies I'm about to mention, so I'd like your help in which
  one to learn - which one will most likely let me do what I want
  the easiest.
  
  The options I could think of:
  - Keep things in the frame buffer. I know QT has some classes to
  do just that. They even support color spaces other than RGB (the
  camera typically produces 4:2:2 YUV). I'm not sure how much free
  of conversion that is (if it does require conversion, I'd rather
  do it myself). I'm also not sure how much support I'd have for
  partial transparency and for running the Video preview in a
  separate process than the browser.
  
  - Use X11 and DRI/DRM. I know for sure that different processes
  are supported. From what I've started to read about DRM, however,
  it seems that taking over the entire screen is the only option
  truly supported. I'm not sure how it works.
  
  - Use X11 and OpenGL. This will definitely support all the
  transparency I'd need, but I'm not sure whether that is the right
  option.
  
  Does anyone know what does Xine/VLC/Dragon player use? How does
  the UI cause things to be transparent when, e.g., I'm moving a
  window around? Is OpenGL involved in this?
  
  Shachar
  -- 
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

  

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


  


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Which technology should I learn to do this?

2012-01-07 Thread Dotan Shavit


  
  



On 01/07/2012 07:56 PM, Shachar Shemesh wrote:

  
  
  On 01/07/2012 07:29 PM, Dotan Shavit wrote:
  


On 01/06/2012 10:02 PM, Shachar Shemesh wrote:

  
  
  Hi all,
  
  I have a setup which is embeddedish (Intel CPU and quite a bit
  of power, but will need most of this power to do stuff with.
  An Intel display adapter). The device has a local display
  (touch screen LCD) that needs to display some UI (implemented
  by a web server on the device) displayed by webkit. The
  background for the UI needs to be a live stream from a local
  camera connected directly to the device.

You mean something like this?
http://www.shavitos.com/sample/video.html
  
  Definitely not.
  
  I need the CPU to do stuff. The video I have already arrives one
  open frame at a time (directly from the camera), and I would not
  like to pay the overhead of decoding it.
You sure it's so complicated to cut this overhead? ;)

#

 So,
  definitely not HTML5.
  
  Shachar
  -- 
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com


  


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Silly Debian E-mail question

2011-12-19 Thread Dotan Shavit


  
  
On 12/19/2011 11:20 PM, Omer Zak wrote:

  What should I RTFM in order to find how to actually send the file?

man mail

#
  


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: NFS + NIS madness

2011-11-28 Thread Dotan Shavit


  
  
On 11/28/2011 11:35 PM, Hetz Ben Hamo wrote:

  only when I do su - vic
or login as vic, then it happens..

Maybe that's the problem...
Check your login scripts .profile / .bashrc / .whatever

#
  


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: WiFi USB dongle

2011-07-31 Thread Dotan Shavit

Edimax EW-7318Ug works for me


#

On 07/25/2011 11:45 AM, Antony Gelberg wrote:


Can anyone recommend a reliable one for use with Linux (Debian Wheezy
FWIW), that's available to buy in Israel?

I currently have a TP-Link TL-WN422G which has an Atheros chipset.  In
2.6.38 it was just bearable, 2.6.39 it's back to being unreliable, I
can't take it any more.  It just randomly seems to drop out.  It's not
the distance, it's near enough to the access point, and my laptop with
the Intel chipset is reliable as anything.  I have no idea if it's the
driver / firmware or the hardware as I don't have a Windows machine to
test on.

Antony

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: RMS clarifies, backlash was unneeded

2011-05-30 Thread Dotan Shavit

On 05/30/2011 10:24 AM, linux.il wrote:

Moreover, he says the ban imposed on him is NOT Israel in its entirety, but
only the Universities (the private Shenkar College seems kosher according to
him). The weird but sensible thing to do is find lecture halls outside the
universities and there would be no conflict.


So Ariel College should be OK?

Thats an interesting question :)
but why are you so embarrassed asking it?

#


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: weird network issue

2011-02-14 Thread Dotan Shavit

Any if-pre-up rule?

#

On 02/14/2011 12:32 PM, Hetz Ben Hamo wrote:

Hi,

I'm getting some really weird error, even though the network on the 
machine works well.
When I'm doing: service network restart or ifup eth0, I'm getting 
a message: RTNETLINK answers: Network is unreachable.


It is reachable. route's output is perfectly ok, the machine can 
access the net and I can access it from outside. DNS works, ping works 
etc..


Looking at /var/log/messages, all I see is:

Feb 14 13:23:00 testing23 kernel: eth0: intr type 2, mode 0, 1 vectors 
allocated

Feb 14 13:23:00 testing23  kernel: eth0: NIC Link is Up 1 Mbps

Here is my ifcfg-eth0 (it's a virtual machine, so the check_link stuff 
is what vmware added)


DEVICE=eth0
ONBOOT=yes
USERCTL=no
BOOTPROTO=none
NETMASK=255.255.255.224
IPADDR=82.XXX.XXX.203
PEERDNS=no

check_link_down() {
return 1;
}
HWADDR=00:50:56:a3:00:18
GATEWAY=82.XXX.XXX.193
TYPE=Ethernet

Any suggestions?

Thanks,
Hetz


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Help me understand connection to internet: Infrastructure and ISP

2011-01-29 Thread Dotan Shavit
On Saturday, January 29, 2011 13:33:46 Dotan Cohen wrote:
 Furthermore, the next time that there is a problem how can I check if
 the issue is with the infrastructure or with the ISP?
traceroute

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: I made a big mistake: dependency hell in Kubuntu!

2011-01-23 Thread Dotan Shavit
Try aptitude in the console and fix broken packages if any

#

On Sunday, January 23, 2011 23:19:53 Dotan Cohen wrote:
 In trying to install Digikam 1.7 on Kubuntu 10.10 I got myself into
 dependency hell. I was installing some Natty packages with dpkg. Now I
 cannot even open Konsole, Dolphin, or any other KDE app other that
 what is already open. When I try to apt-get install -f in a virtual
 terminal it wants to remove almost everything! Of course, I cannot cut
 and paste from there. Of course, the apt-get database is up to date
 with the proper repos.
 
 Help! I don't know what to do! I tried removing the last packages
 installed as listed in /var/lib/dpkg/info (with a simple ls -la
 command in there), but aptitiude and apt-get both want to remove 200
 packages even when I try to remove just those ten or so.

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Ubuntu 10.10 and ZTE MF637 (3G modem)

2010-11-21 Thread Dotan Shavit
usb-modeswitch-data

#

On Sunday, November 21, 2010 16:44:49 Hetz Ben Hamo wrote:
 I have the same modem.
 The problem happens to have dual purpose: as a USB storage and as a 3G
 modem, so in many cases the modem stuck in USB storage mode and it takes
 time until it switches.
 
 You can try to do a simple thing: when the modem is recognized as a USB
 storage, use the eject command to get out of storage mode and see if this
 improves the time until it becomes 3G modem.
 
 Hetz
 
 
 2010/11/21 Nitzan Brumer nitz...@gmail.com
 
  I have the ZTE MF637 on Orange and I use it with my Laptop which runs
  Ubuntu 10.10.
  Lately I've upgraded from 9.04 to 10.10 (clean install actually) and
  though the modem do connect its take awful lot of time for the OS to
  mount it as a 3G modem.
  
  The hardware recognition is almost Immediate and lsusb gives :
  
  Bus 001 Device 004: ID 19d2:0031 ONDA Communication S.p.A. ZTE MF636
  
  Also, the dongle has a micro sd slot and the micro sd card is spotted and
  mounted on insertion.
  
  But it takes up to 7-8 Minutes until Ubuntu's network manager shows the
  Orange 3g under Mobile Broadband connections.
  
  Any one got an idea as for why and how to fix that? on 9.04 it also took
  some time but it was about 20-40 seconds, while now I'm counting in
  minutes.
  
  
  Nitzan Brumer
  Http://n2b.org
  
  ___
  Linux-il mailing list
  Linux-il@cs.huji.ac.il
  http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Two instances of Apache on the same server

2010-10-06 Thread Dotan Shavit
On Tuesday, October 05, 2010 15:42:10 Gabor Szabo wrote:
 I need to run two instances of Apache on the same SuSE based server but
 there is something very basic I don't manage. In order to run to servers
 I'll need two pid files
 to hold the two process ids. So the first thing I tried was to change
 the pidfile for the existing server.
Why ?
What's wrong with vserver ?
Or plain chroot ?

#

 
 I shut down Apache and the changed  /etc/init.d/apache2
 
 the following line:
 : ${pidfile:=/var/run/httpd2.pid}
 
 to:
 : ${pidfile:=/var/run/httpd2b.pid}
 
 The problem is that after starting the web server using
 
 /etc/init.d/apache2 start
 
 it still created the /var/run/httpd2.pid file and NOT the
 /var/run/httpd2b.pid file.
 
 When I tried to stop the web server:
  /etc/init.d/apache2 stop
 I got:
 Shutting down httpd2 (not running) 
 
 As an experience, then I renamed
 /var/run/httpd2.pid to /var/run/httpd2b.pid
 and tried to shut down the server again
 
 /etc/init.d/apache2 stop
 
 It printed:
 Shutting down httpd2 (waiting for all children to terminate)
 and then it got stuck for quite a while (20-30 sec maybe)
 In the end it stopped the server but also left the
 /var/run/httpd2b.pid file.
 
 I am quite lost as looking at the /etc/init.d/apache2 script I don't know
 where does it take the old name from. Not even where does it create
 the pid file.
 
 
 regards
   Gabor
 
 
 ps. This is the /etc/init.d/apache2 script:
---
 #!/bin/sh
 #
 # Copyright (c) 1996, 1997, 1998 S.u.S.E. GmbH
 # Copyright (c) 1998, 1999, 2000, 2001 SuSE GmbH
 # Copyright (c) 2002, 2003, (2004?) SuSE Linux AG
 # Copyright (c) 2004(?), 2005, 2006, 2007, 2008 SUSE Linux Products GmbH
 #
 # Authors: Rolf Haberrecker apa...@suse.de, 2001
 #  Peter Poeml apa...@suse.de, 2002, 2003, 2004, 2005, 2006,
 2007, 2008
 #
 #
 # /etc/init.d/apache2
 #
 ### BEGIN INIT INFO
 # Provides:   apache apache2 httpd
 # Required-Start: $local_fs $remote_fs $network
 # Should-Start:   $named $time postgresql sendmail mysql 
 ypclient 
dhcp
 radiusd # Should-Stop:$named $time postgresql 
 sendmail mysql 
ypclient
 dhcp radiusd # Required-Stop: $local_fs $remote_fs $network
 # Default-Start:  3 5
 # Default-Stop:   0 1 2 6
 # Short-Description:  Apache 2.2 HTTP Server
 # Description:Start the Apache HTTP daemon
 ### END INIT INFO
 
 pname=apache2
 
 : ${sysconfdir:=/etc/$pname}
 : ${apache_link:=/usr/sbin/httpd2}
 : ${sysconfig_apache:=/etc/sysconfig/$pname}
 : ${pidfile:=/var/run/httpd2b.pid}
 : ${logdir:=/var/log/$pname}
 : ${homedir:=/var/lib/$pname}
 
 #
 # load the configuration
 #
 
 #
 # Note about ulimits:
 # if you want to set ulimits, e.g. to increase the max number of open
 file handle,
 # or to allow core files, you can do so by editing /etc/sysconfig/apache2
 and # simply write the ulimit commands into that file.
 # Example:
 # ulimit -n 16384
 # ulimit -H -n 16384
 # ulimit -c unlimited
 # See the output of help ulimit in the bash, or man 1 ulimit.
 #
 test -s /etc/rc.status  . /etc/rc.status  rc_reset
 
 . /usr/share/$pname/load_configuration
 export ${!APACHE_*}
 
 httpd_conf=${APACHE_HTTPD_CONF:-$sysconfdir/httpd.conf}
 
 apache_bin=$(/usr/share/$pname/find_mpm 2/dev/null)
 
 test -L $apache_link  apache_bin=$(readlink $apache_link)
 
 if [ -z $APACHE_MPM ]; then
   APACHE_MPM=${apache_bin##*-}
 fi
 
 if ! [ -x $apache_bin ]; then
   echo 2 ${warn}$apache_bin-$APACHE_MPM is not a valid httpd2 binary.
   echo 2 Check your APACHE_MPM setting in /etc/sysconfig/$pname. $norm
   rc_failed 5
   rc_status -v1
   rc_exit
 fi
 
 # a proper home should be set, otherwise the server might end up
 # with HOME=/root and some script might try to use that
 HOME=$homedir
 
 get_server_flags()
 {
   unset server_flags
   case $action in startssl) server_flags=-DSSL;; esac
   for i in $APACHE_SERVER_FLAGS; do
   case $i in
   -D) ;;
   -D*)server_flags=$server_flags $i;;
   *)  server_flags=$server_flags -D$i;;
   esac
   done
 }
 
 action=$1
 case $action in
 stop|try-restart|*status*|probe)
   ;;
 *)
   shift; get_server_flags
   ${get_module_list_done:=false} || /usr/share/$pname/get_module_list
  export get_module_list_done=true
   ${get_includes:=false} || /usr/share/$pname/get_includes  export
 get_includes_done=true
   ;;
 esac
 
 #
 # main part
 #
 case $action in
 start*)
   if [ -e $pidfile ]; then
   $0 status /dev/null
   ret=$?
   if [ $ret = 1 ]; then
   echo Warning: found stale pidfile (unclean 
 shutdown?)
   elif [ $ret = 0 ]; then
   echo Apache is already running ($pidfile)
  

JOB Offer - Senior Linux Developer

2010-10-05 Thread Dotan Shavit
Hi all,

A good friend is looking for help in Linux development.
Full employment is an option and so is freelancing / consulting.

Requirements:
* Deep knowledge of Linux internals.
* Experience with system architecture.
* Experience with one of the following: QT, GTK, map application.

Company location : Haifa.

CV should be sent to me.

Best Regards,
Dotan

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: USB speakers

2010-09-15 Thread Dotan Shavit
On Wednesday, September 15, 2010 11:33:21 Shlomo Solomon wrote:
 Is it possible that the USB plug is only for power?
Indeed

#

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


[Job Offer] (Web) developer

2010-09-12 Thread Dotan Shavit
Hi all,

I am looking for a web developer. Full employee - freelance is not an option 
this time.

Requirements:
* GNU/Linux user
* Well experienced with C/C++
* Experienced with HTML / JS / AJAX / PHP / DB

Hatima Tova,
Dotan

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: You develop in Linux and are looking for work, and are requested to provide CV as a .doc file - what would you do?

2010-08-16 Thread Dotan Shavit
On Monday, August 16, 2010 14:01:37 Dov Grobgeld wrote:
 My CV is in Cuneiform on stone tablets. If anyone is serious about hiring
 me, they should take the effort to decipher it! ;-)
Cuneiform on stone tablets is for mobility geeks !
You are invited to my cave where you can review my CV drawing

#


 
 Cheers,
 Dov
 
 On Mon, Aug 16, 2010 at 13:32, geoffrey mendelson 
 
 geoffreymendel...@gmail.com wrote:
  On Aug 16, 2010, at 1:24 PM, Nadav Har'El wrote:
  Some of us have CVs that started before OpenOffice, nee Star Office, was
  even conceived :-)
  
  As they say, if it ain't broken, don't fix it...
  
  Yea, but I long ago lost the punched cards and paper tape. I think the
  earliest surviving one I have is a WordStar document from my CP/M system.
  
  Geoff.
  
  --
  Geoffrey S. Mendelson,  N3OWJ/4X1GM
  To help restaurants, as part of the stimulus package, everyone must
  order dessert. As part of the socialized health plan, you are forbidden
  to eat it.
  
  :-)
  
  ___
  Linux-il mailing list
  Linux-il@cs.huji.ac.il
  http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Perl and integer overflows

2010-06-20 Thread Dotan Shavit
On Sunday 20 June 2010 13:25:00 Shachar Shemesh wrote:
 Hi all,
 
 I'm trying to calculate the result of a string hash function in perl. I
 need an explicit function, as the perl output is used to create a C
 program, that will then use that very same hash function. Please, do not
 direct me to perl's excellent hash handling. I know it's there. I use it
 where applicable. This is not one of those cases.
 
 The hash function I'm using is sdbm hash function
 (http://www.cse.yorku.ca/~oz/hash.html). To calculate it, I need to
 perform integer arithmetics, knowing full well it may overflow. It is
 okay for it to overflow, as I only need the bottom 32 bits. In fact, my
 code ANDs the result with 0x, to make sure that, on 64 bit
 platforms, I only get the bottom 32 bits.
 
 Here's the problem. When the integer gets too big, Perl replaces it with
 MAXINT. On 64 bit platforms, that's not too bad - I can simply truncate
 to 32 bits after each operation. On 32 bit platforms, I'm a bit at a
 loss as to what to do.
 
 Any suggestions on how to get the C integer semantics out of perl?
I'd google for perl long long

#

 
 Shachar
 

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Wireless connection to a remote station

2010-06-04 Thread Dotan Shavit
On Friday 04 June 2010 09:36:52 Dan Shimshoni wrote:
 Can I somehow connect a second wireless Access Point by ethernet cable, and
  then connect that Access Point (by wireless) to the first, main Access
 Point ? (something like a bridge).
 
You can.
I know that Edimax supports this (check the mode option).
I'm sure Edimax is not the only option.

#

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: אורנג and Ubuntu

2010-06-01 Thread Dotan Shavit
Not exactly what you asked but:
1. If you have wifi support, you can use:
http://www.joikushop.com/

2. They sell a USB dongle (not a phone) named ZTE MF637
See [Hebrew]:
http://netshine.wordpress.com/2010/04/02/%D7%9E%D7%95%D7%93%D7%9D-%D7%A1%D7%9C%D7%95%D7%9C%D7%90%D7%A8%D7%99-%D7%9E%D7%90%D7%95%D7%A8%D7%A0%D7%92-%D7%A2%D7%9C-%D7%9C%D7%99%D7%A0%D7%95%D7%A7%D7%A1/

#

On Tuesday 01 June 2010 11:53:44 Noam Rathaus wrote:
 Hi,
 
 I am looking to bundle my existing Ubuntu laptop via USB with one of
 the phones that work with the Orange (אורנג) network for the purpose
 of surfing the Internet.
 
 I do not have a Bluetooth option, so I am going with the USB (please
 don't comment on this).
 
 Anyone with experience with אורנג (Israel) and a phone they sell and
 USB connectivity to gain Internet access?
 
 I tried a few phones that my fellow coworkers have, and for none of
 them the just-plug-and-play option worked on Ubuntu Lucid.
 
 The wizard poped up, the Next Next method was tried, as well as a
 few guides, it looks like Nokia doesn't work by default or some
 tweaking specific to אורנג are needed.
 
 
 Thanks,
 Noam.
 
 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
 

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: אורנג and Ubuntu

2010-06-01 Thread Dotan Shavit

On Tuesday 01 June 2010 14:58:29 Noam Rathaus wrote:
 Hi Dotan,
 
 Have you used either of these?
Both
#

 
 On Tue, Jun 1, 2010 at 12:50 PM, Dotan Shavit do...@shavitos.com wrote:
  Not exactly what you asked but:
  1. If you have wifi support, you can use:
  http://www.joikushop.com/
 
  2. They sell a USB dongle (not a phone) named ZTE MF637
  See [Hebrew]:
  http://netshine.wordpress.com/2010/04/02/%D7%9E%D7%95%D7%93%D7%9D-%D7%A1%
 D7%9C%D7%95%D7%9C%D7%90%D7%A8%D7%99-%D7%9E%D7%90%D7%95%D7%A8%D7%A0%D7%92-%
 D7%A2%D7%9C-%D7%9C%D7%99%D7%A0%D7%95%D7%A7%D7%A1/
 
  #
 
  On Tuesday 01 June 2010 11:53:44 Noam Rathaus wrote:
  Hi,
 
  I am looking to bundle my existing Ubuntu laptop via USB with one of
  the phones that work with the Orange (אורנג) network for the purpose
  of surfing the Internet.
 
  I do not have a Bluetooth option, so I am going with the USB (please
  don't comment on this).
 
  Anyone with experience with אורנג (Israel) and a phone they sell and
  USB connectivity to gain Internet access?
 
  I tried a few phones that my fellow coworkers have, and for none of
  them the just-plug-and-play option worked on Ubuntu Lucid.
 
  The wizard poped up, the Next Next method was tried, as well as a
  few guides, it looks like Nokia doesn't work by default or some
  tweaking specific to אורנג are needed.
 
 
  Thanks,
  Noam.
 
  ___
  Linux-il mailing list
  Linux-il@cs.huji.ac.il
  http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
 
  ___
  Linux-il mailing list
  Linux-il@cs.huji.ac.il
  http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
 

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Really bad latency online

2010-02-17 Thread Dotan Shavit
try mtr

#

On Wednesday 17 February 2010 16:46:08 Dotan Cohen wrote:
 I live in Nesher and connect to the 'net via Bezeq ADSL and Bezeq
 Beinleumi. I have a D-Link router and connect via ethernet cable. My
 distro is Kubuntu 9.10.
 
 Sometimes I have a long latency when fetching webpages: I might wait
 over 20 seconds before anything appears onscreen. Other than that,
 download speeds are about the 2.5 megs that I pay for. How can I
 determine what is causing the latency?
 

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Runtime security/memory checks for gcc/gdb

2010-01-11 Thread Dotan Shavit
You can also try:
gcc -fmudflap

#

On Monday 11 January 2010 23:54:09 Elazar Leibovich wrote:
 We have a big legacy embedded code we need to maintain. Often, we wish to
 run some functions of the code on the PC with injected input, to test them
 or to test changes we've done to them without loading the code to the
  device it should run on.
 The code is written with C.
 Obviously, this is not an easy task, it is more difficult because, the code
 is bug ridden, and many times it works by accident (for example, a NULL
 pointer added a constant and then derefeced, this worked because the memory
 address was legal).
 Since the code is big, our strategy is: compile just the parts you need,
 debug it enough so that it would run on the PC, and keep the changes.
 Hopefully, after enough time, all (or most) of the code would be runnable
  on a PC.
 We use gcc+gdb to compile and debug the code. In Visual Studio's
 cl.exe there are some security
 checkshttp://msdn.microsoft.com/en-us/library/aa289171(VS.71).aspxat
 run time. This can really assist debugging. For example knowing when
 an
 unintialized variable was used can save you alot of frustration when trying
 to figure out why you're getting a wrong numberic results.
 My questions are:
 1) Are there parallel (or better) runtime security checks for gcc/gdb? I
 found the -fstack-protection stack canary switch, but are there more of
  this type?
 2) What other tools are there which offer similar protection? Valgrind of
 course is the first thing that comes to my mind, but I'll be glad to hear
 any more ideas.
 For example, I would love to be able to get a warning whenever a pointer is
 dereferenced twice, where the first time the pointer points at the memory
 address of variable x, and the second time it points to variable y. That
  way I'll get a warning for the following bug:
 int x[3] = {1,2,3};int y[3] = {4,5,6};
 int *p = x;
 for (int i=0;i=3;i++,p++) (*p) = (*p)++; // note the =
 3) We use win32 for regular development, so if anyone knows what is the
 support for such tests in cygwin/mingw, I'll be glad to hear about it.
 
 Thanks
 Elazar Leibovich
 

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: disabling loop unrolling in GCC

2009-12-21 Thread Dotan Shavit
On Monday 21 December 2009 14:00:39 Shachar Shemesh wrote:
 Where it gets worrying is when I try to cancel loop unrolling. I tried
  -fno-unroll-loops and -fno-peel-loops, to no effect. I even tried
  messing with the --param option (max-unrolled-insns, max-unroll-times,
  max-peel-times) to no noticeable effect
 
max-completely-peeled-insns is your friend

This param's value is also the difference between -O3 and -O2 you were missing

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: active server and passive client

2009-12-09 Thread Dotan Shavit
On Tuesday 08 December 2009 17:24:02 Constantine Shulyupin wrote:
 The question is, is there already ready solution for the task or is
 there simple solution than described?
 
man netcat

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: active server and passive client

2009-12-09 Thread Dotan Shavit
On Wednesday 09 December 2009 19:31:07 Constantine Shulyupin wrote:
 And how will I use netcat to reverse/forward connection?
e.g [not tested]:

nc -l -p 81 -c nc -l -p 80
and
nc -c nc client 80  server 80


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: 1U IBM eServer xSeries 330

2009-10-15 Thread Dotan Shavit
On Thursday 15 October 2009, ik wrote:
 Hello List,

 I was given am IBM eServer xSeries 330 1U. I'm having problems working with
 that sever.

 When I connect a USB keyboard to it, it does not send any current to the
 keyboard and does not accept any key strokes.
 It claimed that the CMOS battery was not working, so I replaced it it still
 had the problem with the keyboard. Does anyone here know how to make the
 USB keyboard work with the server ?

 And does anyone know where I can find a connector to it's unique DVI access
 to provide me a normal DVI/VGA output (I can't find on ebay, maybe it has a
 specific name that I do not know and can not find) ?
C2T


 The rear end of the 1U can be seen here: http://ik.homelinux.org/ibm.jpg


 Thanks,
 Ido

 http://ik.homelinux.org/



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Recommendation for a Commercial Subversion (= svn) hosting

2009-09-21 Thread Dotan Shavit
Hi Shlomi,

On Monday 21 September 2009, Shlomi Fish wrote:
  I can use svnsync.
So you have a local svn repository.


 Any recommendations would be appreciated.
Encrypt the local repository and store it on a free storage service.

#


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Virtualization recommendation

2009-09-15 Thread Dotan Shavit
On Tuesday 15 September 2009, David Suna wrote:
 I just bought a new Gateway laptop that comes with Windows Vista (and a
 free upgrade to Windows 7).  I want to be able to run both Linux (Ubuntu
 is my preferred distribution) and Windows (Vista for now, Windows 7 in
 the future) using virtualization.  I have not gotten into virtualization
 until now so I wanted recommendations about how to go about doing this.

 From what I have read so far I have the following options:

 1. Host on Windows using VMWare (either VMware Player or Workstation)
%s/VMWare/VirtualBox/g


 2. Host on Windows using Microsoft Virtual PC

 3. Host on Linux using VMWare, Xen etc but then I have to deal with
 installing Windows since the laptop comes with it but does not have
 separate installation disks


 Recommendations for or against any of the above or information about
 other options that I left out would be appreciated.


 Thanks,



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: ubuntu/debian package problem

2009-09-14 Thread Dotan Shavit
On Monday 14 September 2009, geoffrey mendelson wrote:
 Ok, I did something stupid. I have two similar ubuntu systems.
 Noticing that some packages I need are missing on one but not knowing
 which ones,
 I did a list of them using:

 dpkg --get-selections  installed-software

 Then I used grep to weed out only the installed ones, and went to the
 other system and entered:
 dpkg --set-selections  installed-software

 Then I tried to do a dselect, which wants to delete several packages I
 really want to keep.
 Is there any way to keep those packages? Or at least find out which
 ones are forcing removal of it, so I can deselect them?
If these packages were not deleted yet, just use get-selections again.

#


 Thanks in advance,

 Geoff.



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: openoffice and tables in imported hebrew word documents

2009-09-10 Thread Dotan Shavit
On Thursday 10 September 2009, Micha Feigin wrote:
 Lately (at least with openoffice 3.1.1) tables in hebrew word documents
 that I open in oowriter are off screen. Is there any way to push them back
 to place?
Right click = table = table tab = fix the left spacing

#

 Thanks

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Perl slowness

2009-09-08 Thread Dotan Shavit
On Tuesday 08 September 2009, Noam Rathaus wrote:
 So I am stuck

 Grrr

 Anyone with ideas on how I can understand why my packages are causing
 issues, while apparently, perl-provided packages such as LWP::UserAgent
 dont?
http://www.gksoft.com/a/fun/catch-lion.html


 On Tue, Sep 8, 2009 at 5:58 PM, Shachar Shemesh shac...@shemesh.biz wrote:
   Noam Rathaus wrote:
 
  The only obvious one is that read() shown under strace, takes a
  significant more time on the new machine than the old one
 
  You can split the difference between the platforms into three groups:
  Time spent in the kernel (0.032 seconds)
  Time spent in userspace (7.761 seconds)
  Time spent sleeping or otherwise scheduled out (7.287 seconds)
 
  strace -c goes a long way, and works very hard, to show us information
  that is not useful to us. It counts CPU time spent in system calls, not
  actual wall time. What may provide a more useful output in this case is
  -T, which will also count time in which the process was sleeping inside a
  system call (which accounts for about half the slowdown).
 
  The second half of the slowdown, the one done in user space, is more
  difficult to trace without the sources (i.e. - the perl sources).
  valgrind has a module for detecting what causes a slowdown, but I doubt
  Noam wants to start analyzing perl to figure out what the different areas
  actually mean.
 
 
  Shachar
 
  On Tue, Sep 8, 2009 at 5:43 PM, Shachar Shemesh 
shac...@shemesh.bizwrote:
   Noam Meltzer wrote:
 
  the time output does looks like you have higher cpu usage for some
  reason, so i agree with Shachar on this.
 
  you can also try to pinpoint the place the cpu is spent.
  strace and/or ltrace with the '-f -c' flags can help.
 
   I'm not sure about ltrace, but strace will not help. Most of the time
  is spent in user space, not in the kernel.
 
  Strace may help if the problem is time spent in another process (i.e. -
  while the main process is sleeping), but it seems Noam has already tried
  that one and failed to spot any obvious candidates.
 
  Shachar
 
  On Tue, Sep 8, 2009 at 5:24 PM, Shachar Shemesh 
shac...@shemesh.bizwrote:
   Noam Rathaus wrote:
 
  I know the time difference doesn't look too bad, but take a bigger code
  set:
 
  Fast:
  real0m1.682s
  user0m1.584s
  sys0m0.064s
 
  Slow:
  real0m16.730s
  user0m9.345s
  sys0m0.096s
 
These times spell CPU intensive. Does your library do anything
  special? If you try to import a dummy library, does this still happen?
 
  Shachar
 
  --
  Shachar Shemesh
  Lingnu Open Source Consulting Ltd.http://www.lingnu.com
 
  --
  Shachar Shemesh
  Lingnu Open Source Consulting Ltd.http://www.lingnu.com
 
  --
  Shachar Shemesh
  Lingnu Open Source Consulting Ltd.http://www.lingnu.com



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: BIND_TO DEVICE and the loopback interface

2009-07-03 Thread Dotan Shavit
On Friday 03 July 2009, Gilad Ben-Yossef wrote:
 You have a network server application (it's a SIP UA but that doesn't
 matter much) that is bound to an IP on the media network interface. Because
 the media and management networks might be completely different, you use
 the BIND_TO_DEVICE socket option om the server sockets so that the kernel
 will only route traffic for that socket via that device.

This is the source of your (friend's) problem...
What's wrong with regular routing rules ?
Why should the code bind the socket to a specific device?
Assuming the answer is security... you need this only for the management 
server, not the media one.

#

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Setting NFS server on Fedora Core 9

2009-06-25 Thread Dotan Shavit
On Thursday 25 June 2009, Ori Idan wrote:
 I am trying to set an NFS server (for a local network) on fedora 9
 I have exported the directory in /etc/exports
 I have started rpcbind and nfs

 From another computer (in this case running Ubuntu) I tried mounting the

 directory. After few seconds I got an error mount.nfs mount system call
 failed

 I googled for guides on NFS on fedora and it seems I did everything fine
 and it still does not work.
 Does anyone have any idea?
FW ?

#



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Setting NFS server on Fedora Core 9

2009-06-25 Thread Dotan Shavit
On Thursday 25 June 2009, Ori Idan wrote:
 I have checked again and made sure firewall is disabled and still get the
 same problem.
First try mounting from the same machine.
And... check the log files...

#

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Home network

2009-06-22 Thread Dotan Shavit
On Monday 22 June 2009, Meir Michanie wrote:
 Hi List,
 I would like to know if anyone in the list can give me some advise on
 network wiring in a house.
My advise  is Don't.
Use wireless network.

#
 Does anyone in the list do this kind of work?

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Help - can anyone explain this segfault?

2009-06-19 Thread Dotan Shavit
On Friday 19 June 2009, Shachar Shemesh wrote:
 help?

From man vfork:

behavior is undefined if the process created by vfork() returns from the 
function in which vfork() was called...

#

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: ot: isps

2009-04-21 Thread Dotan Shavit
Try:
http://speed.hot.net.il/script/DownloadSpeed.asp
And check your effective bandwidth.
Also check packet loss statistics with ping and/or hping.

With this information you will be able to get decent support from bbl.

#

On Tuesday 21 April 2009, Erez D wrote:
 hi

 i want a new Internet connection for my home.

 first i thought of trying the cellular companies. any experience with them
 ? are they good ?

 i am still connected to bbl+hot. i experience problems in creating a
 connection. one of every 10 connections doesn't open, and i need to reload
 the page ...
 are other experiencing the same problems with them ?


 10x,
 erez



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: ot: isps

2009-04-21 Thread Dotan Shavit
Time to use traceroute to find the dropping node.
I'd go for mtr hostname

Note that some network components are dropping pings directed to them, but the 
nodes located after these will still show 0% packet loss.

#

On Tuesday 21 April 2009, Erez D wrote:
 i have no problems with download speed

 my ping is acting strange. it works for the first N icmps (N is a number
 between 30 and 150, changes every time), then it stops working.

 i spoke with bbl - they can find no problems although i (bbl+hot) and my
 mom (bbl+adsl) have the same problem

 On Tue, Apr 21, 2009 at 11:49 AM, Dotan Shavit do...@shavitos.com wrote:
  Try:
  http://speed.hot.net.il/script/DownloadSpeed.asp
  And check your effective bandwidth.
  Also check packet loss statistics with ping and/or hping.
 
  With this information you will be able to get decent support from bbl.
 
  #
 
  On Tuesday 21 April 2009, Erez D wrote:
   hi
  
   i want a new Internet connection for my home.
  
   first i thought of trying the cellular companies. any experience with
 
  them
 
   ? are they good ?
  
   i am still connected to bbl+hot. i experience problems in creating a
   connection. one of every 10 connections doesn't open, and i need to
 
  reload
 
   the page ...
   are other experiencing the same problems with them ?
  
  
   10x,
   erez



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Samba: convert shadow to smbpasswd.

2008-12-17 Thread Dotan Shavit
On Wednesday 17 December 2008, Josh Roden wrote:
 Hi everyone,

 Does anyone know how to convert /etc/shadow or /etc/passwd to
 /etc/samba/smbpasswd?

 I haven't been able to google anything that works.



 Neither of the following work:

  cat /etc/passwd|mksmbpasswd.sh |cat/etc/samba/smbpasswd

  cat /etc/shadow|mksmbpasswd.sh|cat/etc/samba/smbpasswd



 mkdsmbpasswd creates the username accounts but not the passwords.
Well, the man states that:

Please note that passwords are not transferred automatically from /etc/passwd 
to the new /etc/samba/smbpasswd file. After running mksmbpasswd all accounts 
are disabled so the system administrator must run smbpasswd for each account 
that needs to be enable.

#



 Thanks.



=
To unsubscribe, send mail to linux-il-requ...@cs.huji.ac.il with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail linux-il-requ...@cs.huji.ac.il



Re: Digikam equivalent for Videos?

2008-10-04 Thread Dotan Shavit
Try Digikam

#

On Monday 29 September 2008, Amos Shapira wrote:
 Hello,

 I've been a happy Digikam user for many years now - managing photos
 taken with camera and phone, burning CD's, editing etc.

 I now need something which will allow me to do basic manipulation of
 videos. I don't expect to do much editing, just something like Digikam
 which will allow me to organize videos, maybe add comments and export
 onto data CD's/DVD's to send to family.

 Can anyone recommend something like this?

 Thanks.

 --Amos

 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



[Job offer] Embedded programmer

2008-09-24 Thread Dotan Shavit
Hi all,

A startup located at Rehovot is looking for a programmer with the following 
spec:

-  Software Engineer
-  Excellent knowledge in C/C++ including STL and OOD.
-  Professional background in machine developing and/or Imaging.
-  Excellent knowledge in multi-threading.
-  At least 5 years of experience in the industry. Preference for former 
experience at companies such as Indigo, Applied, Scitex (Kodak), Orbotech, Nur.
-  Preference for experience in one or more of the following fields:  Python, 
GUI development with QT, Linux development, Micro controllers, Drivers 
development, Image processing, 
parallel programming and optimization. 
-  Teamwork abilities.
-  Good English.

Let me know if you're interested.

Shana Tova,
Dotan

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



[Job offer] C / C++ programmer

2008-04-29 Thread Dotan Shavit
Hi All,

Looking for a senior programmer / team leader for full time job (inhouse 
outsourcing is an option).
Should be well experienced C / C++ programmer with experience in TCP/IP.
The position includes development and maintenance of a high performance 
server.


Please send your C.V to [EMAIL PROTECTED]

All the best,
Dotan

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: installing CentOS/RHEL without CD using PXE?

2008-03-29 Thread Dotan Shavit
On Friday 28 March 2008, Hetz Ben Hamo wrote:
 without disk-on-key (the ISO image itself is about 3.6 GB)

Actually, you can use disk-on-key to install a full distribution using 
a network install (e.g. http://www.us.debian.org/distrib/netinst)

#

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: all-in-one ink printer : looking for recommendations

2008-03-13 Thread Dotan Shavit
HP OfficeJet 5610

I'm very happy with it.

#

On Wednesday 12 March 2008, Boaz Rymland wrote:
 Hi,

 I'm looking into buying an all-in-one printer.
 I'll probably go for ink printer since I don't print too much and
 printing color output would be useful. The required/preferred specs are:
 - having good printer drivers under Linux.
 - working scanner functionality under Linux is highly desirable.
 - independent fax capability
 - preferably a machine compact in size.
 - shared printing: I need to be able to print to it from windows and
 linux. I don't mind how this is achieved (setting linux as a printer
 server, network presence of the printer, etc) as long as its easy
 (enough) to install and maintain.
 - under 1000nis (will this be a problem?... at least not much more than
 this limit).

 If you can share some of your experience that would be great!
 Thanks,
 Boaz.

 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Efficient C++ XML validating parser?

2008-03-05 Thread Dotan Shavit
On Wednesday 05 March 2008, Amos Shapira wrote:
 What do people around here like to use for EFFICIENT XML parsing?

A stronger machine.

Don't laugh... it may be much cheaper than developing and maintaining 
software.

#

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: mail server and gmail SPAM

2008-02-25 Thread Dotan Shavit
I guess they have different IP addresses...
Could it be the these 2 are blacklisted?

#

On Monday 25 February 2008, Hetz Ben Hamo wrote:
 Hi,

 I have here 4 Linux machines, which will be running some forums, db etc...

 2 of the machines, when testing to send mail to gmail, send it and I
 recieve it correctly. However, 2 other servers when they send mail,
 the mail goes directly to the SPAM folder in gmail.

 I can do the simple trick of clicking the message and clicking not
 spam, but the 2 servers do need to send registration mail to users,
 and if they'll get the mail in the spam it will cause tons of
 problems.

 I have checked the RDNS, sent mail not from root, SPF record is OK.
 (mail server is sendmail).

 Have I missed something? I checked all the servers and they have the
 same config.

 Thanks,
 Hetz



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Fwd: Core file viewer

2008-01-24 Thread Dotan Shavit
On Thursday 24 January 2008, [EMAIL PROTECTED] wrote:
 Hi all,

 We got a core file generated from executable program (c++) from CentOs.
 We suspect that the core file is corrupted.
Why do you suspect it's corrupted?
Did gdb complain on anything?

#
 Is there a way to test the core 
 file other than loading it with a debug too (like gdb)?


 Thanks

 Yaron Kahanovitch

 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: managing two interfaces

2008-01-16 Thread Dotan Shavit
You just described teaming of your network interfaces.

#

On Wednesday 16 January 2008, Constantine Shulyupin wrote:
 Hi,

 I have a computer connected with two interfaces to same network. Each
 one backups another.
 When eth0 is down, eth1 have to work.
 When eth1 is down, eth0 have to work.
 The most sutable solution I've found is to monitor RUNNING status of
 interfaces and change the routing table from my program.
 Could you please suggests already implemented solution for the problem?



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Can't browse to some sites.

2008-01-16 Thread Dotan Shavit
Some lines are missing (e.g. 29, 30) so we can't tell if your machine is 
ACKing the received packets. Is it?
Does ethereal give more info about the red lines?

#

On Wednesday 16 January 2008, David Harel wrote:
 Dotan Shavit wrote:
  On Tuesday 15 January 2008, David Harel wrote:
  Tried to use pastebin.com but the file is binary. Any suggestion?
 
  Open the file with ethereal (AKA wireshark) and look for the following
  packets:
  1. DNS query
  2. DNS reply
  3. SYN
  4. SYN ACK (probably missing)
 
  Which packets are missing?

 After initiating the request (DNS OK, Some lines are in red on black and
 have some red lines in the description):
 203.636778192.168.1.5213.8.106.67TCP60098  http
 [SYN] Seq=0 Win=5648 Len=0 MSS=1412 TSV=3347876 TSER=0 WS=2
 213.654125213.8.106.67192.168.1.5TCPhttp  60098
 [SYN, ACK] Seq=0 Ack=1 Win=16384 Len=0 MSS=1360 WS=0 TSV=0 TSER=023
 3.656709192.168.1.5213.8.106.67HTTPGET / HTTP/1.0
 223.654141192.168.1.5213.8.106.67TCP60098  http
 [ACK] Seq=1 Ack=1 Win=5648 Len=0 TSV=3347877 TSER=0
 233.656709192.168.1.5213.8.106.67HTTPGET / HTTP/1.0
 243.709561213.8.106.67192.168.1.5IPFragmented IP
 protocol (proto=TCP 0x06, off=0) [Reassembled in #25]
 253.710717213.8.106.67192.168.1.5HTTPHTTP/1.1 200 OK
 (text/html)
 263.716829213.8.106.67192.168.1.5IPFragmented IP
 protocol (proto=TCP 0x06, off=0) [Reassembled in #27]
 273.717623213.8.106.67192.168.1.5HTTPContinuation or
 non-HTTP traffic
 283.724516213.8.106.67192.168.1.5TCP[TCP Dup ACK
 27#1] http  60098 [ACK] Seq=2721 Ack=223 Win=65535 Len=0 TSV=5734292
 TSER=3347878
 314.710162213.8.106.67192.168.1.5IPFragmented IP
 protocol (proto=TCP 0x06, off=0) [Reassembled in #32]
 324.710727213.8.106.67192.168.1.5HTTP[TCP
 Retransmission] HTTP/1.1 200 OK (text/html)
 366.709628213.8.106.67192.168.1.5IPFragmented IP
 protocol (proto=TCP 0x06, off=0) [Reassembled in #37]
 376.710197213.8.106.67192.168.1.5HTTP[TCP
 Retransmission] HTTP/1.1 200 OK (text/html)

 Last retransmit and ip fragmented lines reappear many times.

  #
 
  Let's try to debug this.
 
  Shachar



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Can't browse to some sites.

2008-01-15 Thread Dotan Shavit
On Tuesday 15 January 2008, David Harel wrote:
 Shachar Shemesh wrote:
  David Harel wrote:
  Same (didn't help). Seems to me as something basic in Linux kernel.
 
  Use tcpdump with the -w option and also -s 65535 to capture the
  traffic and post it somewhere.

 Tried to use pastebin.com but the file is binary. Any suggestion?
Open the file with ethereal (AKA wireshark) and look for the following 
packets:
1. DNS query
2. DNS reply
3. SYN
4. SYN ACK (probably missing)

Which packets are missing?

#

  Let's try to debug this.
 
  Shachar



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



[Job Offer] Sys admin + Sugar CRM

2008-01-07 Thread Dotan Shavit
Hi List,

A good friend is looking for someone to install a linux machine and set up 
Sugar CRM and possibly mail server etc...

If you are interested - let me know.

All the best,
Dotan

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Processing time spent in IRQ handling and what to do about it

2007-12-19 Thread Dotan Shavit
On Tuesday 18 December 2007, Oded Arbel wrote:
 I can see that a lot of time is spent in the hard-IRQ region - sometimes
 more then all other regions together.

Lets look for more hints...

- Anything interesting in the logs (during boot and after) ? 
- Lets plug out all the hardware you can: network , USB, disks...
- rmmod all the modules you can.
- Boot with a different kernel version.
- Nothing yet? Lets play with the BIOS...

What stops the IRQs?
How far will you go to catch an IRQ?

#

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



[Job offer] C++ / Embedded programmer

2007-12-02 Thread Dotan Shavit
Hi All,

One of my friends (another one) asked me to recruit a new employee / 
outsourcer with experience in C++ and Embedded systems.

The company is a new startup in the clean-tech area.
Outsourcing is an option, but you will have to obligate for a fulltime job for 
(at least) several months.

Send your C.V to [EMAIL PROTECTED]

All the best,
Dotan

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



[Job offer] C / C++ programmer

2007-11-28 Thread Dotan Shavit
Hi All,

One of my friends asked me to recruit a new employee / outsourcer for the 
following positions:

1. Senior programmer (full time job):
A well experienced C / C++ programmer with specific experience in TCP/IP.
The position includes development and maintenance of a high performance 
server.

2. Outsourcer:
For writing a C / C++ parser.


Send your C.V to [EMAIL PROTECTED]

All the best,
Dotan

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: a time accelerating script anyone ?

2007-11-23 Thread Dotan Shavit
On Friday 23 November 2007, Maxim Veksler wrote:
 Hi guys,

 I know this sounds a bit funny but I need a script or perhaps a method
 to hurry up the kernel internal time pacer so that time will go faster
 on my machine.

 I'm testing events that are scheduled to be executed, say ~every 3h.
 Waiting 3h for each test is lame. I need a time machine!

 Has anyone written / seen something appropriate ?
I'd start with `man adjtime` and `man adjtimex`

#

 To mention that simply testing for time and adding +1min to it is
 not good because that means I could lose a whole minute in case of
 race conditions with other process (think HH:MM: 59.999). Yes, testing
 for date '+%N' is also an option but that's boring and I guess is
 error prone too. Using something tested that someone wrote is my
 preferred option.


 Thanks,
 Maxim.



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: echo inside Makefile

2007-11-21 Thread Dotan Shavit
On Tuesday 20 November 2007, you wrote:
 Hi,
 I have a problem running echo inside Makefile.
 Here is the Makefile:
 all:
 @echo string
 @echo -e -n string

 The output is:
 string
 -e -n string

 The problem is the second @echo command. It prints '-e -n' instead of
 interpreting those options.
 I have tested it on other comps and it works fine, so its an environment
 problem in my comp.
 What var or file determine this behavior?
The difference is your /bin/sh
In Ubuntu it's linked to /bin/dash which echo (builtin command) accepts 
only -n

linking /bin/sh to /bin/bash will bypass this behavior in *your* environment.
A better solution will be to force make calling the echo you want:

ECHO=/bin/echo

all:
@$(ECHO) -n -e aaa


#

 Thanks,
 Kfir



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: echo inside Makefile

2007-11-21 Thread Dotan Shavit
On Thursday 22 November 2007, Kfir Lavi wrote:
  make SHELL=/bin/bash
 works.
 But, my shell seems to be bash.
 echo $SHELL
 /bin/bash

 So what is the problem? Do I really run dash instead of bash, but it shows
 bash?
Try:
all:
echo $(SHELL)

#
 Thanks,
 Kfir

 On Nov 21, 2007 8:26 PM, Valery Reznic [EMAIL PROTECTED] wrote:
  --- Dotan Shavit [EMAIL PROTECTED] wrote:
   On Tuesday 20 November 2007, you wrote:
Hi,
I have a problem running echo inside Makefile.
Here is the Makefile:
all:
@echo string
@echo -e -n string
   
The output is:
string
-e -n string
   
The problem is the second @echo command. It prints
  
   '-e -n' instead of
  
interpreting those options.
I have tested it on other comps and it works fine,
  
   so its an environment
  
problem in my comp.
What var or file determine this behavior?
  
   The difference is your /bin/sh
   In Ubuntu it's linked to /bin/dash which echo
   (builtin command) accepts
   only -n
  
   linking /bin/sh to /bin/bash will bypass this
   behavior in *your* environment.
 
  make SHELL=/bin/bash
 
  should do the trick too.
 
  Valery.
 
   A better solution will be to force make calling the
   echo you want:
  
   ECHO=/bin/echo
  
   all:
   @$(ECHO) -n -e aaa
  
  
   #
  
Thanks,
Kfir
 
  =
 
   To unsubscribe, send mail to
   [EMAIL PROTECTED] with
   the word unsubscribe in the message body, e.g.,
   run the command
   echo unsubscribe | mail
   [EMAIL PROTECTED]
 
  
  _
 ___ Get easy, one-click access to your favorites.
  Make Yahoo! your homepage.
  http://www.yahoo.com/r/hs



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: looking for a very simple ticket system

2007-10-25 Thread Dotan Shavit
http://taskfreak.com/ is a nice one.

#

On Thursday 25 October 2007, Hetz Ben Hamo wrote:
 Hi,

 I'm looking for a very basic ticket system that supports hebrew (the
 people that will fill the tickets are not computer 'experts'), that
 will let me see all the tickets and reply to them via the system (so
 they get a link to the reply)..

 The ticket system is not related to any software field (i.e. bugzilla etc).

 Any suggestions, recommendations?

 Thanks,
 Hetz



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: bt in core dumps

2007-09-05 Thread Dotan Shavit
Consider the simple explanation - the stack really looks like ???
In this case, valgrind is your friend.

#

On Monday 03 September 2007, Ori Idan wrote:
 I am trying to get stack trace for a short program compiled with gcc.
 The program terminates with a signal and generates a core dump.
 When I am loading this core dump to gdb I get warning: Can't read pathname
 for load map: Input/output error.
 When I issue the bt command I get ?? for many of the functions in the stack
 actually I get ?? for all functions in my program.
 My program was compiled with -g

 Does anyone have any idea?



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: sed

2007-05-20 Thread Dotan Shavit
Hi Avraham,

I'd go for something more strict like:
sed s/\([0-9][0-9]:[0-9][0-9]\)\([^\t]*\t\t\)\([0-9][0-9]:[0-9][0-9]\).*/\1-\3 
$1 \2/

Dotan


On Saturday 19 May 2007, Avraham Rosenberg wrote:
 Hi,
 The problem popped up in the frame of my attempts to switch to
 utf8. I opened a uxterm window with the command:
 LC_TYPE=he_IL.UTF8 uxterm -sb -sl 500  -xrm 'xterm*pointerShape:
 hand2' -geometry 100x40 -bg grey90 -fg black -fn
 '-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1'

 and tried to execute a script involving sed.
 In its simplest form, it looks like:
 cat v | start-end2
 where v is:
   21:45 Les elephants d'Hannibal  22:35 360° Le reportage GEO
   22:35 360° Le reportage GEO 22:36 Les metallos de Chicago
   22:36 Les metallos de Chicago   21:45 Les elephants d'Hannibal
 and start-end2 is
 #!/bin/sh
 sed s/\([0-9][0-9]:[0-9][0-9]\)\(.*  
 \)\([0-9][0-9]:[0-9][0-9]\).*/\1-\3
 $1 \2/

 The big space in the script (2 tabs) corresponds to the two tabs between
 the two columns of v

 In the uxterm window, the output was:
   21:45-22:35   Les elephants d'Hannibal  ° Le reportage GEO
   22:35 360° Le reportage GEO 22:36 Les metallos de Chicago
   22:36-21:45   Les metallos de Chicago
 Instead of the normal output (in the xterm window):
   21:45-22:35   Les elephants d'Hannibal
   22:35-22:36   360° Le reportage GEO
   22:36-21:45   Les metallos de Chicago
 sed version: GNU sed version 4.1.5

 Should I update/replace my sed or use some command-line option to
 make it behave similarly in the two environements ?
 Thanks, Avraham



To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Outlook web access reverse proxy horrors!

2005-01-27 Thread Dotan Shavit
If you want to play with the HTML headers and content, filterproxy is a 
convenient tool for that [where convenient === I like Perl].

Dotan.

-- 
_    
|  Dotan Shavit\   \  / |
|  Founder, VP Services \   \/ To bring IN-OVATION turn to  |
| mailto:[EMAIL PROTECTED]/\   \your open source of solutions |
| Phone: +972-54-4456-656  /  \   \ |
| Fax:   (151)54-4456-656     http://www.ximpo.com/ |
|___ Ximpo  Group __|

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: new faster CPU = less open connections?!

2005-01-08 Thread Dotan Shavit
On Saturday 08 January 2005 01:48, Ira Abramov wrote:
 howdie people,

 I just upgraded my server from a Pentium III 500 to a P4 2.8G. I noticed
 that even though web traffic hasn't changed or even increasedm the
 netstat behaves differently, specific I have considerably less
 connections live at any moment, but the ones I do have are mostly at the
 syn recieved stage rather than connected.
Are you sure your apache2 configuration is the same as before?
Changing the Server-Pool configuration (number of ready to serve processes) 
may generate similar results.

Dotan.


 http://jenna.scso.com/hotsanic/netstat/connections-month.gif

 this stat by hotsanic and rrdtool shows the sharp change a week ago when
 I did the switch. the kernel is the same 2.6.8 from Debian Sarge.

 Does it seem normal? both me and the other website users see the same
 performance if not better naturally.

 Thanks,
 Ira.

-- 
_    
|  Dotan Shavit\   \  / |
|  Founder, VP Services \   \/ To bring IN-OVATION turn to  |
| mailto:[EMAIL PROTECTED]/\   \your open source of solutions |
| Phone: +972-54-4456-656  /  \   \ |
| Fax:   (151)54-4456-656     http://www.ximpo.com/ |
|___ Ximpo  Group __|

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: open ports

2004-12-26 Thread Dotan Shavit
On Sunday 26 December 2004 10:33, Gabor Szabo wrote:
 I am trying to secure a new server and as I am not an a real
 security expert I'd be glad to get some inuput.
 This is a Fedore-3 based server (I already shut down cupd -
 why do they need this in a server anyway ?)
 I ran nmap on the server and got this:

 Port   State   Service
 22/tcp openssh
 55/tcp filteredisi-gl
 80/tcp openhttp
 135/tcpfilteredloc-srv
 137/tcpfilterednetbios-ns
 138/tcpfilterednetbios-dgm
 139/tcpfilterednetbios-ssn
 225/tcpopenunknown
 443/tcpopenhttps
 445/tcpfilteredmicrosoft-ds
 /tcp   filteredkrb524
 12345/tcp  filteredNetBus
 12346/tcp  filteredNetBus
 27374/tcp  filteredsubseven


 Port 22 and 80 are OK
 I guess I'll have to shut down the betbios and microsft-ds things,
 what are these? Samba ?
man nmap:
Filtered means that a firewall, filter, or other network obstacle is covering 
the port and preventing nmap from determining whether the port is open.

Your firewall probably filters these ports (but verify this in your FW 
configuration).

Dotan.


 I was surprised to see NetBus ports. I though this meant my server was
 *already* broken in (this is a brand new machine).

 Any specific RTFM would be also appreciated.

 Gabor


 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]

-- 
_    
|  Dotan Shavit\   \  / |
|  Founder, VP Services \   \/ To bring IN-OVATION turn to  |
| mailto:[EMAIL PROTECTED]/\   \your open source of solutions |
| Phone: +972-54-4456-656  /  \   \ |
| Fax:   (151)54-4456-656     http://www.ximpo.com/ |
|___ Ximpo  Group __|

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: OT: prices for ISPs

2004-11-22 Thread Dotan Shavit
Hi Erez,

Have you considered using a dynamic DNS (e.g. http://www.dyndns.org) instead 
of constant IP?

Dotan.

On Monday 22 November 2004 10:08, Erez Doron wrote:
 hi

 i am looking to connect to the internet via ADSL
 i prefer constant IP

 the best prices i got is
 barak : 35 NIS/month, dynamic IP, for 1 year
 actcom: 38 NIS/month, constant IP, 6 month

 the problem is that after the duration (1 year for barak, 6 months for
 actcom) i have to re-negotiate the price. so i prefer the longer duration.

 anybody knows of similiar/better deals ?
 or new good ISPs which are not common knolegde ?

 cheers,
 erez.





 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]

-- 
_    
|  Dotan Shavit\   \  / |
|  Founder, VP Services \   \/ To bring IN-OVATION turn to  |
| mailto:[EMAIL PROTECTED]/\   \your open source of solutions |
| Phone: +972-54-4456-656  /  \   \ |
| Fax:   (151)54-4456-656     http://www.ximpo.com/ |
|___ Ximpo  Group __|

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: OT: prices for ISPs

2004-11-22 Thread Dotan Shavit
On Monday 22 November 2004 10:36, Erez Doron wrote:
 Yes, I though of this

 using such servers to forward my mail, either costs money, so i prefer
 to pay the money to my isp and put the server at home, or if it is free,
 it limits the amount of mail it forwards ...

 using an external DNS server and having the mail server at home is not
 good as even if i update the external DNS when  i change IP. the old ip
 will be still cached in other DNSs for up to 24Hrs.
Actually, using their dynamic DNS I'm getting ttl of 1 minute (which is good 
enough for my home usage...). The static configuration ttl is ~ 2H.

In addition, you can use automatic update scripts (e.g. 
http://freshmeat.net/projects/ddclient) to update your IP when it changes.


 Dotan Shavit wrote:
 Hi Erez,
 
 Have you considered using a dynamic DNS (e.g. http://www.dyndns.org)
  instead of constant IP?
 
 Dotan.
 
 On Monday 22 November 2004 10:08, Erez Doron wrote:
 hi
 
 i am looking to connect to the internet via ADSL
 i prefer constant IP
 
 the best prices i got is
 barak : 35 NIS/month, dynamic IP, for 1 year
 actcom: 38 NIS/month, constant IP, 6 month
 
 the problem is that after the duration (1 year for barak, 6 months for
 actcom) i have to re-negotiate the price. so i prefer the longer
  duration.
 
 anybody knows of similiar/better deals ?
 or new good ISPs which are not common knolegde ?
 
 cheers,
 erez.
 
 
 
 
 
 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]

 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]

-- 
_    
|  Dotan Shavit\   \  / |
|  Founder, VP Services \   \/ To bring IN-OVATION turn to  |
| mailto:[EMAIL PROTECTED]/\   \your open source of solutions |
| Phone: +972-54-4456-656  /  \   \ |
| Fax:   (151)54-4456-656     http://www.ximpo.com/ |
|___ Ximpo  Group __|

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]