I have this task in my crontab
0 14 * * * command
but in my /var/log/syslog, I have
Jun 21 19:00:01 debian-squeeze-base /USR/SBIN/CRON[12810]: (user) CMD (command)
why the task run 5 hours later ?
I try connect over ssh with
ssh -X user@host
but I get
$ xterm
xterm Xt error: Can't open display: xterm: DISPLAY is not set
$ echo $DISPLAY
# ... nothing
In my sshd_config I have
X11Forwarding yes
X11DisplayOffset 10
In /var/log/auth.log
I get
sshd[7396]: error: Failed to allocate internet-domain X11 display socket.
when I installed joomla I can't see the index.php
and I get this messages in my /var/log/apache2/error.log
[notice] child pid 3211 exit signal Segmentation fault (11)
for activate the coredump, I follow the instructions in this link
CoreDumpDirectory /tmp/apache2-gdb-dump # added this to /etc/apache2/apache2.conf
mkdir -p /tmp/apache2-gdb-dump
chown www-data: /tmp/apache2-gdb-dump
chmod 0777 /tmp/apache2-gdb-dump
/etc/init.d/httpd restart
but I don't see nothing in coredumpdirectory
ls /tmp/apache2-gdb-dump
I can see the localhost/administrator
of joomla but not localhost/index.php
.
How I can verify the configuration of sshd
?
For example, I want to make sure that these settings are set and applied:
AllowUsers user1 user2
PasswordAuthentication no
PermitRootLogin no
Is the only way manually verifying the contents of the file sshd_config
, or can I probe sshd
to make sure?
I have a NAS mount, and I can copy file to this,
but I can't copy files similar to this
cp /home2/user/WRF/WRFV3/run/*_2 . -v
`/home2/user/WRF/WRFV3/run/wrfout_d04_2007-11-21_00:00:00_2' -> `./wrfout_d04_2007-11-21_00:00:00_2'
cp: cannot create regular file `./wrfout_d04_2007-11-21_00:00:00_2': Not a directory
I get this error.
when I try make a file with :
in the name, I get a error
$ date >> file\:file
-bash: file:file: Not a directory
but this command work in my home
in ssh with
ssh -CX user@remoteA
I can launch a xterm and see in my local desktop.
if I have a linux server (remoteA) without X server and a remote linux desktop (remoteB) with a X server.
If I connect with ssh to remoteB over remoteA
local -ssh-> remoteA -ssh-> remoteB
how I can launch a xterm in remoteB and see in local ?
In apache,
How I can redirected the pages not found to / ?
Not Found
The requested URL /dsadsa was not found on this server.
In linux,
If I added a file or a directory in /etc/skel
, when I create a user this get the file or dir in skel.
with
ssh-keygen -t rsa
I can create the ssh keys
how I can automatically create the ssh keys each time when I added a user?
I have two network interfaces with respective ips
eth0 : 192.168.70.153
eth2 : 192.168.70.155
when I make
route -C
Kernel IP routing cache
Source Destination Gateway Flags Metric Ref Use Iface
192.168.70.155 192.168.70.152 192.168.70.152 0 0 0 eth0
how I can force a telnet conection to 192.168.70.152 over eth2?
I connect to a server over ssh with
ssh -CX server
ok, And I launch remote graphical apps, ok. But after some minutes I get
Gtk-WARNING **: cannot open display
And I have to reset the ssh connection.
Added some outputs
$ echo $DISPLAY; echo $XAUTHORITY
localhost:11.0
$ xauth list
machine/unix:12
machine/unix:10
machine/unix:11
When I try this on Debian Squeeze
date |mail -s "mail test " myUser
with mail command get
No mail for myUser
I would currently monitoring data transfer on my server(debian).
what software do you recommend?
in a SGE script with
#$ -M [email protected]
#$ -m aes
SGE send notify of job complete.
how I can receive the output of the job with the this notification ?