Page 1 of 1

cPanel's AppConfig and CSF/CSX upgrades

Posted: 02 Jul 2013, 09:48
by mbdrake
Hello,

Now that cPanel have released a new update featuring their AppConfig system, we've a customer whose lost CXS and CSF within the plugins section of WHM. When attempting to perform an upgrade, we see:

Code: Select all

warn [register_appconfig] Failed to create a temp file using get_tmp_file_by_name using templatefile: /var/tmp/14111._USR_LOCAL_CPANEL_BIN_REGISTER_APPCONFIG__
Failed to generate a temp file.

Code: Select all

drwxrwxrwt 0 root root 0 Jul  2 08:52 /var/tmp/
and fstab looks like this:

Code: Select all

/dev/md0	/	ext4	usrjquota=quota.user,jqfmt=vfsv0	1	1
/dev/md1         swap                    swap    defaults        0 0
/dev/md2	/home	ext4	defaults	1	2
tmpfs                   /dev/shm                tmpfs   defaults,noexec,nosuid        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/usr/tmpDSK             /tmp                    ext3    noexec,noauto        0 0
/tmp             /var/tmp                    none    rw,noexec,nosuid,nodev,bind        0 0
Whenever I try to "touch" a file within /var/tmp, I get:

Code: Select all

touch: cannot touch `wibble': No such file or directory
Is there a way I can get the installer to use /tmp instead?

Re: cPanel's AppConfig and CSF/CSX upgrades

Posted: 02 Jul 2013, 09:55
by ForumAdmin
That is an issue with the server and the cPanel setup procedure, it's not something we can influence in csf. You could try:

Code: Select all

ln -s /tmp /var/tmp
If that doesn't work, you would need to investigate what is wrong with /var/tmp