You are not logged in.
Hello,
my problem comes to the surface when I login and dropbox is started. It says 'couldn't start dropbox. This is usually because of permissions error.'
If I check the log:
Traceback (most recent call last):
File "core/authenticate.py", line 725, in authentication_thread
File "core/config.py", line 65, in __setitem__
OperationalError: disk I/O errorI can read/write the location where dropbox is found from nautilus. However the program refuses to start.
What makes me think that it is a /tmp problem is the following:
I tried to install hplip and:
----------------------
| INSTALLING PLUG-IN |
----------------------
Verifying archive integrity... All good.
Uncompressing HPLIP 3.12.6 Plugin Self Extracting Archive
Not enough space left in /tmp (0 KB) to decompress /tmp/hplip-3.12.6-plugin.run (2248 KB)
Consider setting TMPDIR to a directory with more free space.
error: Python gobject/dbus may be not installedOther than that no sound device is found in the gnome/sound dialog, whereas I have seen there 2 in the morning (motherboard & earphones).
I have seen that my /tmp was full because of some QtJambi thing (that's what I can remember from the filename, I believe it was something related to the app 'Nixnote', but I have deleted that).
If I look around with nautilus, then 0 is written as empty space no matter where I look in / except for my home dir, which is on a separate logical partition. Can it really be a permission problem?
Fstab:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
devpts /dev/pts devpts defaults 0 0
shm /dev/shm tmpfs nodev,nosuid 0 0
#/dev/sda12
UUID=1a438b0a-1eab-457f-a815-065839bccab5 / ext4 defaults 0 1
#/dev/sda13
UUID=7cf162da-58dc-4f6e-9bbe-e06509167f4d /home ext4 defaults 0 1
#/dev/sda14
UUID=f9e9e6db-a3f9-4073-b0bd-d88b144cff2f swap swap defaults 0 0
#/dev/sda9
UUID=56FE811831341EB5 /mnt/Dokumentumok ntfs-3g locale=hu_HU.UTF-8 0 0
#/dev/sda10
UUID=4F5181C90599D698 /mnt/Zene ntfs-3g locale=hu_HU.UTF-8 0 0
#/dev/sda15
UUID=5772113355B7CB0A /mnt/Extension ntfs-3g locale=hu_HU.UTF-8 0 0
UUID=97b8e3dc-2277-4ffb-90f5-1e1d91fc2481 /mnt/ubuntuhome ext4 defaults 0 1I have updated my arch today but cannot figure out what the problem might be. I have replaced the services and protocol files with the new ones as I have never tampered with the originals.
I did not update my rc.conf, since the new one was similar in my opinion, nevertheless, here is the old and the new one:
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# startup and during the boot process. If set to 'no', the C locale is used.
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# Note: Using "localtime" is discouraged.
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
# VERBOSE: Verbose level (from 1 to 8). man 3 syslog for level info
#
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Budapest"
KEYMAP="hu.map.gz"
CONSOLEFONT="lat2-16.psfu.gz"
CONSOLEMAP=
LOCALE="hu_HU.UTF-8"
DAEMON_LOCALE="no"
USECOLOR="yes"
VERBOSE="3"
# HARDWARE
# --------
MODULES=(fuse vboxdrv)
USEDMRAID="no"
USEBTRFS="no"
USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="earth"
# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
# - interface: name of device (required)
# - address: IP address (leave blank for DHCP)
# - netmask: subnet mask (ignored for DHCP)
# - gateway: default route (ignored for DHCP)
#
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
# gateway=192.168.0.1
#
# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=
HOSTNAME="earth"
interface=eth0
address=
netmask=
broadcast=
gateway=
NETWORK_PERSIST="no"
# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This requires the netcfg package
#
#NETWORKS=(main)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
# If something other takes care of your hardware clock (ntpd, dual-boot...)
# you should disable 'hwclock' here.
#
#DAEMONS=(syslog-ng network crond)
DAEMONS=(!hwclock fbcondecor ntpd syslog-ng @network netfs crond dbus networkmanager cupsd @sshd @samba)The new one would be:
#
# /etc/rc.conf - configuration file for initscripts
#
# Most of rc.conf has been replaced by various other configuration
# files. See archlinux(7) for details.
#
# For more details on rc.conf see rc.conf(5).
#
DAEMONS=(syslog-ng network crond)
# Storage
#
# USEDMRAID="no"
# USELVM="no"
# Network
#
# interface=
# address=
# netmask=
# gateway=As additional info:
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 02)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IB (ICH9) 2 port SATA Controller [IDE mode] (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA Controller [IDE mode] (rev 02)
01:00.0 VGA compatible controller: NVIDIA Corporation G84 [GeForce 8600 GTS] (rev a1)
03:00.0 IDE interface: JMicron Technology Corp. JMB368 IDE controller
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)Any help would be appreciated as this is driving me crazy now ![]()
Last edited by szebenyib (2012-08-12 05:32:10)
Offline
Not sure about the dropbox issue, but typically in your fstab there is an entry for a RAM based tmp filesystem. It uses 'tmpfs' and mounts to /tmp. Here is my fstab (or the Arch parts):
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
UUID=2cef9260-c269-4b71-96a5-e1224002b9ea /var ext4 defaults,noatime,nodiratime,discard 0 1
UUID=75c42198-6b6b-4474-b81f-c2f986d93877 / ext4 defaults,noatime,nodiratime,discard 0 1
UUID=12a7eda8-a9b0-4803-ac76-88c5999e02bc /boot ext2 defaults,noatime,nodiratime 0 1
UUID=e3872388-ee40-4972-8ec2-93c4d7fec02b swap swap defaults,noatime,nodiratime 0 0Edit: I haven't looked at my fstab in a while... I guess I don't need the nodiratime since noatime is a superset of nodiratime. Thanks for making me look at that (I guess it does no harm, but I'd rather have it right).
Edit(part2): also, I think that /dev/shm and /dev/pts are not necessary in your fstab, as they are taken care of by something else. Is there a reason why dbus is so far from the beginning of your daemons array? Typically you want that starting sooner than later, as a significant amount of functions depend on that being running.
Last edited by WonderWoofy (2012-08-11 19:22:33)
Offline
I have not changed my fstab for a while.
Offline
I am unsure if /tmp would simply be used as a greater part of your root partition if you didn't ahve the tmpfs entry, but this has become the default in Arch for a bit now.
Offline
I am unsure if /tmp would simply be used as a greater part of your root partition if you didn't ahve the tmpfs entry, but this has become the default in Arch for a bit now.
If there's no configured mount-point for /tmp, it'll get dumped in /. Though this is a terrible idea, it won't (usually) cause problems if / is big enough. However, szebenyib's problem superficially seems to be an issue with a small root partition, with /tmp mounted on it, and no space to finish extracting/installing something.
Verify how much space is left on your partitions (df -h), post that, and follow WonderWoofy's advice: Create a separate /tmp. I personally don't use a tmpfs mount point even though I have plenty of RAM for it, but that's a personal preference. If you have a decent amount of RAM, your only option might be to create a tmpfs /tmp mount point in your fstab since it's unlikely you have any free or unallocated disk space.
He who has no .plan has small finger.
~Confucius on UNIX.
Offline
Thank you very much, this has indeed been the problem. No free space was left.
I have found two pretty big log files in /var/log, so I removed & recreated them.
I have even emptied my pacman cahce by running: "find -type f -mtime +200 -exec rm '{}' \;" in /var/cache/pacman/pkg, this way I was able to retain some files in case they are needed.
Now there is enough free space, the above mentioned phenomena are gone.
Thank you Sir!
Offline
I'd also recommend checking out cacheclean from the AUR to clean up duplicate files. You can select how many packages of each version to keep. Very handy!
He who has no .plan has small finger.
~Confucius on UNIX.
Offline
You might also want to see what's filling the log files. (Or if they are not being rotated properly for some reason.)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
@Zancarius: Exactly what I was looking for, I did not know if something like that existed, thanks!
@Cfr: I will check rotation next time, but I have experienced problems with my printer, which generated error messages in an infinite loop and I guess that was the cause of sudden space consumption.
Offline