You might have received this error when restarting SSHD.
#/etc/rc.d/init.d/sshd restart
Stopping sshd: [ OK ]
Starting sshd:PRNG is not seeded
[FAILED]
Here is the fix.
cd /dev/
./MAKEDEV generic
Now try starting SSH. 🙂
You might have received this error when restarting SSHD.
#/etc/rc.d/init.d/sshd restart
Stopping sshd: [ OK ]
Starting sshd:PRNG is not seeded
[FAILED]
Here is the fix.
cd /dev/
./MAKEDEV generic
Now try starting SSH. 🙂
I got the following error while running rsync command from one vps to another vps
“stdin: is not a tty’ error”
Fix :
On the destination server, edit /root/.bashrc file and comment out the “mesg y” line.
If it is no there, please add the following line to .bashrc file .
if `tty -s`; then
mesg n
fi
When you see a process running in the node and you need to know in which vps that process i actually running, please use the comman d “vzpid”
vzpid pid
vzpid 20489
Pid VEID Name
20489 157 cpanellogd
Here you can see that the process is running inside the vps 157.
I got the following error while starting vps
Cannot lock VE
Open the following file
cat /vz/lock/veid.lck
13256
quota intializing
You may need to kill the process 13256.
Now start the vps again
vzlist -o hostname,laverage,veid
HOSTNAME LAVERAGE VEID
test1.com 1.61/2.85/1.87 156
test2.com 1.08/1.81/1.36 157
test3.com 0.29/0.78/0.53 158
test4.com 3.79/3.57/2.46 160
Open the file /etc/motd.
vi /etc/motd
Now give the messages that you want to see when you are logging to the server.
For eg : This computer system is for authorized users only.
Save the file and test the case by logging in to a new SSH session
Use the following steps to increase the size of /tmp
First you need to stop Mysql in server
/etc/init.d/mysql stop
kill the tailwatchd process
pstree -p | grep tailwatchd
kill -9 < process ID>
You may need to copy the /tmp to backup
cp -prf /tmp /tmp.bak
Set the /tmp to 2GB. Use the dd command for creating a file of 2GB
dd if=/dev/zero of=/usr/tmpDSK bs=1024k count=2048
unmount /tmp partition
umount /tmp
Format the /tmp partition
mkfs -t ext3 /usr/tmpDSK
Remount in secure environment
/scripts/securetmp