Hi,
I am trying to setlocale on ppc, but due to memory shortage the locale package is not installed completely- only the related files are copied. There may be a missing file but I cannot find which is. The simple test code below does not work and prints error message.
int main()
{
if ( setlocale(LC_COLLATE,"tr_TR") == NULL )
Code:
perl -e '@stat=stat("/etc/passwd");$now_string=localtime($stat[9]);print $ARGV[0].":$now_string\n"' ./file_name
Please if anyone can describe it.
Thanks in advance
New install of CentOS 6.3, openldap-servers-2.4.23. Generated a new certificate request, signed the cert, started slapd. ldapsearch responds on ldapi:/// and ldap:///. However, as soon as a request is made on ldaps:///, the slapd process consumes all available CPU and never responds.
Hi
Anyone knows how to set localtime by default in fedora 18? I've set ntp in system-settings, but when I reboot, my laptop first reads incorrectly time from bios (is in localtime) and then queries ntp, resulting in trying to log into my google account through gnome-online-accounts with incorrect time and therefore the server rejects the login.
A number of linux/x86-64 syscalls accept pointers to structs as arguments.
For example the second parameter of stat(2) is struct stat*...
struct stat {
dev_t st_dev; /* ID of device containing file */
ino_t st_ino; /* inode number */
mode_t st_mode; /* protection */
nlink_t st_nlink; /* number of hard links */
uid_t st_uid;
I am looking for web hosting control panel, commercial or open source edition which supports ruby on rails application deployment with phusion passenger + nginx support. I tried google, but i got http://en.wikipedia.org/wiki/Comparison_of_web_hosting_control_panels,
upto my knowledge none of them is not supporting rails+phusion passenger+nginx. so guys please help me.
I´m running ISPConfig 3 and i have installed Ruby on Rails to my server.
I´ve followed these howtos, created user passenger (and added passenger ALL=(ALL) ALL to sudos) and installed RVM.
https://rvm.beginrescueend.com/rvm/install/
http://kris.me.uk/2011/10/28/rails-rvm-passenger-capistrano-git-apache.html
http://blog.bigrocksoftware.com/2011/01/07/rvm-nginx-passenger-rails-3/
I´ve put test Rai
[nathanb@ka /x/sim/nathanb/nbsim1] ls -al ,nvram
-rw-r--r-- 1 root root 2097152 Jul 5 2011 ,nvram
[nathanb@ka /x/sim/nathanb/nbsim1] sudo chmod a+w ,nvram
chmod: changing permissions of `,nvram': Operation not permitted
The volume is mounted rw, obviously, since I can modify other stuff.
So I've installed multi-user rvm and Ruby 1.9.3. On top of that I've got rails, passenger and apache2 on my Ubuntu 12.10 machine. The apache2 web server works fine, but passenger won't serve my apps, and running passenger-status returns ERROR: Phusion Passenger doesn't seem to be running..