/tmp/gconfd-root
Hi,
Redhat Linux: Version 4 Update 2 After shutting down the server, when I started it up, it didn't show the genome display and gave the following error: Dec 19 18:23:47 demo gconfd (root-4278): starting (version 2.8.1), pid 4278 user root' Dec 19 18:23:47 demo gconfd (root-4278): Bad permissions 777 on directory /tmp/gconfd-root Dec 19 18:23:47 demo gconfd (root-4278): Failed to get lock for daemon, exiting: Directory /tmp/gconfd-root has a problem, gconfd can't use it. After deleting gconfd-root, it started up with GUI mode.My query is that it happens all the time when the server is restarted.Let me also tell you that there are two Oracle instances running in this server. Is this problem has to do with this fact? Can anybody provide a solution on this issue so that this can be stopped from happening all the time? Awaiting an early reply, Thank you in advance, Kosys |
I would solve the problem by including a command to clean /tmp in the shutdown script.
-------------------- Steve Stites |
Hi,
Redhat Linux: Version 4 Update 2 May I know the location of the shutdown script where I can putdown the command to clean the /tmp directory? Regards, Kosys |
Quote:
# The following two commands were added by kosys to clean /tmp at shutdown echo "cleaning /tmp" rm /tmp/* -R ----------------------------- Steve Stites |
Hi,
Thank you Jailbait.........I'll try it and let you know......... Regards, kosys |
Hi Jailbait,
I'm quite new in system administration.........so a little more details will be of much help..... As per your suggestion I checked out the scripts under /etc/rc0.d but could't found one that mounts / as readonly. I'm giving the list of the scripts under /etc/rc0.d. Can you please check out(by the script name) and tell me which is the script that mounts / as readonly which I can edit to clean /tmp. lrwxrwxrwx 1 root root 28 May 25 2007 K02cups-config-daemon -> ../init.d/cups- config-daemon lrwxrwxrwx 1 root root 19 May 25 2007 K02haldaemon -> ../init.d/haldaemon lrwxrwxrwx 1 root root 24 May 25 2007 K02NetworkManager -> ../init.d/NetworkMa nager lrwxrwxrwx 1 root root 20 May 25 2007 K03messagebus -> ../init.d/messagebus lrwxrwxrwx 1 root root 15 May 25 2007 K03rhnsd -> ../init.d/rhnsd lrwxrwxrwx 1 root root 17 May 25 2007 K05anacron -> ../init.d/anacron lrwxrwxrwx 1 root root 13 May 25 2007 K05atd -> ../init.d/atd lrwxrwxrwx 1 root root 14 May 25 2007 K05innd -> ../init.d/innd lrwxrwxrwx 1 root root 19 May 25 2007 K05saslauthd -> ../init.d/saslauthd lrwxrwxrwx 1 root root 14 May 25 2007 K10cups -> ../init.d/cups lrwxrwxrwx 1 root root 19 May 25 2007 K10dc_server -> ../init.d/dc_server lrwxrwxrwx 1 root root 16 May 25 2007 K10psacct -> ../init.d/psacct lrwxrwxrwx 1 root root 17 May 25 2007 K10radiusd -> ../init.d/radiusd lrwxrwxrwx 1 root root 13 May 25 2007 K10xfs -> ../init.d/xfs lrwxrwxrwx 1 root root 15 May 25 2007 K12canna -> ../init.d/canna lrwxrwxrwx 1 root root 19 May 25 2007 K12dc_client -> ../init.d/dc_client lrwxrwxrwx 1 root root 17 May 25 2007 K12FreeWnn -> ../init.d/FreeWnn lrwxrwxrwx 1 root root 17 May 25 2007 K12mailman -> ../init.d/mailman lrwxrwxrwx 1 root root 13 May 25 2007 K15gpm -> ../init.d/gpm lrwxrwxrwx 1 root root 15 May 25 2007 K15httpd -> ../init.d/httpd lrwxrwxrwx 1 root root 15 May 25 2007 K16rarpd -> ../init.d/rarpd lrwxrwxrwx 1 root root 14 May 25 2007 K17iiim -> ../init.d/iiim lrwxrwxrwx 1 root root 20 May 25 2007 K20bootparamd -> ../init.d/bootparamd lrwxrwxrwx 1 root root 24 May 25 2007 K20netdump-server -> ../init.d/netdump-s erver lrwxrwxrwx 1 root root 13 May 25 2007 K20nfs -> ../init.d/nfs lrwxrwxrwx 1 root root 16 May 25 2007 K20rstatd -> ../init.d/rstatd lrwxrwxrwx 1 root root 17 May 25 2007 K20rusersd -> ../init.d/rusersd lrwxrwxrwx 1 root root 15 May 25 2007 K20rwhod -> ../init.d/rwhod lrwxrwxrwx 1 root root 14 May 25 2007 K24irda -> ../init.d/irda lrwxrwxrwx 1 root root 15 May 25 2007 K25squid -> ../init.d/squid lrwxrwxrwx 1 root root 14 May 25 2007 K25sshd -> ../init.d/sshd lrwxrwxrwx 1 root root 13 May 25 2007 K28amd -> ../init.d/amd lrwxrwxrwx 1 root root 18 May 25 2007 K30sendmail -> ../init.d/sendmail lrwxrwxrwx 1 root root 22 May 25 2007 K30spamassassin -> ../init.d/spamassassi n lrwxrwxrwx 1 root root 18 May 25 2007 K34dhcrelay -> ../init.d/dhcrelay lrwxrwxrwx 1 root root 19 May 25 2007 K34yppasswdd -> ../init.d/yppasswdd lrwxrwxrwx 1 root root 21 May 25 2007 K35cyrus-imapd -> ../init.d/cyrus-imapd lrwxrwxrwx 1 root root 15 May 25 2007 K35dhcpd -> ../init.d/dhcpd lrwxrwxrwx 1 root root 13 May 25 2007 K35smb -> ../init.d/smb lrwxrwxrwx 1 root root 19 May 25 2007 K35vncserver -> ../init.d/vncserver lrwxrwxrwx 1 root root 17 May 25 2007 K35winbind -> ../init.d/winbind lrwxrwxrwx 1 root root 16 May 25 2007 K36dhcp6s -> ../init.d/dhcp6s lrwxrwxrwx 1 root root 14 May 25 2007 K36lisa -> ../init.d/lisa lrwxrwxrwx 1 root root 16 May 25 2007 K36mysqld -> ../init.d/mysqld lrwxrwxrwx 1 root root 20 May 25 2007 K36postgresql -> ../init.d/postgresql lrwxrwxrwx 1 root root 16 May 25 2007 K40smartd -> ../init.d/smartd lrwxrwxrwx 1 root root 20 May 25 2007 K44rawdevices -> ../init.d/rawdevices lrwxrwxrwx 1 root root 18 May 25 2007 K45arpwatch -> ../init.d/arpwatch lrwxrwxrwx 1 root root 15 May 25 2007 K45named -> ../init.d/named lrwxrwxrwx 1 root root 15 May 25 2007 K46radvd -> ../init.d/radvd lrwxrwxrwx 1 root root 17 May 25 2007 K50netdump -> ../init.d/netdump lrwxrwxrwx 1 root root 15 May 25 2007 K50snmpd -> ../init.d/snmpd lrwxrwxrwx 1 root root 19 May 25 2007 K50snmptrapd -> ../init.d/snmptrapd lrwxrwxrwx 1 root root 13 May 25 2007 K50tux -> ../init.d/tux lrwxrwxrwx 1 root root 16 Nov 17 13:30 K50vsftpd -> ../init.d/vsftpd lrwxrwxrwx 1 root root 16 May 25 2007 K50xinetd -> ../init.d/xinetd lrwxrwxrwx 1 root root 17 May 25 2007 K54dovecot -> ../init.d/dovecot lrwxrwxrwx 1 root root 15 May 25 2007 K56acpid -> ../init.d/acpid lrwxrwxrwx 1 root root 15 May 25 2007 K60crond -> ../init.d/crond lrwxrwxrwx 1 root root 14 May 25 2007 K61hpoj -> ../init.d/hpoj lrwxrwxrwx 1 root root 14 May 25 2007 K61ldap -> ../init.d/ldap lrwxrwxrwx 1 root root 16 May 25 2007 K65kadmin -> ../init.d/kadmin lrwxrwxrwx 1 root root 15 May 25 2007 K65kprop -> ../init.d/kprop lrwxrwxrwx 1 root root 16 May 25 2007 K65krb524 -> ../init.d/krb524 lrwxrwxrwx 1 root root 17 May 25 2007 K65krb5kdc -> ../init.d/krb5kdc lrwxrwxrwx 1 root root 19 May 25 2007 K68rpcidmapd -> ../init.d/rpcidmapd lrwxrwxrwx 1 root root 17 May 25 2007 K69rpcgssd -> ../init.d/rpcgssd lrwxrwxrwx 1 root root 16 May 25 2007 K72autofs -> ../init.d/autofs lrwxrwxrwx 1 root root 16 May 25 2007 K73ypbind -> ../init.d/ypbind lrwxrwxrwx 1 root root 14 May 25 2007 K74apmd -> ../init.d/apmd lrwxrwxrwx 1 root root 20 May 25 2007 K74lm_sensors -> ../init.d/lm_sensors lrwxrwxrwx 1 root root 14 May 25 2007 K74nscd -> ../init.d/nscd lrwxrwxrwx 1 root root 14 May 25 2007 K74ntpd -> ../init.d/ntpd lrwxrwxrwx 1 root root 16 May 25 2007 K74ypserv -> ../init.d/ypserv lrwxrwxrwx 1 root root 16 May 25 2007 K74ypxfrd -> ../init.d/ypxfrd lrwxrwxrwx 1 root root 15 May 25 2007 K75netfs -> ../init.d/netfs lrwxrwxrwx 1 root root 14 May 25 2007 K84bgpd -> ../init.d/bgpd lrwxrwxrwx 1 root root 16 May 25 2007 K84ospf6d -> ../init.d/ospf6d lrwxrwxrwx 1 root root 15 May 25 2007 K84ospfd -> ../init.d/ospfd lrwxrwxrwx 1 root root 14 May 25 2007 K84ripd -> ../init.d/ripd lrwxrwxrwx 1 root root 16 May 25 2007 K84ripngd -> ../init.d/ripngd lrwxrwxrwx 1 root root 19 May 25 2007 K85mdmonitor -> ../init.d/mdmonitor lrwxrwxrwx 1 root root 15 May 25 2007 K85mdmpd -> ../init.d/mdmpd lrwxrwxrwx 1 root root 15 May 25 2007 K85zebra -> ../init.d/zebra lrwxrwxrwx 1 root root 17 May 25 2007 K86nfslock -> ../init.d/nfslock lrwxrwxrwx 1 root root 16 May 25 2007 K87auditd -> ../init.d/auditd lrwxrwxrwx 1 root root 14 May 25 2007 K87ipmi -> ../init.d/ipmi lrwxrwxrwx 1 root root 20 May 25 2007 K87irqbalance -> ../init.d/irqbalance lrwxrwxrwx 1 root root 20 May 25 2007 K87multipathd -> ../init.d/multipathd lrwxrwxrwx 1 root root 17 May 25 2007 K87portmap -> ../init.d/portmap lrwxrwxrwx 1 root root 16 May 25 2007 K88opensm -> ../init.d/opensm lrwxrwxrwx 1 root root 16 May 25 2007 K88syslog -> ../init.d/syslog lrwxrwxrwx 1 root root 15 May 25 2007 K89iscsi -> ../init.d/iscsi lrwxrwxrwx 1 root root 18 May 25 2007 K89netplugd -> ../init.d/netplugd lrwxrwxrwx 1 root root 19 May 25 2007 K90bluetooth -> ../init.d/bluetooth lrwxrwxrwx 1 root root 17 May 25 2007 K90network -> ../init.d/network lrwxrwxrwx 1 root root 14 May 25 2007 K91isdn -> ../init.d/isdn lrwxrwxrwx 1 root root 22 May 25 2007 K92arptables_jf -> ../init.d/arptables_j f lrwxrwxrwx 1 root root 19 May 25 2007 K92ip6tables -> ../init.d/ip6tables lrwxrwxrwx 1 root root 18 May 25 2007 K92iptables -> ../init.d/iptables lrwxrwxrwx 1 root root 18 May 25 2007 K94diskdump -> ../init.d/diskdump lrwxrwxrwx 1 root root 15 May 25 2007 K95kudzu -> ../init.d/kudzu lrwxrwxrwx 1 root root 16 May 25 2007 K96pcmcia -> ../init.d/pcmcia lrwxrwxrwx 1 root root 18 May 25 2007 K99cpuspeed -> ../init.d/cpuspeed lrwxrwxrwx 1 root root 23 May 25 2007 K99microcode_ctl -> ../init.d/microcode_ ctl lrwxrwxrwx 1 root root 19 May 25 2007 K99readahead -> ../init.d/readahead lrwxrwxrwx 1 root root 25 May 25 2007 K99readahead_early -> ../init.d/readahea d_early lrwxrwxrwx 1 root root 17 May 25 2007 K99sysstat -> ../init.d/sysstat lrwxrwxrwx 1 root root 17 May 25 2007 S00killall -> ../init.d/killall lrwxrwxrwx 1 root root 14 May 25 2007 S01halt -> ../init.d/halt Can I manually delete all the files in /tmp before running shutdown command(instead of adding the removal command in the script under /etc/rc0.d)? Regards, Kosys |
Quote:
One of the last things that is done in shutdown is to mount / as read only to make sure that all write buffers are written out before shutdown. You can't delete anything after / is mounted read only so /tmp has to be cleaned before / is mounted read only. Quote:
---------------------- Steve Stites |
All times are GMT -5. The time now is 04:10 AM. |