Ich bekomme folgende Fehlermeldung:
Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? in /usr/syno/synoman/phpsrc/blog/include/database_photo.php on line 7
Failed to connect
Was ist passiert:
Ich hatte ein Verzeichnis auf einer externern USB-Festplatte auf mein "music" Ordner gemountet.
S99mount.sh
#!/bin/sh
# Copyright (c) 2010 SLA All rights reserved.
# S99mount.sh
# mount/bind some folders on startup
# and umount them on shutdown/reboot
case $1 in
start)
sleep 10
/bin/mount -o bind /volumeUSB1/usbshare/mp3/ /volume1/music/
;;
stop)
/bin/mount -o bind /volumeUSB1/usbshare/mp3/
;;
*)
echo "Usage: $0 [start|stop]"
;;
esac
exit 0
Das hat auch so ca. 2-3 Tage funktioniert. Danach funktionierte die Audio Station nur noch sporadisch. Bei weitere Analyse viel mir auf, dass die Photo Station und der Blog auch nicht mehr zu erreichen sind.
Folgendes habe ich dann noch rausbekommen:
SL-Server-1> df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/md0 774040 766424 0 100% /![Mad :mad: :mad:](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
/tmp 63100 540 62560 1% /tmp
/dev/md2 239058276 143244204 95711672 60% /volume1
SL-Server-1> mount
/dev/md0 on / type ext3 (rw,data=ordered)
/tmp on /tmp type tmpfs (rw)
/sys on /sys type sysfs (rw)
/proc/bus/usb on /proc/bus/usb type usbfs (rw)
/dev/md2 on /volume1 type ext3 (usrquota,grpquota)
SL-Server-1> du -d 1 /
5636 /sbin
4 /volumeUSB1
1368 /etc.defaults
4 /lib64
196048 /usr
8 /root
424044 /var
4 /initrd
0 /proc
44 /dev
4 /lost+found
0 /sys
132 /var.defaults
143112996 /volume1
4 /mnt
1556 /etc
118972 /lib
540 /tmp
1488 /bin
143862864
Das Mounting der USB Festplatte, Musik Station- und Photo Station habe ich deaktiviert, allerdings ohne Erfolg!
Ich bin leider LINUX Laie! Kann mir jemand helfen!
Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? in /usr/syno/synoman/phpsrc/blog/include/database_photo.php on line 7
Failed to connect
Was ist passiert:
Ich hatte ein Verzeichnis auf einer externern USB-Festplatte auf mein "music" Ordner gemountet.
S99mount.sh
#!/bin/sh
# Copyright (c) 2010 SLA All rights reserved.
# S99mount.sh
# mount/bind some folders on startup
# and umount them on shutdown/reboot
case $1 in
start)
sleep 10
/bin/mount -o bind /volumeUSB1/usbshare/mp3/ /volume1/music/
;;
stop)
/bin/mount -o bind /volumeUSB1/usbshare/mp3/
;;
*)
echo "Usage: $0 [start|stop]"
;;
esac
exit 0
Das hat auch so ca. 2-3 Tage funktioniert. Danach funktionierte die Audio Station nur noch sporadisch. Bei weitere Analyse viel mir auf, dass die Photo Station und der Blog auch nicht mehr zu erreichen sind.
Folgendes habe ich dann noch rausbekommen:
SL-Server-1> df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/md0 774040 766424 0 100% /
/tmp 63100 540 62560 1% /tmp
/dev/md2 239058276 143244204 95711672 60% /volume1
SL-Server-1> mount
/dev/md0 on / type ext3 (rw,data=ordered)
/tmp on /tmp type tmpfs (rw)
/sys on /sys type sysfs (rw)
/proc/bus/usb on /proc/bus/usb type usbfs (rw)
/dev/md2 on /volume1 type ext3 (usrquota,grpquota)
SL-Server-1> du -d 1 /
5636 /sbin
4 /volumeUSB1
1368 /etc.defaults
4 /lib64
196048 /usr
8 /root
424044 /var
4 /initrd
0 /proc
44 /dev
4 /lost+found
0 /sys
132 /var.defaults
143112996 /volume1
4 /mnt
1556 /etc
118972 /lib
540 /tmp
1488 /bin
143862864
Das Mounting der USB Festplatte, Musik Station- und Photo Station habe ich deaktiviert, allerdings ohne Erfolg!
Ich bin leider LINUX Laie! Kann mir jemand helfen!
Zuletzt bearbeitet: