View Single Post
  #105  
Old 15th April 2011, 20:42
clttech clttech is offline
Junior Member
 
Join Date: Mar 2009
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Default Posting the date code

Quote:
Originally Posted by go0ogl3 View Post
Hello,

I think there is a date formatting problem on your system...

Can you run the next commands and post the output here:

Code:
date +%d 
date +%F
date +%Y-%m
The output should be for example:
Code:
user@main:~$ date +%d
15
user@main:~$ date +%F
2011-04-15
user@main:~$ date +%Y-%m
2011-04
gabi@main:~$
The last mysql errors are because of the date problems.

With the tempdir, I don't know why you get the error, there is the "check_tempdir" function which should create the tempdir if it's not there already and it's only failling if the /tmp dir does not exist (it's not a dir). I can put the "-p" option to mkdir but I don't know a linux computer whitout /tmp... so it's like a security option... I'm open to suggestions

Here is the results
root@c3po:~# date +%d
15
root@c3po:~# date +%F
2011-04-15
root@c3po:~# date +%Y-%m
2011-04

Here is the result of the ls -l of /tmp

drwxrwxrwx 6 root root 4096 2011-04-15 14:35 tmp
Reply With Quote