[PLUG] postgresql error

पारस beparas at gmail.com
Sun Aug 7 22:02:06 PDT 2011


On Sat, Aug 6, 2011 at 10:10 PM, Sriram Narayanan <sriramnrn at gmail.com>wrote:

> Where is tmpfs mounted?
>

Thank you for help. :)

Here is output on mount command.

root at embd ~$   mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3
(rw,relatime,errors=continue,barrier=0,data=writeback)
proc on /proc type proc (rw,relatime)
sys on /sys type sysfs (rw,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,relatime)
rwfs on /mnt/rwfs type tmpfs (rw,relatime,size=512k)
rwfs on /tmp type tmpfs (rw,relatime,size=512k)
rwfs on /var type tmpfs (rw,relatime,size=512k)



>
> Also, investigate whether you can set some other path for postgresql's
> lock file.
>
>


> -- Sriram
>
> On 8/5/11, पारस <beparas at gmail.com> wrote:
> > Hi,
> >
> > I download “postgresql-9.0.4″ and cross-compile for my embedded board.
> >
> > I followed this link for installation,
> >
> >
> http://www.thegeekstuff.com/2009/04/linux-postgresql-install-and-configure-from-source/
> >
> >
> >  When I try to start my postgreSQL database its gives me following error:
> > “FATAL: could not write lock file “/tmp/.s.PGSQL.5432.lock”: No space
> left
> > on device”
> >
> > The output of df -h is
> > $df -h
> > Filesystem   Size       Used     Available    Use%    Mounted on
> > /dev/root       3.6G      650.4M  2.8G           18%       /
> > tmpfs           424.0M   40.0K   424.0M        0%        /dev
> > shm             424.0M   0         424.0M         0%        /dev/shm
> > rwfs             512.0K    512.0K   0               100%     /mnt/rwfs
> > rwfs             512.0K    512.0K   0               100%     /tmp
> > rwfs             512.0K    512.0K   0               100%     /var
> >
> > It shows that ‘/tmp’ is full, but ‘/’ is 2.8G free.
> > I install filesystem on 4GB SD card.
> >
> > Please help me to solve this problem.
> > Thanks in advance.
> > _______________________________________
> > Pune GNU/Linux Users Group Mailing List
>
> --
> Sent from my mobile device
>
> ==================
> Belenix: www.belenix.org
>
> _______________________________________
> Pune GNU/Linux Users Group Mailing List


More information about the plug-mail mailing list