[Users] Segmentation Fault

Steven Tardy sjt5 at its.msstate.edu
Fri Jun 26 12:06:06 EDT 2009


Vidhya Nagarajan wrote:
> Hello everyone,
> 
> I am new to OpenVZ and so far I have liked it a lot. The Quick installation
> guide is extremely useful. I am trying to run a thermal emulation model
> inside a container. I have installed all the necessary packages, However,
> When I run the thermal emulation software which basically collects the power
> consumed by the components(cpu,network,disk) of the machine, I get a
> segmentation fault. When I run the same in the host node, I don't get any
> error and the software runs smoothly.
> 
> For the thermal emulation model I need to set the /dev/sda properly. However
> when I tried to run /dev from the container I could not get sda or hda but
> rather found "pts". what does that mean?
> 
> 
>>From inside the container :
> 
> [root at rajeshr-linux bin]# ./monitord -p 8367 -s localhost -d -v
> Just defined sockaddr->sin_addr.in_addr=(100007f)
> Segmentation fault
> 
> Is it because the container is not given access to the power modules in the
> host node? I have mounted three of the folders from the host node to the
> container using the command

that software probably reads from something in /proc

troubleshooting 101 (strace):
  strace ./monitord -p 8367 -s localhost -d -v

see what errors strace returns

-- 
Steven Tardy
Systems Programmer
Information Technology Infrastructure
Information Technology Services
Mississippi State University
sjt5 at its.msstate.edu


More information about the Users mailing list