Mount Tmp As Filesystem
Jun 6, 2009
I currently have a VPS. I have installed cPanel/WHM + CSF Firewall.
Everything is fine and all the ports are closed except for the ones I need.
I currently have some issues I need to fix, but google isn't helping
Quote:
Check /tmp is mounted as a filesystemWARNING/tmp should be mounted as a separate filesystem with the noexec,nosuid options set
I tried googling this and there was a cPanel script but I do not have permission to run it. So does anyone mind explaining it to me one step at a time?
Quote:
You should consider adding ini_set to the disable_functions in the PHP configuration as this setting allows PHP scripts to override global security and performance settings for PHP scripts. Adding ini_set can break PHP scripts and commenting out any use of ini_set in such scripts is advised
I have disabled this in php.ini but I do not know why it still says that I have to fix this
View 4 Replies
ADVERTISEMENT
Feb 26, 2008
I have a server with pacificrack. When I see my website it says "Read-Only File system" and my SSH dies with read-only file system errors.
It happens once per month, and the bad thing is I'm sleeping when it happens so I don't know my server is in this state.
Even though support fixes the problem within 15minutes of my support ticket, my server is down for hours because I don't know its down to then raise a ticket. I asked support why it happens and they never tell me... just tell me to read the logs but I'm not technical enough to understand linux logs etc.
Server is centos.
View 14 Replies
View Related
Jun 4, 2007
Somehow the filesystem on my server turned read-only. The databases would not connect. When I rebooted the box it would not come up.
Support had to run FSCK. Even after, the databases had to be repaired using the CPanel tool. Things seem to be ok now, however:
1. What could have caused this to happen? Software or hardware failure?
2. I get these notifications, should I be worried?
WARNING: Kernel Errors Present
EXT3-fs error (device sda2): e...: 1 Time(s)
View 4 Replies
View Related
May 23, 2008
We're considering deploying a large server that will have 8x 500GB drives in a RAID-10 config. I intend to use a 3ware 9650SE w/ BBU along with A/B power to each of the PSU's.
My question is... since this will return into a 2TB array/partition, in event of a crash (kernel panic, etc -- I expect a power outage will be very, very rare if at all) what do you guys think the fsck time would be? In my experience a RAID BBU significantly drops it, sometimes to the point of no manual fsck required, but in event of a manual fsck shouldn't the BBU be able to provide more consistent data (less errors) and therefore a much shorter fsck? Maybe just recovering the journal?
View 14 Replies
View Related
May 30, 2007
I have WHM/cPanel server.
I am installed ConfigServer (Firewall)
On configserver it says " /var/tmp should either be symlinked to /tmp or mounted as a filesystem" how can i do this?
View 11 Replies
View Related
Oct 5, 2008
I'm currently connecting one of my servers to an iSCSI SAN but would like to hook up another server to that target as well. However, this doesn't work with NTFS filesystem and I couldn't really find any windows solutions for that. Does anyone have experience with this?
View 5 Replies
View Related
Mar 16, 2007
My /etc/fstab:
Code:
# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/1 / ext3 defaults,usrquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0
/dev/sdb1 /backups ext3 defaults 1 2
Code:
# /scripts/fixquotas
Installing Default Quota Databases...../aquota.user..../quota.user..../boot/aquota.user..../boot/quota.user..../backups/aquota.user..../backups/quota.user.....Done
Quotas are now on
Updating Quota Files......
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
....Done
AND
root@srv01 [/www/logs]# /scripts/initquotas
Quotas are now on
Updating Quota Files......
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
....Done
View 6 Replies
View Related
Dec 29, 2007
I am in the process of configuring my volumedrive dedicated server and would like some input on ideal settings for my filesystem.
I'd appreciate suggestions and explanations of what they options do.
Here is my system info:
Linux volumedrive.com 2.6.18-53.el5 #1 SMP Mon Nov 12 02:14:55 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
CentOS release 5 (Final)
AMD Sempron64 3000+
1GB RAM
HDD:
Location: SCSI device B
Cylinders: 60801
Size: 465.76 GB
Model: ATA ST3500320AS
Seagate Barracuda 7200.11 ST3500320AS 500GB 7200 RPM
32MB Cache SATA 3.0Gb/s Hard Drive
Parameters I can change:
EXT 3 File System Configuration Options:
Block size
Fragment size
Bytes per inode
Reserved blocks
Journal file size
Edit IDE Parameters
Transfer mode: Default mode / Disable IORDY / PIO mode 1,2,3,4 / Multimode DMA 0,1,2 / Ultra DMA 0,1,2
Using DMA: On/Off
Sector count: 256
Read-lookahead: On/Off
Write caching: On/Off
Interrupt unmask: On/Off
Keep settings over reset: On/Off
Keep features over reset: On/Off
Read only: On/Off
Reprogram best PIO: On/Off
Standby timeout: 0
32-bit I/O support: Disable / Enable / Enable with special sync sequence
Sector count for multiple sector I/O: Disable 2 4 8 16 32
View 0 Replies
View Related
Feb 19, 2007
i had to do a file system back up because of the size of my database.
i shutdown postmaster and tar'd the files.
i recently reloaded my OS and now i'm attempting to restore the backups. i first shut down postmaster, restored the backups to the data folder and restarted postmaster.
i then su'd from root to postgres user:
Code:
[postgres@austin1 pgsql]$ psql service_2_3
psql: FATAL: database "service_2_3" does not exist
DETAIL: The database subdirectory "base/16385" is missing.
the backups had a database named service_2_3 but upon restoring the backups, it doesn't seem to be available.
my data directory is /var/pgsql/data.
Code:
[postgres@austin1 pgsql]$ ls -lahR /var/pgsql/ | grep 16385
but that yielded nothing.
have i done something wrong while backing up? i don't think i have since i followed the postgres manual when backing up. but the administrators have not been very thorough with how they've set the system up for me.
how i can resolve this issue if you have the time.
View 6 Replies
View Related
Jul 31, 2007
Code:
Installing package webmin-1.350-1 needs 1 inodes on the / filesystem
Hmm, this is the first time I've encountered this error when installing Webmin and I have no idea what it means. My other servers doesnn't output this error.
What does it means by it needs 1 inodes on the filesystem?
View 2 Replies
View Related
Jan 19, 2008
Does writing large files (ie, 10GB backups in one archive) cause any risk of damaging a linux filesystem?
View 1 Replies
View Related
Jul 25, 2008
i have a 32 GB hdd the results of df command are:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 32G 29G 715M 98% /
/dev/sda1 99M 14M 81M 15% /boot
tmpfs 1.5G 0 1.5G 0% /dev/shm
so there are 29GB used
but the du command shows only 19GB used:
du -hs /
19G /
where are the remaining 10GB from 19GB to 29GB?
View 4 Replies
View Related
Apr 11, 2009
i have a server has problem,
i want to copy the files of the problemed server to another one,
how can i mount the hd of the problemed server to another running server?
my server is centos 5.3
View 2 Replies
View Related
Jul 3, 2009
I have 2 servers connected through a private network.. I wanted to remotely mount a folder on one of the servers. However when i do it gives me permission error..
On the server
1. Iptables are stopped
2. Exportfs shows the result fine
3. entry in hosts.allow and /etc/hosts is made
4. NFS is running fine
On the client:
1. NFS shows some error
Quote:
service nfs restart
Shutting down NFS mountd: [FAILED]
Shutting down NFS daemon: [FAILED]
Shutting down NFS services: [FAILED]
Starting NFS services: [ OK ]
Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno = Connection refused
rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp).
[FAILED]
2. Have done the entry is hosts.allow
3. Stopped iptables
4. when i mount i get this error
Quote:
mount -v 10.252.5.34:/mtest mtest
mount: no type was given - I'll assume nfs because of the colon
mount: trying 10.252.5.34 prog 100003 vers 3 prot tcp port 2049
mount: trying 10.252.5.34 prog 100005 vers 3 prot udp port 901
mount: 10.252.5.34:/mtest failed, reason given by server: Permission denied
However i read somewhere that NFS should be running on server and not necessary on client. But this error
View 13 Replies
View Related
Nov 7, 2008
I recieve an error related to tmp directory while i try to install something. How can i mount it without a problem?
./xxxxx.Linux.i386.rpm.bin: /tmp/xxxxx_test.sh: /bin/sh: bad
interpreter: Permission denied
./xxxxx.Linux.i386.rpm.bin: The directory '/tmp' is mounted with no execution permissions.
File: /etc/fstab
Code:
/dev/VolGroup00/LogVol00 / ext3 defaults,usrquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs 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
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/swapdosya swap swap defaults 0 0
/tmp /var/tmp ext3 defaults,bind,noauto 0 0
/var/tmpMnt /tmp ext3 loop,rw,noexec,nosuid,nodev 0 0
View 1 Replies
View Related
May 4, 2009
I'm trying to mount a western digital external hd to a fedora core server. Does anyone know what I put in the file system line in /etc/fstab? I tried tmpfs but I couldn't see the files i placed there when I moved to a new server. I also tried vfat but that wasn't compatible. It couldn't read ext3 file system. Does anyone know what else I could try?
View 3 Replies
View Related
Jul 12, 2009
I wanted to mount a folder located on server A to server B like we do in NFS.
But i wanted to use another software as nfs isnt working
Mine is Centos 5
View 4 Replies
View Related
Apr 10, 2009
I tried to mount second harddisk, but i faced error "mount: you must specify the filesystem type", please help, see below
Code:
[root@s ~]# fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 38913 312464250 8e Linux LVM
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 83 Linux
/dev/sdb2 14 19457 156183930 8e Linux LVM
[root@s ~]# mkdir /mnt/hd2
mkdir: cannot create directory `/mnt/hd2': File exists
[root@s ~]# mount /dev/sdb2 /mnt/hd2
mount: you must specify the filesystem type
View 14 Replies
View Related
May 9, 2009
What options or tools are available to mount your VPS from a Windows XP desktop?
View 7 Replies
View Related
Feb 23, 2008
I have a few folders mounted, but sometimes it drops off the network when the NFS server got rebooted or what not... how do I make sure that it's automatically remounted if the folder goes blank? Is there a way to do this?
View 4 Replies
View Related
Dec 12, 2008
I'm not good at linux. I have install cpanel on hdd 1. I added hdd 2 to server, but i can access this hdd 2. Please tell me how to mount hdd 2 for me.
I used fdisk -l and I found 2 hdd, but only sda I can access and sdb can't not.
Thank you
Code:
root@viva [~]# fdisk -l
Disk /dev/sda: 147.0 GB, 147086327808 bytes
255 heads, 63 sectors/track, 17882 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1318 10482412+ 83 Linux
/dev/sda3 1319 2623 10482412+ 83 Linux
/dev/sda4 2624 17882 122567917+ 5 Extended
/dev/sda5 2624 2884 2096451 83 Linux
/dev/sda6 2885 3015 1052226 83 Linux
/dev/sda7 3016 3269 2040223+ 82 Linux swap / Solaris
/dev/sda8 3270 17882 117378891 83 Linux
Disk /dev/sdb: 147.0 GB, 147086327808 bytes
255 heads, 63 sectors/track, 17882 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 83 Linux
/dev/sdb2 14 1318 10482412+ 83 Linux
/dev/sdb3 1319 2623 10482412+ 83 Linux
/dev/sdb4 2624 17882 122567917+ 5 Extended
/dev/sdb5 2624 2884 2096451 83 Linux
/dev/sdb6 2885 3015 1052226 83 Linux
/dev/sdb7 3016 3269 2040223+ 82 Linux swap / Solaris
/dev/sdb8 3270 17882 117378891 83 Linux
View 6 Replies
View Related
Jan 29, 2008
I want to use DD to fully duplicate a HD, however, the HD is 120GB and also have a mount folder that is 2TB. If I use DD, will it also trying to copy that 2TB onto my 2nd HD?
View 3 Replies
View Related
May 20, 2008
mount secondary H.D.D to /backup, but i have following error after run "mount /dev/sdb1 backup"
mount: unknown filesystem type 'ntfs'
How can change secondary hard disk file system to linux?
View 11 Replies
View Related
Apr 7, 2007
I'm running centos 4.4 and i just installed another HD... seems like everytime I reboot the server, my mount is gone... This is what I have in my fstab:
mount /dev/sdb1 /drive2 defaults 1 3
View 3 Replies
View Related
Jul 19, 2007
i failed to mount one harddrive taken from Red Hat to centos 5 server, the thing is that this drive is one of 2 drives in Raid 1
View 0 Replies
View Related
Jul 4, 2009
I must not even understand the basics of how mounting works in Linux.
Physical drive /dev/sda1 is mounted at /
I created a software RAID array (using mdadm) out of two other drives using mdadm, at /dev/md0, and mount it at /vol:
mount /dev/md0 /vol
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.9G 2.2G 7.3G 23% /
/dev/md0 200G 470M 200G 1% /vol
Now I start creating files in /vol/*
Then I unmount /dev/md0
I still see the files at /vol/*. They seem to be on /dev/sda1.
So how do I use the RAID array at /dev/md0 that I tried to mount at /vol?
View 1 Replies
View Related
Mar 29, 2009
The problem is that my hd is failed. Hoster setup new server, also installed the secondary drive but not mounted. So need advice how can i get my data off it?
View 3 Replies
View Related
Jul 5, 2009
I must not even understand the basics of how mounting works in Linux.
Physical drive /dev/sda1 is mounted at /
I created a software RAID array (using mdadm) out of two other drives using mdadm, at /dev/md0, and mount it at /vol:
mount /dev/md0 /vol
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.9G 2.2G 7.3G 23% /
/dev/md0 200G 470M 200G 1% /vol
Now I start creating files in /vol/*
Then I unmount /dev/md0
I still see the files at /vol/*. They seem to be on /dev/sda1.
So how do I use the RAID array at /dev/md0 that I tried to mount at /vol?
View 3 Replies
View Related
Mar 4, 2008
I currently have a 160gb HDD and its almost full.. I wanted to mount another on the server so can anyone assist me in doing it..
And one more thing..
Currently i have all my data in the /home/user/public_html/ folder which is on my current HD.. Now if i add the second HDD to it how will the data be managed..
I mean if suppose someone uploads a file in my site then in which HDD will it go and when it gets downloaded then how will it know from where to download it..
View 4 Replies
View Related
Apr 15, 2008
Is it ok to mount 2nd drive after /home directory?
example: /home/user/backup
I'm not running any webhost server or mail server, just pure file server. The reason is because I want to have more space 80GB+80GB =160GB
View 14 Replies
View Related