Linux Tutorials
ERROR: Date::Manip unable to determine TimeZone.
Problem:
/etc/cron.daily/0logwatch:
ERROR: Date::Manip unable to determine TimeZone.
Execute the following command in a shell prompt:
perldoc Date::Manip
The section titled TIMEZONES describes valid TimeZones
and where they can be defined.
Temporary Solution:
Execute to verify 1:
1. [root@fedora~]# logwatch --range yesterday
ERROR: Date::Manip unable to determine TimeZone.
Execute the following command in a shell prompt:
perldoc Date::Manip
The section titled TIMEZONES describes valid TimeZones
and where they can be defined.
Execute to verify 2:
2. [root@fedora ~]# /etc/cron.daily/0logwatch
ERROR: Date::Manip unable to determine TimeZone.
Execute the following command in a shell prompt:
perldoc Date::Manip
The section titled TIMEZONES describes valid TimeZones
and where they can be defined.
[root@fedora ~]#
SOLUTION:
execute [root@fedora ~]# echo '+0800' > /etc/timezone
Verify:
[root@fedora~]# logwatch --range yesterday
[root@fedora ~]# /etc/cron.daily/0logwatch
- Fedoracore's blog
- Login or register to post comments
- Read more
- 2440 reads
View Linux File Contents with cat.
View Linux File Contents with cat.
There are so many ways to view Linux file contents. One of the simplest is way to view the file contents is using the cat command:
Example:
root@fedora ~]# cat filename.txt
Create file
Using cat command
Fedora Core
Operating
Systems
[root@fedora ~]#
Note: From the example above, the cat command is use with no greater-than (>) sign. The file name that you want to view is issue after the cat command. The text in the file is displayed immediately after you hit the enter key, all the contents of the file display after you hit enter key, the first line after the cat command. The "end of file" content is mark on the appearance of shell prompt.
- Fedoracore's blog
- Login or register to post comments
- 747 reads
Create Files with cat.
Create Files with cat.
There are so many ways of creating a file in Linux base operating system. One of the simples way to create a file is using the cat command:
[root@fedora ~]# cat > filename.txt
Create file
Using cat command
Fedora Core
Operating
Systems
[root@fedora ~]#
Note: The greater-than sign (>) after cat command is necessary to create the file.
The text typed is written to a file with the specified file name, on the example above the text that you type is written to the text file named filename.txt.
Press Ctrl+D key after a line-break (just hit the enter key after last line of text) to denote the end of the file. The next shell prompt is displayed then use the ls -l command to verify the existence of the new file called filename.txt
- Fedoracore's blog
- Login or register to post comments
- 712 reads
Mount iso image.
Below is the example of Linux command to mount the iso image on your hard drive:
[root@fedora ~]# mount -o loop -t iso9660 Your_iso_filename_here_DVD.iso /media/cdrom
change the filename and path to iso image and to the mounted path to fit your system configuration.
- Fedoracore's blog
- Login or register to post comments
- 707 reads
Start, stop and auto start MYSQL server on Fedora Core Linux.
When configuring MYSQL server or MYSQLd, sometimes you need to stop then need to restart the MYSQL server. In Linux environment you can use several command to start and stop the MySQL server, below is some example of the command that is executed and tested on fedora operating system.
Using service command to start or stop MySQL server:
1. To stop Mysqld:
[root@fedora ~]# service mysqld stop
Stopping MySQL: [ OK ]
-- Execute the same command again to verify that your MySQLd stop --
[root@fedora ~]# service mysqld stop
- Fedoracore's blog
- Login or register to post comments
- Read more
- 2550 reads
Download Fedora Core 6
Today I'm start download the ISO Fedora Core 6 image using my office computer, first try using the download link from the official Fedora Core web site link ... but nothing happen; may be internet line conjested...
Better to find fedora core download server using the Fedora Core 6 mirror site .. emmm quite good. Then using the Download Them All ( Fire Fox extension ) grab all the link from one of the Fedora Core 6 http download mirror server and start the downloading process.
hehheheh may be going to take up to 3 days to finish download all the Fedora Core 6 iso image ...
- Fedoracore's blog
- 1 comment
- 812 reads












