Make the following changes to the hadoop-env.sh file:
export HADOOP_LOG_DIR=/path/to/hadoop/extract/logs/
Now run start-dfs.sh command, it should work fine.
If you are using packages instead, don't use these scripts and instead just do:
service hadoop-hdfs-namenode start
service hadoop-hdfs-datanode start
service hadoop-hdfs-secondarynamenode start