Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Fcgi permissions

Featured Replies

I experienced the behavior that the file php-fcgi-starter must be owned by the user and group of the appropriate vhost.

The problem is now the following: As soon as I add a new domain, all files php-fcgi-starter for every vhost are set back to root as the user and group which immediately causes "Internal server error" for the PHP scripts.

When I set the permissions back to the vhost user and group, everything works again.

 

Is this a bug?

 

Where can I change this behavior of resetting the ownership after adding a new domain?

 

Warlock

Hi

 

I had the same problem. But i could not find its origin... try to remove the directory an re-run the cronjob. if i remember right, that's the way i solved it for me...

 

cheers

change logging to "paranoid" and check "log cronjob" then manually run the cronjob and see if there are any error-message. Additionally check if your libnss-setup is correct and if the virtual users (customers) are correct in the table 'ftp_users' in our database.

  • Author

change logging to "paranoid" and check "log cronjob" then manually run the cronjob and see if there are any error-message. Additionally check if your libnss-setup is correct and if the virtual users (customers) are correct in the table 'ftp_users' in our database.

 

Just a naive question, where do I set logging to "paranoid" and what logfile do I have to inspect?

And another question: How do I manually run the cronjob, just by executing the file froxlor_master_cronjob.php?

  • Author

Unfortunately, I couln't find any evidence for a wrong configuration.

Just to mention it: I use libnss-mysql, NOT libnss-mysql-bg on Debian Lenny (the former was suggested by the froxlor configuration instructions).

 

Where does the the following command take its data (guid) from (file lib/classes/phpinterface/class.phpinterface_fcgid.php, function createConfig($phpconfig))?

safe_exec('chown ' . $this->_domain['guid'] . ':' . $this->_domain['guid'] . ' ' . escapeshellarg($this->getStarterFile()));

  • Author

Hi d00p,

 

Any suggestions regarding my last reply?

I'm still looking for help :unsure:

  • Author

'guid' comes from 'panel_customers'

 

I see...what is set if the column 'guid' does not exist, are the permissions then set to 'root'?

In my case, I have introduced 'uid' and 'gid' instead of guid.

But if root is taken then it would explain my behaviour, that all files are reset to root for owner and group.

why should the column not exist? You would get an sql error if that was the case

  • Author

why should the column not exist? You would get an sql error if that was the case

 

Because I have customized the installation. I use uid and gid columns instead of one guid column.

This allows me having more than one user with the same group (used to grant ssh access and to get the desired permissions on the directories and files).

Example:

user    uid    guid
--------------------
u1    10000   10000
u2    10001   10000
u2    10002   10000

Because I have customized the installation. I use uid and gid columns instead of one guid column.

This allows me having more than one user with the same group (used to grant ssh access and to get the desired permissions on the directories and files).

 

that's what 'ftp_users' is for. don't mess with database layout. can't help you then with your error, it's not froxlors fault

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.